/* ============================================================
   PILAR ODONTOLOGIA — CONCEITO "PROTOCOLO VIVO"
   Manual de Fábrica (blueprint) + Biomórfica secundária
   Componentes de sistema (bot/navbar/modal) + seções do conceito
   ============================================================ */

/* ---------- FONTES SELF-HOSTED (variáveis, com unicode-range) ---------- */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/archivo-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/archivo-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
    src: url('../fonts/plexmono-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
    src: url('../fonts/plexmono-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- VARIÁVEIS DO SISTEMA ---------- */
:root {
    --bg-main: #0b2a44;
    --bg-alt: #f5f1e7;
    --surface-dark: #113a5c;
    --surface-light: #fffdf6;
    --text-main: #f2ede0;
    --text-alt: #1d2b33;
    --muted: #9db4c6;
    --muted-light: #5d6b76;
    --line: rgba(242, 237, 224, 0.16);
    --line-strong: rgba(242, 237, 224, 0.35);
    --line-light: rgba(29, 43, 51, 0.14);
    --accent: #e0a03c;
    --accent-deep: #b97e14;
    --ink-on-accent: #1d2b33;
    --radius: 0px;
    --radius-soft: 10px;
    --radius-full: 50%;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Archivo', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    --container: 1240px;
    --section-gap: clamp(84px, 10vw, 140px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ---------- BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
html, body { overflow-x: hidden; }
body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* grain cinematográfico (textura do conceito) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 8500;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* anti-flash: esconde elementos personalizados até o servidor popular */
html.lp-loading .js-personalize { visibility: hidden; }

/* ---------- UTILITÁRIOS DO CONCEITO ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}
.accent { color: var(--accent); }
.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}
.kicker.dark { color: var(--muted-light); }
.cota-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    flex-shrink: 0;
}
.cota-line {
    display: inline-block;
    width: 52px;
    height: 1px;
    background: var(--accent);
    position: relative;
    flex-shrink: 0;
}
.cota-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-left: 1px solid var(--accent);
    border-top: 1px solid var(--accent);
}
.cota-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}
.cota-label.dark { color: var(--muted-light); }

/* ---------- BOTÕES ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 16px 26px;
    transition: var(--transition);
    line-height: 1.2;
}
.btn::after {
    content: '\2192';
    font-family: var(--font-mono);
    font-size: 15px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover::after { transform: translateX(5px); }
.btn-primary {
    background: var(--accent);
    color: var(--ink-on-accent);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--text-main);
    border-color: var(--text-main);
    color: var(--bg-main);
}
.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text-main);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 20px 36px; font-size: 14px; }
.btn-sm { padding: 11px 20px; font-size: 11px; }

/* ---------- NAVBAR (arquitetura do conceito: reta + linha de cota) ---------- */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-wrapper.hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 44px;
    background: rgba(11, 42, 68, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    position: relative;
}
.navbar.scrolled {
    background: rgba(11, 42, 68, 0.92);
    border-bottom-color: var(--line);
}
/* linha de cota inferior da navbar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 44px;
    width: 44px;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}
.navbar.scrolled::after { opacity: 1; }
.navbar-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-brand .brand-logo {
    width: 34px;
    height: 34px;
    align-self: center;
    object-fit: contain;
}
.navbar-brand .brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-main);
}
.navbar-brand .brand-sub {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0 auto;
}
.navbar-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-fast);
}
.navbar-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    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 { color: var(--text-main); }
.navbar-links a:hover::after { transform: scaleX(1); }
.navbar-cta { flex-shrink: 0; }
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}
/* ---------- MOBILE DRAWER ---------- */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(3, 12, 22, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2001;
    width: 74%;
    max-width: 330px;
    background: var(--bg-main);
    border-right: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mobile-drawer.active { transform: translateX(0); }
.drawer-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.drawer-brand { display: flex; align-items: center; gap: 12px; }
.drawer-brand img { width: 38px; height: 38px; object-fit: contain; }
.drawer-brand-info .drawer-brand-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-main);
}
.drawer-brand-info .drawer-slogan {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}
.drawer-close {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    background: rgba(242, 237, 224, 0.06);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}
.drawer-close:hover { background: rgba(224, 160, 60, 0.12); color: var(--accent); }
.drawer-nav {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    border-left: 2px solid transparent;
}
.drawer-nav a .drawer-icon {
    width: 20px;
    height: 20px;
    color: var(--muted);
    flex-shrink: 0;
}
.drawer-nav a:hover { background: rgba(242, 237, 224, 0.05); border-left-color: var(--accent); }
.drawer-nav a:hover .drawer-icon { color: var(--accent); }
.drawer-contact {
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.drawer-contact-item .contact-icon {
    width: 17px;
    height: 17px;
    color: var(--accent);
    flex-shrink: 0;
}
.drawer-footer { padding: 16px 24px 28px; }
.drawer-footer .btn { width: 100%; justify-content: center; }

/* ---------- FUNDO ÚNICO DOS BLOCOS AZUIS (pontinhos + glows internos) ----------
   Todas as seções escuras compartilham o MESMO background. Os glows ficam
   CENTRALIZADOS (desvanecem antes das bordas): na divisa entre blocos azuis,
   ambos os lados têm o fundo puro — costura zero. Nenhum gradiente na divisa. */
.bloco-hero-dor, .bloco-dif-res, .sec-depoimentos, .sec-cta, .footer {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse 55% 42% at 50% 50%, rgba(224, 160, 60, 0.05) 0%, transparent 62%),
        radial-gradient(ellipse 60% 48% at 50% 50%, rgba(17, 58, 92, 0.6) 0%, transparent 62%),
        radial-gradient(circle, rgba(242, 237, 224, 0.09) 1.2px, transparent 1.3px);
    background-size: auto, auto, 26px 26px;
    background-position: 0 0, 0 0, 0 0;
}

/* ---------- BLOCO HERO + A DOR: imagem de fundo mascarada atravessando as duas ---------- */
.bloco-hero-dor { position: relative; }
.hero, .sec-dor {
    position: relative;
    z-index: 1;
    background: transparent;
}
.hero-dor-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-dor-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 22% 32%;
    filter: grayscale(1) sepia(0.28) hue-rotate(178deg) saturate(1.6) brightness(0.52) contrast(1.12);
    mask-image: radial-gradient(ellipse 108% 128% at 6% 45%, #000 18%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse 108% 128% at 6% 45%, #000 18%, transparent 68%);
}
.hero-dor-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 42, 68, 0.93) 0%, rgba(11, 42, 68, 0.52) 38%, rgba(11, 42, 68, 0) 72%);
    mask-image: radial-gradient(ellipse 108% 128% at 6% 45%, #000 18%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse 108% 128% at 6% 45%, #000 18%, transparent 68%);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 150px 0 90px;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    width: 100%;
    max-width: calc(var(--container) + 96px);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 64px;
    align-items: center;
    position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(36px, 3.6vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 26px;
}
.hero-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 46ch;
    margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    background: rgba(17, 58, 92, 0.55);
    padding: 8px 14px;
}
.hero-cota { display: flex; align-items: center; gap: 14px; }

/* vista explodida do implante — figura de fundo da coluna tipográfica */
.implant-hero {
    position: absolute;
    right: -150px;
    bottom: -36px;
    width: 430px;
    opacity: 0.42;
    pointer-events: none;
    z-index: 1;
}
.implant-hero .i-part { animation: float-part 9s ease-in-out infinite alternate; }
.implant-hero .i-abutment { animation-delay: 0.7s; }
.implant-hero .i-screw { animation-delay: 1.4s; }
.implant-hero .i-crown { animation-delay: 2.1s; }
@keyframes float-part {
    from { transform: translateY(0); }
    to { transform: translateY(-7px); }
}
/* desenho do diagrama no load */
.implant-hero path {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: draw 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.implant-hero .i-abutment path { animation-delay: 0.15s; }
.implant-hero .i-screw path { animation-delay: 0.3s; }
.implant-hero .i-crown path { animation-delay: 0.45s; }
.implant-hero .i-cota path { animation-delay: 0.6s; }
@keyframes draw {
    to { stroke-dashoffset: 0; }
}
.implant-hero .i-arrows { opacity: 0; animation: fade-in 0.6s ease 1.2s forwards; }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- CAIXA DE CHAT (A2 — moldura de placa) ---------- */
.hero-figure {
    position: relative;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}
.hero-figure::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 160, 60, 0.16) 0%, transparent 65%);
    pointer-events: none;
}
.hero-chat-box {
    background: var(--surface-light);
    border: 2px solid var(--text-alt);
    border-radius: var(--radius);
    padding: 30px 26px 26px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    width: 400px;
    max-width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-chat-box:hover { transform: translateY(-4px); }
.hero-chat-box.minimized {
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
}
/* plaqueta de rótulo colada no topo */
.chat-box-tag {
    position: absolute;
    top: -12px;
    left: 18px;
    z-index: 4;
    background: var(--accent);
    color: var(--ink-on-accent);
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    border-radius: var(--radius);
}
/* ticks de canto (cota) */
.hero-chat-box::before {
    content: '';
    position: absolute;
    inset: -10px;
    pointer-events: none;
    z-index: 3;
    background-image:
        linear-gradient(var(--accent), var(--accent)),
        linear-gradient(var(--accent), var(--accent)),
        linear-gradient(var(--accent), var(--accent)),
        linear-gradient(var(--accent), var(--accent));
    background-size: 22px 1.5px, 1.5px 22px, 22px 1.5px, 1.5px 22px;
    background-position: left 0 top 0, left 0 top 0, right 0 bottom 0, right 0 bottom 0;
    background-repeat: no-repeat;
    opacity: 0.75;
}
.chat-box-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-light);
}
.chat-box-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--text-alt);
    animation: avatar-ring 2.6s ease-out infinite;
}
@keyframes avatar-ring {
    0% { box-shadow: 0 0 0 0 rgba(224, 160, 60, 0.4); }
    70% { box-shadow: 0 0 0 9px rgba(224, 160, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 160, 60, 0); }
}
.chat-box-info { flex: 1; min-width: 0; }
.chat-box-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-alt);
}
.chat-box-role {
    font-size: 12px;
    color: var(--muted-light);
    margin-top: 2px;
}
.chat-box-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #1e7a4d;
    font-weight: 600;
    margin-top: 4px;
}
.chat-box-status .online-dot {
    width: 8px;
    height: 8px;
    background: #1e9d5f;
    border-radius: var(--radius-full);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 157, 95, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(30, 157, 95, 0); }
}
.wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.wave b { width: 2px; height: 40%; background: #1e9d5f; 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: 12px;
    margin-bottom: 22px;
}
.chat-bubble {
    max-width: 86%;
    padding: 13px 16px;
    border-radius: var(--radius-soft);
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-alt);
}
.chat-bubble.bot {
    background: #eef0ea;
    border: 1px solid var(--line-light);
    align-self: flex-start;
    border-top-left-radius: 2px;
}
.chat-bubble.user {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--ink-on-accent);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}
.chat-teaser { position: absolute; left: 26px; right: 26px; bottom: 96px; display: flex; flex-direction: column; gap: 12px; 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); }
}
.chat-box-cta { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.chat-box-cta .btn { width: 100%; justify-content: center; padding: 16px; font-size: 13px; }
.chat-box-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-light);
}
.chat-box-statusbar .sb-live { display: flex; align-items: center; gap: 7px; }
.chat-box-statusbar .sb-live .online-dot { width: 6px; height: 6px; }
.chat-box-statusbar .sb-ref { color: var(--accent-deep); font-weight: 600; }

/* ---------- FAIXA (quebra do scroll: banda full-bleed com marquee) ---------- */
/* Reta e com overflow contido: o texto do marquee nunca vaza nem é cortado. */
.faixa {
    position: relative;
    background: var(--accent);
    color: var(--ink-on-accent);
    overflow: hidden;
}
.faixa-track {
    display: flex;
    width: max-content;
    animation: faixa-move 26s linear infinite;
    padding: 20px 0;
}
.faixa-group {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    flex-shrink: 0;
}
.faixa-group span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}
.faixa-group b {
    font-size: 10px;
    transform: rotate(45deg);
    display: inline-block;
    opacity: 0.6;
}
@keyframes faixa-move {
    to { transform: translateX(-50%); }
}

/* ---------- SEÇÕES — BASE ---------- */
.sec-dor, .sec-agitar, .sec-protocolos, .sec-diferenciais,
.sec-resultados, .sec-investimento, .sec-faq {
    padding: var(--section-gap) 0;
    position: relative;
}
.sec-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 4.2vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 30px;
}
.sec-title.dark { color: var(--text-alt); }
.sec-text {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 54ch;
    margin: 0 0 18px;
}
.sec-text.dark { color: var(--muted-light); }

/* grupo claro: papel técnico com pauta de caderno */
.sec-agitar, .sec-protocolos, .sec-investimento, .sec-faq {
    background:
        repeating-linear-gradient(to bottom, transparent 0 27px, rgba(29, 43, 51, 0.035) 27px 28px),
        var(--bg-alt);
}

/* ---------- A DOR ---------- */
.sec-dor-grid {
    display: grid;
    grid-template-columns: 58fr 42fr;
    gap: 72px;
    align-items: center;
}
.sec-dor-cota { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.sec-dor-foto {
    position: relative;
    margin: 0;
    border: 1px solid var(--line);
    padding: 12px;
    background: var(--surface-dark);
}
.moldura-inner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 900 / 1150;
}
.sec-dor-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.14);
    filter: grayscale(1) sepia(0.3) hue-rotate(178deg) saturate(1.7) brightness(0.75) contrast(1.12);
}
.placa-label {
    position: absolute;
    top: -11px;
    left: 22px;
    background: var(--accent);
    color: var(--ink-on-accent);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 5px 12px;
    z-index: 2;
}
.placa-canto {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 2;
}
.placa-canto.c1 { top: 4px; left: 4px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.placa-canto.c2 { top: 4px; right: 4px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.placa-canto.c3 { bottom: 4px; left: 4px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.placa-canto.c4 { bottom: 4px; right: 4px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

/* ---------- AGITAÇÃO ---------- */
.agitar-numeros {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 44px;
    margin-bottom: 70px;
}
.agitar-num {
    border-top: 2px solid var(--text-alt);
    padding-top: 22px;
}
.num-gigante {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text-alt);
    margin-bottom: 14px;
}
.num-frac {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-top: 6px;
}
.num-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted-light);
    margin: 0;
    max-width: 32ch;
}
.agitar-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px dashed var(--line-light);
}
.tl-item { padding-top: 22px; position: relative; }
.tl-item::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--accent-deep);
}
.tl-ano {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 8px;
}
.tl-fato {
    font-size: 14px;
    color: var(--text-alt);
    font-weight: 500;
}
.tl-now .tl-ano { color: var(--text-alt); font-weight: 600; }
.tl-now::before { background: var(--text-alt); width: 9px; height: 9px; }

/* ---------- PROTOCOLOS ---------- */
.proto-implante {
    display: grid;
    grid-template-columns: 46fr 54fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 110px;
}
.proto-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-deep);
    border-bottom: 2px solid var(--accent-deep);
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 22px;
}
.proto-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text-alt);
    margin: 0 0 16px;
}
.proto-text {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted-light);
    max-width: 44ch;
    margin: 0 0 30px;
}
.proto-steps {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-light);
}
.pstep {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
    transition: var(--transition);
}
.pstep:hover { padding-left: 10px; }
.pstep-n {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-deep);
    flex-shrink: 0;
}
.pstep-t {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-alt);
}
.proto-diagrama { position: relative; }
.implant-assembly { width: 100%; max-width: 470px; margin: 0 auto; display: block; }
.diagrama-legenda {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.proto-alinhador {
    border-top: 2px solid var(--text-alt);
    padding-top: 56px;
    position: relative;
}
.alinhador-etapas {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) 1.6fr;
    gap: 24px;
}
.aetapa {
    border-top: 2px solid var(--text-alt);
    padding-top: 16px;
    min-width: 0;
}
.aetapa-n {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--accent-deep);
    margin-bottom: 10px;
}
.aetapa-t {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-alt);
    line-height: 1.35;
    display: block;
}
.aetapa-foto { border-top: 2px solid var(--accent-deep); padding: 0; }
.aetapa-foto img {
    width: 100%;
    height: 100%;
    min-height: 130px;
    max-height: 220px;
    object-fit: cover;
    filter: grayscale(1) sepia(0.5) saturate(1.5) hue-rotate(-10deg) brightness(0.92) contrast(1.05);
}
.alinhador-cota { display: flex; align-items: center; gap: 14px; margin-top: 30px; }

/* ---------- DIFERENCIAIS ---------- */
.dif-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}
.dif-cell {
    padding: 38px 34px 42px;
    border-left: 1px solid var(--line);
    position: relative;
    transition: var(--transition);
}
.dif-cell:first-child { border-left: none; padding-left: 0; }
.dif-cell:hover { background: rgba(17, 58, 92, 0.4); }
.dif-num {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 26px;
    display: block;
}
.dif-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-main);
    margin: 0 0 14px;
}
.dif-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 0 30px;
}
.dif-carimbo {
    width: 78px;
    height: 78px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-12deg);
    opacity: 0.85;
    transition: var(--transition);
}
.dif-carimbo::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    opacity: 0.5;
}
.dif-carimbo-nome {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-align: center;
}
.dif-cell:hover .dif-carimbo { transform: rotate(0deg) scale(1.06); }

/* ---------- RESULTADOS ---------- */
.sec-resultados-grid {
    display: grid;
    grid-template-columns: 46fr 54fr;
    gap: 72px;
    align-items: center;
}
.sec-resultados-foto {
    position: relative;
    margin: 0;
    border: 1px solid var(--line);
    padding: 12px;
    background: var(--surface-dark);
}
.sec-resultados-foto .moldura-inner {
    aspect-ratio: 4 / 3;
}
.sec-resultados-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.14);
    filter: grayscale(1) sepia(0.3) hue-rotate(178deg) saturate(1.7) brightness(0.72) contrast(1.12);
}
.carimbo-gigante {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-14deg);
    width: 168px;
    height: 168px;
    border: 3px double var(--accent);
    border-radius: var(--radius-full);
    background: rgba(11, 42, 68, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: carimbo-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes carimbo-in {
    from { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(1.6); }
    to { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
}
.carimbo-gigante span {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.3em;
    color: var(--accent);
}
.resultados-provas {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 44px;
    align-items: center;
    margin: 44px 0 38px;
}
.gauge { min-width: 0; }
.gauge svg { width: 100%; max-width: 220px; display: block; }
.gauge-arc {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.gauge-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.resultados-numeros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.rnum { border-left: 2px solid var(--accent); padding-left: 20px; }
.rnum-v {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 8px;
}
.rnum-t {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}
.sec-resultados-cota { display: flex; align-items: center; gap: 14px; }

/* ---------- INVESTIMENTO ---------- */
.inv-tabela {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line-light);
    border: 1px solid var(--line-light);
    max-width: 980px;
}
.inv-col {
    background: var(--surface-light);
    padding: 42px 44px;
    min-width: 0;
}
.inv-col-destaque {
    border-top: 4px solid var(--accent-deep);
    position: relative;
}
.inv-col-destaque::after {
    content: 'MAIS PROCURADO';
    position: absolute;
    top: -11px;
    right: 30px;
    background: var(--accent);
    color: var(--ink-on-accent);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.24em;
    padding: 5px 12px;
}
.inv-proto {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-deep);
    display: block;
    margin-bottom: 14px;
}
.inv-col-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    text-transform: uppercase;
    color: var(--text-alt);
    margin: 0 0 20px;
}
.inv-preco {
    display: block;
    font-size: 14px;
    color: var(--muted-light);
    line-height: 1.35;
    margin-bottom: 26px;
}
.inv-preco strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    color: var(--text-alt);
}
.inv-preco small {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-light);
}
.inv-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}
.inv-lista li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 14.5px;
    color: var(--text-alt);
    position: relative;
    padding-left: 26px;
}
.inv-lista li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 19px;
    width: 8px;
    height: 8px;
    background: var(--accent-deep);
}
.inv-nota {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    max-width: 980px;
}

/* ---------- FAQ ---------- */
.faq-lista {
    max-width: 880px;
    margin-top: 40px;
}
.faq-item {
    border-bottom: 1px solid var(--line-light);
    position: relative;
}
.faq-item:first-child { border-top: 2px solid var(--text-alt); }
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding: 24px 44px 24px 4px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17.5px;
    letter-spacing: 0.01em;
    color: var(--text-alt);
    transition: var(--transition);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--accent-deep);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item[open] summary::after { content: '-'; }
.faq-item summary:hover { color: var(--accent-deep); padding-left: 12px; }
.faq-n {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--accent-deep);
    flex-shrink: 0;
}


/* ---------- CTA FINAL + RODAPÉ + DIREITOS: UMA ÚNICA SEÇÃO (sem divisas) ---------- */
.sec-cta {
    padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 8vw, 110px);
    position: relative;
}
.sec-cta-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: center;
}
.sec-cta-selo svg { width: 148px; height: 148px; }
.anel-rot {
    transform-box: view-box;
    transform-origin: 70px 70px;
    animation: anel-rola 26s linear infinite;
}
@keyframes anel-rola {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.sec-cta-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 22px;
}
.sec-cta-text {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 52ch;
    margin: 0 0 34px;
}
.sec-cta-contato {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
}
.sec-cta-contato a { color: var(--text-main); text-decoration: none; border-bottom: 1px dashed var(--accent); transition: var(--transition); }
.sec-cta-contato a:hover { color: var(--accent); }
.cta-sep { color: var(--accent); }

/* ---------- FOOTER (3 blocos: assinatura + links + direitos) ---------- */
.footer {
    padding: 0 0 40px;
    position: relative;
    overflow: hidden;
}
.footer-assinatura {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0 60px;
}
.footer-carimbo svg { width: 104px; height: 104px; }
.footer-titulo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 12px;
}
.footer-legenda {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 44px;
    padding: 50px 0;
}
.footer-col-titulo {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    font-size: 13.5px;
    color: var(--muted);
    padding: 5px 0;
    text-decoration: none;
    width: fit-content;
    position: relative;
    transition: var(--transition-fast);
}
.footer-col a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-col a:hover { color: var(--text-main); }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-info {
    display: block;
    font-size: 13px;
    color: var(--muted);
    padding: 4px 0;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 26px;
    font-size: 12px;
    color: var(--muted);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}
.footer-social a:hover { border-color: var(--accent); transform: translateY(-3px); }
.footer-social a svg { width: 16px; height: 16px; fill: var(--muted); transition: var(--transition); }
.footer-social a:hover svg { fill: var(--accent); }
.footer-topo {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-topo:hover { color: var(--accent); }

/* ---------- FLOATING BOT ---------- */
.floating-bot {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.floating-bot.visible { opacity: 1; visibility: visible; transform: scale(1); }
.floating-bot:hover { transform: scale(1.1); }
.floating-bot img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--accent);
}
.floating-bot .floating-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid var(--accent);
    animation: floating-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes floating-ping {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
.floating-bot .floating-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #1e9d5f;
    border: 2px solid var(--bg-main);
    border-radius: var(--radius-full);
}

/* ---------- CHAT MODAL (pela direita, full-height) ---------- */
.chat-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(3, 12, 22, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.chat-modal-overlay.active { opacity: 1; visibility: visible; }
.chat-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 420px;
    max-width: 100%;
    background: var(--surface-light);
    border-left: 1px solid var(--text-alt);
    box-shadow: -8px 0 60px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.chat-modal.active { transform: translateX(0); }
.chat-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line-light);
    flex-shrink: 0;
    background: var(--bg-main);
}
.chat-modal-header .modal-avatar {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--accent);
}
.chat-modal-header .modal-info { flex: 1; min-width: 0; }
.chat-modal-header .modal-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}
.chat-modal-header .modal-role {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}
.chat-modal-header .modal-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #7fd6a8;
    font-weight: 500;
    margin-top: 3px;
}
.chat-modal-header .modal-status .online-dot {
    width: 7px;
    height: 7px;
    background: #1e9d5f;
    border-radius: var(--radius-full);
    animation: pulse-green 2s infinite;
}
.chat-modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(242, 237, 224, 0.06);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}
.chat-modal-close:hover { background: rgba(224, 160, 60, 0.12); color: var(--accent); }
.chat-modal-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chat-modal-body .chat-bubble { animation: none; opacity: 1; }
.modal-typing {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 16px;
    background: #eef0ea;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-soft);
    border-top-left-radius: 2px;
    align-self: flex-start;
    max-width: 86%;
}
.typing-dots { display: flex; gap: 4px; }
.typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--text-alt);
    border-radius: var(--radius-full);
    animation: typing-bounce 1.4s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}
.chat-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--line-light);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.chat-modal-footer input {
    flex: 1;
    padding: 12px 16px;
    background: #f3efe5;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    color: var(--text-alt);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.chat-modal-footer input:focus { border-color: var(--accent-deep); }
.chat-modal-footer input::placeholder { color: var(--muted-light); }
.chat-modal-footer .send-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-on-accent);
    font-size: 16px;
    transition: var(--transition);
}
.chat-modal-footer .send-btn:hover { transform: scale(1.05); }

/* ---------- CHAT FLOW (estilos do fluxo do bot) ---------- */
.chat-flow-input {
    flex: 1;
    background: #f3efe5;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 12px;
    color: var(--text-alt);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
}
.chat-flow-input:focus { border-color: var(--accent-deep); }
.chat-flow-send {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--accent);
    border: none;
    color: var(--ink-on-accent);
    cursor: pointer;
    font-size: 16px;
}
.chat-options-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.chat-option-btn {
    width: 100%;
    padding: 12px;
    background: #eef0ea;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    color: var(--text-alt);
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}
.chat-option-btn:hover { background: var(--accent); color: var(--ink-on-accent); }
.chat-checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f3efe5;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    color: var(--text-alt);
    cursor: pointer;
    font-size: 14px;
}
.chat-checkbox-option.checked { background: #eef0ea; border-color: var(--accent-deep); }
.chat-flow-continue {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
    margin-top: 8px;
    background: var(--accent);
    color: var(--ink-on-accent);
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.chat-summary { width: 100%; max-width: 100%; }
.chat-summary-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.chat-summary-table td {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line-light);
    color: var(--text-alt);
}
.chat-summary-table td:first-child { font-weight: 600; color: var(--muted-light); }
.chat-summary-table td:last-child { text-align: right; }
.chat-lgpd {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 12px;
    color: var(--muted-light);
}
.chat-lgpd input { margin-top: 2px; }
.chat-end-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}
.chat-end-actions .btn {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 10px 14px;
}
.chat-end-actions .btn::after { display: none; }

/* ---------- REVEAL (scroll reveal via IntersectionObserver do main.js) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-s1 { transition-delay: 0.08s; }
.reveal-s2 { transition-delay: 0.18s; }
.reveal-s3 { transition-delay: 0.28s; }
.reveal-s4 { transition-delay: 0.38s; }
.reveal-s5 { transition-delay: 0.48s; }

.footer { overflow: hidden; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1100px) {
    .implant-hero { display: none; }
    .hero-grid { gap: 40px; }
    .proto-implante { gap: 44px; }
    .sec-resultados-grid, .sec-dor-grid { gap: 44px; }
    .alinhador-etapas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .aetapa-foto { grid-column: span 2; }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero {
        min-height: auto;
        padding: 150px 0 80px;
    }
    .hero-figure { justify-content: center; }
    .hero-chat-box { width: 100%; }
    .sec-dor-grid,
    .proto-implante,
    .sec-resultados-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .sec-dor-foto, .sec-resultados-foto { max-width: 520px; margin: 0 auto; }
    .agitar-numeros { grid-template-columns: 1fr; gap: 36px; }
    .agitar-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .dif-grid { grid-template-columns: 1fr; }
    .dif-cell { border-left: none; border-top: 1px solid var(--line); padding: 30px 0; }
    .dif-cell:first-child { border-top: none; }
    .inv-tabela { grid-template-columns: 1fr; }
    .sec-cta-inner { grid-template-columns: 1fr; gap: 36px; }
    .sec-cta-selo { display: none; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-assinatura { grid-template-columns: 1fr; gap: 26px; }
    .resultados-provas { grid-template-columns: 1fr; gap: 34px; }
    .faixa-group span { font-size: 14px; }
}

/* mobile: navbar pill + smart (padrão travado) */
@media (max-width: 768px) {
    .navbar-links, .navbar-cta { display: none; }
    .hamburger { display: flex; }
    .navbar-wrapper {
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        max-width: 460px;
    }
    .navbar-wrapper.hidden { transform: translateX(-50%) translateY(-140%); }
    .navbar {
        padding: 9px 14px 9px 18px;
        border-radius: 100px;
        background: rgba(11, 42, 68, 0.94);
        border: 1px solid var(--line);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    }
    .navbar::after { display: none; }
    .navbar-brand .brand-logo { width: 30px; height: 30px; }
    .navbar-brand .brand-name { font-size: 17px; }
    .navbar-brand .brand-sub { display: none; }
    .chat-modal { width: 100%; }
    .hero-title { max-width: none; }
}

@media (max-width: 640px) {
    .alinhador-etapas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .aetapa-foto { grid-column: span 2; }
    .footer-links { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .faq-item summary { font-size: 15.5px; }
    .inv-col { padding: 30px 24px; }
    .faixa-group span { font-size: 12.5px; letter-spacing: 0.16em; }
}

/* ---------- BLOCO LABORATÓRIO + RESULTADOS: imagem mascarada na coluna DIREITA ---------- */
.bloco-dif-res { position: relative; }
.sec-diferenciais, .sec-resultados {
    position: relative;
    z-index: 1;
    background: transparent;
}
.dif-res-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.dif-res-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%;
    filter: grayscale(1) sepia(0.28) hue-rotate(178deg) saturate(1.6) brightness(0.6) contrast(1.12);
    mask-image: radial-gradient(ellipse 110% 130% at 94% 45%, #000 20%, transparent 66%);
    -webkit-mask-image: radial-gradient(ellipse 110% 130% at 94% 45%, #000 20%, transparent 66%);
}
.dif-res-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(11, 42, 68, 0.55) 0%, rgba(11, 42, 68, 0.28) 42%, rgba(11, 42, 68, 0) 72%);
    mask-image: radial-gradient(ellipse 110% 130% at 94% 45%, #000 20%, transparent 66%);
    -webkit-mask-image: radial-gradient(ellipse 110% 130% at 94% 45%, #000 20%, transparent 66%);
}

/* ---------- SCROLLBAR PERSONALIZADA (conceito blueprint) ---------- */
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track {
    background: #081f33;
    border-left: 1px solid rgba(242, 237, 224, 0.08);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent), var(--accent-deep));
    border: 3px solid #081f33;
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::-webkit-scrollbar-corner { background: #081f33; }
html {
    scrollbar-color: var(--accent) #081f33;
    scrollbar-width: thin;
}

/* ---------- TELA DE LOADING (conceito blueprint) ---------- */
body.pre-loading { overflow: hidden; }
.preloader {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(224, 160, 60, 0.07) 0%, transparent 60%),
        radial-gradient(circle, rgba(242, 237, 224, 0.09) 1.2px, transparent 1.3px);
    background-size: auto, 26px 26px;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
    transform: translateY(0);
}
.preloader.done {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.pre-inner { width: min(460px, 86vw); text-align: center; }
.pre-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 34px;
}
.pre-logo img { width: 46px; height: 46px; }
.pre-nome {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-main);
}
.pre-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted);
    align-self: flex-end;
    margin-bottom: 6px;
}
.pre-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    color: var(--muted);
    margin-bottom: 22px;
}
.pre-bar {
    position: relative;
    height: 2px;
    background: rgba(242, 237, 224, 0.14);
    margin: 0 6px 16px;
}
.pre-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent), var(--accent-deep));
    position: relative;
    transition: width 0.08s linear;
}
.pre-tick {
    position: absolute;
    top: -4px;
    width: 10px;
    height: 10px;
    border-left: 1px solid var(--accent);
    border-top: 1px solid var(--accent);
    left: 6px;
    animation: pre-tick-pulsa 1.1s ease-in-out infinite;
}
@keyframes pre-tick-pulsa {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}
.pre-status {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--muted);
}
.pre-pct { font-size: 26px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; }
.pre-msg { text-transform: uppercase; font-size: 9px; }

/* ---------- PAINEL LATERAL ESQUERDO (desktop, junto do chat) ---------- */
.chat-side-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(100vw - 420px);
    z-index: 9998;
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse 60% 55% at 15% 20%, rgba(224, 160, 60, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 55% 50% at 90% 90%, rgba(17, 58, 92, 0.8) 0%, transparent 60%),
        radial-gradient(circle, rgba(242, 237, 224, 0.09) 1.2px, transparent 1.3px);
    background-size: auto, auto, 26px 26px;
    transform: translateX(-100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 1px solid var(--line);
}
.chat-side-panel.active { transform: translateX(0); }
.csp-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 56px);
    position: relative;
    z-index: 1;
}
.csp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 60px;
}
.csp-logo { display: flex; align-items: center; gap: 12px; }
.csp-logo img { width: 34px; height: 34px; }
.csp-nome {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-main);
}
.csp-nome small {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
    margin-left: 4px;
}
.csp-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(224, 160, 60, 0.4);
    padding: 6px 12px;
    white-space: nowrap;
}
.csp-meio { flex: 1; }
.csp-titulo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 2.6vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 44px;
    max-width: 18ch;
}
.csp-itens { display: flex; flex-direction: column; }
.csp-item {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.csp-item:last-child { border-bottom: 1px solid var(--line); }
.csp-n {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--accent);
    flex-shrink: 0;
}
.csp-t {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-main);
}
.csp-cota {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}
.csp-contato {
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.csp-contato a, .csp-contato span {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: var(--muted);
    text-decoration: none;
    width: fit-content;
    position: relative;
    transition: var(--transition-fast);
}
.csp-contato a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.csp-contato a:hover { color: var(--accent); }
.csp-contato a:hover::after { transform: scaleX(1); }
.csp-selo {
    position: absolute;
    right: 28px;
    bottom: 28px;
    opacity: 0.55;
    pointer-events: none;
}
.csp-selo svg { width: 108px; height: 108px; }

/* ---------- CHAT MODAL — acabamento do conceito ---------- */
.chat-modal-header::after {
    content: '';
    position: absolute;
    left: 24px;
    bottom: -1px;
    width: 44px;
    height: 2px;
    background: var(--accent);
}
.chat-modal-header {
    position: relative;
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse 70% 90% at 85% 0%, rgba(224, 160, 60, 0.08) 0%, transparent 60%),
        radial-gradient(circle, rgba(242, 237, 224, 0.07) 1.2px, transparent 1.3px);
    background-size: auto, 26px 26px;
}
@media (max-width: 900px) {
    .chat-side-panel { display: none; }
}

/* ---------- REGISTROS DE PACIENTES (depoimentos do conceito) ---------- */
.sec-depoimentos {
    padding: var(--section-gap) 0;
    position: relative;
}
.depo-lista {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.depo-item {
    padding: 44px 0;
    border-top: 1px solid var(--line);
    transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.depo-item:last-child { border-bottom: 1px solid var(--line); }
.depo-item:hover { padding-left: 18px; }
.depo-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 44px;
    bottom: 44px;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.depo-item:hover::before { transform: scaleY(1); }
.depo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.depo-n {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--muted);
}
.depo-carimbo {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.22em;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    padding: 7px 10px;
    transform: rotate(-8deg);
    opacity: 0.85;
}
.depo-texto {
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-main);
    max-width: 40ch;
}
.depo-texto-medio { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.depo-assinatura {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- CTA: escassez de vagas ---------- */
.cta-vagas {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
}
.cta-vagas .cota-label { color: var(--accent); }

/* ---------- FOCUS VISIBLE (acessibilidade) ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ---------- FAQ: abertura animada ---------- */
.faq-item p {
    margin: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item[open] p {
    grid-template-rows: 1fr;
    padding-bottom: 26px;
}
.faq-resp {
    overflow: hidden;
    min-height: 0;
    padding: 0 44px 0 40px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-light);
    max-width: 660px;
}

/* ---------- BARRA DE COOKIES / LGPD ---------- */
.cookie-bar {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 8200;
    max-width: 430px;
    background: var(--surface-light);
    border: 1px solid var(--text-alt);
    padding: 22px 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0.4s ease;
}
.cookie-bar.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.cookie-texto {
    margin: 0 0 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.04em;
    color: var(--muted-light);
}
.cookie-acoes { display: flex; gap: 10px; }
.cookie-acoes .btn { font-size: 10.5px; padding: 10px 16px; }
.cookie-acoes .btn-ghost {
    border-color: var(--line-light);
    color: var(--muted-light);
}
.cookie-acoes .btn-ghost:hover { border-color: var(--text-alt); color: var(--text-alt); }

@media (max-width: 640px) {
    .cookie-bar {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
    .depo-texto { font-size: clamp(1.25rem, 5.5vw, 1.6rem); }
}

/* ---------- ECG (sinal vital) nos depoimentos ---------- */
.ecg-wrap { margin: 44px 0 10px; position: relative; }
.ecg-svg { width: 100%; height: 86px; display: block; }
.ecg-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.ecg-legenda {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Radiografia panorâmica (fundo dos diferenciais) ---------- */
.sec-diferenciais { position: relative; overflow: hidden; }
.sec-diferenciais .container { position: relative; z-index: 1; }
.panoramica {
    position: absolute;
    right: -70px;
    bottom: -30px;
    width: 660px;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}
.panoramica svg { width: 100%; display: block; }
.pan-arco-ext, .pan-arco-int {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.pan-tick { stroke: #f2ede0; stroke-opacity: 0.5; stroke-width: 2; }
.pan-hot circle {
    fill: none;
    stroke: #e0a03c;
    stroke-width: 1.6;
    transform-origin: center;
    transform-box: fill-box;
    animation: pan-hot-pulse 2.6s ease-in-out infinite;
    animation-delay: var(--hd, 0s);
}
.pan-hot path { stroke: #e0a03c; stroke-width: 2; }
@keyframes pan-hot-pulse {
    0%, 100% { transform: scale(0.75); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 1; }
}
.pan-label {
    position: absolute;
    right: 8px;
    bottom: 6px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Curva de progresso do alinhador ---------- */
.alinhador-curva {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid var(--text-alt);
}
.curva-svg { width: 100%; display: block; }
.curva-linha {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.curva-fantasma { display: block; }
.cm-ponto {
    fill: var(--surface-light);
    stroke-width: 3;
    transform-origin: center;
    transform-box: fill-box;
}
.curva-legenda {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

/* ---------- Ticks do hero: respiro sutil ---------- */
.hero .cota-line {
    animation: tick-respiro 3.4s ease-in-out infinite;
}
.hero .cota-dot {
    animation: tick-respiro 3.4s ease-in-out infinite reverse;
}
@keyframes tick-respiro {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@media (max-width: 900px) {
    .panoramica { right: -160px; width: 480px; }
    .ecg-svg { height: 64px; }
}

/* ---------- Ficha odontológica interativa ---------- */
.qual-seu-caso {
    margin-top: 90px;
    padding-top: 56px;
    border-top: 2px solid var(--text-alt);
}
.qsc-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 34px;
}
.qsc-ficha { min-width: 0; }
.qsc-svg { width: 100%; display: block; }
.dente {
    cursor: pointer;
}
.dente-inner {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    transform-box: fill-box;
}
.dente-corpo {
    fill: var(--surface-light);
    stroke: var(--line-light);
    stroke-width: 1.6;
    transition: fill 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease;
    filter: drop-shadow(0 2px 3px rgba(29, 43, 51, 0.18));
}
.dente-gloss {
    fill: none;
    stroke: rgba(29, 43, 51, 0.1);
    stroke-width: 1.2;
    transition: stroke 0.25s ease;
    pointer-events: none;
}
.dente:hover .dente-inner { transform: translateY(-2px); }
.dente:hover .dente-corpo {
    stroke: var(--accent-deep);
    fill: #f3e8d5;
}
.dente:hover .dente-gloss { stroke: rgba(29, 43, 51, 0.28); }
.dente.ativo .dente-corpo {
    fill: var(--accent);
    stroke: var(--accent-deep);
    stroke-width: 2.2;
}
.dente.ativo .dente-gloss { stroke: rgba(29, 43, 51, 0.35); }
.dente:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    outline-offset: 4px;
}
.qsc-legenda {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-light);
}
.qsc-painel {
    border: 2px solid var(--text-alt);
    background: var(--surface-light);
    padding: 34px 30px;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}
.qsc-painel::before {
    content: '';
    position: absolute;
    inset: -10px;
    pointer-events: none;
    background-image:
        linear-gradient(var(--accent-deep), var(--accent-deep)),
        linear-gradient(var(--accent-deep), var(--accent-deep)),
        linear-gradient(var(--accent-deep), var(--accent-deep)),
        linear-gradient(var(--accent-deep), var(--accent-deep));
    background-size: 20px 1.5px, 1.5px 20px, 20px 1.5px, 1.5px 20px;
    background-position: left 0 top 0, left 0 top 0, right 0 bottom 0, right 0 bottom 0;
    background-repeat: no-repeat;
    opacity: 0.5;
}
.qsc-painel-n {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent-deep);
    display: block;
    margin-bottom: 16px;
}
.qsc-painel-texto {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted-light);
}
.qsc-painel-proto {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-alt);
    border-left: 3px solid var(--accent-deep);
    padding-left: 14px;
    margin-bottom: 24px;
    line-height: 1.35;
}
.qsc-painel-cota {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.qsc-painel .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
    .qsc-grid { grid-template-columns: 1fr; gap: 40px; }
    .qsc-painel { min-height: 0; }
}

/* ---------- Seletor de perfil (investimento) ---------- */
.inv-perfis {
    max-width: 980px;
    margin-bottom: 34px;
}
.inv-botoes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    border: 1px solid var(--line-light);
    background: var(--surface-light);
    max-width: 620px;
}
.inv-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 16px 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-light);
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}
.inv-btn.ativo { color: var(--ink-on-accent); }
.inv-marcador {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc((100% - 6px) / 3);
    background: var(--accent);
    z-index: 1;
    transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.inv-marcador.m1 { left: calc(3px + (100% - 6px) / 3); }
.inv-marcador.m2 { left: calc(3px + 2 * (100% - 6px) / 3); }
.inv-dica {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}
.inv-col { transition: opacity 0.45s ease, transform 0.45s ease; }
.inv-tabela.realce-implant .inv-col:first-child { opacity: 1; }
.inv-tabela.realce-implant .inv-col:last-child { opacity: 0.3; }
.inv-tabela.realce-alinhador .inv-col:last-child { opacity: 1; }
.inv-tabela.realce-alinhador .inv-col:first-child { opacity: 0.3; }
.inv-tabela.realce-implant .inv-col:first-child,
.inv-tabela.realce-alinhador .inv-col:last-child { transform: scale(1.015); }

@media (max-width: 640px) {
    .inv-botoes { max-width: none; grid-template-columns: 1fr; }
    .inv-marcador { display: none; }
    .inv-btn { border-bottom: 2px solid transparent; }
    .inv-btn.ativo { border-bottom-color: var(--accent-deep); color: var(--text-alt); }
}

/* ---------- Quiz de 60 segundos ---------- */
.sec-quiz {
    padding: var(--section-gap) 0;
    position: relative;
    background:
        repeating-linear-gradient(to bottom, transparent 0 27px, rgba(29, 43, 51, 0.035) 27px 28px),
        var(--bg-alt);
}
.quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.quiz-garantias { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip.dark {
    color: var(--muted-light);
    border-color: var(--line-light);
    background: transparent;
}
.quiz-widget {
    background: var(--surface-light);
    border: 2px solid var(--text-alt);
    padding: 34px 30px 30px;
    position: relative;
    max-width: 480px;
    width: 100%;
    justify-self: end;
    min-height: 320px;
}
.quiz-widget .chat-box-tag { left: 18px; }
.quiz-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.quiz-step {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-deep);
    white-space: nowrap;
}
.quiz-bar {
    flex: 1;
    height: 2px;
    background: rgba(29, 43, 51, 0.12);
}
.quiz-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--accent-deep);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.quiz-q {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    color: var(--text-alt);
    margin-bottom: 22px;
    min-height: 50px;
}
.quiz-opcoes { display: flex; flex-direction: column; gap: 10px; }
.quiz-opcao {
    width: 100%;
    text-align: left;
    padding: 15px 18px;
    background: #f3efe5;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    font-size: 14.5px;
    color: var(--text-alt);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.quiz-opcao:hover { background: var(--accent); border-color: var(--accent); color: var(--ink-on-accent); }
.quiz-opcao.ativa { background: var(--accent); border-color: var(--accent-deep); color: var(--ink-on-accent); }
.quiz-opcao::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--accent-deep);
    margin-right: 12px;
    transform: translateY(-1px);
}
.quiz-opcao:hover::before, .quiz-opcao.ativa::before { border-color: var(--ink-on-accent); background: var(--ink-on-accent); }
.quiz-resultado { animation: fade-in 0.5s ease both; }
.quiz-rt {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted-light);
}
.quiz-resultado .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
    .quiz-grid { grid-template-columns: 1fr; gap: 48px; }
    .quiz-widget { justify-self: start; }
}

/* ---------- A AVALIAÇÃO (FOLHA 09) ---------- */
.sec-avaliacao {
    padding: var(--section-gap) 0;
    position: relative;
    background:
        repeating-linear-gradient(to bottom, transparent 0 27px, rgba(29, 43, 51, 0.035) 27px 28px),
        var(--bg-alt);
}
.aval-linha {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 2px solid var(--text-alt);
    margin-top: 40px;
}
.aval-cell {
    padding: 26px 26px 26px 0;
    border-right: 1px solid var(--line-light);
    margin-right: 26px;
}
.aval-cell:last-child { border-right: none; margin-right: 0; }
.aval-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    letter-spacing: -0.01em;
    color: var(--accent-deep);
    margin-bottom: 10px;
}
.aval-txt {
    display: block;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted-light);
}
.aval-cota {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}
@media (max-width: 900px) {
    .aval-linha { grid-template-columns: 1fr 1fr; }
    .aval-cell:nth-child(2) { border-right: none; margin-right: 0; }
    .aval-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); padding-bottom: 22px; }
}
@media (max-width: 640px) {
    .aval-linha { grid-template-columns: 1fr; }
    .aval-cell, .aval-cell:nth-child(2) { border-right: none; margin-right: 0; border-bottom: 1px solid var(--line-light); padding-bottom: 22px; }
}

/* ---------- Glossário rápido ---------- */
.glossario {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--text-alt);
    max-width: 880px;
}
.glossario-head {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 26px;
}
.glossario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.gloss-item {
    padding: 16px 18px 16px 0;
    border-top: 1px solid var(--line-light);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.gloss-termo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-alt);
}
.gloss-def {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted-light);
}
@media (max-width: 640px) {
    .glossario-grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll-spy (navbar) ---------- */
.navbar-links a.ativo { color: var(--accent); }
.navbar-links a.ativo::after { transform: scaleX(1); }
