/*
 * POLY MODELISTA — Estilos Base
 * Usa as variáveis CSS definidas dinamicamente pelo /tema.css
 * Fontes: Cormorant Garamond (títulos) + Montserrat (corpo)
 * ============================================================
 * Índice:
 *   1. Variáveis Estáticas (tipografia, espaçamento, sombras)
 *   2. Reset e Base
 *   3. Tipografia
 *   4. Layout e Container
 *   5. Header e Navegação
 *   6. Barra Admin
 *   7. Botões
 *   8. Footer
 *   9. WhatsApp Float
 *  10. Flash Messages
 *  11. Utilitários
 *  12. Animações
 *  13. Responsividade
 * ============================================================
 */

/* ============================================================
   1. VARIÁVEIS ESTÁTICAS
   (as variáveis de cor vêm do /tema.css)
   ============================================================ */

:root {
    /* Tipografia */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', Arial, sans-serif;

    /* Escala de tamanho de fonte */
    --text-xs:   0.75rem;    /* 12px */
    --text-sm:   0.875rem;   /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg:   1.125rem;   /* 18px */
    --text-xl:   1.25rem;    /* 20px */
    --text-2xl:  1.5rem;     /* 24px */
    --text-3xl:  1.875rem;   /* 30px */
    --text-4xl:  2.25rem;    /* 36px */
    --text-5xl:  3rem;       /* 48px */
    --text-6xl:  3.75rem;    /* 60px */

    /* Pesos de fonte */
    --fw-light:   300;
    --fw-regular: 400;
    --fw-medium:  500;
    --fw-semi:    600;

    /* Espaçamento (escala de 4px) */
    --space-1:  0.25rem;   /* 4px  */
    --space-2:  0.5rem;    /* 8px  */
    --space-3:  0.75rem;   /* 12px */
    --space-4:  1rem;      /* 16px */
    --space-5:  1.25rem;   /* 20px */
    --space-6:  1.5rem;    /* 24px */
    --space-8:  2rem;      /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */

    /* Bordas */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* Sombras (sutis — alta costura é clean) */
    --shadow-xs: 0 1px 3px rgba(61, 41, 54, 0.06);
    --shadow-sm: 0 2px 8px rgba(61, 41, 54, 0.08);
    --shadow-md: 0 4px 16px rgba(61, 41, 54, 0.10);
    --shadow-lg: 0 8px 32px rgba(61, 41, 54, 0.12);

    /* Transições */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;

    /* Header */
    --header-height: 72px;
    --admin-bar-height: 36px;
}


/* ============================================================
   2. RESET E BASE
   ============================================================ */

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Quando a admin-bar está presente, compensa a altura no scroll */
body.has-admin-bar {
    padding-top: var(--admin-bar-height);
}

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

a {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover { opacity: 0.8; }

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Foco visível (acessibilidade) */
:focus-visible {
    outline: 2px solid var(--cor-primaria);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}


/* ============================================================
   3. TIPOGRAFIA
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-light);
    line-height: 1.2;
    color: var(--cor-texto);
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl),  3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-weight: var(--fw-medium); }

/* Subtítulo elegante */
.subtitle {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cor-primaria);
}

/* Divisor decorativo elegante */
.divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cor-neutra);
}
.divider-ornament {
    color: var(--cor-destaque);
    font-size: var(--text-lg);
}

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: var(--fw-semi); }


/* ============================================================
   4. LAYOUT E CONTAINER
   ============================================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.container--narrow {
    max-width: 800px;
}

.container--wide {
    max-width: 1400px;
}

/* Grid utilitário */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

/* Seção genérica */
.section {
    padding-block: var(--space-20);
}

.section--sm {
    padding-block: var(--space-12);
}

.section--blush {
    background-color: var(--cor-secundaria);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section__header .subtitle {
    display: block;
    margin-bottom: var(--space-3);
}

.section__header h2 {
    margin-bottom: var(--space-4);
}

.section__header p {
    max-width: 600px;
    margin-inline: auto;
    color: color-mix(in srgb, var(--cor-texto) 70%, transparent);
}

/* Espaçador do header (evita conteúdo sob o header fixo) */
.header-spacer {
    height: var(--header-height);
}


/* ============================================================
   5. HEADER E NAVEGAÇÃO
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-scrolled {
    border-bottom-color: var(--cor-neutra);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-6);
}

/* Marca */
.header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--cor-texto);
    flex-shrink: 0;
}

.header-brand:hover { opacity: 1; }

.header-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--cor-primaria);
}

.header-brand-text {
    display: flex;
    flex-direction: column;
}

.header-brand-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--fw-medium);
    letter-spacing: 0.05em;
    color: var(--cor-texto);
    line-height: 1;
}

.header-brand-slogan {
    font-size: var(--text-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cor-primaria);
    margin-top: 2px;
}

/* Navegação */
.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cor-texto);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--transition-fast);
}

/* Linha sublinhado elegante no hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--space-3);
    right: var(--space-3);
    height: 1px;
    background: var(--cor-primaria);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: center;
}

.nav-link:hover,
.nav-link--active {
    color: var(--cor-primaria);
    opacity: 1;
}

.nav-link:hover::after,
.nav-link--active::after {
    transform: scaleX(1);
}

.nav-cta {
    margin-left: var(--space-2);
}

/* Hamburger (só mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.hamburger:hover { opacity: 0.7; }

.hamburger-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--cor-texto);
    transition: transform var(--transition-base), opacity var(--transition-base);
    transform-origin: center;
}

/* Estado aberto do hamburger */
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Overlay escuro (mobile) */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(61, 41, 54, 0.4);
    z-index: 90;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-overlay.is-visible {
    opacity: 1;
}

/* Conteúdo principal — compensar header fixo */
.main-content {
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}


/* ============================================================
   6. BARRA ADMIN
   ============================================================ */

.admin-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    height: var(--admin-bar-height);
    background: var(--cor-texto);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-xs);
}

.admin-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-inline: var(--space-6);
    max-width: 1200px;
    margin-inline: auto;
}

.admin-bar-info {
    font-weight: var(--fw-medium);
    letter-spacing: 0.05em;
}

.admin-bar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.admin-bar-btn {
    color: rgba(255, 255, 255, 0.85);
    padding: 2px var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.admin-bar-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    opacity: 1;
}

.admin-bar-btn--super {
    border-color: var(--cor-destaque);
    color: var(--cor-destaque);
}

.admin-bar-btn--logout {
    border-color: rgba(216, 140, 154, 0.5);
    color: var(--cor-primaria);
}

/* Quando a admin-bar está ativa, empurra o site-header para baixo */
body:has(.admin-bar) .site-header {
    top: var(--admin-bar-height);
}

body:has(.admin-bar) .main-content {
    padding-top: calc(var(--header-height) + var(--admin-bar-height));
}


/* ============================================================
   7. BOTÕES
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover { opacity: 1; }

/* Primário */
.btn-primary {
    background: var(--cor-primaria);
    color: #fff;
    border-color: var(--cor-primaria);
}
.btn-primary:hover {
    background: color-mix(in srgb, var(--cor-primaria) 85%, #000);
    border-color: color-mix(in srgb, var(--cor-primaria) 85%, #000);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Outline / Secundário */
.btn-outline {
    background: transparent;
    color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}
.btn-outline:hover {
    background: var(--cor-primaria);
    color: #fff;
    transform: translateY(-1px);
}

/* Destaque (Champagne) */
.btn-destaque {
    background: var(--cor-destaque);
    color: #fff;
    border-color: var(--cor-destaque);
}
.btn-destaque:hover {
    background: color-mix(in srgb, var(--cor-destaque) 85%, #000);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: #fff;
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--cor-texto);
    border-color: var(--cor-neutra);
}
.btn-ghost:hover {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    transform: translateY(-1px);
}

/* Tamanhos */
.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-12);
    font-size: var(--text-base);
}


/* ============================================================
   8. FOOTER
   ============================================================ */

.site-footer {
    background: color-mix(in srgb, var(--cor-texto) 95%, #000);
    color: rgba(255, 255, 255, 0.75);
    margin-top: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    padding-block: var(--space-16);
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    color: #fff;
}

.footer-brand-link:hover { opacity: 0.85; }

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--cor-primaria);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--fw-light);
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-slogan {
    font-size: var(--text-sm);
    letter-spacing: 0.1em;
    color: var(--cor-primaria);
    margin-bottom: var(--space-2);
}

.footer-city {
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-5);
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.social-link:hover {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    opacity: 1;
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-5);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--cor-primaria);
    opacity: 1;
}

.footer-contact-item {
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
}

.footer-address {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.45);
    margin-top: var(--space-4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: var(--space-5);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.footer-copy,
.footer-dev {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}


/* ============================================================
   9. WHATSAPP FLOAT
   ============================================================ */

.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 80;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: #25D366;
    color: #fff;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0.03em;
    transition: all var(--transition-base);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.35);
}

.whatsapp-icon {
    flex-shrink: 0;
}

/* Pulso animado para chamar atenção */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    background: rgba(37, 211, 102, 0.25);
    animation: whatsapp-pulse 2.5s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1.15); opacity: 0; }
}


/* ============================================================
   10. FLASH MESSAGES
   ============================================================ */

.flash-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-4));
    right: var(--space-6);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: 380px;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    box-shadow: var(--shadow-md);
    animation: flash-in 0.3s ease;
}

@keyframes flash-in {
    from { transform: translateX(20px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

.flash--sucesso { background: #f0fdf4; color: #166534; border-left: 3px solid #22c55e; }
.flash--erro    { background: #fef2f2; color: #991b1b; border-left: 3px solid #ef4444; }
.flash--aviso   { background: #fffbeb; color: #92400e; border-left: 3px solid #f59e0b; }
.flash--info    { background: #eff6ff; color: #1e40af; border-left: 3px solid #3b82f6; }

.flash-close {
    background: none;
    border: none;
    font-size: var(--text-lg);
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    padding: 0 var(--space-1);
    line-height: 1;
    flex-shrink: 0;
}
.flash-close:hover { opacity: 1; }


/* ============================================================
   11. UTILITÁRIOS
   ============================================================ */

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-primary  { color: var(--cor-primaria); }
.text-destaque { color: var(--cor-destaque); }
.text-muted    { color: color-mix(in srgb, var(--cor-texto) 50%, transparent); }

.bg-blush  { background-color: var(--cor-secundaria); }
.bg-muted  { background-color: #f9f7f5; }
.bg-dark   { background-color: var(--cor-texto); color: #fff; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

.hidden { display: none !important; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: var(--space-4); }

.mt-auto { margin-top: auto; }
.mb-8    { margin-bottom: var(--space-8); }

/* Cards genéricos */
.card {
    background: var(--cor-fundo);
    border: 1px solid var(--cor-neutra);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: var(--space-6);
}

.card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

/* Formulários */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
    color: var(--cor-texto);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--cor-neutra);
    border-radius: var(--radius-md);
    background: var(--cor-fundo);
    color: var(--cor-texto);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px var(--cor-primaria-10, rgba(216,140,154,0.1));
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}


/* ============================================================
   12. ANIMAÇÕES GLOBAIS
   ============================================================ */

/* Fade-in suave para elementos que entram na viewport */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* ============================================================
   13. RESPONSIVIDADE
   ============================================================ */

/* Tablet (< 1024px) */
@media (max-width: 1023px) {
    :root { --header-height: 64px; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
    }

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

/* Mobile (< 768px) */
@media (max-width: 767px) {
    :root {
        --header-height: 60px;
        --admin-bar-height: 32px;
    }

    /* Nav mobile: drawer lateral */
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 85vw);
        background: var(--cor-fundo);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--space-8)) var(--space-8) var(--space-8);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        z-index: 95;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        gap: 0;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .nav-overlay {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--cor-neutra);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: var(--space-4) 0;
        font-size: var(--text-base);
        letter-spacing: 0.05em;
    }

    .nav-link::after { display: none; }

    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-6);
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    /* Header brand — oculta slogan no mobile */
    .header-brand-slogan {
        display: none;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding-block: var(--space-12);
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    /* WhatsApp — só ícone no mobile */
    .whatsapp-label {
        display: none;
    }

    .whatsapp-float {
        padding: var(--space-3);
        border-radius: 50%;
        bottom: var(--space-5);
        right: var(--space-5);
    }

    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Flash messages */
    .flash-container {
        right: var(--space-4);
        left: var(--space-4);
        max-width: none;
    }
}

/* Mobile pequeno (< 380px) */
@media (max-width: 379px) {
    .container { padding-inline: var(--space-4); }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
}
