/*
  Theme Name: FIXONWEB Full Stack — Tema WordPress 1.0.0
  Theme URI: https://www.fixonweb.com.br/
  Author: FIXONWEB
  Description: Tema otimizado para a landing page da FIXONWEB.
  Version: 1.1
  Text Domain: fixonweb
  */

/* FIXONWEB — CSS mobile-first. Variáveis centralizam a identidade visual e facilitam white-label. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #020812;
    --bg-2: #041321;
    --panel: rgba(5, 19, 34, .82);
    --cyan: #00d9ff;
    --cyan-2: #00aeea;
    --blue: #147cff;
    --white: #f7fbff;
    --muted: #b7c6d6;
    --line: rgba(0, 214, 255, .28);
    --shadow: 0 24px 80px rgba(0, 0, 0, .42);
    --radius: 18px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

aside {
    order: 2; /* Move a barra lateral para baixo do conteúdo principal */
    padding:140px 0 80px;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}
.container-layout {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    /* grid-template-coluns: 1fr; Padrão celular: uma coluna empilhada */
    grid-template-columns: 3fr 1fr; 
    gap: 2rem;
    flex: 1; /* Ocupa o espaço restante para empurrar o footer para o final */
}
/* HEADER */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1005;
    background: rgba(2, 8, 18, .72);
    border-bottom: 1px solid rgba(0, 217, 255, .1);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 0 22px rgba(0, 217, 255, .2);
}

.brand-name span {
    color: var(--cyan);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    
}

.main-nav a {
    color: #dbe8f5;
    transition: color .25s ease;
    z-index: 1002;
}

.main-nav a:hover {
    color: var(--cyan);
}

.nav-cta {
    padding: 11px 17px;
    border: 1px solid var(--cyan);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 44px;
    height: 44px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--cyan);
}

/* HERO */
.hero {
    position: relative;
    min-height: 1000px;
    padding: 70px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 35%, rgba(0, 151, 255, .18), transparent 28%),
        radial-gradient(circle at 8% 45%, rgba(0, 217, 255, .08), transparent 28%),
        linear-gradient(110deg, #020812 0%, #03111e 55%, #020b15 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(0, 217, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, .12) 1px, transparent 1px);
    background-size: 65px 65px;
    mask-image: linear-gradient(to right, black, transparent 82%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 360px;
    height: 360px;
    right: 5%;
    top: 25%;
    background: rgba(0, 122, 255, .17);
}

.hero-glow-2 {
    width: 240px;
    height: 240px;
    left: -100px;
    bottom: 5%;
    background: rgba(0, 217, 255, .1);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 47% 53%;
    align-items: center;
    min-height: 780px;
}

.hero-copy {
    position: relative;
    z-index: 4;
}

.eyebrow {
    margin: 0 0 22px;
    color: #dfeaf5;
    font-size: 14px;
    letter-spacing: .34em;
    font-weight: 600;
}

.eyebrow span {
    color: var(--cyan);
    margin: 0 7px;
}

.hero h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(54px, 6vw, 90px);
    line-height: .91;
    letter-spacing: -.055em;
    font-weight: 900;
}

.hero h1 strong {
    display: block;
    color: var(--cyan);
    background: linear-gradient(90deg, #00d9ff, #087cff 72%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    max-width: 560px;
    margin: 25px 0;
    color: #d5e2ee;
    font-size: 20px;
    line-height: 1.48;
}

.hero-text b {
    color: var(--cyan);
}

.accent-line {
    width: 62px;
    height: 4px;
    margin: 26px 0 31px;
    border-radius: 10px;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(0, 217, 255, .5);
}

.service-list {
    display: grid;
    gap: 20px;
    max-width: 570px;
}

.service-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 17px;
    align-items: start;
}

.service-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    color: var(--cyan);
    border: 2px solid var(--cyan);
    border-radius: 15px;
    font-size: 25px;
    font-weight: 900;
    text-shadow: 0 0 12px rgba(0, 217, 255, .5);
    background: rgba(0, 100, 150, .06);
}

.service-linux {
    font-size: 28px;
}

.service-item h2 {
    margin: 1px 0 3px;
    font-size: 18px;
    line-height: 1.2;
}

.service-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    height: 790px;
}

.portrait-frame {
    position: absolute;
    inset: 0 -90px -20px -20px;
    overflow: hidden;
    border-radius: 36px 0 0 0;
    background: #061321;
}

.portrait {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    filter: saturate(.95) contrast(1.06);
    opacity: .95;
    transform: scale(1.03);
}

.portrait-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 18, .85) 0%, rgba(2, 8, 18, .18) 36%, rgba(2, 8, 18, .02) 62%, rgba(2, 8, 18, .28) 100%),
        linear-gradient(0deg, rgba(2, 8, 18, .42), transparent 45%);
}

.code-window {
    position: absolute;
    z-index: 4;
    width: 235px;
    padding: 17px 18px;
    border: 1px solid rgba(0, 217, 255, .22);
    border-radius: 12px;
    background: rgba(3, 13, 25, .74);
    backdrop-filter: blur(8px);
    color: #7eeeff;
    font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace;
    box-shadow: var(--shadow);
    opacity: .85;
}

.code-window-left {
    left: 65px;
    top: 435px;
    transform: rotate(-4deg);
}

.handwritten {
    position: absolute;
    z-index: 5;
    right: 50px;
    top: 550px;
    color: var(--cyan);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.05;
    transform: rotate(-5deg);
    text-shadow: 0 0 22px rgba(0, 217, 255, .25);
}

.handwritten strong {
    font-weight: 700;
}

.handwritten::after {
    content: "";
    display: block;
    width: 190px;
    height: 6px;
    margin: 12px 0 0 12px;
    border-radius: 50%;
    border-top: 5px solid var(--cyan);
    transform: rotate(-5deg);
}

.mini-points {
    position: absolute;
    z-index: 5;
    right: 350px;
    top: 550px;
    display: grid;
    gap: 8px;
    font-size: 16px;
    letter-spacing: .16em;
    color: #dce9f4;
}

.mini-points i {
    display: block;
    width: 36px;
    height: 4px;
    margin-top: 7px;
    background: var(--cyan);
    border-radius: 4px;
}

/* TECHNOLOGIES */
.technologies {
    position: relative;
    padding: 48px 0 58px;
    background: linear-gradient(180deg, #020d19, #03121f);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 38px;
}

.section-heading span {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.section-heading span:last-child {
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-heading h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: .32em;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 22px;
}

.tech-item {
    min-height: 105px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    transition: transform .25s ease;
}

.tech-item:hover {
    transform: translateY(-6px);
}

.tech-item i {
    font-size: 58px;
}

.tech-item strong {
    font-size: 14px;
    color: #eef7ff;
}

/* DIFFERENTIALS */
.differentials {
    padding: 0;
    background: #020b15;
}

.differential-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.differential {
    min-height: 150px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 28px 22px;
    border-right: 1px solid var(--line);
}

.differential:first-child {
    border-left: 1px solid var(--line);
}

.diff-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 2px solid var(--cyan);
    border-radius: 12px;
    color: var(--cyan);
    font-weight: 900;
    font-size: 21px;
}

.differential h3 {
    margin: 0 0 3px;
    color: var(--cyan);
    font-size: 14px;
}

.differential p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

/* CONTACT */
.contact {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 119, 255, .18), transparent 32%),
        linear-gradient(135deg, #020b15, #04182a);
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.contact-copy h2 {
    margin: 10px 0 20px;
    max-width: 620px;
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1;
    letter-spacing: -.045em;
}

.contact-copy h2 span {
    color: var(--cyan);
}

.contact-copy > p:not(.eyebrow) {
    max-width: 540px;
    color: var(--muted);
}

.contact-points {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contact-points li {
    color: #dbe8f5;
    font-weight: 600;
}

.contact-points span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 9px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 11px;
}

.contact-card {
    padding: 32px;
    border: 1px solid rgba(0, 217, 255, .25);
    border-radius: var(--radius);
    background: rgba(2, 11, 21, .72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: #dce8f3;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    border: 1px solid rgba(150, 190, 220, .18);
    border-radius: 10px;
    outline: none;
    padding: 13px 14px;
    background: rgba(255, 255, 255, .045);
    color: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.contact-card select option {
    color: #111;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, .08);
}

.contact-card textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-card ::placeholder {
    color: #718397;
}

.btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    color: #00101a;
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), #1d8cff);
    box-shadow: 0 12px 30px rgba(0, 174, 255, .18);
    transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 174, 255, .28);
}

.btn-primary:disabled {
    opacity: .7;
    cursor: wait;
}

.btn-loading {
    display: none;
}

.form-message {
    display: none;
    margin-top: 14px;
    padding: 12px;
    border-radius: 9px;
    font-size: 13px;
}

.form-message.success {
    display: block;
    border: 1px solid rgba(0, 255, 180, .3);
    background: rgba(0, 255, 180, .06);
    color: #9fffe1;
}

.form-message.error {
    display: block;
    border: 1px solid rgba(255, 80, 100, .3);
    background: rgba(255, 80, 100, .06);
    color: #ffb8c0;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.contact-decoration {
    position: absolute;
    width: 180px;
    height: 25px;
    border-top: 1px solid var(--cyan);
    border-right: 1px solid var(--cyan);
    opacity: .5;
    transform: rotate(-35deg);
}

.contact-decoration-a {
    right: -20px;
    bottom: 90px;
}

.contact-decoration-b {
    right: 20px;
    bottom: 55px;
    opacity: .25;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--line);
    background: #01070d;
}

.footer-inner {
    min-height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718397;
    font-size: 12px;
}

.footer-inner a {
    color: var(--cyan);
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: .12s;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .hero-inner {
        grid-template-columns: 55% 45%;
    }

    .hero-visual {
        height: 690px;
    }

    .portrait-frame {
        inset: 0 -160px -10px -60px;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .differential-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .differential:nth-child(2) {
        border-right: 0;
    }

    .differential:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 32px, 680px);
    }
    .container-layout {
        /* Divide o layout: 3 partes para o conteúdo principal, 1 parte para a barra lateral */
        /* grid-template-columns: 3fr 1fr;  */
        grid-template-columns: 1fr; /* Padrão celular: uma coluna empilhada */
    }
    aside {
        order: 2; /* Move a barra lateral para baixo do conteúdo principal */
        /*margin-top: 40px;*/
        padding:20px 0 80px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;
        inset: 76px 0 0;
        padding: 30px;
        background: rgba(2, 8, 18, .97);
        backdrop-filter: blur(20px);
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
    }

    .main-nav.is-open {
        display: flex;
    }

    /* .main-nav a {
        padding: 16px;
        border-bottom: 1px solid rgba(0, 217, 255, .1);
    } */

    .nav-cta {
        text-align: center;
        margin-top: 10px;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-inner {
        display: block;
        min-height: auto;
    }

    .hero-copy {
        max-width: 650px;
    }

    .hero-visual {
        height: 550px;
        margin-top: 30px;
    }

    .portrait-frame {
        inset: 0 -30px 0 -30px;
        border-radius: 25px;
    }

    .portrait {
        object-position: 58% center;
    }

    .service-list {
        gap: 17px;
    }

    .section-heading {
        gap: 15px;
    }

    .section-heading h2 {
        font-size: 14px;
        letter-spacing: .18em;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 480px);
    }

    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        inset: 68px 0 0;
    }

    .hero {
        padding-top: 105px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: .23em;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 68px);
    }

    .hero-text {
        font-size: 17px;
    }

    .service-item {
        grid-template-columns: 54px 1fr;
        gap: 12px;
    }

    .service-icon {
        width: 54px;
        height: 54px;
        border-radius: 12px;
        font-size: 20px;
    }

    .service-item h2 {
        font-size: 16px;
    }

    .service-item p {
        font-size: 13px;
    }

    .hero-visual {
        height: 480px;
    }

    .code-window {
        display: none;
    }

    .handwritten {
        right: 30px;
        top: 305px;
        font-size: 29px;
    }

    .mini-points {
        top: 300px;
        right: 260px;
        font-size: 12px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 8px;
    }

    .tech-item {
        min-height: 90px;
    }

    .tech-item i {
        font-size: 43px;
    }

    .tech-item strong {
        font-size: 11px;
    }

    .differential-grid {
        grid-template-columns: 1fr;
    }

    .differential,
    .differential:first-child {
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-card {
        padding: 22px 17px;
    }

    .contact {
        padding: 75px 0;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 20px 0;
    }
}
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(2, 8, 18, .72);
    backdrop-filter: blur(2px);

}