@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@500;700;800;900&display=swap');

/* ==========================================================================
   1. VARIÁVEIS GLOBAIS E RESET
   ========================================================================== */
:root {
    /* Cores Premium - Identidade Universal Bandeiras */
    --color-primary: #0A2240;      /* Azul Escuro Principal (Hero, Footer, Textos Fortes) */
    --color-secondary: #00A8E8;    /* Azul Claro / Ciano (Detalhes, Hover sutil) */
    --color-accent: #D90429;       /* Vermelho da Marca (Conversão, CTAs, Tags) */
    --color-accent-hover: #B20322; /* Vermelho Hover (Mais escuro para interações) */
    
    /* Tons de Texto e Fundo */
    --color-white: #FFFFFF;        /* Branco puro (Textos em fundo escuro) */
    --color-light: #F8FAFC;        /* Branco Gelo (Fundos de seções claras) */
    
    --text-main: #1E293B;          /* Slate 800 */
    --text-body: #475569;          /* Slate 600 */
    --text-muted: #94A3B8;         /* Slate 400 */
    --border-color: #E2E8F0;       /* Slate 200 */
    
    /* Sombras Elevadas e Modernas */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(217, 4, 41, 0.4); /* Glow Vermelho (Accent) */
    
    /* Raios de Borda */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Fontes */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-light);
}

/* ==========================================================================
   2. TIPOGRAFIA IMPONENTE
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

/* Sublinhado elegante no título */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* ==========================================================================
   3. BOTÕES E MICRO-INTERAÇÕES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-whatsapp {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Ícone oficial do WhatsApp (SVG inline): segue a cor e o tamanho do texto */
.icon-whatsapp {
    width: 1.25em;
    height: 1.25em;
    fill: currentColor;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Pulso sutil para o botão de WhatsApp do Header */
.pulse-animation {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(217, 4, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

/* ==========================================================================
   4. HEADER STICKY COM GLASSMORPHISM
   ========================================================================== */
.header {
    background: transparent;
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.header.header-scrolled {
    background: rgba(10, 34, 64, 0.96); /* Fundo sólido para nenhum texto vazar */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Menu Mobile: Slide Lateral Suave */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 90px; /* Alinhado ao topo do header */
        left: -100%; /* Fora da tela */
        flex-direction: column;
        width: 100%;
        background-color: rgba(10, 34, 64, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-menu.active {
        left: 0; /* Desliza para dentro da tela */
        box-shadow: 0 10px 15px rgba(0,0,0,0.2); /* Só com o menu aberto, para a sombra não vazar na borda */
    }
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-white);
    opacity: 0.9;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.nav-menu a:hover {
    opacity: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    flex-shrink: 0;
}

.header .btn-whatsapp {
    display: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .nav-menu { display: flex; }
    .mobile-menu-btn { display: none; }
    .header .btn-whatsapp { display: inline-flex; }
}

/* Entre 992px e 1200px: esconde o texto da marca para liberar espaço para o menu e botão WhatsApp */
@media (min-width: 992px) and (max-width: 1200px) {
    .logo-text {
        display: none;
    }
}

/* Telas muito estreitas (smartphones pequenos <= 480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
        height: 80px;
    }
    .logo {
        font-size: 1rem;
        gap: 0.5rem;
    }
    .logo-img {
        height: 38px;
    }
}

/* ==========================================================================
   5. HERO SECTION (GRADIENTE LINEAR ESCURO -> CLARO)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero/hero-bandeiras.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax sutil */
}

/* Gradiente Escuro para legibilidade máxima */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10, 34, 64, 0.85), rgba(10, 34, 64, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    max-width: 800px;
    padding-top: 90px; /* Compensa o header */
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.6);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--color-white);
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.6);
}

.hero h1 .highlight {
    color: var(--color-white);
}

.hero p {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 1; /* Removida a opacidade baixa para máxima clareza */
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
    .hero h1 { font-size: 4.5rem; }
    .hero p { font-size: 1.5rem; }
}

/* ==========================================================================
   6. PRODUTOS: PAINEL COM SELETOR DE TAMANHO (2 Panos / 3 Panos)
   Modelo aprovado pelo dono (_rascunhos/produtos- teste.html).
   ========================================================================== */
#produtos {
    --navy: #0A2240; --forest: #0D4433; --red: #D90429; --red-h: #B20322;
    --ink: #1E293B; --price: #1D3F9E; --muted: #64748B; --line: #E2E8F0;
}

.pp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.pp-eyebrow { font: 600 13px/1 Inter, 'Segoe UI', Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.pp-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); border-radius: 2px; }
.pp-title { font: 700 clamp(30px, 4vw, 44px)/1.08 Montserrat, 'Segoe UI', Arial, sans-serif; color: var(--navy); letter-spacing: -.02em; max-width: 620px; }
.pp-sub { font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--muted); max-width: 380px; }

/* Painel principal (claro, preço em destaque) */
.pp-panel {
    position: relative; display: grid; grid-template-columns: 1.1fr 1fr;
    background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; color: var(--navy);
    box-shadow: 0 24px 48px -28px rgba(10, 34, 64, .25);
}

/* Foto (3/2, bandeira inteira visível) */
.pp-photo { position: relative; margin: 16px; border-radius: 20px; overflow: hidden; background: #EEF2F7; aspect-ratio: 3/2; align-self: center; }
.pp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .8s ease; }
.pp-photo img.on { opacity: 1; }
.pp-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; font: 600 13px/1 Inter, 'Segoe UI', Arial, sans-serif; padding: 9px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .95); color: var(--navy); display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.pp-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: block; }
.pp-dots { position: absolute; right: 14px; bottom: 18px; z-index: 2; display: flex; gap: 6px; }
.pp-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: all .3s; }
.pp-dots span.on { width: 18px; background: #fff; }

/* Conteúdo */
.pp-body { position: relative; padding: 44px 48px 40px 32px; display: flex; flex-direction: column; }
.pp-label { font: 600 13px/1 Inter, 'Segoe UI', Arial, sans-serif; color: var(--muted); margin-bottom: 12px; }

.pp-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; background: #EEF2F7;
    border-radius: 999px; padding: 4px; width: max-content; margin-bottom: 28px; }
.pp-toggle button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted);
    font: 600 15px/1 Inter, 'Segoe UI', Arial, sans-serif; padding: 12px 24px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.pp-toggle button[aria-pressed="true"] { color: #fff; }
.pp-toggle button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.pp-toggle .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--navy); border-radius: 999px;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 4px 10px -4px rgba(10, 34, 64, .5); }
.pp-toggle[data-size="3"] .knob { transform: translateX(100%); }

.pp-measure { font: 700 clamp(30px, 3.4vw, 40px)/1 Montserrat, 'Segoe UI', Arial, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--navy); }
.pp-measure small { font: 500 16px Inter, 'Segoe UI', Arial, sans-serif; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.pp-use { margin: 12px 0 24px; font-size: 16px; line-height: 1.6; color: #475569; max-width: 400px; min-height: 52px; }

/* Mini desenho em escala */
.pp-scale { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 28px; }
.pp-scale svg { display: block; flex-shrink: 0; }
.pp-scale .r { fill: #F1F5F9; stroke: #CBD5E1; stroke-width: 1.2; transition: all .4s; }
.pp-scale .r.on { fill: #DCE6F5; stroke: var(--navy); stroke-width: 1.6; }
.pp-scale .t { fill: #64748B; font: 600 13.5px Inter, 'Segoe UI', Arial, sans-serif; transition: fill .4s; }
.pp-scale .t.on { fill: var(--navy); }
.pp-scale-opcao { cursor: pointer; }
.pp-scale-opcao .hit { fill: transparent; }
.pp-scale-opcao:hover .r:not(.on) { stroke: var(--navy); }
.pp-scale-opcao:hover .t:not(.on) { fill: var(--navy); }
.pp-scale .person { fill: #CBD5E1; }
.pp-scale p { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 195px; }

/* Preço em destaque */
.pp-buy { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pp-price-label { font: 500 14px Inter, 'Segoe UI', Arial, sans-serif; color: var(--muted); margin-bottom: 6px; }
.pp-price { font: 800 56px/1 Montserrat, 'Segoe UI', Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.03em; color: var(--price); }
.pp-price sup { font: 700 22px Montserrat, 'Segoe UI', Arial, sans-serif; vertical-align: top; margin-right: 6px; position: relative; top: 8px; letter-spacing: 0; }
.pp-price span { font: 700 24px Montserrat, 'Segoe UI', Arial, sans-serif; letter-spacing: 0; }
.pp-unit { font: 500 14px Inter, 'Segoe UI', Arial, sans-serif; color: var(--muted); margin-top: 6px; }
.pp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff; border: 0; border-radius: 999px;
    font: 600 16px/1 Inter, 'Segoe UI', Arial, sans-serif; padding: 16px 24px; cursor: pointer; transition: background .25s, transform .25s; text-decoration: none; white-space: nowrap; }
.pp-cta:hover { background: var(--red-h); transform: translateY(-1px); }
.pp-cta:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.pp-cta svg { width: 20px; height: 20px; fill: currentColor; }

/* Acabamento (o mesmo nos dois tamanhos) */
.pp-finish { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.pp-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; }
.pp-ico { flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; background: #E6ECF5; display: grid; place-items: center; }
.pp-ico svg { width: 46px; height: 46px; stroke: var(--navy); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pp-item h3 { font: 700 15px/1.3 Montserrat, 'Segoe UI', Arial, sans-serif; color: var(--navy); margin-bottom: 4px; }
.pp-item p { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Responsivo */
@media (max-width: 900px) {
    .pp-panel { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
    .pp-photo { margin: 12px 12px 0; border-radius: 16px; }
    .pp-body { padding: 28px 22px 26px; }
    .pp-finish { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .pp-toggle { width: 100%; }
    .pp-scale { flex-direction: column; align-items: flex-start; gap: 10px; }
    .pp-toggle button { padding: 12px 10px; }
    .pp-buy { flex-direction: column; align-items: stretch; }
    .pp-cta { padding: 16px; }
    .pp-finish { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pp-item { padding: 16px; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #produtos * { transition: none !important; }
}

/* ==========================================================================
   7. TRADIÇÃO E LEGADO: PROVA DE CREDIBILIDADE
   7.1 Faixa "Saiu no jornal" | 7.2 Números | 7.3 A história em 3 passos
   ========================================================================== */
.legado {
    background-color: var(--color-white);
}

/* ---------- 7.1 Faixa "Saiu no jornal" ---------- */
.press-band {
    background: radial-gradient(120% 140% at 12% 0%, #12335D 0%, var(--color-primary) 55%, #071A33 100%);
    color: var(--color-white);
    padding: 5rem 0;
    overflow: hidden;
}

.press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .press-grid {
        grid-template-columns: 3fr 2fr; /* 60% recorte / 40% texto */
        gap: 4.5rem;
    }
}

/* Recorte de jornal: papel amarelado, sombra, fita adesiva e leve rotação */
.press-clip-link {
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 8px 14px;
    outline-offset: 6px;
}

.press-clip {
    position: relative;
    margin: 0;
    padding: 12px;
    background: linear-gradient(135deg, #F6EDD2 0%, #EEDFB5 100%);
    border-radius: 2px;
    transform: rotate(-2deg);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.25),
        0 8px 14px -6px rgba(0, 0, 0, 0.4),
        0 30px 55px -14px rgba(0, 0, 0, 0.65);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

/* Fita adesiva translúcida no canto superior */
.press-clip::before {
    content: "";
    position: absolute;
    top: -17px;
    left: 50%;
    width: 120px;
    height: 34px;
    transform: translateX(-50%) rotate(-3deg);
    background: linear-gradient(180deg, rgba(255, 248, 210, 0.78), rgba(243, 227, 158, 0.55));
    clip-path: polygon(0 0, 3% 12%, 0 25%, 3% 38%, 0 50%, 3% 62%, 0 75%, 3% 88%, 0 100%,
        100% 100%, 97% 88%, 100% 75%, 97% 62%, 100% 50%, 97% 38%, 100% 25%, 97% 12%, 100% 0);
    z-index: 2;
}

.press-clip img {
    display: block;
    width: 100%;
    height: auto;
    outline: 1px solid rgba(90, 70, 30, 0.28);
    filter: sepia(0.06) contrast(1.03);
}

.press-clip-link:hover .press-clip,
.press-clip-link:focus-visible .press-clip {
    transform: rotate(0deg);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.25),
        0 10px 18px -6px rgba(0, 0, 0, 0.4),
        0 36px 60px -14px rgba(0, 0, 0, 0.7);
}

/* Texto da faixa */
.press-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    color: #FF6B6B;
}

.press-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin: 1rem 0 1.5rem;
}

.press-quote {
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent);
}

.press-quote p {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--color-white);
}

.press-quote footer {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: #CBD5E1;
}

.press-support {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

.btn-press {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border: 2px solid var(--color-white);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-press .material-symbols-outlined {
    font-size: 1.2rem;
}

.btn-press:hover,
.btn-press:focus-visible {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ---------- 7.2 Números ---------- */
.stats-band {
    background: #071A33;
    color: var(--color-white);
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.stat {
    text-align: center;
}

.stat::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin: 0 auto 1rem;
    background: var(--color-accent);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.stat-label {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: #CBD5E1;
}

/* ---------- 7.3 A história em 3 passos ---------- */
.story-band {
    background: var(--color-white);
    padding: 5rem 0 5.5rem;
}

.story-steps {
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
}

/* Mobile: linha do tempo vertical */
.story-step {
    position: relative;
    padding: 0 0 2.25rem 2.75rem;
}

.story-step:last-child {
    padding-bottom: 0;
}

.story-dot {
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 5px rgba(217, 4, 41, 0.15);
}

.story-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 7px;
    top: calc(0.3rem + 16px + 4px);
    bottom: calc(-0.3rem + 4px);
    width: 2px;
    background: #CBD5E1;
}

.story-step h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.story-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* Desktop e tablet: linha do tempo horizontal */
@media (min-width: 768px) {
    .story-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    .story-step {
        padding: 2.75rem 0 0;
        text-align: center;
    }
    .story-step:last-child { padding-bottom: 0; }
    .story-dot {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    /* linha liga o centro de uma bolinha ao centro da próxima */
    .story-step:not(:last-child)::after {
        left: calc(50% + 12px);
        top: 7px;
        bottom: auto;
        height: 2px;
        width: calc(100% + 2.5rem - 24px);
    }
    .story-step p {
        max-width: 32ch;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .press-clip,
    .btn-press {
        transition: none;
    }
}

/* ==========================================================================
   8. PROCESSO DE FABRICAÇÃO - LINHA DO TEMPO EM ZIGUE-ZAGUE
   ========================================================================== */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 1040px;
    margin: 3.5rem auto 1rem;
    padding: 1.5rem 0;
}

/* Linha vertical fina azul-marinho ligando as etapas */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    width: 2px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
    z-index: 1;
}

/* Etapa individual */
.timeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
    position: relative;
    margin-bottom: 5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Marcador pontual sobre a linha central */
.step-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-light);
    z-index: 2;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.timeline-step:hover .step-marker {
    background-color: var(--color-accent);
    transform: translate(-50%, -50%) scale(1.25);
}

/* Foto da etapa (proporção 4:3, cantos levemente arredondados) */
.step-media {
    position: relative;
    width: 100%;
}

.step-image-box,
.step-illustration-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #EEF2F7;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step-image-box:hover,
.step-illustration-box:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.process-svg,
.step-illustration-box svg {
    width: 100%;
    height: 100%;
    display: block;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.step-image-box:hover .step-image {
    transform: scale(1.02);
}

.step-image-fallback {
    position: absolute;
    inset: 0;
    background-color: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #475569;
}

/* Conteúdo de cada etapa */
.step-content {
    position: relative;
}

/* Número grande em vermelho */
.step-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-accent);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.step-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

/* Desktop: Alternância em zigue-zague */
@media (min-width: 900px) {
    /* Etapas ímpares (01, 03): Foto à esquerda, Conteúdo à direita */
    .timeline-step:nth-child(odd) .step-media {
        grid-column: 1;
    }
    .timeline-step:nth-child(odd) .step-content {
        grid-column: 2;
        padding-left: 1.5rem;
    }

    /* Etapas pares (02, 04): Conteúdo à esquerda, Foto à direita */
    .timeline-step:nth-child(even) .step-content {
        grid-column: 1;
        grid-row: 1;
        padding-right: 1.5rem;
    }
    .timeline-step:nth-child(even) .step-media {
        grid-column: 2;
    }
}

/* Mobile: Empilhadas com linha vertical fina à esquerda */
@media (max-width: 899px) {
    .process-timeline {
        padding-left: 20px;
        margin-top: 2.5rem;
    }

    .process-timeline::before {
        left: 20px;
        top: 25px;
        bottom: 25px;
        transform: none;
    }

    .timeline-step {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        padding-left: 36px;
        margin-bottom: 3.5rem;
    }

    .timeline-step:last-child {
        margin-bottom: 0;
    }

    .step-marker {
        left: 20px;
        top: 1.25rem;
        transform: translate(-50%, 0);
    }

    .timeline-step:hover .step-marker {
        transform: translate(-50%, 0) scale(1.2);
    }

    .timeline-step .step-content {
        order: 1;
        padding: 0;
    }

    .timeline-step .step-media {
        order: 2;
    }

    .step-number {
        font-size: 2.75rem;
    }

    .step-title {
        font-size: 1.45rem;
        margin-bottom: 0.75rem;
    }

    .step-desc {
        font-size: 0.98rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .process-timeline {
        padding-left: 14px;
    }

    .process-timeline::before {
        left: 14px;
    }

    .step-marker {
        left: 14px;
        width: 14px;
        height: 14px;
    }

    .timeline-step {
        padding-left: 26px;
        gap: 1rem;
        margin-bottom: 2.75rem;
    }

    .step-number {
        font-size: 2.25rem;
    }

    .step-title {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   9. ANIMAÇÕES ILUSTRADAS DAS ETAPAS (SVG INLINE + CSS)
   CENA 01 — O TECIDO
   Ciclo total: ~4.6s (3.5s movimento suave + 1.0s pausa estática + reinício)
   ========================================================================== */

/* IntersectionObserver: a animação só roda quando visível na tela */
.step-illustration-box .anim-item {
    animation-play-state: paused;
}

.step-illustration-box.is-animating .anim-item {
    animation-play-state: running;
}

/* 1. Giro da espiral interna e leve movimento do rolo */
.c1-roll-spin {
    transform-origin: 88px 120px;
    animation: c1RollSpin 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes c1RollSpin {
    0%, 6% {
        transform: rotate(0deg);
    }
    32%, 94% {
        transform: rotate(240deg);
    }
    99%, 100% {
        transform: rotate(0deg);
    }
}

.c1-roll-group {
    transform-origin: 88px 212px;
    animation: c1RollBob 4.6s ease-in-out infinite;
}

@keyframes c1RollBob {
    0%, 6% {
        transform: translateY(0);
    }
    12%, 22% {
        transform: translateY(-1.5px);
    }
    17%, 27% {
        transform: translateY(0.5px);
    }
    32%, 100% {
        transform: translateY(0);
    }
}

/* 2. O tecido desenrola para a direita formando o retângulo */
.c1-unroll-rect {
    animation: c1UnrollClip 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes c1UnrollClip {
    0%, 6% {
        width: 0px;
    }
    32%, 94% {
        width: 178px;
    }
    99%, 100% {
        width: 0px;
    }
}

.c1-unroll-edge {
    animation: c1LeadingEdge 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes c1LeadingEdge {
    0%, 6% {
        transform: translateX(0px);
        opacity: 0;
    }
    7% {
        opacity: 1;
    }
    32%, 94% {
        transform: translateX(178px);
        opacity: 1;
    }
    99% {
        opacity: 1;
    }
    100% {
        transform: translateX(0px);
        opacity: 0;
    }
}

/* 3. A lupa aparece sobre o tecido e mostra a trama fechada */
.c1-lupa {
    transform-origin: 195px 165px;
    animation: c1LupaMotion 4.6s cubic-bezier(0.34, 1.25, 0.64, 1) infinite;
}

@keyframes c1LupaMotion {
    0%, 33% {
        opacity: 0;
        transform: scale(0.2) translate(-15px, 15px);
        pointer-events: none;
    }
    39% {
        opacity: 1;
        transform: scale(1.04) translate(0, 0);
    }
    42% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
    48% {
        opacity: 1;
        transform: scale(1) translateY(-2px);
    }
    53% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    58% {
        opacity: 0;
        transform: scale(0.35) translate(15px, -10px);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
        pointer-events: none;
    }
}

/* 4. O tecido se levanta suavemente e tremula ao vento */
.c1-fabric-group {
    transform-origin: 98px 165px;
    animation: c1FabricFlutter 4.6s ease-in-out infinite;
}

@keyframes c1FabricFlutter {
    0%, 60% {
        transform: translateY(0) rotate(0deg) skewY(0deg);
    }
    64% {
        transform: translateY(-7px) rotate(-1.5deg) skewY(-1deg);
    }
    68% {
        transform: translateY(-10px) rotate(1.2deg) skewY(1.4deg);
    }
    72% {
        transform: translateY(-6px) rotate(-0.8deg) skewY(-0.8deg);
    }
    76% {
        transform: translateY(-2px) rotate(0.4deg) skewY(0.4deg);
    }
    80%, 100% {
        transform: translateY(0) rotate(0deg) skewY(0deg);
    }
}

.c1-fabric-crease {
    animation: c1CreaseMotion 4.6s ease-in-out infinite;
}

@keyframes c1CreaseMotion {
    0%, 61% {
        opacity: 0;
    }
    65%, 75% {
        opacity: 0.85;
    }
    80%, 100% {
        opacity: 0;
    }
}

/* 4. Linhas de vento onduladas passando ao lado */
.c1-wind {
    stroke-dasharray: 45 150;
    stroke-dashoffset: 150;
    opacity: 0;
    animation: c1WindMotion 4.6s ease-in-out infinite;
}

.c1-wind-1 {
    animation-delay: 0s;
}

.c1-wind-2 {
    animation-delay: 0.08s;
}

.c1-wind-3 {
    animation-delay: 0.04s;
}

@keyframes c1WindMotion {
    0%, 61% {
        opacity: 0;
        stroke-dashoffset: 150;
    }
    64% {
        opacity: 0.85;
    }
    74% {
        opacity: 0.85;
    }
    78%, 100% {
        opacity: 0;
        stroke-dashoffset: -55;
    }
}

/* Suporte para preferência de redução de movimento (mostra quadro final estático) */
@media (prefers-reduced-motion: reduce) {
    .step-illustration-box .anim-item {
        animation: none !important;
    }

    .c1-unroll-rect {
        width: 178px !important;
    }

    .c1-unroll-edge {
        transform: translateX(178px) !important;
        opacity: 1 !important;
    }

    .c1-lupa,
    .c1-wind {
        display: none !important;
    }

    .c1-fabric-group {
        transform: none !important;
    }

}

/* ==========================================================================
   10. RODAPÉ (FOOTER)
   ========================================================================== */
.footer {
    background-color: #050E1A; /* Mais escuro que o primary */
    color: var(--color-white);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Tablet: 4 blocos em 2x2 (com 3 colunas o e-mail não cabia e gerava scroll horizontal) */
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .footer-grid { grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; }
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 320px;
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
}

.footer-contact li .material-symbols-outlined {
    color: var(--color-accent);
}

/* Ícone do WhatsApp no rodapé: mesmo tamanho (24px) e cor de destaque dos outros ícones */
.footer-contact li .icon-whatsapp {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.footer-contact a {
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   12. ANIMAÇÕES SCROLL REVEAL
   ========================================================================== */
.reveal-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Efeito Cascata (Stagger) para grids */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(4) { transition-delay: 0.4s; }

/* ==========================================================================
   13. PORTFOLIO FILTERS
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}
.gallery-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item.hidden {
    display: none;
}

/* ==========================================================================
   14. CATEGORIAS (mesmo estilo do painel de produtos)
   4 cards do mesmo tamanho; Náuticas se destaca só pela cor.
   ========================================================================== */
.cat-section { margin-top: 96px; }

.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 32px; flex-wrap: wrap; }
.cat-title { font: 700 clamp(24px, 3vw, 32px)/1.15 Montserrat, 'Segoe UI', Arial, sans-serif; color: var(--navy); letter-spacing: -.02em; }
.cat-sub { font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--muted); max-width: 380px; }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 992px) {
    .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; }
.cat-photo { position: relative; border-radius: 12px; overflow: hidden; background: #EEF2F7; aspect-ratio: 3/2; }
.cat-photo img { width: 100%; height: 100%; object-fit: contain; }

.cat-body { padding: 16px 8px 8px; display: flex; flex-direction: column; flex-grow: 1; }
.cat-body h4 { font: 700 16px/1.3 Montserrat, 'Segoe UI', Arial, sans-serif; color: var(--navy); }
.cat-body p { margin: 6px 0 16px; font-size: 14px; line-height: 1.5; color: var(--muted); flex-grow: 1; }

.cat-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 100%;
    border: 1px solid #CBD5E1; background: #fff; color: var(--navy);
    font: 600 14px/1.2 Inter, 'Segoe UI', Arial, sans-serif; padding: 10px 12px; border-radius: 999px; cursor: pointer;
    transition: background .25s, border-color .25s;
}
.cat-btn:hover { background: #EEF2F7; border-color: var(--navy); }
.cat-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* 4 cards em destaque: azul-marinho (Náuticas e Personalizadas) e verde escuro (Países e Estados) */
.cat-card--escuro { background: var(--navy); border-color: var(--navy); }
.cat-card--escuro h4 { color: #fff; }
.cat-card--escuro p { color: #E2EAF4; }

.cat-card--verde { background: var(--forest); border-color: var(--forest); }
.cat-card--verde h4 { color: #fff; }
.cat-card--verde p { color: #E4F2EC; }

.cat-card--escuro .cat-btn,
.cat-card--verde .cat-btn { background: var(--red); border-color: var(--red); color: #fff; }
.cat-card--escuro .cat-btn:hover,
.cat-card--verde .cat-btn:hover { background: var(--red-h); border-color: var(--red-h); }
.cat-card--escuro .cat-btn:focus-visible,
.cat-card--verde .cat-btn:focus-visible { outline-color: #fff; }

/* ==========================================================================
   15. FAIXA DE ENTREGA E ATENDIMENTO
   ========================================================================== */
/* Mesma largura e alinhamento à esquerda do restante da seção #produtos */
.info-strip {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%; margin: 48px 0 0; padding: 24px 0;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
.info-strip-item { display: flex; align-items: center; gap: 14px; padding: 0 22px; font: 600 15px/1.4 Inter, 'Segoe UI', Arial, sans-serif; color: var(--navy); }
.info-strip-item + .info-strip-item { border-left: 1px solid var(--line); }
.info-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: #E6ECF5; display: grid; place-items: center; }
.info-ico .material-symbols-outlined { font-size: 24px; color: var(--navy); }
.info-svg { width: 32px; height: 32px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Responsivo */
@media (max-width: 767px) {
    .cat-section { margin-top: 64px; }
    .info-strip { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 20px; }
    .info-strip-item { padding: 0; }
    .info-strip-item + .info-strip-item { border-left: 0; }
}
@media (max-width: 520px) {
    .cat-grid { gap: 12px; }
    .cat-card { border-radius: 16px; padding: 8px; }
    .cat-body { padding: 12px 4px 4px; }
    .cat-body h4 { font-size: 15px; }
    .cat-btn { font-size: 13px; padding: 9px 8px; }
}

/* ---------- Visualizador da página do jornal (PhotoSwipe) ---------- */
/* .pswp.pswp: mais específico que o CSS da biblioteca, que é carregado depois */
.pswp.pswp {
    --pswp-bg: #0A2240;
    --pswp-placeholder-bg: #0A2240;
}

/* Exceção ao reset global img { max-width: 100%; height: auto } para não quebrar o zoom/pan da PhotoSwipe */
.pswp img {
    max-width: none;
    height: auto;
}

.pswp__legenda-jornal {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    text-align: center;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(0deg, rgba(10, 34, 64, 0.9), rgba(10, 34, 64, 0));
    pointer-events: none;
    z-index: 10;
}
