/* ===================================================================
   OLIVATO PINTURAS — STYLESHEET
   Identidade: Azul-marinho + Azul neon + Alaranjado
   Estratégia: Mobile-first, zero overflow, alta acessibilidade
   =================================================================== */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #0B1F3A;
    background: #FFFFFF;
    overflow-x: hidden; /* fallback para defeito pontual - cada overflow é corrigido na fonte */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg {
    max-width: 100%;
    display: block;
    height: auto;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

/* Prevenir overflow em qualquer elemento */
input, textarea, select, button { max-width: 100%; }

/* ============ PALETA ============ */
:root {
    --c-navy-deep: #071426;
    --c-navy: #0B1F3A;
    --c-neon: #00A6FF;
    --c-bright: #38BDF8;
    --c-orange: #FF7900;
    --c-white: #FFFFFF;
    --c-light: #F1F5F9;

    --grad-neon: linear-gradient(135deg, #00A6FF 0%, #38BDF8 100%);
    --grad-navy: linear-gradient(160deg, #0B1F3A 0%, #071426 100%);

    --shadow-sm: 0 2px 8px rgba(7,20,38,.06);
    --shadow-md: 0 6px 24px rgba(7,20,38,.10);
    --shadow-lg: 0 14px 40px rgba(7,20,38,.14);
    --shadow-orange: 0 6px 18px rgba(255,121,0,.30);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
    margin: 0 0 .4em;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--c-navy);
    text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 4.5vw + .5rem, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw + .5rem, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.5vw + .4rem, 1.45rem); }
p  { margin: 0 0 1em; }

/* ============ LAYOUT ============ */
.container {
    width: 100%;
    max-width: var(--container);
    padding-inline: var(--gutter);
    margin-inline: auto;
}

section { padding-block: clamp(48px, 7vw, 90px); }

/* ============ SKIP LINK ============ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--c-orange);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 0;
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    left: 0;
    top: 0;
}

/* ============ FOCUS ============ */
:focus-visible {
    outline: 3px solid var(--c-neon);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============ EYEBROW ============ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(0,166,255,.12);
    color: var(--c-bright);
    border-radius: var(--radius-pill);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.eyebrow-dark {
    background: rgba(0,166,255,.10);
    color: var(--c-neon);
}
.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-orange);
    box-shadow: 0 0 0 3px rgba(255,121,0,.18);
}

/* ============ SECTION HEAD ============ */
.section-head {
    max-width: 720px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}
.section-head h2 { margin-bottom: .35em; }
.section-sub {
    font-size: clamp(1rem, 1.2vw + .6rem, 1.15rem);
    color: #475569;
    margin: 0;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .95rem;
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    cursor: pointer;
    line-height: 1.2;
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
}
.btn-primary {
    background: var(--c-orange);
    color: var(--c-white);
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255,121,0,.42);
    background: #FF8E2C;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: transparent;
    color: var(--c-white);
    border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost:hover {
    border-color: var(--c-bright);
    background: rgba(255,255,255,.08);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 16px; font-size: .85rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.ico-wpp { color: #25D366; background: #fff; border-radius: 50%; padding: 3px; flex-shrink: 0; }
.btn-ghost .ico-wpp { color: #25D366; }
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--c-orange);
    font-weight: 700;
    font-size: .92rem;
    padding-top: 4px;
    transition: gap .2s var(--ease), color .2s var(--ease);
}
.btn-link:hover { color: #FF8E2C; gap: 8px; }

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7,20,38,.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(0,166,255,.18);
    color: var(--c-white);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
    background: rgba(7,20,38,.98);
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    padding-block: 10px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--c-white);
    flex-shrink: 0;
}
.brand-mark {
    display: inline-flex;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(0,166,255,.30));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.01em;
}
.brand-tag {
    font-size: .72rem;
    color: var(--c-bright);
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}

.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    color: rgba(255,255,255,.85);
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-list a:hover { color: var(--c-bright); background: rgba(0,166,255,.10); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.header-actions .btn-primary {
    display: none;
}

/* Botão hambúrguer */
.menu-toggle {
    width: 44px;
    height: 44px;
    background: rgba(0,166,255,.12);
    border: 1px solid rgba(0,166,255,.35);
    border-radius: 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 11px;
}
.menu-bar {
    width: 22px;
    height: 2px;
    background: var(--c-bright);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
    background: var(--c-navy-deep);
    border-top: 1px solid rgba(0,166,255,.18);
    border-bottom: 1px solid rgba(0,166,255,.18);
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s var(--ease);
}
.mobile-nav[hidden] { display: block; max-height: 0; }
.mobile-nav.is-open { max-height: 540px; }
.mobile-nav ul {
    padding: 12px var(--gutter) 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav a {
    display: block;
    padding: 14px 12px;
    color: rgba(255,255,255,.92);
    border-radius: 8px;
    font-weight: 600;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.mobile-nav a:hover { background: rgba(0,166,255,.12); color: var(--c-bright); }
.mobile-cta a {
    background: var(--c-orange);
    color: #fff !important;
    text-align: center;
    font-weight: 700;
    margin-top: 8px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: min(92vh, 720px);
    display: flex;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 60px;
    color: var(--c-white);
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(7,20,38,.92) 0%, rgba(11,31,58,.78) 50%, rgba(7,20,38,.55) 100%);
}
.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(0,166,255,.15) 0%, transparent 50%);
}
.hero-content { width: 100%; }
.hero-text { max-width: 720px; }
.hero h1 {
    color: var(--c-white);
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,.30);
}
.hero-desc {
    font-size: clamp(1rem, 1.4vw + .4rem, 1.18rem);
    color: rgba(255,255,255,.92);
    margin-bottom: 28px;
    max-width: 640px;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    font-size: .92rem;
    color: rgba(255,255,255,.85);
}
.hero-badges li {
    display: inline-flex;
    align-items: center;
}
.hero-badges li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-bright);
    margin-right: 10px;
    box-shadow: 0 0 0 3px rgba(56,189,248,.20);
}
.hero-badges strong { color: var(--c-bright); margin-right: 4px; font-weight: 700; }

/* ============ DIFERENCIAIS ============ */
.differentials { background: var(--c-light); }
.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.diff-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,166,255,.35);
}
.diff-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--grad-neon);
    color: var(--c-white);
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0,166,255,.30);
}
.diff-card h3 { margin-bottom: .35em; font-size: 1.15rem; }
.diff-card p {
    margin: 0;
    color: #475569;
    font-size: .96rem;
}

/* ============ SERVIÇOS ============ */
.services { background: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,166,255,.30);
}
.service-img {
    margin: 0;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--c-light);
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { margin-bottom: .35em; }
.service-body p {
    flex: 1;
    color: #475569;
    font-size: .96rem;
    margin-bottom: 16px;
}

/* ============ SOBRE ============ */
.about { background: var(--c-light); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.about-photo {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(7,20,38,.85), transparent);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}
.about-text p { color: #475569; font-size: 1.02rem; }
.about-text h2 { margin-bottom: .8em; }
.about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.about-cta .btn-ghost {
    color: var(--c-navy);
    border-color: rgba(11,31,58,.20);
}
.about-cta .btn-ghost:hover {
    background: var(--c-navy);
    color: #fff;
    border-color: var(--c-navy);
}

/* ============ PORTFÓLIO ============ */
.portfolio { background: #fff; }
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.portfolio-card { margin: 0; }
.portfolio-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    aspect-ratio: 4/3;
    cursor: pointer;
}
.portfolio-trigger:hover, .portfolio-trigger:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.portfolio-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.portfolio-trigger:hover img { transform: scale(1.05); }
.portfolio-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(to top, rgba(7,20,38,.92), rgba(7,20,38,0));
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none;
}
.portfolio-cap strong { font-size: .98rem; font-weight: 700; }
.portfolio-cap em { font-size: .82rem; color: var(--c-bright); font-style: normal; font-weight: 500; }
.portfolio-note {
    text-align: center;
    margin-top: 32px;
    color: #64748B;
    font-size: .92rem;
}
.portfolio-note a { color: var(--c-orange); font-weight: 700; }
.portfolio-note a:hover { text-decoration: underline; }

/* ============ CTA BANNER ============ */
.cta-banner {
    background: var(--grad-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 30%, rgba(0,166,255,.18), transparent 50%),
                radial-gradient(ellipse at 80% 70%, rgba(56,189,248,.10), transparent 50%);
    z-index: -1;
}
.cta-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}
.cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,166,255,.25), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.cta-banner h2 { color: #fff; margin-bottom: .4em; }
.cta-banner p {
    color: rgba(255,255,255,.88);
    font-size: clamp(1rem, 1.2vw + .5rem, 1.15rem);
    margin-bottom: 28px;
}

/* ============ FAQ ============ */
.faq { background: var(--c-light); }
.faq-inner { max-width: 820px; margin: 0 auto; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.acc-item.is-open {
    border-color: rgba(0,166,255,.30);
    box-shadow: var(--shadow-sm);
}
.acc-trigger {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-navy);
    transition: color .2s var(--ease);
}
.acc-trigger:hover { color: var(--c-neon); }
.acc-trigger span:first-child { flex: 1; }
.acc-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
    color: var(--c-orange);
}
.acc-icon::before, .acc-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transition: transform .3s var(--ease);
}
.acc-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.acc-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc-panel {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: padding .3s var(--ease), max-height .4s var(--ease);
}
.acc-panel[hidden] { display: none; }
.acc-item.is-open .acc-panel {
    padding: 0 20px 22px;
    max-height: 600px;
}
.acc-panel p {
    margin: 0;
    color: #475569;
    font-size: .96rem;
}
.acc-panel a { color: var(--c-neon); font-weight: 700; }
.acc-panel a:hover { text-decoration: underline; }

/* ============ CONTATO ============ */
.contact { background: #fff; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info h2 { margin-bottom: .4em; }
.contact-info > p {
    color: #475569;
    font-size: 1.02rem;
    margin-bottom: 28px;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}
.contact-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-neon);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0,166,255,.25);
}
.contact-list strong { display: block; font-size: .85rem; color: #64748B; font-weight: 600; }
.contact-list a, .contact-list span { font-size: 1rem; color: var(--c-navy); font-weight: 600; }
.contact-list a { color: var(--c-neon); }
.contact-list a:hover { text-decoration: underline; }

.contact-form-wrap {
    background: var(--c-light);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}
.contact-form h3 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0,166,255,.20);
}
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-weight: 700;
    font-size: .92rem;
    color: var(--c-navy);
    margin-bottom: 6px;
}
.req { color: var(--c-orange); }
.opt { color: #94A3B8; font-weight: 500; font-size: .85rem; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font: inherit;
    color: var(--c-navy);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--c-neon);
    box-shadow: 0 0 0 3px rgba(0,166,255,.18);
}
.field textarea { resize: vertical; min-height: 80px; }
.field input.invalid, .field select.invalid, .field textarea.invalid {
    border-color: #DC2626;
    background: #FEF2F2;
}
.field .error {
    display: block;
    color: #DC2626;
    font-size: .82rem;
    margin-top: 6px;
    font-weight: 600;
}
.field .error[hidden] { display: none; }
.form-note {
    background: rgba(0,166,255,.08);
    border-left: 3px solid var(--c-neon);
    padding: 12px 14px;
    border-radius: 6px;
    font-size: .88rem;
    color: #475569;
    margin-bottom: 20px;
}
.form-note strong { color: var(--c-navy); }

/* ============ RODAPÉ ============ */
.site-footer {
    background: var(--c-navy-deep);
    color: rgba(255,255,255,.85);
    border-top: 1px solid rgba(0,166,255,.20);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px 36px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-logo strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 800; }
.footer-logo span {
    display: block;
    color: var(--c-bright);
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}
.footer-brand p {
    color: rgba(255,255,255,.75);
    font-size: .92rem;
    max-width: 360px;
}
.footer-col h3 {
    color: var(--c-bright);
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
    color: rgba(255,255,255,.85);
    font-size: .94rem;
    transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer-col a:hover { color: var(--c-bright); padding-left: 4px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 6px; }
.footer-wpp { color: #fff !important; font-weight: 700; }
.footer-wpp:hover { color: var(--c-bright) !important; }
.footer-contact p { margin-bottom: 8px; font-size: .94rem; }
.footer-contact strong { color: rgba(255,255,255,.65); font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.10);
    padding-block: 18px;
}
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
    font-size: .85rem;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.65); }
.credit a {
    color: var(--c-bright);
    font-weight: 700;
    transition: color .2s var(--ease);
}
.credit a:hover { color: var(--c-orange); text-decoration: underline; }

/* ============ FLOAT WHATSAPP ============ */
.float-wpp {
    position: fixed;
    right: clamp(14px, 3vw, 24px);
    bottom: clamp(14px, 3vw, 24px);
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(37,211,102,.40);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), gap .25s var(--ease), padding .25s var(--ease);
    overflow: hidden;
}
.float-wpp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(37,211,102,.55);
    gap: 8px;
    padding-right: 22px;
}
.float-wpp-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 700;
    font-size: .92rem;
    transition: max-width .3s var(--ease);
}
.float-wpp:hover .float-wpp-label { max-width: 200px; }
.float-wpp svg { flex-shrink: 0; }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    right: clamp(14px, 3vw, 24px);
    bottom: clamp(78px, 12vw, 96px);
    z-index: 900;
    width: 48px;
    height: 48px;
    background: var(--c-navy);
    color: var(--c-bright);
    border: 1.5px solid rgba(0,166,255,.40);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(7,20,38,.35);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
    pointer-events: none;
}
.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover { background: var(--c-orange); color: #fff; border-color: var(--c-orange); }
.back-to-top[hidden] { display: none; }

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(7,20,38,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lb-figure {
    margin: 0;
    max-width: 92vw;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lb-figure img {
    max-width: 92vw;
    max-height: 76vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,.50);
}
.lb-caption {
    color: #fff;
    text-align: center;
    font-size: .95rem;
    background: rgba(0,166,255,.18);
    padding: 8px 16px;
    border-radius: 8px;
    max-width: 92vw;
}

.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: rgba(0,166,255,.20);
    color: #fff;
    border: 1.5px solid rgba(0,166,255,.50);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--ease), transform .2s var(--ease);
    backdrop-filter: blur(6px);
}
.lb-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    background: rgba(220,38,38,.85);
    border-color: rgba(255,255,255,.25);
}
.lb-close:hover { background: #DC2626; transform: rotate(90deg); }
.lb-prev, .lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
}
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-prev:hover, .lb-next:hover {
    background: var(--c-neon);
    transform: translateY(-50%) scale(1.05);
}

/* ============ MOBILE NAV BODY LOCK ============ */
body.no-scroll, body.lb-open { overflow: hidden; }

/* ============ PREFERS REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
    .float-wpp:hover .float-wpp-label { max-width: 200px; }
}

/* ============ RESPONSIVE: TABLET ≥ 600px ============ */
@media (min-width: 600px) {
    .diff-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form { padding: 0; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============ RESPONSIVE: MOBILE - ajustes para telas pequenas ============ */
@media (max-width: 599px) {
    /* CTA button: ocupa largura total e quebra linha se necessário */
    .cta-banner .btn-lg {
        width: 100%;
        max-width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
    }
    .cta-inner { max-width: 100%; }
    /* Hero CTAs: empilhadas em mobile para evitar overflow */
    .hero-cta .btn { width: 100%; }
    .hero-cta { flex-direction: column; }
    .about-cta { flex-direction: column; }
    .about-cta .btn { width: 100%; }
    /* Form button */
    .contact-form .btn-block { width: 100%; }
    /* Float WhatsApp label */
    .float-wpp { padding: 12px; }
    .float-wpp .float-wpp-label { display: none; }
    /* Lightbox buttons em telas pequenas */
    .lb-prev, .lb-next { width: 44px; height: 44px; }
    .lb-close { width: 44px; height: 44px; }
}

/* ============ RESPONSIVE: DESKTOP ≥ 900px ============ */
@media (min-width: 900px) {
    .header-actions .btn-primary { display: inline-flex; }
    .menu-toggle { display: none; }
    .main-nav { display: block; }
    .mobile-nav { display: none !important; }

    .diff-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

    .about-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 56px;
    }

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

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 40px;
    }
    .footer-brand { grid-column: auto; }
}

/* ============ RESPONSIVE: WIDE ≥ 1100px ============ */
@media (min-width: 1100px) {
    .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============ RESPONSIVE: ULTRAWIDE ≥ 1600px ============ */
@media (min-width: 1600px) {
    :root { --container: 1280px; }
    body { font-size: 17px; }
}

/* ============ PRINT ============ */
@media print {
    .site-header, .float-wpp, .back-to-top, .lightbox, .menu-toggle, .hero-cta, .cta-banner { display: none !important; }
    body { overflow: visible !important; color: #000; }
}
