@font-face {
  font-family: 'Bauhaus 93';
  src: url('BAUHS93.TTF') format('truetype');
  font-display: swap;
}
/* Conversa da IA em fonte digital gratuita: sensação de falar com o computador */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --cyan: #00c8ff; --glow: rgba(0,200,255,.35);
  --bg: #080d12; --card: #0e1520; --line: rgba(0,200,255,.22);
  --text: #fff; --mid: #ffffff; --dim: #f0f4f8;
}
html { scroll-behavior: smooth; height: 100%; }
/* Tela cheia: logo em cima à esquerda, retângulo central, dock no rodapé */
html, body { height: 100%; }
body { font-family: 'DM Sans', Arial, sans-serif; background: radial-gradient(1000px 500px at 20% 0%, rgba(0,200,255,.08), transparent), var(--bg); color: var(--text); line-height: 1.65; height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 0; font-size: 18px; }
.container { max-width: 1800px; margin: 0 auto; padding: 0 6px; }

/* LOGO Bauhaus 93 - verissimosodre junto, ligeiramente maior que o subtítulo */
.logo { font-family: 'Bauhaus 93', 'Baloo 2', 'Titan One', sans-serif; font-weight: 400; line-height: 1; letter-spacing: .5px; font-size: clamp(2rem, 6vw, 3rem); white-space: nowrap; }
.logo .l1 { color: var(--cyan); text-shadow: 0 0 22px var(--glow); }
.logo .l2 { color: transparent; -webkit-text-stroke: 2px var(--cyan); }
.logo-sm { font-size: 2.9rem; white-space: nowrap; }
.logo-sm .l2 { -webkit-text-stroke-width: 1.8px; }
/* Logo no meio da frase, no tamanho do texto */
.logo-inline { font-size: 1em; white-space: nowrap; }
.logo-inline .l2 { -webkit-text-stroke-width: .045em; }
.logo-block { display: inline-flex; flex-direction: column; align-items: flex-end; text-align: right; }
.logo-sub, .brand-sub { font-family: 'DM Sans', sans-serif; font-weight: 300; letter-spacing: 4px; color: #dfe6ec; text-shadow: 0 0 12px rgba(223,230,236,.35); font-size: 1.15rem; margin-top: 4px; white-space: nowrap; width: 100%; text-align: right; }
.brand { text-decoration: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
/* Logo se escrevendo: desfocado 30% -> linha rápida revela sólido */
.brand .logo { position: relative; animation: logoWrite 10s ease-in-out infinite; }
@keyframes logoWrite {
  0%, 20% { opacity: .3; filter: blur(1.5px); }
  25%, 95% { opacity: 1; filter: blur(0); }
  100% { opacity: .3; filter: blur(1.5px); } }
.brand-sub { font-size: .8rem !important; letter-spacing: 3px; }
.card-logo { text-align: right !important; }

/* Splash auto (não bloqueante) */
#splash { position: fixed; inset: 0; background: #000; z-index: 200; display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; transition: opacity 1s ease, visibility 1s; }
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-tip { font-size: .72rem; letter-spacing: 3px; color: var(--dim); }
/* Logo abrindo em zoom na entrada do site */
#zoomLogo { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center;
  background: #000; opacity: 0; visibility: hidden; pointer-events: none; }
#zoomLogo.play { visibility: visible; animation: zoomOpen 1.9s cubic-bezier(.22,.61,.36,1) forwards; }
#zoomLogo .logo { font-size: clamp(2.4rem, 8vw, 4.4rem); }
@keyframes zoomOpen {
  0% { opacity: 0; } 16% { opacity: 1; }
  100% { opacity: 0; }
}
#zoomLogo.play .logo { animation: logoGrow 1.9s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes logoGrow {
  0% { transform: scale(.9); filter: blur(3px); opacity: 0; }
  18% { opacity: 1; filter: blur(0); }
  100% { transform: scale(2.3); opacity: 0; filter: blur(1px); } }
/* Botão tela cheia canto inferior direito */
#fsBtn { position: fixed; right: 12px; bottom: 12px; z-index: 160; display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px; border-radius: 12px;
  background: rgba(14,21,32,.6); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: .75rem; letter-spacing: 1px; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .2s, border-color .2s; }
#fsBtn:hover { transform: scale(1.05); border-color: var(--cyan); }
#fsBtn #fsIcon { font-size: 1rem; }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--cyan); border-radius: 99px; animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%);} 100% { transform: translateX(350%);} }

/* Fundo aurora: vidro morphing em movimento atrás da moldura */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 55vmax; height: 55vmax; filter: blur(70px); opacity: .8; }
.aurora .b1 { left: -12vmax; top: -14vmax;
  background: radial-gradient(circle at 40% 40%, rgba(0,200,255,.20), transparent 65%);
  border-radius: 42% 58% 61% 39% / 45% 42% 58% 55%;
  animation: morph1 22s ease-in-out infinite alternate; }
.aurora .b2 { right: -14vmax; top: 8vh;
  background: radial-gradient(circle at 60% 50%, rgba(0,90,255,.16), transparent 65%);
  border-radius: 60% 40% 38% 62% / 55% 60% 40% 45%;
  animation: morph2 27s ease-in-out infinite alternate; }
.aurora .b3 { left: 22vw; bottom: -20vmax;
  background: radial-gradient(circle at 50% 50%, rgba(37,211,102,.10), transparent 65%);
  border-radius: 52% 48% 60% 40% / 40% 55% 45% 60%;
  animation: morph3 31s ease-in-out infinite alternate; }
@keyframes morph1 {
  0% { transform: translate(0,0) rotate(0deg) scale(1); border-radius: 42% 58% 61% 39% / 45% 42% 58% 55%; }
  50% { transform: translate(6vmax,4vmax) rotate(40deg) scale(1.12); border-radius: 60% 40% 45% 55% / 55% 60% 40% 45%; }
  100% { transform: translate(-3vmax,7vmax) rotate(-25deg) scale(.95); border-radius: 38% 62% 55% 45% / 60% 38% 62% 40%; } }
@keyframes morph2 {
  0% { transform: translate(0,0) scale(1); border-radius: 60% 40% 38% 62% / 55% 60% 40% 45%; }
  50% { transform: translate(-7vmax,5vmax) scale(1.15); border-radius: 40% 60% 62% 38% / 62% 38% 60% 40%; }
  100% { transform: translate(4vmax,-4vmax) scale(1.02); border-radius: 55% 45% 40% 60% / 42% 58% 45% 55%; } }
@keyframes morph3 {
  0% { transform: translate(0,0) scale(1); border-radius: 52% 48% 60% 40% / 40% 55% 45% 60%; }
  50% { transform: translate(-5vmax,-6vmax) scale(1.1); border-radius: 62% 38% 42% 58% / 58% 42% 60% 40%; }
  100% { transform: translate(6vmax,2vmax) scale(.94); border-radius: 45% 55% 58% 42% / 52% 45% 55% 48%; } }
.header, .dock-wrap { position: relative; z-index: 2; }
main#visor { position: relative; z-index: 1; }
.header { z-index: 100; background: transparent; border-bottom: none; flex-shrink: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 8px; gap: 12px; }
/* Informações no canto superior direito, fora da moldura */
.top-info { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px;
  font-size: 14px; font-family: Arial, sans-serif; color: #ffffff; }
.top-info a { color: var(--cyan); text-decoration: none; }
.top-info .drname { font-size: 14px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--mid); text-decoration: none; font-size: .82rem; letter-spacing: 1.2px; }
.nav a:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 1.1rem; }

/* Buttons */
.btn { font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: 1px; border-radius: 10px; padding: 12px 22px; cursor: pointer; text-decoration: none; display: inline-block; border: 1px solid transparent; font-size: .97rem; }
.btn-primary { background: var(--cyan); color: #001018; border-color: var(--cyan); }
.btn-primary:hover { background: #4fdaff; box-shadow: 0 0 18px rgba(0,200,255,.9), 0 0 55px rgba(0,200,255,.5), 0 0 110px rgba(0,200,255,.25); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ia { background: rgba(0,200,255,.1); color: var(--cyan); border-color: var(--line); padding: 8px 16px; border-radius: 20px; }
.btn-sm { padding: 6px 12px; font-size: .75rem; }
.btn-full { width: 100%; text-align: center; }

/* Retângulo central 3D: moldura fixa, páginas trocam dentro sem rolagem da moldura */
main#visor { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 6px 8px 10px; padding: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 22%),
    radial-gradient(1200px 300px at 50% -80px, rgba(0,200,255,.10), transparent 70%),
    rgba(14,21,32,.78);
  border: 1px solid rgba(255,255,255,.12); border-radius: 24px;
  box-shadow:
    0 24px 70px rgba(0,0,0,.55),
    0 2px 0 rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -2px 6px rgba(0,0,0,.55),
    inset 14px 0 34px -18px rgba(0,0,0,.65),
    inset -14px 0 34px -18px rgba(0,0,0,.65),
    inset 0 24px 60px -30px rgba(0,200,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.pages { position: relative; flex: 1; min-height: 0; overflow: hidden; }
/* Uma página por vez: sobe ou desce conforme a posição */
.page { position: absolute; inset: 0; overflow-y: auto; padding: 30px 2px 26px;
  opacity: 0; visibility: hidden; transform: translateY(60px);
  transition: transform .45s ease, opacity .45s ease, visibility 0s linear .45s; }
.page.is-active { opacity: 1; visibility: visible; transform: translateY(0); transition: transform .45s ease, opacity .45s ease; }
.page.enter-from-below { transform: translateY(60px); }
.page.enter-from-above { transform: translateY(-60px); }
.page.exit-to-above { transform: translateY(-60px); opacity: 0; }
.page.exit-to-below { transform: translateY(60px); opacity: 0; }
/* Rodapé fino fixo dentro da moldura */
.exit-box { text-align: center; margin-top: 34px; padding: 26px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09); border-radius: 16px; }

/* Barra de rolagem do conteúdo: setas + vidro, aparece no hover ou rolando */
.page { scrollbar-width: thin; scrollbar-color: rgba(0,200,255,.5) transparent; }
.page::-webkit-scrollbar { width: 11px; }
.page::-webkit-scrollbar-track { background: rgba(255,255,255,.03); border-radius: 99px; margin: 4px 2px 4px 0; }
.page::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(0,200,255,.55), rgba(0,120,200,.55));
  border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
.page::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(0,200,255,.9), rgba(0,150,255,.9));
  border: 2px solid transparent; background-clip: padding-box; }
.page::-webkit-scrollbar-button:single-button { display: block; height: 18px; width: 11px;
  background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: 9px 9px; }
.page::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M1.5 6.5l3-4 3 4z' fill='%2300c8ff'/%3E%3C/svg%3E"); }
.page::-webkit-scrollbar-button:single-button:vertical:increment { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M1.5 2.5l3 4 3-4z' fill='%2300c8ff'/%3E%3C/svg%3E"); }
/* Escondida até passar o mouse ou rolar */
.page:not(:hover):not(.is-scrolling)::-webkit-scrollbar-thumb { background: transparent; border-color: transparent; }
.page:not(:hover):not(.is-scrolling)::-webkit-scrollbar-button:single-button { background-image: none; }
.page:not(:hover):not(.is-scrolling)::-webkit-scrollbar-track { background: transparent; }

/* Hero */
.hero { padding: 64px 0 40px; background: radial-gradient(800px 400px at 70% 0%, rgba(0,200,255,.12), transparent), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 20px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--line); padding: 6px 14px; border-radius: 20px; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; margin-bottom: 16px; }
.hl { color: var(--cyan); }
.lead { color: var(--mid); font-size: 1.15rem; margin-bottom: 22px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.trust { font-size: .95rem; color: var(--dim); }
.trust a { color: var(--cyan); text-decoration: none; }
/* Seletor de situações que abre a IA */
.sit-box { margin-top: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 16px; }
.sit-title { font-size: .95rem; color: var(--mid); margin-bottom: 10px; }
.sit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sit-btn { background: rgba(0,200,255,.07); border: 1px solid var(--line); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: .93rem; cursor: pointer; text-align: left; transition: background .2s, transform .2s; }
.sit-btn:hover { background: rgba(0,200,255,.18); transform: translateY(-2px); }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.card-top { display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.status { display: flex; align-items: center; gap: 8px; }
.ver { color: var(--dim); }
.viz { display: flex; align-items: flex-end; gap: 3px; height: 44px; justify-content: center; margin-bottom: 16px; }
.viz span { width: 3px; background: var(--cyan); opacity: .7; border-radius: 2px; animation: vib 1s ease-in-out infinite alternate; }
@keyframes vib { from { height: 4px; } to { height: 34px; } }
.card-logo { text-align: center; font-size: 2.2rem; margin-bottom: 6px; }
.card-tag { text-align: center; color: var(--mid); margin-bottom: 16px; }
.sync { text-align: center; font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); margin-top: 12px; }
.sync span { color: var(--cyan); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: #0a1119; border-top: 1px solid rgba(0,200,255,.08); border-bottom: 1px solid rgba(0,200,255,.08); }
.kicker { color: var(--cyan); font-size: .85rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.section h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 22px; }
.card:hover { border-color: var(--line); }
/* Atuação: vidro com reflexo e impacto */
#atuacao .card { position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02) 42%, rgba(0,200,255,.07));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -10px 24px -14px rgba(0,0,0,.7), 0 14px 34px -14px rgba(0,0,0,.65);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .35s, box-shadow .35s; }
#atuacao .card::before { content: ''; position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%);
  transform: translateX(-70%); transition: transform .9s ease; }
#atuacao .card:hover { transform: translateY(-7px); border-color: rgba(0,200,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 22px 44px -14px rgba(0,0,0,.7), 0 0 26px rgba(0,200,255,.22); }
#atuacao .card:hover::before { transform: translateX(70%); }
#atuacao .card h3 { color: var(--cyan); }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.card p { color: #ffffff; font-size: 1.05rem; }
.step .num { font-family: 'Space Grotesk', sans-serif; color: var(--cyan); font-weight: 700; letter-spacing: 2px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.narrow { max-width: 1050px; }
.check { list-style: none; margin-top: 16px; }
.check li::before { content: '✓ '; color: var(--cyan); font-weight: 700; }
.check li { margin-bottom: 8px; color: var(--mid); }
.profile p { margin: 10px 0; }
.profile-photo { width: 100%; max-width: 280px; aspect-ratio: 4/4.6; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); display: block; margin-bottom: 12px; background: #000; }
.muted { color: #ffffff; font-size: .97rem; }
.faq { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq p { margin-top: 10px; color: var(--mid); }
.contact-lines a { color: var(--cyan); text-decoration: none; }
.contact-lines .ic { width: 1em; height: 1em; vertical-align: -0.12em; margin-right: .45em; color: #ffffff; }
.contact-lines .ic.wa { width: 1.2em; height: 1.2em; vertical-align: -0.22em; margin: 0 0 0 .45em; }
.wa-ic { width: 1.15em; height: 1.15em; vertical-align: -0.2em; }
/* Botão enviar resposta no WhatsApp + caixinha de confirmação */
.wa-send-btn { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 12px; background: transparent; border: 1px solid rgba(37,211,102,.5); color: #7be495; border-radius: 20px; padding: 6px 16px; font-size: .75rem; letter-spacing: 1px; cursor: pointer; transition: background .25s; }
.wa-send-btn:hover { background: rgba(37,211,102,.15); }
.wa-panel { max-width: 430px; height: auto; min-height: 0; }
#waPhone:focus { border-color: #25D366 !important; box-shadow: 0 0 16px rgba(37,211,102,.25); }
/* Nome padrão em todo o site: sempre Dr. Ricardo Sodré, Arial 11 */
.drname { font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .3px; }
.contact-lines { margin: 16px 0; line-height: 2; }
.form label { display: block; font-size: .95rem; color: #ffffff; margin-bottom: 12px; }
.form input, .form textarea { width: 100%; margin-top: 6px; background: rgba(0,0,0,.45); border: 1px solid rgba(0,200,255,.2); border-radius: 10px; color: #fff; padding: 12px 14px; font-size: .9rem; outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--cyan); }

/* Footer informativo vai dentro do retângulo, no fim da rolagem */
.footer { border-top: 1px solid rgba(0,200,255,.1); padding: 22px 0 10px; text-align: center; color: var(--dim); font-size: .78rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px; }
.footer a { color: var(--cyan); text-decoration: none; }
.footer .sep { opacity: .3; }
.disclaimer { max-width: 760px; margin: 0 auto; padding: 0 20px; opacity: .6; }

/* Modal IA ampliado - Glassmorphism 3D com fundo fosco que borra o site atrás */
#iaModal { position: fixed; inset: 0; background: rgba(3,6,11,.55); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 18px;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
#iaModal[hidden], #contactModal[hidden], #infoModal[hidden], #waModal[hidden] { display: none; }
#contactModal, #infoModal, #waModal { position: fixed; inset: 0; background: rgba(3,6,11,.55); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 18px;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.modal-panel { width: calc(100% - 24px); max-width: 980px; height: min(86vh, 780px); max-height: 92vh; overflow: hidden auto; display: flex; flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 26%),
    radial-gradient(900px 240px at 50% -70px, rgba(0,200,255,.12), transparent 70%),
    rgba(13,20,31,.58);
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 26px;
  box-shadow:
    0 30px 90px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -2px 8px rgba(0,0,0,.5),
    inset 16px 0 40px -22px rgba(0,0,0,.6),
    inset -16px 0 40px -22px rgba(0,0,0,.6);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); }
.modal-head { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.09); }
/* X vermelho de fechar, igual às caixas */
.x-red { width: 30px; height: 30px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,70,70,.9); color: #fff; border: none; border-radius: 7px;
  font-size: 19px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .2s; }
.x-red:hover { transform: scale(1.1); }
/* Etapa da conversa ocupa a caixa toda: topo, conversa no meio, digitação embaixo */
#chatStep { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#chatStep[hidden] { display: none; }
#leadStep { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
#leadStep[hidden] { display: none; }
#leadStep .wiz-body, #chatStep .wiz-body { min-height: 0; }
#leadStep .wiz-nav { margin-top: auto; padding-top: 14px; }
#leadStep h3:first-child { flex-shrink: 0; }
#leadStep > p.muted { flex-shrink: 0; }
#leadStep .wiz-progress { flex-shrink: 0; }
#leadStep { flex: 1; min-height: 0; overflow-y: auto; }
.chat { flex: 1; min-height: 300px; overflow-y: auto; background: rgba(0,0,0,.30); border: 1px solid rgba(255,255,255,.10); border-radius: 14px; padding: 16px; margin-bottom: 12px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
.msg { font-size: 1.05rem; line-height: 1.65; margin-bottom: 12px; }
.msg.user { background: rgba(0,200,255,.08); border-left: 2px solid var(--cyan); padding: 8px 12px; border-radius: 0 8px 8px 0; }
/* Conversa da IA em Digitalize: sensação de falar com o computador */
.msg.ai, .msg-thinking { font-family: 'DM Sans', Arial, sans-serif; }
.msg.ai { color: rgba(255,255,255,.82); white-space: pre-wrap; }
.ai-label { display: block; font-family: 'Share Tech Mono', 'DM Sans', monospace; font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.msg.error { color: #ff8080; }
/* IA pensando: 3 pontos subindo e descendo */
.tdots { display: inline-flex; gap: 7px; padding: 6px 2px; }
.tdots span { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--glow); animation: tbounce 1.1s ease-in-out infinite; }
.tdots span:nth-child(2) { animation-delay: .18s; }
.tdots span:nth-child(3) { animation-delay: .36s; }
@keyframes tbounce { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-9px); opacity: 1; } }
.chat-row { flex-shrink: 0; display: flex; gap: 10px; align-items: stretch; }
.chat-row input { flex: 1; min-width: 0; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff; padding: 0 16px; height: 52px; font-size: 1rem; font-family: 'DM Sans', Arial, sans-serif; outline: none; }
.chat-row input:focus { border-color: var(--cyan); }
.chat-row .btn { height: 50px; padding: 0 28px; border-radius: 12px; flex-shrink: 0; }
#chatStep .disclaimer { flex-shrink: 0; margin-top: 10px; }
/* Caixa informativa: leitura, sem campos */
.info-panel { max-width: 980px; }
.info-body { flex: 1; min-height: 0; overflow-y: auto; }
.info-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; margin: 4px 0 14px; }
.info-body h4 { color: var(--cyan); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin: 16px 0 6px; }
.info-body p { line-height: 1.75; }
.info-cta { margin-top: 18px; }
/* Janela da IA 20% mais larga (só laterais, mesma altura) */
#iaModal .modal-panel { max-width: 1290px; }
.wiz-panel { max-width: 560px; height: auto; min-height: min(70vh, 560px); }
.wiz-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.wiz-progress span { width: 34px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.12); transition: background .3s, box-shadow .3s; }
.wiz-progress span.on { background: var(--cyan); box-shadow: 0 0 10px var(--glow); }
.wiz-body { flex: 1; display: flex; }
.wiz-step { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; animation: wizIn .35s ease; }
.wiz-step[hidden] { display: none; }
@keyframes wizIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wiz-ic { font-size: 3rem; line-height: 1; filter: drop-shadow(0 0 14px var(--glow)); margin: 0; }
.wiz-ic svg { width: 72px; height: 72px; display: block; margin: 0 auto; }
.wiz-step h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; }
.wiz-step input, .wiz-step textarea { width: 100%; max-width: 420px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff; padding: 14px 16px; font-size: 1rem; outline: none; text-align: center; }
.wiz-step textarea { text-align: left; resize: vertical; min-height: 150px; }
.wiz-step input:focus, .wiz-step textarea:focus { border-color: var(--cyan); box-shadow: 0 0 16px rgba(0,200,255,.25); }
.wiz-nav { display: flex; gap: 10px; margin-top: 18px; }
.wiz-nav .btn { flex: 1; }
.wiz-step input[type="file"] { text-align: left; font-size: .8rem; padding: 12px; }
.wiz-foot-note { text-align: center; font-size: .78rem; margin: 12px 0 0; display: none; }
.wiz-foot-note.show { display: block; }
.ia-foot { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-family: Arial, 'DM Sans', sans-serif; color: #ffffff; margin-left: auto; margin-right: auto; }
.ia-foot-line { display: block; white-space: nowrap; }
.ia-foot-main { font-size: 15px; }
@media (max-width: 760px) { .ia-foot-line { white-space: normal; } }
@media (max-width: 640px) { .ia-foot-line { white-space: normal; } }
/* Rolagem da IA no mesmo vidro */
.chat { scrollbar-width: thin; scrollbar-color: rgba(0,200,255,.4) transparent; }
.chat::-webkit-scrollbar { width: 8px; }
.chat::-webkit-scrollbar-track { background: transparent; }
.chat::-webkit-scrollbar-thumb { background: rgba(0,200,255,.3); border-radius: 99px; border: 1px solid rgba(255,255,255,.12); }

/* Dock Apple / Glassmorphism no rodapé da tela - fora do retângulo, não cobre texto */
.dock-wrap { flex-shrink: 0; display: flex; justify-content: center; padding: 6px 12px 14px; }
.dock { pointer-events: auto; display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px;
  background: rgba(14,21,32,.55); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 18px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.15); }
.dock-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 6px; width: 96px; min-width: 96px; max-width: 96px; height: 68px; min-height: 68px; max-height: 68px; cursor: pointer; color: #fff; font-family: inherit;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), background .35s ease, box-shadow .35s ease; transform-origin: bottom center; }
.dock-icon { width: 26px; height: 26px; font-size: 1.15rem; line-height: 1; transition: transform .45s cubic-bezier(.22,.61,.36,1); display: inline-flex; align-items: center; justify-content: center; }
.dock-icon svg { width: 24px; height: 24px; flex-shrink: 0; }
.dock-label { font-size: .65rem; letter-spacing: 0; color: #ffffff; white-space: nowrap; }
.dock-item:hover { background: rgba(0,200,255,.18); box-shadow: 0 10px 26px var(--glow); }
.dock-item:hover .dock-icon { transform: scale(1.2) translateY(-3px); }
.dock-item:hover { transform: scale(1.1) translateY(-4px); }
.dock-item.active { border-color: var(--cyan); background: rgba(0,200,255,.18); }
.dock-item.active .dock-label { color: var(--cyan); }
.dock-ia { background: var(--cyan); border-color: var(--cyan); color: #001018; }
.dock-ia .dock-label { color: #001018; font-weight: 700; }
.dock-ia .ai-ic { animation: aipulse 1.6s ease-in-out infinite; }
@keyframes aipulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .75; } }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .header-inner { position: relative; }
  .dock { gap: 6px; padding: 10px 10px; max-width: 100%; overflow-x: auto; }
  .dock-item { width: 76px; min-width: 76px; max-width: 76px; height: 62px; min-height: 62px; max-height: 62px; padding: 4px; }
}
/* Bolinha de luz na borda do retângulo - verde, some e aparece */
.orbit-dot { position: fixed; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: #d6ffe0; opacity: 0; pointer-events: none; z-index: 120; will-change: transform, opacity;
  box-shadow: 0 0 10px 2px rgba(37,211,102,.7), 0 0 26px 6px rgba(37,211,102,.18); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .orbit-dot { display: none; }
  .brand .logo { opacity: 1; filter: none; }
  .brand .logo::after { display: none; }
}
