/* =====================================================================
   Telecomtech — style.css
   Paleta extraída do logo: teal petróleo #03989E + preto
   ===================================================================== */

:root {
    --teal:        #03989E;
    --teal-600:    #05868b;
    --teal-700:    #046d72;
    --teal-300:    #4fc3c8;
    --teal-glow:   rgba(3, 152, 158, 0.35);

    --ink:         #0a1618;   /* quase preto esverdeado */
    --deep:        #041c1f;   /* fundo escuro petróleo */
    --deep-2:      #06282b;
    --deep-3:      #0a3438;

    --paper:       #f4f8f8;
    --paper-2:     #ffffff;
    --line:        #dde8e8;

    --text:        #14262a;
    --muted:       #5a6f73;
    --muted-dark:  #9fc4c6;

    --wa:          #25D366;
    --wa-dark:     #1da851;

    --radius:      16px;
    --radius-sm:   10px;
    --maxw:        1180px;

    --shadow:      0 18px 50px -22px rgba(4, 28, 31, 0.45);
    --shadow-sm:   0 8px 24px -14px rgba(4, 28, 31, 0.4);

    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Botões ---------- */
.btn {
    --btn-bg: var(--teal);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: .98rem;
    padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 30px -12px var(--teal-glow); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 18px 40px -14px var(--teal-glow); }

.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--teal-300); color: #fff; background: rgba(255,255,255,.05); }

.btn-nav { background: var(--teal); color: #fff; padding: 10px 20px; }
.btn-nav:hover { background: var(--teal-600); }

.btn-whatsapp { background: var(--wa); color: #073b1b; }
.btn-whatsapp:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(4, 28, 31, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-accent { color: var(--teal-300); }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a:not(.btn) {
    color: rgba(255,255,255,.82); font-weight: 500; font-size: .96rem;
    padding: 9px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-list > li > a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.07); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 520px at 78% -10%, rgba(3,152,158,.28), transparent 60%),
        radial-gradient(700px 400px at 12% 8%, rgba(3,152,158,.14), transparent 55%),
        linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
    color: #eaf5f5;
    padding: clamp(70px, 12vw, 130px) 0 clamp(80px, 10vw, 120px);
}
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 72%);
}
.hero-hex {
    position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
    width: min(560px, 46vw); opacity: .5; pointer-events: none;
}
.hero-hex svg { width: 100%; height: auto; }
.hero-hex polygon { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .5; }
.hero-hex::after {
    content: ""; position: absolute; inset: 22%;
    border: 1px solid rgba(79,195,200,.35); border-radius: 50%;
    animation: spin 34s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; max-width: 760px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em;
    color: var(--teal-300); text-transform: uppercase;
    background: rgba(3,152,158,.12); border: 1px solid rgba(79,195,200,.25);
    padding: 7px 14px; border-radius: 999px; margin: 0 0 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 0 var(--teal-glow); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79,195,200,.5); }
    70% { box-shadow: 0 0 0 10px rgba(79,195,200,0); }
    100% { box-shadow: 0 0 0 0 rgba(79,195,200,0); }
}
.hero-title { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 700; margin-bottom: 22px; }
.grad { background: linear-gradient(100deg, var(--teal-300), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #b9d7d8; max-width: 620px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin: 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: #fff; }
.hero-stats dd { margin: 2px 0 0; font-size: .86rem; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: var(--muted-dark); overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); }
.strip-track { display: flex; align-items: center; gap: 18px; white-space: nowrap; padding: 14px 0; animation: marquee 34s linear infinite; width: max-content; }
.strip-item { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .05em; }
.strip-sep { color: var(--teal); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: linear-gradient(180deg, var(--paper) 0%, #eaf3f3 100%); }
.section-head { max-width: 680px; margin: 0 0 52px; }
.kicker {
    display: inline-block; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px;
}
.kicker::before { content: "// "; opacity: .6; }
.kicker-light { color: var(--teal-300); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; color: var(--ink); }
.section-sub { color: var(--muted); font-size: 1.06rem; margin: 16px 0 0; }
.under { position: relative; white-space: nowrap; }
.under::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; background: var(--teal); opacity: .22; z-index: -1; border-radius: 3px; }

/* ---------- Cards de serviço ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    position: relative; background: var(--paper-2); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 26px; overflow: hidden;
    transition: transform .22s ease, box-shadow .3s ease, border-color .22s ease;
}
.card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-300)); transform: scaleX(0);
    transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-feature { grid-column: span 1; }
.card-icon {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(3,152,158,.14), rgba(3,152,158,.05));
    border: 1px solid rgba(3,152,158,.2); color: var(--teal-700); margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card-title { font-size: 1.22rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.card-text { color: var(--muted); font-size: .98rem; margin: 0 0 20px; }
.card-link { font-family: var(--font-head); font-weight: 600; color: var(--teal-700); font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; }
.card-link span { transition: transform .2s; }
.card-link:hover span { transform: translateX(4px); }

/* ---------- Serviços secundários ---------- */
.serv-extra { margin-top: 46px; padding-top: 40px; border-top: 1px dashed var(--line); }
.serv-extra-title { font-size: 1.1rem; color: var(--muted); font-weight: 500; margin-bottom: 24px; font-family: var(--font-mono); }
.serv-extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.serv-extra-item { display: flex; gap: 16px; align-items: flex-start; }
.serv-extra-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); color: var(--teal-700); }
.serv-extra-icon svg { width: 24px; height: 24px; }
.serv-extra-item strong { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: 4px; }
.serv-extra-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; max-width: 380px; margin: 0 auto; width: 100%; }
.about-hex {
    position: absolute; inset: 12%;
    background: radial-gradient(circle at 40% 30%, #fff, #e5f1f1);
    clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: grid; place-items: center; box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.about-hex img { width: 62%; }
.about-line { position: absolute; background: var(--teal); opacity: .35; }
.about-line-1 { top: 20%; left: -6%; width: 22%; height: 2px; }
.about-line-2 { bottom: 24%; right: -4%; width: 18%; height: 2px; }
.about-node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(3,152,158,.15); }
.about-node-1 { top: calc(20% - 5px); left: -6%; }
.about-node-2 { bottom: calc(24% - 5px); right: -4%; }
.about-node-3 { top: 8%; right: 16%; background: var(--teal-300); }
.about-content h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--ink); margin-bottom: 20px; }
.about-content p { color: var(--muted); margin: 0 0 16px; font-size: 1.02rem; }
.about-content strong { color: var(--teal-700); }
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.about-list li { position: relative; padding-left: 30px; color: var(--text); font-weight: 500; }
.about-list li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
    background: var(--teal); border-radius: 5px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/70% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---------- Diferenciais ---------- */
.dif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dif-item { padding: 30px 24px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.dif-item:hover { transform: translateY(-4px); border-color: var(--teal-300); }
.dif-num { font-family: var(--font-mono); font-size: 1.6rem; color: var(--teal); font-weight: 500; display: block; margin-bottom: 16px; }
.dif-item h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 8px; }
.dif-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-head);
    font-weight: 600; font-size: 1.06rem; color: var(--ink); display: flex; align-items: center;
    justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(3,152,158,.12);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303989E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/60% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303989E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/60% no-repeat;
    background-color: var(--teal); transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- CTA / Contato ---------- */
.section-cta {
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(3,152,158,.25), transparent 60%),
        linear-gradient(180deg, var(--deep-2), var(--deep));
    color: #eaf5f5; position: relative; overflow: hidden;
}
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contato-info h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: #fff; margin-bottom: 18px; }
.contato-lead { color: #b9d7d8; margin: 0 0 28px; font-size: 1.05rem; }
.contato-status { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: #d6ecec; font-size: .95rem; }
.contato-horario { color: var(--muted-dark); font-family: var(--font-mono); font-size: .85rem; margin: 8px 0 0; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.status-dot.is-online { background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.2); }
.status-dot.is-offline { background: #7b8f92; box-shadow: 0 0 0 4px rgba(123,143,146,.15); }

.contato-form-wrap { background: var(--paper-2); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.contato-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-head); font-size: .86rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
    font-family: var(--font-body); font-size: .98rem; color: var(--text);
    padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--paper); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(3,152,158,.15); background: #fff;
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.form-alert-ok { background: #e4f7ec; color: #17663a; border: 1px solid #a7e4c1; }
.form-alert-erro { background: #fdeceb; color: #a12b23; border: 1px solid #f3b8b3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9d7d8; padding: 62px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { margin-bottom: 16px; }
.footer-tagline { max-width: 320px; color: var(--muted-dark); font-size: .96rem; }
.footer-address { font-style: normal; color: var(--muted-dark); font-size: .92rem; line-height: 1.7; margin-top: 14px; }
.footer-col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; font-family: var(--font-mono); font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #b9d7d8; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--teal-300); }
.footer-muted { color: var(--muted-dark); font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.footer-bottom p { margin: 0; font-size: .86rem; color: var(--muted-dark); }
.footer-mono { font-family: var(--font-mono); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-btn {
    position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--wa); color: #fff; display: grid; place-items: center;
    box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); transition: transform .2s, box-shadow .2s;
    animation: wa-pop .4s ease .6s both;
}
.wa-btn:hover { transform: scale(1.07); box-shadow: 0 16px 38px -8px rgba(37,211,102,.7); }
.wa-icon { width: 34px; height: 34px; }
@keyframes wa-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wa-btn-dot { position: absolute; top: 2px; right: 2px; width: 15px; height: 15px; border-radius: 50%; border: 3px solid var(--paper); }
.wa-btn-dot.is-online { background: #33d16f; }
.wa-btn-dot.is-offline { background: #9aa7a8; }

.wa-card {
    width: 300px; max-width: calc(100vw - 44px);
    background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(4,28,31,.45);
    padding: 18px; transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease; transform-origin: bottom right;
    border: 1px solid var(--line);
}
.wa-float.open .wa-card { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.wa-card-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; }
.wa-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 20px; }
.wa-avatar { position: relative; }
.wa-avatar img { width: 42px; height: 42px; border-radius: 50%; background: var(--deep); padding: 5px; }
.wa-avatar-dot { position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; }
.wa-avatar-dot.is-online { background: #33d16f; }
.wa-avatar-dot.is-offline { background: #9aa7a8; }
.wa-card-head strong { display: block; color: var(--ink); font-family: var(--font-head); }
.wa-status { font-size: .8rem; color: var(--muted); }
.wa-card-msg { font-size: .92rem; color: var(--text); background: var(--paper); padding: 12px 14px; border-radius: 12px; border-top-left-radius: 3px; margin: 0 0 14px; }
.wa-card-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--wa); color: #fff; font-family: var(--font-head); font-weight: 600; padding: 12px; border-radius: 12px; transition: background .2s; }
.wa-card-btn:hover { background: var(--wa-dark); }

/* ---------- Página 404 ---------- */
.erro-404 {
    position: relative; overflow: hidden;
    background: radial-gradient(900px 480px at 70% -10%, rgba(3,152,158,.28), transparent 60%),
                linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
    color: #eaf5f5; min-height: 70vh; display: flex; align-items: center;
    padding: clamp(70px, 12vw, 120px) 0;
}
.erro-inner { position: relative; max-width: 640px; }
.erro-code { font-family: var(--font-mono); font-size: clamp(3rem, 12vw, 6rem); color: var(--teal-300); margin: 0; line-height: 1; letter-spacing: -.03em; }
.erro-title { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 12px 0 16px; }
.erro-lead { color: #b9d7d8; font-size: 1.1rem; margin: 0 0 32px; }
.erro-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.erro-links a { color: var(--muted-dark); font-family: var(--font-mono); font-size: .9rem; transition: color .2s; }
.erro-links a:hover { color: var(--teal-300); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .dif-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-visual { max-width: 320px; }
    .contato-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        gap: 4px; background: var(--deep); padding: 16px 20px 24px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        clip-path: inset(0 0 100% 0); transition: clip-path .3s ease; box-shadow: var(--shadow);
    }
    .main-nav.open .nav-list { clip-path: inset(0 0 0 0); }
    .nav-list > li > a:not(.btn) { display: block; padding: 12px 10px; }
    .btn-nav { margin-top: 8px; }
    .cards-grid { grid-template-columns: 1fr; }
    .serv-extra-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-stats { gap: 28px; }
    .field-row { grid-template-columns: 1fr; }
    .contato-form-wrap { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
