/* Speakeasy — estilos compartilhados
   Cores por trilha: edite as variáveis em .t-business, .t-fluencia e .t-exames */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --muted: #4a4a4a;
  --line: #dcdcdc;
  --deep: #000000;   /* cor principal da página */
  --mid: #3a3a3a;    /* cor de apoio */
  --tint: #f3f3f3;   /* fundo suave */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
.t-business { --deep: #10264a; --mid: #2f5e9e; --tint: #e8eff8; }
.t-fluencia { --deep: #3e2a1e; --mid: #8e5f3c; --tint: #f2e9dd; }
.t-exames   { --deep: #5c1616; --mid: #a8352b; --tint: #f6e4e0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); }

:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }

/* Marca */
.wm { display: inline-grid; text-decoration: none; line-height: 1; color: inherit; }
.wm-the { font-family: var(--script); font-size: .95em; margin: 0 0 -.38em -.2em; }
.wm-name { font-family: var(--display); font-weight: 900; font-size: 1.6em; letter-spacing: -0.02em; }
.wm-sub { font-family: var(--sans); font-weight: 400; font-size: .62em; letter-spacing: .14em; text-transform: uppercase; justify-self: center; margin-top: .2em; }

/* Cabeçalho */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
.site-header .wm { font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.6rem); flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { padding: .55rem 1.1rem; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 999px; font-family: var(--sans); font-weight: 500; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.nav .btn, .btn-primary { background: var(--deep); color: #fff; }
.nav .btn:hover, .btn-primary:hover { background: var(--mid); text-decoration: none; }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: rgba(0,0,0,.06); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--tint); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Hero da Home */
.hero-home { padding: clamp(3.5rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-home .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-home h1 { max-width: 13ch; }

/* Portas (trilhas) */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.door { display: flex; flex-direction: column; background: var(--deep); color: #fff; text-decoration: none; border-radius: 999px 999px 6px 6px; padding: clamp(3.2rem, 6vw, 4.5rem) clamp(1.4rem, 3vw, 2rem) 2rem; min-height: 30rem; }
.door .wm { font-size: clamp(1.1rem, 2vw, 1.35rem); align-self: center; margin-bottom: 2.2rem; }
.door p { color: rgba(255,255,255,.88); flex: 1; }
.door .door-link { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.door:hover .door-link { text-decoration-thickness: 2px; }
.door:hover { background: var(--mid); }

/* Princípios */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.principles > div { border-top: 2px solid var(--ink); padding-top: 1.1rem; }

/* Hero das trilhas */
.hero-track { background: var(--tint); padding: clamp(3rem, 8vw, 6rem) 0; }
.hero-track .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-track h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); color: var(--deep); }
.door-hero { background: var(--deep); color: #fff; border-radius: 999px 999px 8px 8px; aspect-ratio: 3 / 4; display: grid; place-items: center; max-width: 360px; width: 100%; justify-self: center; }
.door-hero .wm { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* Listas e tópicos */
.who { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.who li { border-top: 1px solid var(--line); padding: 1rem 0 1rem 1.6rem; position: relative; }
.who li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--mid); }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem); }
.topics > div { border-top: 3px solid var(--deep); padding-top: 1rem; }
.topics h3 { color: var(--deep); }
.topics p { color: var(--muted); margin: 0; }

/* Etapas (sequência real) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--mid); margin-bottom: .6rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4em; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Preço */
.price-band { background: var(--deep); color: #fff; }
.price-band .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.price-band p { color: rgba(255,255,255,.85); }
.price-band .price { color: #fff; }
.price { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; margin: 0; }
.price small { font-family: var(--sans); font-weight: 400; font-size: 1.1rem; }
.price-box { justify-self: end; text-align: left; }

/* Sobre (resumo) */
.about-mini { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.photo { width: 200px; aspect-ratio: 1; border-radius: 50%; background: var(--tint); border: 2px solid var(--deep); display: grid; place-items: center; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo span { font-family: var(--display); font-weight: 900; font-size: 4rem; color: var(--deep); }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 500; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.6rem; line-height: 1; color: var(--mid); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* Vídeo */
.video { aspect-ratio: 16 / 9; width: 100%; max-width: 860px; border: 0; border-radius: 10px; background: #000; }

/* Contato */
.contact { background: var(--deep); color: #fff; text-align: left; }
.contact p { color: rgba(255,255,255,.85); }

/* Texto longo (Sobre, Privacidade) */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer small { color: var(--muted); display: block; margin-top: .8rem; }

/* Botão flutuante de WhatsApp */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 50; display: inline-flex; align-items: center; gap: .5rem; background: #1f7a4d; color: #fff; text-decoration: none; padding: .8rem 1.15rem; border-radius: 999px; font-weight: 500; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.wa-float:hover { background: #17633d; }
.wa-float svg { width: 1.3rem; height: 1.3rem; }

/* Responsivo */
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .door { min-height: 0; }
  .principles, .steps { grid-template-columns: 1fr 1fr; }
  .hero-track .wrap, .hero-home .wrap { grid-template-columns: 1fr; }
  .door-hero { max-width: 220px; order: -1; justify-self: start; }
  .price-band .wrap { grid-template-columns: 1fr; }
  .price-box { justify-self: start; }
}
@media (max-width: 640px) {
  .principles, .steps, .who, .topics { grid-template-columns: 1fr; }
  .about-mini { grid-template-columns: 1fr; }
  .photo { width: 140px; }
  .nav { width: 100%; gap: .5rem 1.1rem; }
  .nav .btn { margin-left: auto; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Preços: "a partir de" + tabela */
.price-from { margin: 0 0 .2rem; font-size: 1rem; color: rgba(255,255,255,.85); }
.price-cond { margin: .5rem 0 0; font-size: .95rem; color: rgba(255,255,255,.85); }
.price-table-wrap { grid-column: 1 / -1; overflow-x: auto; margin-top: 1rem; }
.price-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 1rem; }
.price-table caption { text-align: left; font-weight: 500; padding-bottom: .8rem; }
.price-table th, .price-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.25); }
.price-table thead th { font-weight: 500; color: rgba(255,255,255,.8); }
.price-table tbody th { font-weight: 400; }
.price-table td { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
