/* ============================================================
   ADEGA SERRO ALTO — style.css
   Conceito: revista de enologia de autor / colheita
   Editorial Clássico (esqueleto) + Biomórfica/Botânica (ornamento)
   Base: cave escura (vinho/preto) + grupos de papel secundários
   ============================================================ */

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

:root {
    /* ---- base escura (cave) ---- */
    --bg: #161012;
    --bg-card: #221820;
    --bg-soft: #1d1619;
    /* ---- grupo claro secundário (papel) ---- */
    --paper: #f3ecdf;
    --paper-card: #fbf6ec;
    --ink: #1c241f;
    --ink-muted: #6e675d;
    /* ---- texto ---- */
    --text: #f5ede4;
    --text-muted: #a89c94;
    /* ---- acento ÚNICO ---- */
    --accent: #c73a2c;
    /* ---- linhas ---- */
    --line: rgba(245, 237, 228, 0.14);
    --line-paper: rgba(28, 36, 31, 0.18);
    --radius: 3px;
    /* ---- tipografia ---- */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.6);
    --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --section-pad: 104px;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

html, body { scroll-behavior: auto; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--paper); }

/* Anti-flash */
html.lp-loading .js-personalize { visibility: hidden; }

/* ============ utilitários do conceito ============ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: var(--section-pad) 0; }

.kicker {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--accent);
}
.kicker::before {
    content: ''; width: 22px; height: 1px; background: var(--accent);
    box-shadow: 0 0 10px rgba(199, 58, 44, 0.7);
}
.kicker::after {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 14px rgba(199, 58, 44, 0.9);
}
.kicker.on-paper { color: var(--accent); }

.fio { height: 1px; background: var(--line); border: 0; }
.fio-paper { height: 1px; background: var(--line-paper); border: 0; }

/* gravura de videira (divisor decorativo) */
.vine-rule {
    display: block; width: 180px; height: 46px; margin: 26px 0;
    color: var(--accent); opacity: 0.9;
}
.vine-rule svg { width: 100%; height: 100%; display: block; }

/* capitular (drop cap) — dispositivo B-tipo */
.capitular::first-letter {
    float: left; font-family: var(--font-display);
    font-size: 4.6em; line-height: 0.78; padding: 0.05em 0.14em 0 0;
    color: var(--accent); font-weight: 600;
}

/* selo de safra — dispositivo de assinatura transversal */
.seal {
    width: 128px; height: 128px; flex: none;
    color: var(--accent); filter: drop-shadow(0 0 18px rgba(199, 58, 44, 0.35));
}
.seal svg { width: 100%; height: 100%; display: block; }
.seal.small { width: 84px; height: 84px; }

/* grid de texto e papel */
.h-serif {
    font-family: var(--font-display); font-weight: 600;
    line-height: 1.02; letter-spacing: -0.01em;
    text-wrap: balance;
}
.label-mono {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.3em; text-transform: uppercase;
}
.muted { color: var(--text-muted); }
/* acento dentro de títulos (nunca itálico — cor/peso) */
.acc { font-style: normal; color: var(--accent); }
.bg-paper .acc { color: var(--accent); }

/* ============ NAVBAR ============ */
.navbar-wrapper {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(22, 16, 18, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: transform 0.3s ease, background 0.3s ease;
}
.navbar-wrapper.hidden { transform: translateY(-100%); }
.navbar-wrapper.scrolled { background: rgba(22, 16, 18, 0.92); }
.navbar {
    max-width: 1400px; margin: 0 auto; padding: 14px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-name {
    font-family: var(--font-display); font-weight: 700;
    font-size: 19px; letter-spacing: 0.04em; line-height: 1;
    display: flex; flex-direction: column;
}
.brand-name small {
    font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.34em;
    text-transform: uppercase; color: var(--accent); margin-top: 3px;
}
.navbar-links { display: flex; align-items: center; gap: 30px; }
.navbar-links > a, .nav-link {
    position: relative; color: var(--text-muted);
    font-family: var(--font-body); font-size: 14px; font-weight: 500;
    padding: 6px 0; transition: var(--transition);
}
.navbar-links > a::after, .nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar-links > a:hover, .navbar-links > a.active, .nav-link:hover { color: var(--text); }
.navbar-links > a:hover::after, .navbar-links > a.active::after, .nav-link:hover::after { transform: scaleX(1); }

/* dropdown Soluções */
.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-item > .nav-link .caret { width: 7px; height: 7px; border-right: 1.4px solid var(--accent); border-bottom: 1.4px solid var(--accent); transform: rotate(45deg) translateY(-2px); transition: var(--transition); }
.nav-item:hover > .nav-link .caret { transform: rotate(225deg) translateY(0); }
.nav-dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 280px; padding: 10px 0;
    background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a {
    display: flex; flex-direction: column; gap: 2px;
    padding: 11px 20px; border-left: 2px solid transparent;
    transition: var(--transition);
}
.nav-dropdown a:hover { border-left-color: var(--accent); background: rgba(199, 58, 44, 0.06); }
.nav-dropdown a .d-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.nav-dropdown a .d-meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.navbar-cta { padding: 10px 20px; border-radius: var(--radius); background: var(--accent); color: var(--paper); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; transition: var(--transition); box-shadow: 0 0 0 1px rgba(199,58,44,0.4), 0 6px 24px rgba(199,58,44,0.35); }
.navbar-cta:hover { background: #a92a26; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 1px; transition: var(--transition); }

/* ============ DRAWER MOBILE ============ */
.mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.62); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1100; }
.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw);
    background: var(--bg-card); border-right: 1px solid var(--line);
    transform: translateX(-100%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); z-index: 1101;
    display: flex; flex-direction: column; padding: 22px; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-drawer.active { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand-logo { width: 40px; height: 40px; object-fit: contain; }
.drawer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.drawer-slogan { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-top: 2px; }
.drawer-close { background: none; border: none; color: var(--text-muted); font-size: 26px; line-height: 1; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin: 20px 0; }
.drawer-nav a {
    display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: var(--radius);
    color: var(--text); font-family: var(--font-display); font-size: 18px; font-weight: 600;
    border-left: 2px solid transparent; transition: var(--transition);
}
.drawer-nav a .drawer-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(199,58,44,0.08); border-left-color: var(--accent); }
.drawer-nav a small { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin-left: auto; }
.drawer-contact { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-muted); }
.drawer-contact-item { display: flex; align-items: center; gap: 10px; }
.contact-icon { width: 18px; text-align: center; color: var(--accent); }
.drawer-footer { margin-top: auto; padding-top: 16px; }
.drawer-footer .btn { width: 100%; }

/* ============ BOTÕES ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border-radius: var(--radius); border: 1px solid transparent;
    font-family: inherit; font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
    transition: var(--transition); line-height: 1.2;
}
.btn-primary { background: var(--accent); color: var(--paper); box-shadow: 0 0 0 1px rgba(199,58,44,0.4), 0 8px 28px rgba(199,58,44,0.35); }
.btn-primary:hover { background: #a92a26; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-paper { background: var(--ink); color: var(--paper); }
.btn-paper:hover { background: #2a332c; transform: translateY(-2px); }
.btn-paper-o { background: transparent; color: var(--ink); border: 1px solid var(--line-paper); }
.btn-paper-o:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { font-size: 15px; line-height: 1; transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ HERO (HOME) ============ */
.hero-section {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 150px 0 116px;
    position: relative; overflow: hidden;
}
/* glow da cave atrás da carta */
.hero-section::before {
    content: ''; position: absolute; right: -6%; top: 12%; width: 58vw; height: 78vh;
    background: radial-gradient(circle at 50% 50%, rgba(199, 58, 44, 0.24) 0%, rgba(199,58,44,0.06) 38%, transparent 70%);
    pointer-events: none;
}
.hero-section::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 85%, rgba(199,58,44,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, rgba(245,237,228,0.05) 0%, transparent 50%);
}
/* folio vertical — numeração de edição (editorial) */
.hero-folio {
    position: absolute; left: 26px; top: 50%; transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.42em;
    text-transform: uppercase; color: var(--text-muted);
    display: flex; align-items: center; gap: 18px;
}
.hero-folio b { color: var(--accent); font-weight: 500; }
.hero-folio::after { content: ''; flex: 0 0 64px; height: 1px; background: var(--line); }
/* marca d'água tipográfica */
.hero-watermark {
    position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%);
    font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 18vw, 15rem);
    line-height: 1; letter-spacing: 0.02em; color: transparent;
    -webkit-text-stroke: 1px rgba(245,237,228,0.07);
    pointer-events: none; white-space: nowrap; user-select: none;
}
.hero-layout {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center;
    position: relative; z-index: 2;
}
.hero-layout > * { min-width: 0; }
.hero-copy .hero-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(3.2rem, 7.4vw, 6.4rem);
    line-height: 0.96; letter-spacing: -0.018em; color: var(--text);
    margin: 22px 0 28px; text-wrap: balance;
    text-shadow: 0 0 60px rgba(199, 58, 44, 0.18);
}
.hero-copy .hero-title .acc, .hero-inner .hero-title .acc { font-style: normal; color: var(--accent); text-shadow: 0 0 34px rgba(199,58,44,0.5); }
.hero-lead { color: var(--text-muted); font-size: 17.5px; max-width: 480px; margin: 0 0 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(199,58,44,0.8); }
.hero-meta .divider { width: 1px; height: 12px; background: var(--line); }

/* indicador de scroll */
.hero-scroll {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.34em;
    text-transform: uppercase; color: var(--text-muted); z-index: 3;
}
.hero-scroll .line { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll .line::after {
    content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
    background: var(--accent); animation: scrollDrop 2.2s var(--ease-out) infinite;
}
@keyframes scrollDrop { 0% { top: -50%; } 60%,100% { top: 110%; } }

/* vinha decorativa da hero (desenha ao carregar) */
.hero-vine { width: min(430px, 92%); height: auto; margin: 2px 0 26px; display: block; }
.hero-vine path { stroke-dasharray: 1500; stroke-dashoffset: 1500; }
.hero-vine.drawn path { animation: drawHero 2.6s var(--ease-out) forwards; }
.hero-vine.drawn path:nth-child(3), .hero-vine.drawn path:nth-child(4) { animation-delay: 0.35s; }
.hero-vine.drawn path:nth-child(5), .hero-vine.drawn path:nth-child(6), .hero-vine.drawn path:nth-child(7) { animation-delay: 0.7s; }
@keyframes drawHero { to { stroke-dashoffset: 0; } }

/* faixa marquee (transição da hero p/ o manifesto) */
.hero-marquee {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    border-top: 1px solid var(--line); background: rgba(29,22,25,0.6);
    backdrop-filter: blur(4px); overflow: hidden; white-space: nowrap;
    padding: 13px 0;
}
.hero-marquee .track { display: inline-flex; gap: 40px; padding-right: 40px; animation: marquee 28s linear infinite; }
.hero-marquee .track span {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--text-muted); display: inline-flex; align-items: center; gap: 40px;
}
.hero-marquee .track span::after { content: '✦'; color: var(--accent); font-size: 9px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- caixa de chat da hero: CARTA SELADA (tratamento A10) ---- */
.hero-chat-wrap { position: relative; display: flex; justify-content: flex-end; }
.hero-chat-box {
    position: relative; width: 100%; max-width: 420px;
    background:
        radial-gradient(circle at 18% 8%, rgba(199,58,44,0.08), transparent 46%),
        var(--paper);
    color: var(--ink);
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(28,36,31,0.08), 0 0 60px rgba(199,58,44,0.16);
    animation: letterFloat 7s ease-in-out infinite;
}
.hero-chat-box:hover { animation-play-state: paused; }
@keyframes letterFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
/* grão de papel */
.hero-chat-box::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: var(--grain); opacity: 0.05; mix-blend-mode: multiply; border-radius: inherit;
}
/* hairline de acento no topo da carta */
.hero-chat-box .chat-topline { position: absolute; top: 0; left: 18px; right: 54px; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(199,58,44,0.15)); z-index: 6; }
/* dobra de papel no canto (A10) */
.hero-chat-box::before {
    content: ''; position: absolute; top: 0; right: 0; z-index: 5;
    width: 54px; height: 54px;
    background: linear-gradient(225deg, transparent 49%, rgba(28,36,31,0.16) 50%, rgba(28,36,31,0.2) 100%);
    pointer-events: none;
}
/* selo de cera no vinco */
.chat-seal {
    position: absolute; top: -20px; right: -16px; z-index: 6;
    width: 52px; height: 52px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #d8483a, #a92a26 62%, #6f1a16);
    box-shadow: 0 8px 18px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.18);
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0.08em;
    color: rgba(251,246,236,0.94); transform: rotate(6deg);
}
.chat-seal::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(251,246,236,0.6); }
.chat-box-tag {
    position: absolute; top: -12px; left: 18px; z-index: 6;
    background: var(--ink); color: var(--paper); padding: 5px 16px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em;
    text-transform: uppercase; border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.chat-box-tag::before { content: '✦ '; color: var(--accent); }
.hero-chat-box .chat-box-messages, .hero-chat-box .chat-box-cta, .hero-chat-box .chat-box-statusbar, .hero-chat-box .chat-teaser { position: relative; z-index: 2; }
.chat-box-header {
    display: flex; align-items: center; gap: 12px; padding: 26px 20px 16px;
    border-bottom: 1px solid var(--line-paper); position: relative; z-index: 2;
}
.chat-box-avatar {
    width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
    animation: avatar-ring 2.6s ease-out infinite;
}
@keyframes avatar-ring {
    0% { box-shadow: 0 0 0 0 rgba(199,58,44,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(199,58,44,0); }
    100% { box-shadow: 0 0 0 0 rgba(199,58,44,0); }
}
.chat-box-info { flex: 1; min-width: 0; }
.chat-box-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.chat-box-role { font-size: 11px; color: var(--ink-muted); }
.chat-box-status { font-size: 10.5px; color: var(--accent); font-weight: 700; display: flex; align-items: center; gap: 7px; letter-spacing: 0.06em; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(199,58,44,0.4); } 55% { box-shadow: 0 0 0 7px rgba(199,58,44,0); } }
.wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; margin-left: auto; }
.wave b { width: 2px; height: 40%; background: var(--accent); border-radius: 1px; animation: wave 1.3s ease-in-out infinite; }
.wave b:nth-child(2) { animation-delay: 0.18s; }
.wave b:nth-child(3) { animation-delay: 0.36s; }
@keyframes wave { 0%, 100% { height: 35%; } 50% { height: 100%; } }
.chat-box-messages { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; min-height: 190px; }
.chat-bubble { padding: 11px 15px; border-radius: 4px; font-size: 13.5px; line-height: 1.5; max-width: 85%; }
.chat-bubble.bot { background: var(--paper-card); border: 1px solid var(--line-paper); border-radius: 4px 4px 4px 2px; align-self: flex-start; color: var(--ink); }
.chat-teaser { position: absolute; left: 20px; right: 20px; bottom: 86px; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; pointer-events: none; }
.chat-teaser.on { opacity: 1; visibility: visible; }
.chat-teaser .chat-bubble { opacity: 0; transform: translateY(8px); }
.chat-teaser.on .chat-teaser-typing { animation: teaser-cycle 9s infinite 0.5s; }
.chat-teaser.on .chat-teaser-msg { animation: teaser-cycle 9s infinite 4.8s; }
@keyframes teaser-cycle {
    0%, 6% { opacity: 0; transform: translateY(8px); }
    14%, 48% { opacity: 1; transform: none; }
    56%, 100% { opacity: 0; transform: translateY(-4px); }
}
.typing-dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); animation: typing-bounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-box-cta { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line-paper); }
.chat-box-cta .btn { width: 100%; }
.chat-box-statusbar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--ink-muted);
}
.chat-box-statusbar .sb-live { display: flex; align-items: center; gap: 7px; }
.chat-box-statusbar .sb-ref { color: var(--accent); }

/* ============ HERO INTERNAS (mesma anatomia, figura varia) ============ */
.hero-inner {
    position: relative; overflow: hidden;
    padding: 158px 0 74px;
}
.hero-inner .hero-layout { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
.hero-inner .hero-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: 1.0; letter-spacing: -0.012em; color: var(--text);
    margin: 18px 0 22px; text-wrap: balance;
}
.hero-inner .hero-lead { color: var(--text-muted); font-size: 16.5px; max-width: 470px; margin-bottom: 30px; }
.hero-figure { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-figure .ring {
    position: absolute; inset: 6%; border-radius: 50%;
    border: 1px solid var(--line); pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(199,58,44,0.10) 0%, transparent 62%);
}
.hero-figure .coord {
    position: absolute; left: -8px; bottom: -6px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.26em;
    color: var(--text-muted); text-transform: uppercase;
}
.hero-figure .coord b { color: var(--accent); font-weight: 500; }
/* moldura de gravura para fotos da figura */
.grave-frame {
    position: relative; padding: 16px;
    border: 1px solid var(--line);
    background: rgba(245,237,228,0.02);
    transform: rotate(-1.2deg);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.grave-frame:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.grave-frame::before {
    content: ''; position: absolute; inset: 8px;
    border: 1px solid var(--line); pointer-events: none;
    background:
        linear-gradient(var(--accent), var(--accent)) left 0 top 0/14px 1px,
        linear-gradient(var(--accent), var(--accent)) left 0 top 0/1px 14px,
        linear-gradient(var(--accent), var(--accent)) right 0 top 0/14px 1px,
        linear-gradient(var(--accent), var(--accent)) right 0 top 0/1px 14px,
        linear-gradient(var(--accent), var(--accent)) left 0 bottom 0/14px 1px,
        linear-gradient(var(--accent), var(--accent)) left 0 bottom 0/1px 14px,
        linear-gradient(var(--accent), var(--accent)) right 0 bottom 0/14px 1px,
        linear-gradient(var(--accent), var(--accent)) right 0 bottom 0/1px 14px;
    background-repeat: no-repeat; opacity: 0.7;
}
.grave-frame::after {
    content: ''; position: absolute; inset: 16px; pointer-events: none;
    background:
        linear-gradient(160deg, rgba(199,58,44,0.16), rgba(28,36,31,0.12)),
        var(--grain);
    background-blend-mode: multiply, normal;
    opacity: 0.55; mix-blend-mode: multiply;
}
.grave-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.42) sepia(0.34) saturate(1.08) contrast(1.06) brightness(0.97); }
.grave-frame .fig-caption {
    position: absolute; left: -8px; bottom: -14px; z-index: 2;
    background: var(--bg); padding: 7px 14px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.26em;
    text-transform: uppercase; color: var(--accent);
    border: 1px solid var(--line);
}
.bg-paper .grave-frame .fig-caption { background: var(--paper); border-color: var(--line-paper); }

/* ============ SEÇÕES ============ */
.section-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.02; letter-spacing: -0.012em; color: var(--text);
    margin: 18px 0 22px; text-wrap: balance;
}
.section-title .acc { font-style: normal; color: var(--accent); }
.section-lead { color: var(--text-muted); font-size: 16.5px; max-width: 620px; }

/* grupos de cor */
.bg-cave { background: var(--bg); color: var(--text); }
.bg-cave-soft { background: var(--bg); color: var(--text); }
.bg-card-bg { background: var(--bg-card); color: var(--text); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-paper .section-title { color: var(--ink); }
.bg-paper .section-lead { color: var(--ink-muted); }
.bg-paper .label-mono, .bg-paper .kicker { color: var(--accent); }
.bg-paper .muted { color: var(--ink-muted); }

/* numeral-fantasma que cruza a emenda entre grupos (anti-WP) */
.ghost-num {
    position: absolute; top: -0.5em; right: 2%; z-index: 0;
    font-family: var(--font-display); font-weight: 700; line-height: 1;
    font-size: clamp(7rem, 18vw, 14rem);
    color: transparent; -webkit-text-stroke: 1.5px rgba(199,58,44,0.32);
    pointer-events: none; user-select: none; white-space: nowrap;
}
.bg-paper .ghost-num { -webkit-text-stroke-color: rgba(28,36,31,0.22); }

/* lustre ambiente (profundidade, evita retângulo chapado) */
.ambient::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 85% 12%, rgba(199,58,44,0.07), transparent 60%),
        radial-gradient(ellipse 60% 55% at 8% 88%, rgba(245,237,228,0.04), transparent 60%);
}

/* vinha que cruza a emenda entre grupos de cor (transição sob elemento) */
.seam-vine {
    position: absolute; left: 0; right: 0; top: 0; transform: translateY(-50%);
    z-index: 2; pointer-events: none; overflow: visible;
}
.seam-vine svg { width: 100%; height: 34px; display: block; }
.seam-vine.bottom { top: auto; bottom: 0; transform: translateY(50%); }

/* texto de bloco editorial (2 colunas) */
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.editorial-grid .col p { color: var(--text-muted); margin-bottom: 1em; font-size: 15.5px; line-height: 1.75; }
.bg-paper .editorial-grid .col p { color: var(--ink-muted); }
.editorial-grid .col p strong { color: var(--text); font-weight: 600; }
.bg-paper .editorial-grid .col p strong { color: var(--ink); }

/* split assimétrico 60/40 */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.split.split-40-60 { grid-template-columns: 1fr 1.5fr; }

/* manifesto (tipografia como design) */
.manifesto {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(1.9rem, 4.2vw, 3.4rem);
    line-height: 1.12; letter-spacing: -0.01em; color: var(--text);
    max-width: 15em; text-wrap: balance;
}
.manifesto .acc { font-style: normal; color: var(--accent); }
.bg-paper .manifesto { color: var(--ink); }

/* vazio intencional */
.breath { padding: 170px 0; }

/* puxa-citação (pull quote) */
.pullquote {
    border-left: 2px solid var(--accent); padding: 6px 0 6px 28px;
    font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.2; color: var(--text);
}
.pullquote cite { display: block; margin-top: 14px; font-family: var(--font-mono); font-style: normal; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.bg-paper .pullquote { color: var(--ink); }

/* badges de lote */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
    font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase;
    padding: 7px 14px; border: 1px solid var(--line); border-radius: 2px;
    color: var(--text-muted); transition: var(--transition);
}
.badge.on { border-color: rgba(199,58,44,0.5); color: var(--accent); }
.bg-paper .badge { color: var(--ink-muted); border-color: var(--line-paper); }
.bg-paper .badge.on { border-color: var(--accent); color: var(--accent); }

/* lista editorial numerada (método) */
.metodo-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.editorial-list { list-style: none; counter-reset: ed; }
.editorial-list li {
    counter-increment: ed;
    display: grid; grid-template-columns: 64px 1fr; gap: 22px;
    padding: 26px 0; border-top: 1px solid var(--line);
}
.editorial-list li > div { min-width: 0; }
.editorial-list li::before {
    content: '0' counter(ed);
    font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em;
    color: var(--accent);
}
.editorial-list li h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.editorial-list li p { color: var(--text-muted); font-size: 14.5px; max-width: 60ch; }
.bg-paper .editorial-list li { border-top-color: var(--line-paper); }
.bg-paper .editorial-list li p { color: var(--ink-muted); }
.bg-paper .editorial-list li h3 { color: var(--ink); }

/* bloco de números (provas) */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { border-top: 1px solid var(--line); padding-top: 20px; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 600; color: var(--text); line-height: 1; }
.stat .num b { color: var(--accent); font-weight: 600; }
.stat .lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }
.bg-paper .stat { border-top-color: var(--line-paper); }
.bg-paper .stat .num { color: var(--ink); }
.bg-paper .stat .lab { color: var(--ink-muted); }

/* citações de imprensa */
.press { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.press blockquote { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.28; color: var(--text); }
.press blockquote footer { margin-top: 12px; font-family: var(--font-mono); font-style: normal; font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
.bg-paper .press blockquote { color: var(--ink); }

/* ---- scroll horizontal de safras (quebra do scroll) ---- */
.vintage-track {
    display: flex; gap: 26px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 18px;
    scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.vintage-track::-webkit-scrollbar { height: 5px; }
.vintage-track::-webkit-scrollbar-thumb { background: var(--accent); }
.vintage-item {
    scroll-snap-align: start; flex: 0 0 min(360px, 82vw);
    border: 1px solid var(--line); background: var(--bg-card);
    padding: 26px 26px 22px; position: relative; transition: var(--transition);
}
.vintage-item:hover { border-color: rgba(199,58,44,0.5); transform: translateY(-6px); }
.vintage-item .v-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); }
.vintage-item .v-name { font-family: var(--font-display); font-size: 27px; font-weight: 600; margin: 14px 0 6px; line-height: 1.05; }
.vintage-item .v-type { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.vintage-item .v-notes { margin: 14px 0 18px; color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.vintage-item .v-link { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.vintage-item .v-link .arrow { transition: transform 0.3s; }
.vintage-item .v-link:hover .arrow { transform: translateX(4px); }
.vintage-hint { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }
.vintage-hint .line { flex: 0 0 60px; height: 1px; background: var(--accent); }

/* ---- terroir (mapa SVG + coordenadas) ---- */
.terroir-data { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.terroir-map { position: relative; border: 1px solid var(--line); background: var(--bg-card); padding: 26px; }
.terroir-map .tick {
    position: absolute; width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(199,58,44,0.5); animation: tickPulse 2.4s infinite;
}
.terroir-map .tick.t1 { top: 24%; left: 34%; }
.terroir-map .tick.t2 { top: 60%; left: 58%; }
@keyframes tickPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(199,58,44,0.5);} 50% { box-shadow: 0 0 0 9px rgba(199,58,44,0);} }
.terroir-data ul.data-list { list-style: none; }
.terroir-data ul.data-list li {
    display: flex; justify-content: space-between; gap: 20px;
    padding: 15px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
}
.terroir-data ul.data-list li span:first-child { color: var(--text-muted); text-transform: uppercase; }
.terroir-data ul.data-list li b { color: var(--text); font-weight: 500; }

/* ---- diagrama que se desenha (solução 1) ---- */
.draw-path { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.draw-path.drawn { animation: drawLine 2.2s cubic-bezier(0.6, 0.05, 0.3, 1) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ---- passos horizontais (solução 2) ---- */
.steps-h { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-h { border-top: 2px solid var(--accent); padding-top: 18px; }
.step-h .s-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); }
.step-h h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 12px 0 8px; }
.step-h p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.bg-paper .step-h p { color: var(--ink-muted); }
.bg-paper .step-h h3 { color: var(--ink); }

/* ---- mosaico (solução 3) ---- */
.mosaic { display: grid; grid-template-columns: 1.1fr 0.9fr 0.9fr; grid-auto-rows: 240px; gap: 16px; }
.mosaic figure { position: relative; overflow: hidden; margin: 0; }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) sepia(0.3) saturate(1.06) contrast(1.05); transition: transform 0.8s var(--ease-out); }
.mosaic figure::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(160deg, rgba(199,58,44,0.16), rgba(28,36,31,0.14)), var(--grain);
    background-blend-mode: multiply, normal; mix-blend-mode: multiply; opacity: 0.5;
}
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figure.tall { grid-row: span 2; }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px; background: linear-gradient(to top, rgba(0,0,0,0.72), transparent); font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--paper); }

/* ---- tabela de caixas (solução 2) ---- */
.tier-grid { display: grid; grid-template-columns: 1.1fr 0.95fr 0.95fr; gap: 18px; align-items: stretch; }
.tier { border: 1px solid var(--line); background: var(--bg-card); padding: 28px 26px; display: flex; flex-direction: column; }
.tier.featured { border-color: rgba(199,58,44,0.6); background: linear-gradient(180deg, #241820, #1d1619); position: relative; }
.tier.featured::before { content: 'ESCOLHIDA'; position: absolute; top: -11px; left: 20px; background: var(--accent); color: var(--paper); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.26em; padding: 4px 12px; }
.tier .t-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.tier .t-price { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin: 12px 0 4px; }
.tier .t-price small { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; }
.tier ul { list-style: none; margin: 16px 0 24px; }
.tier ul li { display: flex; gap: 10px; padding: 6px 0; color: var(--text-muted); font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.tier ul li::before { content: '·'; color: var(--accent); }
.tier .btn { margin-top: auto; }

/* ---- timeline (sobre / enoturismo) ---- */
.timeline { position: relative; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 46px; }
.timeline li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg); }
.timeline li .t-year { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); }
.timeline li h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 6px 0 6px; }
.timeline li p { color: var(--text-muted); font-size: 14.5px; max-width: 58ch; }
.bg-paper .timeline::before { background: var(--line-paper); }
.bg-paper .timeline li::before { background: var(--paper); }
.bg-paper .timeline li p { color: var(--ink-muted); }
.bg-paper .timeline li h3 { color: var(--ink); }

/* ---- contato: canais ---- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.channel { border: 1px solid var(--line); background: var(--bg-card); padding: 30px 26px; position: relative; transition: var(--transition); }
.channel:hover { border-color: rgba(199,58,44,0.5); transform: translateY(-4px); }
.channel .c-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(199,58,44,0.5); border-radius: 50%; color: var(--accent); margin-bottom: 18px; }
.channel h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.channel p { color: var(--text-muted); font-size: 14px; }
.channel .c-link { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: var(--bg-card); }
.bg-paper .faq-item { background: var(--paper-card); border-color: var(--line-paper); }
.faq-question {
    width: 100%; padding: 18px 22px; background: transparent; border: none;
    color: var(--text); font-family: var(--font-display); font-size: 17px; font-weight: 600;
    text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.bg-paper .faq-question { color: var(--ink); }
.faq-question::after { content: '+'; font-size: 20px; color: var(--accent); font-family: var(--font-mono); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 22px 18px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.bg-paper .faq-answer p { color: var(--ink-muted); }

/* ---- ficha técnica (mono, solução 1) ---- */
.techsheet { border: 1px solid var(--line); background: var(--bg-card); padding: 30px; }
.techsheet .ts-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 6px; }
.techsheet .ts-head span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.techsheet table { width: 100%; border-collapse: collapse; }
.techsheet td { padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.techsheet td:first-child { color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; width: 42%; }
.techsheet td:last-child { text-align: right; }

/* ---- CTA final ---- */
.cta-final { position: relative; overflow: hidden; text-align: center; padding: 130px 0; }
.cta-final::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, rgba(199,58,44,0.24) 0%, transparent 60%); }
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.0; max-width: 18ch; margin: 0 auto 22px; text-wrap: balance; }
.cta-final p { color: var(--text-muted); max-width: 520px; margin: 0 auto 36px; }
.cta-final .btn { margin: 0 6px; }
.cta-final .cta-note { margin-top: 22px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }
/* cta em papel (grupo claro) */
.cta-paper { background: var(--paper); color: var(--ink); }
.cta-paper h2 { color: var(--ink); }
.cta-paper p { color: var(--ink-muted); }

/* ============ RODAPÉ (colofão do conceito) ============ */
.footer { position: relative; border-top: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; }
.footer::before { content: ''; position: absolute; left: -8%; bottom: -30%; width: 55%; height: 120%; background: radial-gradient(ellipse at 50% 100%, rgba(199,58,44,0.12) 0%, transparent 65%); pointer-events: none; }
.footer-colophon { padding: 90px 0 56px; text-align: center; position: relative; }
.footer-colophon .seal { margin: 0 auto 26px; }
.footer-colophon .colophon-word {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1.02;
    color: var(--text); letter-spacing: -0.01em; text-wrap: balance;
}
.footer-colophon .colophon-word .acc { font-style: normal; color: var(--accent); }
.footer-colophon .colophon-meta {
    margin-top: 20px; font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted);
}
.footer-links { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-logo { width: 54px; height: 54px; object-fit: contain; }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.footer-slogan { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.footer-col a { color: var(--text-muted); font-size: 14px; transition: var(--transition); width: fit-content; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-muted); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-muted); transition: var(--transition); }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); transition: var(--transition); }
.footer-top:hover { color: var(--accent); }
.footer-top .arrow-up { width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(45deg); }

/* ============ BOT FLUTUANTE ============ */
.floating-bot-container { position: fixed; bottom: 24px; right: 24px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.floating-bot {
    position: relative; width: 62px; height: 62px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    border: 2px solid var(--accent); background: var(--bg-card);
    box-shadow: 0 12px 34px rgba(0,0,0,0.5), 0 0 22px rgba(199,58,44,0.4);
    opacity: 0; visibility: hidden; transform: scale(0.5); transition: var(--transition);
}
.floating-bot.visible { opacity: 1; visibility: visible; transform: scale(1); }
.floating-bot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.floating-pulse { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: floating-ping 2s infinite; }
.floating-dot { position: absolute; bottom: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
@keyframes floating-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.35); opacity: 0; } }

/* ============ MODAL DE CHAT (entra pela DIREITA) ============ */
.chat-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1200; }
.chat-modal-overlay.active { opacity: 1; visibility: visible; }
.chat-modal { position: fixed; right: 0; top: 0; bottom: 0; width: min(420px, 100vw); background: var(--bg-card); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1201; display: flex; flex-direction: column; }
.chat-modal.active { transform: translateX(0); }
.chat-modal-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.modal-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.modal-info { flex: 1; min-width: 0; }
.modal-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.modal-role { font-size: 11px; color: var(--text-muted); }
.modal-status { font-size: 11px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.chat-modal-close { background: none; border: none; color: var(--text-muted); font-size: 24px; line-height: 1; }
.chat-modal-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.chat-modal-body .chat-bubble.bot { background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }
.chat-modal-body .chat-bubble.user { background: var(--accent); color: var(--paper); align-self: flex-end; border-radius: 4px 4px 2px 4px; }
.chat-modal-footer { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-modal-footer input { flex: 1; padding: 12px 14px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); outline: none; font-family: inherit; }
.chat-modal-footer input:focus { border-color: rgba(199,58,44,0.5); }
.chat-flow-input { flex: 1; padding: 12px 14px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); outline: none; font-family: inherit; }
.chat-flow-send { width: 46px; border-radius: var(--radius); border: none; background: var(--accent); color: var(--paper); }
.chat-options-container { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.chat-option-btn { padding: 12px 16px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius); text-align: left; font-family: inherit; font-size: 13.5px; transition: var(--transition); }
.chat-option-btn:hover { border-color: var(--accent); }
.chat-checkbox-option { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); cursor: pointer; font-size: 13.5px; }
.chat-checkbox-option.checked { border-color: var(--accent); }
.chat-flow-continue { margin-top: 4px; }
.chat-end-actions { display: flex; flex-direction: column; gap: 8px; }

/* ---- colunas de benefício (solução 1) ---- */
.benefit-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items: stretch; }
.benefit-col { border-top: 2px solid var(--accent); padding: 20px 4px 0; }
.benefit-col .b-num { font-family: var(--font-display); font-size: 54px; font-weight: 600; line-height: 1; color: var(--text); }
.benefit-col .b-num small { font-size: 20px; color: var(--accent); }
.benefit-col h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 12px 0 8px; }
.benefit-col p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.bg-paper .benefit-col .b-num { color: var(--ink); }
.bg-paper .benefit-col p { color: var(--ink-muted); }
.bg-paper .benefit-col h3 { color: var(--ink); }

/* ---- faixa de prova em mono (solução 1) ---- */
.proof-band { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); background: var(--bg-card); }
.proof-band .pb-item { flex: 1 1 200px; padding: 26px 24px; border-right: 1px solid var(--line); }
.proof-band .pb-item:last-child { border-right: none; }
.proof-band .pb-item .pb-num { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--text); line-height: 1; }
.proof-band .pb-item .pb-num b { color: var(--accent); }
.proof-band .pb-item .pb-lab { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }

/* ---- antes/depois (solução 2) ---- */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba-card { border: 1px solid var(--line); background: var(--bg-card); padding: 30px 28px; position: relative; }
.ba-card .ba-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ba-card .ba-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ba-card.before { border-color: var(--line); }
.ba-card.after { border-color: rgba(199,58,44,0.55); background: linear-gradient(180deg, #241820, #1d1619); }
.ba-card.after .ba-tag { color: var(--accent); }
.ba-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.ba-card ul { list-style: none; }
.ba-card ul li { display: flex; gap: 10px; padding: 7px 0; color: var(--text-muted); font-size: 14px; border-bottom: 1px dashed var(--line); }
.ba-card ul li:last-child { border-bottom: none; }
.ba-card ul li::before { content: '·'; color: var(--accent); }
.ba-card.before ul li::before { content: '×'; color: var(--ink-muted); }
.ba-card.after ul li::before { content: '✓'; color: var(--accent); }

/* ---- linha do dia (solução 3) ---- */
.dayline { border-top: 1px solid var(--line); }
.dayline .dl-item { display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dayline .dl-item .dl-time { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--accent); }
.dayline .dl-item .dl-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 5px; }
.dayline .dl-item .dl-body p { color: var(--text-muted); font-size: 14px; max-width: 60ch; }
.bg-paper .dayline { border-top-color: var(--line-paper); }
.bg-paper .dayline .dl-item { border-bottom-color: var(--line-paper); }
.bg-paper .dayline .dl-item .dl-body p { color: var(--ink-muted); }
.bg-paper .dayline .dl-item .dl-body h3 { color: var(--ink); }

/* ---- o que inclui (solução 3) ---- */
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.includes li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); color: var(--text-muted); font-size: 14.5px; }
.includes li::before { content: '✦'; color: var(--accent); font-size: 11px; }
.bg-paper .includes li { color: var(--ink-muted); border-bottom-color: var(--line-paper); }

/* ---- faixa de números horizontal (solução 3) ---- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stats-strip .ss-item { border: 1px solid var(--line); background: var(--bg-card); padding: 30px 14px; }
.stats-strip .ss-item .ss-num { font-family: var(--font-display); font-size: 38px; font-weight: 600; color: var(--text); line-height: 1; }
.stats-strip .ss-item .ss-num b { color: var(--accent); }
.stats-strip .ss-item .ss-lab { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin-top: 12px; }

/* ---- mapa do contato ---- */
.map-embed { border: 1px solid var(--line); background: var(--bg-card); padding: 30px; }
.map-embed svg { width: 100%; height: auto; display: block; }

.legal-hero .hero-layout { grid-template-columns: 1fr; max-width: 900px; }
.legal-hero .hero-title { max-width: 16ch; }
/* ============ PÁGINAS LEGAIS ============ */
.legal-hero { padding: 150px 0 40px; }
.legal-hero .hero-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; }
.legal-body { max-width: 900px; margin: 0 auto; padding: 20px 0 100px; }
.legal-body h2 { font-family: var(--font-display); font-size: 25px; font-weight: 600; margin: 40px 0 12px; }
.legal-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 30px 0 10px; }
.legal-body p { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; line-height: 1.75; }
.legal-body ul { margin: 0 0 16px 22px; }
.legal-body li { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 6px; }
.legal-body .updated { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; display: block; }

/* ============ RODA DA COLHEITA (SVG interativo — home) ============ */
.vintage-disc { position: relative; width: min(380px, 100%); margin: 0 auto; }
.vintage-disc svg { width: 100%; height: auto; display: block; }
.vd-seg { cursor: pointer; }
.vd-seg .arc {
    stroke: rgba(199,58,44,0.30); stroke-width: 20; fill: none;
    transition: stroke 0.35s var(--ease-out), stroke-width 0.35s var(--ease-out), filter 0.35s;
}
.vd-seg:hover .arc, .vd-seg.active .arc { stroke: var(--accent); stroke-width: 24; filter: drop-shadow(0 0 12px rgba(199,58,44,0.6)); }
.vd-seg .arc-label { opacity: 0.55; transition: opacity 0.3s, fill 0.3s; }
.vd-seg:hover .arc-label, .vd-seg.active .arc-label { opacity: 1; fill: #f5ede4; }
.vd-seg.active .arc-label { fill: var(--accent); }
.vd-ring-slow { animation: spin 44s linear infinite; transform-origin: 50% 50%; }
.vd-ring-slow circle { stroke: rgba(245,237,228,0.16); stroke-dasharray: 2 7; }
@keyframes spin { to { transform: rotate(360deg); } }
.vd-center-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; fill: var(--text); letter-spacing: 0.02em; transition: fill 0.3s; }
.vd-center-note { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.3em; fill: var(--text-muted); text-transform: uppercase; }
.vd-center-title.acc, .vd-center-note.acc { fill: var(--accent); }
@media (prefers-reduced-motion: reduce) { .vd-ring-slow { animation: none; } }

/* ============ TAÇA QUE ENCHE NO SCROLL (SVG interativo — vinhos) ============ */
.glass-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: 30px 0 0; }
.glass { width: min(230px, 70%); height: auto; display: block; }
.glass .glass-outline { stroke: rgba(245,237,228,0.45); stroke-width: 1.6; fill: none; }
.glass .glass-fill { fill: var(--accent); opacity: 0.9; }
.glass .glass-cap { fill: var(--accent); opacity: 0.95; }
.glass-gauge { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); }
.glass-gauge b { color: var(--accent); font-weight: 500; }

/* ============ REFINAMENTO / MICRO-INTERAÇÕES ============ */
/* barra de progresso de leitura */
.progress-bar {
    position: fixed; top: 0; left: 0; height: 2px; width: 0%;
    background: linear-gradient(90deg, var(--accent), #e0603a);
    z-index: 1300; pointer-events: none;
}

/* brilho de passada nos botões primários */
.btn-primary, .btn-paper { position: relative; overflow: hidden; }
.btn-primary::after, .btn-paper::after {
    content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-18deg); transition: left 0.7s var(--ease-out);
}
.btn-primary:hover::after, .btn-paper:hover::after { left: 130%; }

/* links do corpo com sublinhado deslizante (consistência) */
.footer-col a, .channel .c-link, .v-link { position: relative; }
.footer-col a::after, .channel .c-link::after, .v-link::after {
    content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}
.footer-col a:hover::after, .channel .c-link:hover::after, .v-link:hover::after { transform: scaleX(1); }

/* items vintage com elevação + brilho de borda */
.vintage-item { box-shadow: 0 0 0 rgba(0,0,0,0); }
.vintage-item:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(199,58,44,0.5); }

/* selo com rotação suave no hover */
.seal { transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out); }
.seal:hover { transform: rotate(6deg) scale(1.03); filter: drop-shadow(0 0 26px rgba(199,58,44,0.5)); }

/* puxa-citação com ornamento */
.pullquote { position: relative; }
.pullquote::before {
    content: '“'; position: absolute; top: -0.62em; left: 0;
    font-family: var(--font-display); font-size: 5em; line-height: 1;
    color: var(--accent); opacity: 0.18; pointer-events: none;
}

/* drawer: separadores e refinamento */
.drawer-nav a { position: relative; }
.drawer-nav a .drawer-mark { transition: transform 0.3s var(--ease-out); }
.drawer-nav a:hover .drawer-mark { transform: scale(1.6); }
.drawer-contact-item a { color: var(--text-muted); transition: var(--transition); }
.drawer-contact-item a:hover { color: var(--accent); }

/* footer: marca d'água gigante + hovers */
.footer .footer-watermark {
    position: absolute; right: -2%; bottom: -6%; z-index: 0;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(5rem, 16vw, 13rem); line-height: 1; letter-spacing: 0.02em;
    color: transparent; -webkit-text-stroke: 1px rgba(245,237,228,0.05);
    pointer-events: none; user-select: none; white-space: nowrap;
}
.footer-colophon, .footer .wrap { position: relative; z-index: 1; }
.footer-social a svg { transition: transform 0.3s var(--ease-spring); }
.footer-social a:hover svg { transform: translateY(-2px) scale(1.12); }
.footer-col a { display: inline-block; }

/* stat e cartões: micro elevação */
.stat .num { text-shadow: 0 0 40px rgba(199,58,44,0.18); }

/* acessibilidade: reduz movimento */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-chat-box { animation: none; }
    .hero-vine path { stroke-dashoffset: 0; }
}

/* ============ REVEAL (ui.js) ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============ RESPONSIVO ============
   INVARIANTE: hero em UMA coluna abaixo de 900px (não alterar) */
@media (max-width: 900px) {
    .navbar-links { display: none; }
    .navbar-cta { display: none; }
    .hamburger { display: flex; }
    .navbar-wrapper { padding: 0; background: rgba(22,16,18,0.92); left: 14px; right: 14px; top: 12px; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
    .navbar-wrapper.hidden { transform: translateY(-160%); }
    .navbar { padding: 8px 16px; }
    .navbar-brand .brand-logo { width: 36px; height: 36px; }
    .hero-layout, .hero-inner .hero-layout, .legal-hero .hero-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-section { padding: 132px 0 92px; }
    .hero-inner { padding: 132px 0 60px; }
    .hero-folio, .hero-watermark, .footer-watermark { display: none; }
    .hero-scroll { display: none; }
    .hero-marquee .track { animation-duration: 22s; }
    .hero-vine { margin: 0 0 20px; }
    .hero-chat-wrap { justify-content: center; }
    .hero-chat-box { margin: 0 auto; }
    .split, .split.split-40-60 { grid-template-columns: 1fr; gap: 40px; }
    .metodo-grid { grid-template-columns: 1fr; gap: 40px; }
    .editorial-grid { grid-template-columns: 1fr; gap: 20px; }
    .press { grid-template-columns: 1fr; gap: 24px; }
    .terroir-data { grid-template-columns: 1fr; gap: 34px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .steps-h { grid-template-columns: 1fr; gap: 22px; }
    .tier-grid { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
    .channels { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 26px; }
    .section { padding: 70px 0; }
    .breath { padding: 110px 0; }
    .vintage-item { flex-basis: min(320px, 84vw); }
}
@media (max-width: 560px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .mosaic { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
    .wrap { padding: 0 20px; }
}

/* ============ TELA DE LOADING ============ */
.loader {
    position: fixed; inset: 0; z-index: 2000;
    background: radial-gradient(ellipse at 50% 38%, var(--bg-card) 0%, var(--bg) 72%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.loader-seal { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line); padding: 16px; animation: loader-breathe 2.4s var(--ease-out) infinite; }
.loader-seal img { width: 100%; height: 100%; object-fit: contain; }
.loader-mark { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: 0.16em; color: var(--text); line-height: 1.15; }
.loader-mark small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }
.loader-track { width: 190px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); }
.loader-pct { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; color: var(--accent); }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } }

/* ============ BARRA DE COOKIES / LGPD ============ */
.cookie-bar {
    position: fixed; left: 18px; bottom: 18px; z-index: 1400;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    padding: 20px 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(130%); opacity: 0; visibility: hidden;
    transition: transform 0.55s var(--ease-out), opacity 0.4s ease, visibility 0.4s ease;
}
.cookie-bar.show { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-texto { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.cookie-acoes { display: flex; gap: 10px; }
.cookie-btn {
    padding: 10px 16px; font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
    border: 1px solid var(--line); background: transparent; color: var(--text-muted);
    transition: var(--transition); border-radius: var(--radius);
}
.cookie-btn--accept { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.cookie-btn--accept:hover { background: #D84A3A; }
.cookie-btn--essential:hover { border-color: var(--accent); color: var(--text); }
@media (max-width: 640px) {
    .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ============ PAINEL COMPLEMENTAR (desktop — abre junto com a modal de chat) ============ */
.chat-panel {
    position: fixed; top: 0; bottom: 0; left: 0; right: 420px; z-index: 1300;
    background:
        radial-gradient(ellipse at 82% 40%, rgba(199, 58, 44, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 18% 92%, rgba(245, 237, 228, 0.04) 0%, transparent 50%),
        var(--bg-card);
    border-right: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.55s var(--ease-out);
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
}
.chat-panel.active { transform: translateX(0); }
.chat-panel-close {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-muted); font-size: 14px;
    transition: var(--transition); z-index: 3;
}
.chat-panel-close:hover { color: var(--accent); border-color: var(--accent); }
.chat-panel-inner {
    padding: clamp(32px, 5.5vh, 56px) clamp(36px, 4.5vw, 64px);
    display: flex; flex-direction: column; flex: 1;
}
.chat-panel-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 3.5vw, 56px);
    align-items: center; flex: 1;
}
.chat-panel-copy { min-width: 0; }
.chat-panel-figure { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.chat-panel-figure::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: min(30vw, 420px); aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(199, 58, 44, 0.09) 0%, transparent 62%);
    pointer-events: none;
}
.panel-selo { width: 100%; max-width: 260px; position: relative; z-index: 1; filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.45)); }
.panel-selo img { width: 100%; height: auto; }
.panel-selo-caption { position: relative; z-index: 1; margin-top: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }
.chat-panel-kicker {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px;
}
.chat-panel-kicker::before { content: ''; width: 30px; height: 2px; background: var(--accent); }
.chat-panel-title {
    font-family: var(--font-display); font-size: clamp(30px, 3vw, 46px);
    font-weight: 600; line-height: 1.12; color: var(--text);
    margin-bottom: 16px; max-width: 18ch;
}
.chat-panel-lead { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 30px; max-width: 40ch; }
.chat-panel-steps { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.chat-panel-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.cps-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); padding-top: 4px; }
.cps-body { min-width: 0; }
.cps-body h4 { font-size: 15.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cps-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.chat-panel-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.chat-panel-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.chat-panel-foot-info { min-width: 0; }
.chat-panel-who { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text); }
.chat-panel-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }
.chat-panel-lgpd { margin-top: 18px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); opacity: 0.75; }
@media (max-width: 1024px) { .chat-panel { display: none; } }
