:root {
    --bg: #07111d;
    --bg-2: #0f243d;
    --surface: #ffffff;
    --surface-2: #f3f6fb;
    --text: #11253b;
    --text-muted: #5e738c;
    --primary: #f2be1f;
    --primary-dark: #d79b0b;
    --accent: #0e6fb7;
    --border: rgba(7, 17, 29, 0.08);
    --shadow: 0 20px 45px rgba(7, 17, 29, 0.08);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', 'Montserrat', 'Poppins', 'Open Sans', sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .75rem 1rem; z-index: 100; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 17, 29, 0.94); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(7, 17, 29, 0.08); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(7, 17, 29, 0.98); box-shadow: 0 14px 35px rgba(7, 17, 29, 0.16); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: .95rem 1.2rem; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; }
.brand img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1rem; color: #dbe7f6; }
.nav-links a:hover { color: #fff; }
.menu-toggle { display: none; background: transparent; border: 0; }
.menu-toggle span { display: block; width: 28px; height: 2px; background: #fff; margin: 5px 0; }
.hero { position: relative; min-height: 92vh; display: grid; align-items: center; background: linear-gradient(120deg, rgba(7,17,29,.96), rgba(14,111,183,.78)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1700&q=80') center/cover no-repeat; color: #fff; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,29,.84), rgba(7,17,29,.28)); }
.hero__content { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: 4.5rem 0; }
.hero__text h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: .2rem 0 1rem; max-width: 700px; }
.hero__text p { font-size: 1.04rem; color: #dce7f6; max-width: 650px; }
.eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: .78rem; font-weight: 800; color: var(--primary); margin-bottom: .6rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.3rem 0 1.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__badges span { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.12); padding: .65rem .8rem; border-radius: 999px; color: #f2f6fb; font-size: .92rem; }
.hero__card { background: rgba(255,255,255,.96); color: var(--text); padding: 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__card-label { font-size: .8rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin: 0 0 .75rem; }
.hero__card-note { margin-top: 1rem; color: var(--text-muted); font-size: .95rem; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.metric-grid strong { display: block; font-size: 1.5rem; color: var(--primary-dark); }
.metric-grid span { color: var(--text-muted); font-size: .92rem; }
.section { padding: 5rem 0; }
.section--light { background: var(--surface-2); }
.section--accent { background: linear-gradient(135deg, var(--bg), var(--accent)); color: #fff; }
.section-heading { margin-bottom: 2rem; max-width: 760px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: .2rem 0 .7rem; }
.section-heading__sub { color: var(--text-muted); max-width: 620px; }
.section-heading--center .section-heading__sub { margin-inline: auto; }
.section--accent .section-heading__sub { color: #d7e4f2; }
.split-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.split-grid img { border-radius: 24px; box-shadow: var(--shadow); }
.split-grid__media { position: relative; min-height: 420px; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); background: var(--bg-2); }
.split-grid__media > img { height: 100% !important; min-height: 420px; }
.split-grid__content { padding: 1rem 1.5rem; }
.split-grid__content .eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.split-grid__content .eyebrow::before, .split-grid__content .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--primary); border-radius: 99px; }
.split-grid__content h2 { max-width: 600px; margin: .35rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.12; letter-spacing: -.035em; }
.split-grid__content > p:not(.eyebrow) { max-width: 620px; color: var(--text-muted); }
.split-grid__content .btn { margin-top: .5rem; }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .7rem; }
.feature-list li { display: flex; align-items: center; gap: .6rem; color: var(--text-muted); }
.feature-list i { color: var(--primary-dark); }
.authority-strip { padding: 1.35rem 0; background: var(--surface-2); border-block: 1px solid var(--border); }
.authority-strip__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.authority-strip__inner strong { display: block; font-size: 1.4rem; color: var(--accent); }
.authority-strip__inner span { color: var(--text-muted); font-size: .95rem; }
.trust-band { padding: 6rem 0; }
.trust-band .eyebrow { margin-bottom: .8rem; }
.trust-band__main { display: flex; flex-direction: column; gap: 1rem; }
.trust-band__main h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: 0; }
.trust-band__main > p:not(.eyebrow) { margin-bottom: 0; }
.trust-band__main .btn { margin-bottom: 2.5rem; align-self: flex-start; }
.trust-band__cards { display: grid; gap: 1rem; }
.trust-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.2rem; box-shadow: var(--shadow); }
.trust-card i { font-size: 1.4rem; color: var(--accent); margin-top: .2rem; }
.trust-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.trust-card p { margin: 0; color: var(--text-muted); }
.solution-grid, .benefits-grid, .project-grid, .process-grid, .testimonial-slider { display: grid; gap: 1.2rem; }
.solution-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.solution-card, .benefit-card, .project-card, .testimonial-card, .process-card, .blog-card { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .25s ease, box-shadow .25s ease; }
.solution-card:hover, .benefit-card:hover, .project-card:hover, .testimonial-card:hover, .process-card:hover, .blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(7, 17, 29, 0.12); }
.solution-card { display: flex; flex-direction: column; }
.solution-card i { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: .5rem; }
.solution-card p { flex: 1; }
.solution-card a { align-self: flex-start; margin-top: 1rem; padding-bottom: .1rem; }
.solution-card a, .project-card a, .blog-card a { color: var(--accent); font-weight: 700; }
.blog-card { display: flex; flex-direction: column; }
.blog-card p { flex: 1; }
.blog-card a { margin-top: 1rem; align-self: flex-start; }
.benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card__image-link {
    display: block;
    margin-bottom: 1rem;
}
.blog-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
}
.project-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 1rem;
}
.project-card { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.project-card--featured { background: linear-gradient(135deg, var(--bg), var(--accent)); color: #fff; }
.project-card--featured a { color: var(--primary); }
.project-card__meta { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; opacity: .85; }
/* Processo "Como funciona" — cards brancos com texto escuro */
.section--accent .section-heading p:not(.eyebrow) { color: #d7e4f2; max-width: 640px; margin-inline: auto; }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; position: relative; }
.process-card { background: #ffffff; color: #0b2748; border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-height: 220px; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.process-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(7, 17, 29, 0.18); }
.process-card i { font-size: 1.7rem; color: var(--accent); margin: 0 0 .7rem; }
.process-card h3 { margin: 0 0 .5rem; color: #0b2748; font-size: 1.15rem; }
.process-card p { margin: 0; color: #526273; font-size: .95rem; }
.process-grid .process-card + .process-card::before { content: '→'; position: absolute; left: -.95rem; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.6rem; font-weight: 800; z-index: 2; }
/* Faixa de estatísticas */
.stats-band { background: #f9fafb; padding: 3rem 0; border-block: 1px solid var(--border); }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.stats-band__item { position: relative; padding: .5rem 1rem; }
.stats-band__item + .stats-band__item { border-left: 1px solid var(--border); }
.stats-band__item i { display: block; font-size: 1.5rem; color: var(--accent); margin-bottom: .5rem; }
.stats-band__item strong { display: block; font-size: 2rem; color: var(--accent); line-height: 1.1; }
.stats-band__item span { color: var(--text-muted); font-size: .95rem; }
/* Galeria de projetos */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.gallery-card { width: 100%; min-width: 0; overflow: hidden; border-radius: 18px; cursor: pointer; background: var(--surface); box-shadow: var(--shadow); }
.gallery-card__media { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card__info { position: static; min-height: 3.25rem; display: flex; align-items: center; justify-content: center; padding: .75rem 1rem; color: var(--text); background: var(--surface); text-align: center; font-size: .9rem; font-weight: 700; line-height: 1.3; }
/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(7, 17, 29, 0.94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1000px, 92vw); max-height: 86vh; text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: 78vh; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.5); margin-inline: auto; }
.lightbox__figure figcaption { color: #dce7f6; margin-top: .8rem; font-size: .95rem; }

/* Header e mega menu */
.site-header { height: 90px; background: #151a22; }
.topbar { height: 90px; width: min(1240px, calc(100% - 2rem)); padding: 0 1rem; font-family: 'Segoe UI', Arial, sans-serif; }
.brand img { height: 65px; }
.nav-links { height: 100%; gap: .25rem; margin-left: auto; }
.nav-links > a, .mega-menu__trigger { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .7rem; border: 0; border-radius: 8px; color: #e7ebf0; background: transparent; font: inherit; font-size: .9rem; white-space: nowrap; cursor: pointer; }
.nav-links > a > i, .mega-menu__trigger > i { margin-right: .35rem; font-size: .95rem; }
.nav-links > a.header-icon-link { position: relative; min-width: 40px; padding-inline: .55rem; justify-content: center; font-size: 1.2rem; }
.nav-links > a.header-icon-link > i { margin: 0; }
.nav-label { display: none; }
.nav-links > a:hover, .mega-menu__trigger:hover, .mega-menu:hover .mega-menu__trigger { color: #ffc107; background: rgba(255,255,255,.06); }
.nav-links .btn.btn-small { background: #ffc107; color: #151a22; border-radius: 999px; font-weight: 700; padding-inline: 1rem; margin-left: .35rem; }
.nav-links .btn.btn-small:hover { background: #ffd54f; color: #151a22; }
.nav-cart { position: relative; font-size: 1.15rem; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: .15rem; padding: 0 .25rem; border-radius: 999px; background: #ffc107; color: #151a22; font-size: .7rem; font-weight: 800; }
.cart-count[hidden] { display: none; }
.mega-menu { position: relative; height: 100%; display: flex; align-items: center; }
.mega-menu__trigger i { margin-left: .35rem; font-size: .7rem; transition: transform .2s ease; }
.mega-menu:hover .mega-menu__trigger i, .mega-menu__panel.open + * { transform: none; }
.mega-menu__panel { position: absolute; z-index: 110; top: 90px; left: 50%; width: 620px; padding: 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 0 0 14px 14px; background: #151a22; box-shadow: 0 18px 35px rgba(0,0,0,.3); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.mega-menu:hover .mega-menu__panel, .mega-menu__panel.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-menu:hover .mega-menu__trigger, .mega-menu:focus-within .mega-menu__trigger { background: #151a22; border-radius: 8px 8px 0 0; }
.mega-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .35rem .75rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.mega-menu__head a { color: #ffc107; font-size: .82rem; white-space: nowrap; }
.mega-menu__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding-top: .75rem; }
.mega-menu__item { display: flex; align-items: center; gap: .45rem; min-height: 42px; padding: .55rem .65rem; border-radius: 8px; color: #dce3eb; font-size: .82rem; line-height: 1.25; }
.mega-menu__item > i { flex: 0 0 1.1rem; margin-right: .15rem; color: #ffc107; text-align: center; font-size: 1rem; }
.mega-menu__item:hover { color: #151a22; background: #ffc107; }
.mega-menu__item:hover > i { color: #151a22; }
.mega-menu__item { transition: color .18s ease, background-color .18s ease; }
@media (max-width: 760px) { .site-header, .topbar { height: auto; min-height: 72px; } .nav-links { height: auto; } .mega-menu__panel { position: static; width: 100%; transform: none; } .mega-menu__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
    .mega-menu {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
    }

    .mega-menu__trigger {
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        padding: .75rem;
        color: #f5f7fa;
        text-align: left;
    }

    .mega-menu__trigger > i {
        margin-left: auto;
    }

    .mega-menu__panel,
    .mega-menu:hover .mega-menu__panel {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        border: 0;
        border-radius: 10px;
        background: #0f1722;
        box-shadow: none;
    }

    .mega-menu__panel.open {
        max-height: 60vh;
        margin-top: .35rem;
        padding: .65rem;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mega-menu__grid {
        grid-template-columns: 1fr;
        gap: .3rem;
        padding-top: 0;
    }

    .mega-menu__item {
        min-height: 48px;
        padding: .7rem;
        color: #f5f7fa;
    }
}

/* Ajustes responsivos finais: regras centralizadas para todas as páginas. */
@media (max-width: 1100px) {
    .topbar { width: min(100% - 1.5rem, 980px); }
    .nav-links { gap: 0; }
    .nav-links > a, .mega-menu__trigger { padding-inline: .55rem; font-size: .84rem; }
    .hero__content { gap: 1.25rem; }
}

@media (max-width: 920px) {
    .section { padding-block: 3.75rem; }
    .hero__content, .split-grid, .trust-band__grid, .shop-layout, .product-layout, .checkout-layout { grid-template-columns: 1fr; }
    .hero__content { padding-block: 3.5rem; }
    .hero__card { max-width: 620px; width: 100%; margin-inline: auto; }
    .solution-grid, .benefits-grid, .project-grid--featured, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
}

@media (max-width: 760px) {
    html { font-size: 15px; }
    .container { width: 100%; padding-inline: 1rem; }
    .section { padding-block: 3rem; }
    .topbar { width: 100%; padding: .6rem 1rem; }
    .brand img { height: 62px; max-width: 62vw; }
    .hero__content { padding-block: 2.5rem 3rem; }
    .hero__text h1 { font-size: clamp(2rem, 9vw, 3rem); }
    .hero__text .eyebrow {
        max-width: 18rem;
        margin: 0 auto .7rem;
        font-size: .62rem;
        line-height: 1.45;
        letter-spacing: .18em;
        text-align: center;
    }
    .hero__actions { align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .solution-grid, .benefits-grid, .project-grid--featured, .process-grid, .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid { gap: 1rem; }
    .authority-strip__inner, .stats-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-band__item { padding-inline: .5rem; }
    .stats-band__item strong { font-size: 1.55rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
    .whatsapp-float { right: .75rem; bottom: .75rem; }
    .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; width: auto; max-width: none; transform: none; flex-direction: column; align-items: stretch; }
    .table-responsive, .admin-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { min-width: 620px; }
    input, select, textarea, button { max-width: 100%; }
    .form-row, .password-group { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    .container { padding-inline: .8rem; }
    .authority-strip__inner, .stats-band__grid { grid-template-columns: 1fr; }
    .stats-band__item + .stats-band__item { border-top: 1px solid var(--border); padding-top: 1rem; }
    .stats-band__item:nth-child(3) { border-left: 0; }
    .hero__badges span { flex-basis: 92%; }
    .contact-actions { flex-direction: column; align-items: stretch; }
    .contact-actions .btn { width: 100%; }
    .lightbox__figure { max-width: 100%; }
    .lightbox__prev, .lightbox__next { width: 40px; height: 40px; }
}

/* Hierarquia visual unificada para títulos de todas as seções. */
.section-heading {
    max-width: 780px;
    margin-bottom: 2.75rem;
}
.section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 .8rem;
    color: var(--primary-dark);
    font-size: .72rem;
    letter-spacing: .28em;
}
.section-heading .eyebrow::before,
.section-heading .eyebrow::after {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 99px;
}
.section-heading h2 {
    max-width: 720px;
    margin: 0;
    color: var(--text);
    font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}
.section-heading__sub {
    max-width: 650px;
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
}
.section-heading--center .eyebrow,
.section-heading--center h2,
.section-heading--center .section-heading__sub { margin-inline: auto; }
.section--accent .section-heading h2 { color: #fff; }

@media (max-width: 760px) {
    .section-heading {
        width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }
    .section-heading h2 {
        max-width: 21rem;
        margin-inline: auto;
        font-size: clamp(1.7rem, 7vw, 2.2rem);
        letter-spacing: -.025em;
    }
    .section-heading__sub { margin-inline: auto; }
}

/* Estrutura responsiva definitiva do header/menu. */
@media (min-width: 761px) {
    .site-header {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #151a22;
        box-shadow: none;
    }
    .menu-toggle { display: none !important; }
    .nav-links { display: flex !important; position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
}

@media (max-width: 760px) {
    .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; background: #151a22; box-shadow: none; }
    body { padding-top: 72px; overflow-x: hidden; }
    .topbar { min-height: 72px; }
    .nav-links { top: 72px; }
}
@media (max-width: 760px) {
    .section-heading,
    .section-heading h2,
    .section-heading p,
    .section-heading__sub {
        width: 100%;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .section-heading__sub {
        text-align: center;
    }

    body.menu-mobile-open { overflow: hidden; }
    .site-header { z-index: 300; }
    .topbar { gap: .5rem; }
    .brand { min-width: 0; }
    .brand img { width: auto; max-width: min(180px, 65vw); object-fit: contain; }
    .site-header {
        position: relative;
        width: 100%;
        min-height: 72px;
    }
    .topbar {
        position: relative;
        width: 100%;
        min-height: 72px;
        padding: .65rem 1rem;
        box-sizing: border-box;
    }
    .brand,
    .brand img {
        max-width: 100%;
    }
    .menu-toggle {
        flex: 0 0 auto;
        min-width: 48px;
        min-height: 48px;
        padding: .5rem;
    }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        z-index: 9999;
        display: none;
        display: none;
        flex-direction: column;
        width: 100vw;
        height: auto;
        height: calc(100dvh - 72px);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        align-items: stretch;
        gap: .25rem;
        padding: .75rem 1rem 1rem;
        background: #151a22;
        color: #f5f7fa;
        margin: 0;
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 18px 35px rgba(0,0,0,.28);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links > a,
    .mega-menu,
    .mega-menu__trigger {
        width: 100%;
        box-sizing: border-box;
    }
    .nav-links > a,
    .mega-menu__trigger {
        justify-content: flex-start;
        min-height: 48px;
        color: #f5f7fa;
        background: transparent;
        font-size: .98rem;
    }
    .nav-links > a:hover,
    .mega-menu__trigger:hover,
    .mega-menu:hover .mega-menu__trigger {
        color: #ffc107;
        background: rgba(255,255,255,.08);
    }
    .mega-menu {
        height: auto;
        display: block;
    }
    .mega-menu:hover .mega-menu__trigger {
        background: transparent;
    }
    .mega-menu:hover .mega-menu__panel:not(.open) {
        max-height: 0;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .mega-menu__trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    .mega-menu__trigger > i {
        margin-left: auto;
        transition: transform .2s ease;
    }
    .mega-menu:has(.mega-menu__panel.open) .mega-menu__trigger > i {
        transform: rotate(180deg);
    }
    .mega-menu__panel {
        position: static;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: .75rem;
        box-sizing: border-box;
        border-radius: 10px;
        transform: none;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height .25s ease, opacity .2s ease, margin .25s ease;
    }
    .mega-menu__panel.open {
        max-height: 70vh;
        margin-top: .25rem;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .mega-menu__grid {
        grid-template-columns: 1fr;
    }
}
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.calculator-shell { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1.3rem; align-items: start; }
.simulator__form, .simulator__result { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.simulator__form label { display: block; margin-bottom: 1rem; font-weight: 600; }
.simulator__form input, .simulator__form select { width: 100%; margin-top: .4rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 14px; font: inherit; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.simulator__form input:focus, .simulator__form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14, 111, 183, 0.12); }
.calculator-actions { margin-top: 1rem; }
.result-card { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-radius: 16px; background: var(--surface-2); margin-bottom: .8rem; gap: 1rem; }
.result-card strong { color: var(--primary-dark); font-size: 1.05rem; }
.result-note { color: var(--text-muted); margin-top: 1rem; }
.testimonial-slider { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-card.active { border-color: rgba(14, 111, 183, 0.28); box-shadow: 0 18px 45px rgba(14, 111, 183, 0.12); }
.testimonial-card span { display: block; margin-top: .75rem; color: var(--text-muted); font-size: .92rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: .8rem; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-list details[open] { border-color: rgba(14, 111, 183, 0.28); box-shadow: 0 10px 24px rgba(14, 111, 183, 0.08); }
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { color: var(--text-muted); margin: .6rem 0 0; }
.post-full__image {
    width: 100%;
    border-radius: 18px;
    margin: 1rem 0 2rem;
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.contact-intro { display: grid; gap: 1rem; }
.contact-highlights { display: grid; gap: .8rem; }
.contact-highlights div { display: flex; align-items: center; gap: .7rem; background: var(--surface); padding: .9rem 1rem; border-radius: 16px; box-shadow: 0 10px 25px rgba(8,35,68,.06); }
.contact-actions .btn-secondary { background: #151a22; color: #fff; border-color: #151a22; }
.contact-actions .btn-secondary:hover { background: #222a36; color: #fff; }
.contact-highlights i { color: var(--primary-dark); font-size: 1.1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.contact-form-card select, .contact-form-card textarea { width: 100%; margin-top: .4rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 14px; font: inherit; background: #fff; }
.privacy-card, .success-card { max-width: 900px; margin: 0 auto; background: var(--surface); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.success-card { text-align: center; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.3rem; }
.privacy-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.privacy-list div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 1rem 1.1rem; }
.privacy-list h3 { margin: 0 0 .3rem; font-size: 1rem; }
.privacy-list p { margin: 0; color: var(--text-muted); }
.cta-final__box { background: linear-gradient(135deg, var(--bg), var(--accent)); color: #fff; border-radius: var(--radius); padding: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-final__box h2 { max-width: 34rem; margin: 0 0 .6rem; line-height: 1.15; }
.cta-final__box p { max-width: 38rem; margin: 0; line-height: 1.55; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer { background: var(--bg); color: #dce7f6; padding: 3rem 0 1.5rem; }
.footer-credit a { color: var(--primary); font-weight: 700; }
.footer-credit a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(150px, .8fr)) minmax(220px, 1fr); gap: 2rem 1.5rem; align-items: start; }
.footer-column { min-width: 0; }
.footer-column--contact { min-width: 0; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #dce7f6; }
.footer-social { display: flex; gap: .8rem; margin-top: .8rem; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); }
.footer-bottom { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), #ffbf00); color: var(--bg); padding: .95rem 1.25rem; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 30px rgba(255,212,0,.24); border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,212,0,.28); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); box-shadow: none; }
.section.section--light:has(.success-card) { min-height: calc(100vh - 90px); display: grid; place-items: center; background: #f5f7fa; }
.success-card { width: min(100%, 900px); padding: clamp(2rem, 5vw, 4rem); border: 1px solid #e7ebef; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(21, 26, 34, .08); color: #151a22; }
.success-card .eyebrow { display: inline-block; margin: 0 0 1rem; padding: .35rem .75rem; border-radius: 999px; background: #e8f7ee; color: #18794e; font-size: .7rem; letter-spacing: .16em; }
.success-card h1 { margin: 0 auto 1rem; color: #151a22; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.success-card > p:not(.eyebrow) { max-width: 680px; margin: .65rem auto; color: #5d6670; line-height: 1.65; }
.success-card .success-actions { align-items: center; }
.success-card .btn-secondary { background: #f1f3f5; color: #151a22; border: 1px solid #d9dee3; }
.success-card .btn-secondary:hover { background: #e5e9ed; color: #151a22; }
.pix-confirmation { margin: 2rem auto 0; padding: 1.5rem; max-width: 420px; border: 1px solid #e6ebef; border-radius: 16px; background: #fafbfc; }
.pix-confirmation h2 { margin-top: 0; color: #151a22; font-size: 1.25rem; }
.pix-confirmation img { width: 220px; height: 220px; margin: 1rem auto; }
.pix-confirmation p { color: #5d6670; }
.pix-confirmation input { width: 100%; padding: .8rem; border: 1px solid #d9dee3; border-radius: 8px; background: #fff; color: #151a22; font: inherit; }
.btn-small { padding: .7rem 1rem; font-size: .93rem; }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; width: auto; min-width: 190px; padding: .75rem 1rem; border-radius: 999px; background: #25d366; color: #fff; display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow); z-index: 90; font-weight: 700; }
@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(37,211,102,.28), 0 0 0 0 rgba(37,211,102,.18); }
    50% { box-shadow: 0 10px 26px rgba(37,211,102,.38), 0 0 0 9px rgba(37,211,102,0); }
}
.whatsapp-float { animation: whatsapp-pulse 2.8s ease-in-out infinite; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { animation-play-state: paused; box-shadow: 0 10px 28px rgba(37,211,102,.45); }
.whatsapp-float i { font-size: 1.25rem; }
.whatsapp-float span { font-size: .9rem; }
.cookie-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1.2rem; box-shadow: var(--shadow); display: none; align-items: center; gap: 1rem; z-index: 100; max-width: 900px; }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; }

/* O carrossel de benefícios só existe em telas mobile. */
@media (max-width: 768px) {
    .hero__badges {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: .25rem .5rem .65rem;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hero__badges::-webkit-scrollbar { display: none; }

    .hero__badges span {
        flex: 0 0 88%;
        min-height: 48px;
        justify-content: center;
        scroll-snap-align: center;
    }
}

@media (max-width: 760px) {
    .cookie-banner {
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
        width: auto;
        max-width: none;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: .75rem;
        border-radius: 14px;
        z-index: 10000;
    }
    .cookie-banner p {
        max-width: 100%;
        color: var(--text);
        font-size: .88rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
    .cookie-banner .btn {
        width: 100%;
        min-height: 48px;
        margin: 0;
    }
}
/* Painel Administrativo */
.admin-body { background: linear-gradient(135deg, #07111d, #0e4f86); min-height: 100vh; color: #fff; }
.admin-panel { padding: 4rem 0; }
.admin-panel__container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.admin-panel__header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.admin-panel__header h1 { margin: 0; color: #fff; }
.admin-panel__subtitle { color: #dce7f6; margin-bottom: 1.2rem; }
.admin-panel__error { color: #ff6b6b; font-weight: 700; background: rgba(255, 107, 107, 0.1); padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; }
.admin-panel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.admin-card { background: #ffffff; color: #11253b; border-radius: 24px; padding: 1.5rem; box-shadow: 0 20px 45px rgba(7, 17, 29, 0.2); border: 1px solid rgba(7, 17, 29, 0.08); transition: transform .25s ease, box-shadow .25s ease; }
.admin-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(7, 17, 29, 0.25); }
.admin-card i { font-size: 1.8rem; color: #d79b0b; margin-bottom: .5rem; display: block; }
.admin-card h3 { margin: 0 0 .35rem; color: #11253b; }
.admin-card p { margin: 0 0 1rem; color: #5e738c; }
.admin-card a { color: #0e6fb7; font-weight: 700; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-kpi { background: #fff; color: #11253b; border-radius: 20px; padding: 1.25rem; box-shadow: 0 16px 35px rgba(7,17,29,.18); }
.admin-kpi i { color: #d79b0b; font-size: 1.5rem; display: block; margin-bottom: .75rem; }
.admin-kpi span, .admin-kpi small { display: block; color: #5e738c; }
.admin-kpi strong { display: block; font-size: 1.65rem; margin: .35rem 0; color: #11253b; }
@media (max-width: 900px) { .admin-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .admin-kpis { grid-template-columns: 1fr; } }
.admin-login-card { background: #ffffff; color: #11253b; border-radius: 24px; padding: 2rem; box-shadow: 0 20px 45px rgba(7, 17, 29, 0.2); border: 1px solid rgba(255, 212, 0, 0.2); }
.admin-login-card img { height: 96px; width: auto; margin: 0 auto 1rem; }
.admin-login-card h1 { margin-top: 0; margin-bottom: .6rem; color: #11253b; }
.admin-login-card__subtitle { color: #5e738c; margin-bottom: 1.2rem; }
.admin-login-card label { display: block; margin-bottom: 1rem; font-weight: 700; color: #11253b; }
.admin-login-card input { width: 100%; margin-top: .4rem; padding: .85rem 1rem; border: 1px solid rgba(7, 17, 29, 0.08); border-radius: 14px; font: inherit; background: #fff; }
.admin-login-card input:focus { outline: none; border-color: #0e6fb7; box-shadow: 0 0 0 4px rgba(14, 111, 183, 0.12); }
/* Formulário de Configurações do Site */
.admin-panel__success { color: #22c55e; font-weight: 700; background: rgba(34, 197, 94, 0.12); padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; }
.admin-badge { display: inline-block; background: rgba(242, 190, 31, 0.15); color: #f2be1f; font-size: .8rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; }
.admin-settings-form { background: #ffffff; color: #11253b; border-radius: 24px; padding: 2rem; box-shadow: 0 20px 45px rgba(7, 17, 29, 0.2); }
.admin-settings-form h2 { margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid rgba(242, 190, 31, 0.4); color: #11253b; font-size: 1.2rem; }
.admin-settings-form h2:not(:first-child) { margin-top: 2rem; }
.admin-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-settings-grid label { display: block; font-weight: 700; color: #11253b; font-size: .92rem; }
.admin-settings-grid input,
.admin-settings-grid textarea { width: 100%; margin-top: .4rem; padding: .85rem 1rem; border: 1px solid rgba(7, 17, 29, 0.12); border-radius: 14px; font: inherit; background: #fff; color: #11253b; }
.admin-settings-grid input:focus,
.admin-settings-grid textarea:focus { outline: none; border-color: #0e6fb7; box-shadow: 0 0 0 4px rgba(14, 111, 183, 0.12); }
.admin-settings-grid textarea { resize: vertical; min-height: 80px; }
.admin-settings-full { grid-column: 1 / -1; }
.admin-settings-form .btn { margin-top: 1.8rem; width: 100%; }
@media (max-width: 600px) {
    .admin-settings-grid { grid-template-columns: 1fr; }
}

/* Estilos da Loja */
.shop-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.shop-header h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}
.shop-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-inline: auto;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}
.product-count {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.sort-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sort-control label {
    font-size: 0.9rem;
    font-weight: 600;
}
.sort-control select {
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background-color: #fff;
    font-size: 0.9rem;
}

.shop-sidebar {
    position: sticky;
    top: 120px; /* Altura do header */
}

.filter-block {
    margin-bottom: 2rem;
}
.filter-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}
.filter-list a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.filter-list a:hover {
    color: var(--accent);
}
.filter-list--checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.product-card__image-link { display: block; position: relative; }
.product-card__image-link img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card__tag { position: absolute; top: .75rem; left: .75rem; background: var(--primary); color: var(--bg); font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; }
.product-card__content { padding: 1rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-card__title { font-size: 1rem; margin: 0 0 .5rem; flex-grow: 1; }
.product-card__title a { color: var(--text); }
.product-card__price { margin-bottom: .25rem; }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: .85rem; margin-right: .5rem; }
.price-current { font-weight: 800; font-size: 1.2rem; color: var(--accent); }
.product-card__installments { font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; }
.product-card__button { width: 100%; }

@media (max-width: 600px) {
    .admin-panel__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .stats-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-band__item:nth-child(3) { border-left: 0; }
}

@media (max-width: 920px) {
    .hero__content, .split-grid, .calculator-shell, .faq-grid, .testimonial-slider, .card-grid, .trust-band__grid, .shop-layout { grid-template-columns: 1fr; }
    .authority-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-final__box { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-band__item:nth-child(3) { border-left: 0; }
    .admin-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-sidebar { position: static; }
    .product-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    main,
    section,
    .container,
    .hero,
    .hero__content,
    .hero__text {
        width: 100%;
        max-width: 100vw;
        min-width: 0;
    }

    .container {
        padding-inline: 1rem;
    }

    .hero__text h1,
    .hero__text p,
    .hero__text .eyebrow {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .hero__actions {
        width: 100%;
        max-width: 100%;
        align-items: center;
    }

    .hero__actions .btn {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,17,29,.96); flex-direction: column; padding: 1rem; }
    .nav-links.open { display: flex; }
    .menu-toggle { display: block; }
    .hero { min-height: auto; }
    .hero__content { padding: 2rem 0 3rem; }
    .hero__text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero__text h1,
    .hero__text p {
        width: 100%;
        margin-inline: auto;
    }
    .hero__actions,
    .hero__badges {
        justify-content: center;
    }
    .hero__badges {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: .75rem;
        padding: .25rem .5rem .65rem;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .hero__badges::-webkit-scrollbar { display: none; }
    .hero__badges span {
        flex: 0 0 88%;
        justify-content: center;
        min-height: 48px;
        scroll-snap-align: center;
    }
    .hero__actions .btn {
        text-align: center;
    }
    .metric-grid, .authority-strip__inner, .solution-grid, .benefits-grid, .project-grid--featured, .process-grid, .card-grid, .stats-band__grid { grid-template-columns: 1fr; }
    .stats-band__item + .stats-band__item { border-left: 0; }
    .process-grid .process-card + .process-card::before { content: '↓'; left: 50%; top: -1rem; transform: translateX(-50%); }
    .process-grid { grid-template-columns: 1fr; gap: 2rem; }
    .process-card { position: relative; min-height: 0; }
    .process-grid .process-card + .process-card::before {
        content: '↓';
        top: -1.65rem;
        left: 50%;
        color: var(--primary-dark);
        font-size: 1.35rem;
        line-height: 1;
        transform: translateX(-50%);
    }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
    .brand img { height: 48px; }
    .brand img { height: 58px; max-width: 65vw; object-fit: contain; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { min-width: auto; width: 56px; padding: .8rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .lightbox { padding: 1rem; }
    .lightbox__prev { left: .4rem; }
    .lightbox__next { right: .4rem; }
    .lightbox__close { top: .6rem; right: .6rem; }
}

/* Drawer mobile final: mantém o menu isolado do conteúdo do Hero. */
@media (max-width: 760px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 9998;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9999;
        display: none;
        width: 100%;
        max-width: 100vw;
        max-height: calc(100vh - 72px);
        overflow-x: hidden;
        overflow-y: auto;
        padding: .75rem 1rem 1rem;
        background: #151a22;
        color: #fff;
        border-top: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 18px 40px rgba(0,0,0,.4);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .nav-links > a,
    .mega-menu__trigger {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        color: #f5f7fa;
        background: transparent;
        font-size: .98rem;
    }

    .nav-links > a:hover,
    .mega-menu__trigger:hover {
        color: #ffc107;
        background: rgba(255,255,255,.08);
    }
    .nav-links.open {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .menu-toggle {
        position: relative;
        z-index: 10000;
        display: grid;
        place-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 8px;
    }
    .menu-toggle span { transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Última camada responsiva: prevalece sobre regras legadas anteriores. */
@media (max-width: 920px) {
    .hero__content, .split-grid, .shop-layout, .product-layout, .checkout-layout, .calculator-shell { grid-template-columns: 1fr; }
    .solution-grid, .benefits-grid, .project-grid--featured, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    body { padding-top: 0 !important; }
    .site-header { position: sticky !important; top: 0; }
    .container { width: 100%; max-width: 100%; padding-inline: 1rem; }
    .section { padding-block: 3rem; }
    .hero__content { padding-block: 2.5rem 3rem; }
    .hero__text h1 { font-size: clamp(2rem, 9vw, 3rem); }
    .hero__actions .btn { width: 100%; }
    .solution-grid, .benefits-grid, .project-grid--featured, .process-grid, .gallery-grid { grid-template-columns: 1fr; }
    .authority-strip__inner, .stats-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-column--contact { grid-column: 1 / -1; }
    .form-row, .password-group { grid-template-columns: 1fr !important; }
    .table-responsive, .admin-table-wrap { max-width: 100%; overflow-x: auto; }
    table { min-width: 620px; }
    input, select, textarea, button { max-width: 100%; }
}
@media (max-width: 480px) {
    .container { padding-inline: .8rem; }
    .authority-strip__inner, .stats-band__grid { grid-template-columns: 1fr; }
    .hero__badges span { flex-basis: 92%; }
    .contact-actions { flex-direction: column; align-items: stretch; }
    .contact-actions .btn { width: 100%; }
    .cookie-banner { left: .75rem; right: .75rem; width: auto; transform: none; flex-direction: column; align-items: stretch; }
    .section-heading h2 { max-width: 22rem; margin-inline: auto; font-size: clamp(1.65rem, 7vw, 2.15rem); line-height: 1.15; }
}

@media (max-width: 760px) {
    .footer-grid,
    .footer-brand,
    .footer-column,
    .footer-links,
    .footer-contact,
    .footer-bottom {
        text-align: center;
    }
    .footer-brand,
    .footer-column,
    .footer-contact {
        align-items: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-logo {
        display: block;
        width: auto;
        height: 70px !important;
        max-width: 228px !important;
        margin: 0 auto 1.25rem !important;
        object-fit: contain;
        object-position: center;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: .5rem;
    }
    .process-card {
        align-items: center;
        text-align: center;
        padding-inline: 1.25rem;
    }
    .process-card p { max-width: 28rem; }
    .faq-grid > .section-heading,
    .faq-grid .section-heading,
    .faq-intro {
        text-align: center;
        margin-inline: auto;
    }
    .faq-grid .section-heading h2,
    .faq-grid .section-heading p,
    .faq-intro h2,
    .faq-intro p {
        margin-inline: auto;
    }
    .cta-final { padding-block: 2.5rem; }
    .cta-final__box {
        width: 100%;
        padding: 2rem 1.25rem;
        gap: 1.25rem;
        text-align: center;
        align-items: center;
    }
    .cta-final__box h2,
    .cta-final__box p { max-width: 30rem; margin-inline: auto; }
    .cta-final__actions { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .cta-final__box { padding: 1.5rem 1rem; border-radius: 20px; gap: 1rem; }
    .cta-final__box h2 { max-width: 18rem; margin-bottom: .45rem; font-size: 1.55rem; }
    .cta-final__box p { max-width: 20rem; font-size: .92rem; }
    .cta-final__actions { flex-direction: column; gap: .75rem; }
    .cta-final__actions .btn { width: 100%; }
    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 56px;
        height: 56px;
        min-width: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* Acabamento final dos títulos em telas pequenas. */
@media (max-width: 760px) {
    .section-heading,
    .section-heading--center { text-align: center; }
    .section-heading h2 { max-width: 21rem; margin-inline: auto; }
    .section-heading__sub { max-width: 34rem; margin-inline: auto; }
    .section-heading--center,
    .section-heading--center h2,
    .section-heading--center .section-heading__sub {
        width: 100%;
        max-width: 22rem;
        margin-inline: auto;
        text-align: center;
    }
    .section-heading--center h2 { overflow-wrap: normal; word-break: normal; }
    .split-grid__content { text-align: center; }
    .split-grid__content h2 { max-width: 22rem; margin-inline: auto; }
    .split-grid__content .feature-list { text-align: left; }
    .site-footer .footer-grid > div:first-child { text-align: center; }
    .site-footer .footer-grid > div:first-child .footer-logo {
        display: block;
        width: auto;
        height: 84px !important;
        max-width: 250px !important;
        margin: 0 auto 1.25rem !important;
        object-position: center !important;
    }
}

@media (max-width: 760px) {
    /* Galeria mobile em formato de slides com navegação por toque. */
    .gallery-grid {
        display: flex;
        position: relative;
        gap: .85rem;
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        padding: .25rem 0 .75rem;
        scrollbar-width: none;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    #beneficios .section-heading, #como-funciona .section-heading, #galeria .section-heading, #depoimentos .section-heading, .blog-preview .section-heading { text-align: center; }
    #beneficios .benefit-card { text-align: center; }
    #beneficios .benefits-grid { gap: .9rem; counter-reset: benefits; }
    #beneficios .benefit-card { position: relative; min-height: 0; padding: 1.35rem 1.15rem 1.4rem; border-radius: 20px; border-top: 3px solid rgba(242,190,31,.7); box-shadow: 0 10px 26px rgba(7,17,29,.06); }
    #beneficios .benefit-card::before { content: counter(benefits); counter-increment: benefits; position: absolute; top: .75rem; right: .85rem; color: rgba(14,111,183,.35); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
    #beneficios .benefit-card h3 { margin: .35rem 1rem .65rem; }
    #beneficios .benefit-card p { margin: 0 auto; max-width: 20rem; line-height: 1.6; }
    #beneficios .benefits-grid { display: flex; overflow-x: auto; gap: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
    #beneficios .benefits-grid::-webkit-scrollbar { display: none; }
    #beneficios .benefits-grid .benefit-card { flex: 0 0 100%; min-width: 100%; scroll-snap-align: center; }
    .section .eyebrow { display: flex; justify-content: center; width: 100%; margin-inline: auto; text-align: center; }
    .testimonial-slider { display: flex; overflow-x: auto; gap: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .25rem 0 .75rem; }
    .testimonial-slider::-webkit-scrollbar { display: none; }
    .section-heading { margin-bottom: 2.35rem; }
    .section-heading .eyebrow { margin-bottom: .95rem; line-height: 1.4; }
    .section-heading h2 { max-width: 24rem; line-height: 1.18; letter-spacing: -.02em; }
    .section-heading__sub, .section-heading > p:not(.eyebrow) { margin-top: 1.15rem; line-height: 1.7; }
    #beneficios .section-heading .eyebrow { display: flex; justify-content: center; width: 100%; margin-inline: auto; text-align: center; }
    .split-grid__content h2 { line-height: 1.18; letter-spacing: -.02em; }
    .testimonial-slider .testimonial-card { flex: 0 0 100%; min-width: 100%; scroll-snap-align: center; }
    .admin-panel { padding: 2rem 0; }
    .admin-panel__container { width: min(100% - 1.25rem, 680px); }
    .admin-panel__header { align-items: flex-start; }
    .admin-panel__grid { grid-template-columns: 1fr; gap: 1rem; }
    .admin-card, .admin-settings-form, .admin-login-card { padding: 1.25rem; border-radius: 18px; }
    .admin-settings-grid { grid-template-columns: 1fr; }
    .admin-settings-full { grid-column: auto; }
    .admin-panel h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
    .admin-panel__header > div:last-child { display: flex !important; flex-wrap: wrap; gap: .5rem !important; }
    .admin-panel__header > div:last-child .btn { min-width: 0; flex: 1 1 130px; }
    .admin-settings-form label { min-width: 0; }
    .admin-settings-form input[type="file"] { font-size: .8rem; padding: .65rem; }
    .admin-card > div[style*="display:flex"] { flex-wrap: wrap; }
    .admin-card > div[style*="display:flex"] .btn { flex: 1 1 110px; text-align: center; }
    .admin-panel__section-title { margin-top: 1.75rem; font-size: 1.25rem; }
    .instagram-feed { padding-top: 2.75rem; padding-bottom: 2rem; }
    .instagram-feed .section-heading { margin-bottom: 1.5rem; }
    .instagram-grid { gap: .65rem; margin-top: 1.25rem; margin-bottom: 1.75rem; padding-inline: .25rem; }
    .instagram-grid a { border-radius: 14px; box-shadow: 0 8px 20px rgba(7,17,29,.1); }
    .instagram-feed > .container > .btn { min-width: 190px; }
    .instagram-feed + .cta-final { margin-top: 0; padding-top: 0; }
    .instagram-feed + .cta-final .cta-final__box { border-radius: 24px 24px 0 0; }
    .gallery-card {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: center;
    }
    .project-card--cta { background: linear-gradient(135deg, var(--bg), var(--accent)); color: #fff; }
    .project-card--cta h3 { color: #fff; }
    .project-card--cta p { color: #dce7f6; }
    .project-card--cta a { color: var(--primary); font-weight: 800; }
    .project-grid--featured + * { margin-top: 1rem; }
    .section-heading h2 { text-align: center; }
    .project-grid--featured {
        display: flex;
        position: relative;
        width: 100%;
        margin-inline: auto;
        gap: 1rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        padding: .25rem 0 .75rem;
        scrollbar-width: none;
    }
    .project-grid--featured::-webkit-scrollbar { display: none; }
    .project-grid--featured .project-card {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: center;
    }
    .gallery-grid::after,
    .project-grid--featured::after {
        content: 'Deslize para ver mais →';
        position: absolute;
        display: block;
        left: 50%;
        transform: translateX(-50%);
        bottom: -.1rem;
        color: var(--text-muted);
        font-size: .78rem;
        font-weight: 700;
        white-space: nowrap;
        pointer-events: none;
    }
}

/* Mega menu mobile: submenu contido dentro do drawer, sem sobreposição. */
@media (max-width: 760px) {
    .nav-links.open {
        height: auto !important;
        max-height: calc(100dvh - 72px) !important;
        padding: .5rem .75rem .75rem !important;
        gap: .15rem !important;
    }
    .nav-links > a,
    .mega-menu__trigger { min-height: 44px !important; padding-block: .55rem !important; }
    .nav-links > a.header-icon-link { justify-content: flex-start !important; }
    .nav-links > a.header-icon-link .nav-label {
        display: inline;
        margin-left: .65rem;
        font-size: .98rem;
        font-weight: 600;
    }
    .menu-toggle[aria-expanded="true"] { position: relative; }
    .menu-toggle[aria-expanded="true"] span { position: absolute; left: 10px; top: 23px; width: 28px; margin: 0; }
    #confianca .section-heading .eyebrow {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-inline: auto;
        text-align: center;
    }
    #solucoes .section-heading,
    #solucoes .section-heading .eyebrow,
    #solucoes .section-heading h2,
    #solucoes .section-heading__sub {
        text-align: center;
        margin-inline: auto;
    }
    #solucoes .section-heading .eyebrow {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    #solucoes .solution-card {
        align-items: center;
        text-align: center;
    }
    #solucoes .solution-card p { max-width: 20rem; }
    #solucoes .solution-card a { align-self: center; }
    .hero__badges {
        position: relative;
        isolation: isolate;
        padding-inline: 0;
    }
    .hero__badges::before, .hero__badges::after { display: none; }
    .hero__badges { -webkit-mask-image: none; mask-image: none; }
    .hero__badges span { position: relative; z-index: 1; flex: 0 0 100% !important; width: 100%; max-width: 100%; margin: 0; }
    .hero__badges { padding-inline: 0 !important; }
    .split-grid__content .eyebrow { display: flex; justify-content: center; width: 100%; }
    .mega-menu { flex: 0 0 auto; }
    .mega-menu__panel,
    .mega-menu:hover .mega-menu__panel:not(.open) {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
    }
    .mega-menu__panel.open {
        max-height: 45vh !important;
        margin-top: .25rem !important;
        padding: .5rem !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .mega-menu__grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 760px) {
    .split-grid__media { min-height: 280px; border-radius: 20px; }
    .split-grid__media > img { min-height: 280px; }
    .split-grid__content { padding: .5rem .25rem 0; text-align: center; }
    .split-grid__content h2 { max-width: 21rem; margin-inline: auto; font-size: clamp(1.7rem, 7vw, 2.2rem); }
    .split-grid__content > p:not(.eyebrow) { max-width: 32rem; margin-inline: auto; }
    .split-grid__content .btn { width: 100%; max-width: 20rem; }
}

@media (max-width: 760px) {
    .faq-grid > div:first-child {
        width: 100%;
        max-width: 22rem;
        margin-inline: auto;
        text-align: center;
    }
    .faq-grid > div:first-child .eyebrow,
    .faq-grid > div:first-child h2,
    .faq-grid > div:first-child p { margin-inline: auto; }
    .faq-grid > div:first-child h2 { line-height: 1.15; }
    .split-grid__content .feature-list {
        text-align: center;
        justify-items: center;
    }
    .split-grid__content .feature-list li {
        justify-content: center;
        text-align: center;
    }
    .site-footer .footer-grid > div:first-child > p {
        max-width: 20rem;
        margin: .25rem auto 1.15rem;
        line-height: 1.55;
        letter-spacing: -.01em;
    }
    .site-footer .footer-grid > div:first-child .footer-social {
        margin-top: .25rem;
        gap: .7rem;
    }
}

@media (max-width: 480px) {
    .project-grid--featured .project-card { padding: 1.25rem; }
    .project-grid--featured .project-card__image { margin-inline: auto; }
}


/* S2M Solar - image ratios and slider design fix */
/* S2M Solar - image ratios and slider design fix */

/* ---------- 隐藏已停用的 Loja / 购物车入口 ---------- */
.is-hidden-menu {
    display: none !important;
}

/* ---------- 图片统一比例与裁切 ---------- */
img {
    max-width: 100%;
    height: auto;
}

/* 博客卡片：16:9 固定比例，object-fit 防止拉伸变形 */
.blog-card__image-link {
    display: block;
    margin-bottom: 1rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: var(--surface-2, #f1f5f9);
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.05);
}

/* 项目卡片：4:3 固定比例 */
.project-card__image-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--surface-2, #f1f5f9);
}

.project-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Instagram 网格：统一正方形，悬停放大 */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
}

.instagram-grid a {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-2, #f1f5f9);
    outline: 2px solid transparent;
    transition: transform .4s ease, outline-color .4s ease;
}

.instagram-grid a:hover,
.instagram-grid a:focus-visible {
    transform: translateY(-4px);
    outline-color: var(--primary-color, #f2be1f);
}

.instagram-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 画廊卡片：统一 1:1 */
.gallery-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface-2, #f1f5f9);
}

.gallery-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.gallery-card:hover .gallery-card__media img {
    transform: scale(1.06);
}

/* ---------- Hero 幻灯片 ---------- */
.hero-slider {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--surface-2, #0f1c2b);
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 1.2s ease-in-out, transform 6s ease-in-out;
}

.hero-slider__slide.is-active,
.hero-slider__slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slider__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to top, rgba(7, 17, 29, .72), rgba(7, 17, 29, .08) 45%, transparent 70%);
}

.hero-slider__caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 2.75rem;
    z-index: 3;
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .75);
}

.hero-slider__pagination {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.hero-slider__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: all .3s ease;
}

.hero-slider__dot:hover {
    background: rgba(255, 255, 255, .75);
}

.hero-slider__dot.is-active,
.hero-slider__dot.active {
    background: #fff;
    transform: scale(1.15);
}

/* ---------- 证言滑块 ---------- */
.testimonial-slider {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: .5rem;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .instagram-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .hero-slider {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 600px) {
    .instagram-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .hero-slider {
        aspect-ratio: 4 / 3;
        margin-inline: 0;
    }

    .hero-slider__caption {
        bottom: 2.5rem;
        left: .75rem;
        right: .75rem;
        font-size: .85rem;
    }

    .hero-slider__pagination {
        bottom: .85rem;
    }

    .blog-card__image-link {
        aspect-ratio: 16 / 9;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .hero-slider__slide,
    .blog-card__image,
    .gallery-card__media img,
    .instagram-grid a {
        transition: none !important;
        transform: none !important;
    }
}
