/* ============================================================
   PÁGINA P01 · camada desta landing sobre landing.css + otimizacao.css
   (cópias da florianopolis-checkout-v2). Só componentes novos da copy v2
   e ajustes de encaixe. Cores: só tokens da página de referência.
   ============================================================ */
:root {
  /* tríade · uma cor por parte, todas já existentes na página de referência */
  --pil-ciencia:   var(--mf-light);    /* #5bb8e0 · azul claro da marca */
  --pil-pratica:   #14b8a6;            /* acento teal da praça (html[data-accent="teal"]) */
  --pil-aplicacao: var(--sand-accent); /* #e8832a · laranja do TOUR */
}

/* ---------- 1 · TOPO ---------- */
#hero .vagas-track { text-transform: uppercase; }
#hero .hero-mid h1 { font-size: clamp(1.28rem, 5.6vw, 1.7rem); line-height: 1.14; }
.hero-sub {
  margin-top: clamp(10px, 1.6svh, 14px); max-width: 62ch; margin-inline: auto;
  font-size: clamp(.86rem, 3.5vw, 1rem); line-height: 1.5; color: var(--text-secondary);
}
#hero .hero-benefits strong { color: var(--c-accent); font-weight: 800; }
/* v3b: Ciência, Prática e Aplicação no título com a cor de destaque da praça
   (a mesma dos rótulos dos 3 itens logo abaixo); a classe .hl vem do landing.css */
#hero h1 .hl { color: var(--c-accent); }
/* a copy v2 tem os 3 itens no topo: eles não somem em tela baixa */
@media (max-width: 880px) and (max-height: 700px) { .hero-benefits { display: flex; } }
@media (max-width: 880px) {
  /* v3b: sem o botão, o conteúdo volta a ficar centrado na altura (antes ia para o alto para o botão caber) */
  #hero .hero-mid { display: contents; }
  #hero .hero-content { display: flex; flex-direction: column; }
  /* v3b: o topo não tem mais botão nem preço (pedido do Nilton); a ordem segue a do HTML */
  #hero .hero-kicker { order: 1; }
  #hero .hero-mid h1 { order: 2; }
  #hero .hero-sub { order: 3; }
  #hero .hero-anchor { order: 4; }
  #hero .hero-meta { order: 5; }
  #hero .hero-benefits { order: 7; margin-top: 18px; }
  #hero .hero-inner { padding-bottom: clamp(84px, 11svh, 100px); }
}
@media (min-width: 881px) {
  .hero-sub { font-size: 1.06rem; max-width: 760px; }
  #hero .hero-mid h1 { font-size: clamp(2rem, 2.9vw, 2.45rem); max-width: 980px; }
  #hero { min-height: min(100svh, 900px); }
  #hero .hero-inner { padding-bottom: 124px; }
}
#hero .hero-benefits li { align-items: flex-start; }
#hero .hero-benefits .hero-benefit-ico { margin-top: 2px; }

/* ---------- 2 · A IDEIA CENTRAL ---------- */
.ideia-corpo { max-width: 64ch; margin-inline: auto; display: grid; gap: 16px; }
.ideia-corpo p { font-size: clamp(1rem, 2vw, 1.1rem); color: var(--text-secondary); line-height: 1.7; }
.destaque {
  position: relative; max-width: 680px; margin: clamp(30px, 5vw, 44px) auto 0;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: clamp(20px, 3.5vw, 28px) clamp(20px, 3.5vw, 30px);
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-left: 3px solid var(--c-accent); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--accent-glow-soft);
}
.destaque-gota { width: 20px; margin-top: 4px; color: var(--c-accent); }
.destaque-gota svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 8px var(--c-accent-glow)); }
.destaque p {
  font-family: var(--font-display); font-weight: 700; color: var(--text-heading);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.45;
}

/* ---------- 3 · PRA QUEM É ---------- */
.prof-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 680px) { .prof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .prof-grid { grid-template-columns: repeat(4, 1fr); } }
.prof-card {
  position: relative; padding: 22px 20px 22px;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.prof-card::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--c-accent), transparent);
}
.prof-card h3 { font-size: 1.05rem; line-height: 1.3; color: var(--text-heading); }
.prof-card p { margin-top: 8px; font-size: .95rem; line-height: 1.6; color: var(--text-secondary); }
#para-quem .vo-ident { margin-top: clamp(36px, 6vw, 56px); margin-bottom: 0; }
#para-quem .vo-ident-title { max-width: 18ch; }

/* ---------- 4 · A TRÍADE ---------- */
.triade-topo {
  display: grid; gap: clamp(28px, 5vw, 48px); align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (min-width: 900px) { .triade-topo { grid-template-columns: 0.9fr 1.1fr; } }
.triade { margin: 0; display: flex; justify-content: center; }
.triade-svg { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.tri-c circle { stroke-width: 2; fill-opacity: .2; }
.tri-c { mix-blend-mode: screen; }
.tri-c--ciencia circle   { fill: var(--pil-ciencia);   stroke: var(--pil-ciencia); }
.tri-c--pratica circle   { fill: var(--pil-pratica);   stroke: var(--pil-pratica); }
.tri-c--aplicacao circle { fill: var(--pil-aplicacao); stroke: var(--pil-aplicacao); }
.tri-l text {
  font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: .01em;
  fill: var(--text-heading);
}
.tri-flow circle { fill: var(--mf-night); fill-opacity: .72; stroke: var(--text-heading); stroke-opacity: .7; stroke-width: 1.5; }
.tri-flow text { font-family: var(--font-display); font-weight: 900; font-size: 29px; fill: var(--text-heading); letter-spacing: -.01em; }

/* entrada: os três círculos se aproximam até se sobrepor; o Flow acende no fim.
   Sem JS ou com movimento reduzido: o desenho já aparece no estado final. */
html.js .tri-c, html.js .tri-l, html.js .tri-flow {
  transition: transform 1.25s var(--ease-out), opacity .9s var(--ease-out);
  transform-box: view-box;
}
html.js .triade:not(.is-in) .tri-c--ciencia,   html.js .triade:not(.is-in) .tri-l--ciencia   { transform: translate(0, -54px); opacity: .25; }
html.js .triade:not(.is-in) .tri-c--pratica,   html.js .triade:not(.is-in) .tri-l--pratica   { transform: translate(-48px, 30px); opacity: .25; }
html.js .triade:not(.is-in) .tri-c--aplicacao, html.js .triade:not(.is-in) .tri-l--aplicacao { transform: translate(48px, 30px); opacity: .25; }
html.js .triade:not(.is-in) .tri-flow { opacity: 0; transform: scale(.7); }
html.js .tri-flow { transform-origin: 200px 198px; transition-delay: .85s; }
@media (prefers-reduced-motion: reduce) {
  html.js .tri-c, html.js .tri-l, html.js .tri-flow { transition: none; }
  html.js .triade:not(.is-in) .tri-c, html.js .triade:not(.is-in) .tri-l,
  html.js .triade:not(.is-in) .tri-flow { transform: none; opacity: 1; }
}

.tri-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .tri-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.tri-card {
  --pil: var(--pil-ciencia);
  position: relative; padding: 26px 22px 24px;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--pil); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.tri-card--pratica   { --pil: var(--pil-pratica); }
.tri-card--aplicacao { --pil: var(--pil-aplicacao); }
.tri-card-marca {
  display: block; width: 14px; height: 14px; border-radius: 50%; margin-bottom: 14px;
  border: 2px solid var(--pil); box-shadow: 0 0 12px var(--pil);
}
.tri-card h3 { font-size: clamp(1.08rem, 2vw, 1.2rem); line-height: 1.3; color: var(--text-heading); }
.tri-card p { margin-top: 12px; font-size: .96rem; line-height: 1.65; color: var(--text-secondary); }
.tri-card .tri-apoio {
  padding-left: 12px; border-left: 2px solid var(--pil);
  color: var(--text-primary); font-weight: 600; line-height: 1.55;
}
.tri-citacao { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-glass); }
.tri-citacao p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--text-heading); }
#vivencia .vo-title { max-width: 22ch; }

/* ---------- 5 · OS DOIS DIAS ---------- */
.selo {
  --pil: var(--pil-ciencia);
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 800; font-size: .64rem; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sand-heading);
  background: #fff; border: 1px solid var(--sand-line-2); border-radius: var(--radius-xs);
  padding: 5px 9px 5px 7px;
}
.selo::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pil); flex: none; }
.selo--ciencia   { --pil: var(--mf-mobility); }
.selo--pratica   { --pil: var(--pil-pratica); }
.selo--aplicacao { --pil: var(--pil-aplicacao); }
.selo-legenda { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sec-head .selo-legenda { margin-top: 18px; }
.dia-steps .selo { font-size: .62rem; color: var(--sand-heading); line-height: 1; margin-bottom: 8px; }
.dia-steps li.tag--ciencia::after   { background: var(--mf-mobility);  border-color: var(--mf-mobility); box-shadow: 0 0 0 3px rgba(25,131,177,.14); }
.dia-steps li.tag--pratica::after   { background: var(--pil-pratica);  border-color: var(--pil-pratica); box-shadow: 0 0 0 3px rgba(20,184,166,.14); }
.dia-steps li.tag--aplicacao::after { background: var(--pil-aplicacao); border-color: var(--pil-aplicacao); box-shadow: 0 0 0 3px rgba(232,131,42,.14); }
.dia-head > div { min-width: 0; }
.dia-head .dia-sub { margin: 0 0 6px; line-height: 1.45; }
.dia-head .dia-title { display: block; }
.dia-almoco { display: block; margin: -2px 0 6px; font-size: .84rem; color: var(--sand-second); }

/* ---------- 6 · CTA DO MEIO ---------- */
.cta-meio-titulo { font-size: var(--fs-h2); line-height: 1.2; }
.cta-meio-apoio { margin-top: 14px; font-size: var(--fs-lead); color: var(--text-secondary); }
.cta-meio-acao { margin-top: 28px; display: flex; justify-content: center; }
@media (max-width: 600px) { .cta-meio-acao .cta { width: 100%; justify-content: space-between; } }

/* ---------- 7 · CARROSSEL DE PRINTS ---------- */
#depoimentos { overflow: hidden; }
#depoimentos > .mf-container { position: relative; z-index: 1; }
.carrossel { position: relative; z-index: 1; }
.carrossel-trilho {
  --borda: max(var(--container-pad), calc((100% - var(--container-max)) / 2 + var(--container-pad)));
  display: flex; align-items: center; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--borda);
  padding: 6px var(--borda) 14px;
  scrollbar-width: none;
}
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel-trilho:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: var(--radius-md); }
.carrossel-item {
  flex: 0 0 auto; width: min(calc(100vw - 2 * var(--container-pad) - 28px), 340px); margin: 0;
  scroll-snap-align: center;
  padding: 10px; border-radius: var(--radius-lg);
  background: var(--mf-deep); border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}
.carrossel-item img {
  width: 100%; height: auto; max-height: min(62svh, 580px);
  object-fit: contain; border-radius: var(--radius-md);
}
@media (min-width: 761px) { .carrossel-item { scroll-snap-align: start; } }
/* prints muito altos (mensagem emendada de dois prints): teto maior para o texto não encolher */
.carrossel-item--alto img { max-height: min(86svh, 760px); }
.carrossel-controles { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.carrossel-seta {
  display: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
  color: var(--text-heading); background: var(--surface-glass); border: 1px solid var(--border-card);
  transition: background var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.carrossel-seta svg { width: 20px; height: 20px; }
.carrossel-seta:hover:not(:disabled) { background: var(--mf-mobility-a15); }
.carrossel-seta:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (min-width: 761px) { .carrossel-seta { display: inline-flex; } }
.carrossel-pontos { display: flex; align-items: center; gap: 2px; }
.carrossel-pontos button {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.carrossel-pontos button::before {
  content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--mf-fog); opacity: .55;
  transition: width var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.carrossel-pontos button[aria-current="true"]::before { width: 20px; background: var(--c-accent); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .carrossel-trilho { scroll-behavior: auto; } }

/* ---------- 9 · O QUE LEVAR ---------- */
.prep-texto { margin-top: 14px; font-size: .97rem; line-height: 1.6; color: var(--sand-ink); }
.prep-texto::first-letter { text-transform: none; }

/* ---------- 10 · O QUE VOCÊ RECEBE ---------- */
.rec-vitrine-grid--um { grid-template-columns: 1fr !important; }
@media (min-width: 900px) {
  #investimento .rec-palco.rec-palco--tres { grid-template-columns: repeat(3, 1fr); }
}
/* um bônus só: foto e texto lado a lado, sem a caixa alta da galeria de 3 */
@media (min-width: 760px) {
  #investimento .rec-vitrine-grid--um .rec-peca--bonus {
    display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: center;
  }
  #investimento .rec-vitrine-grid--um .rec-shot { aspect-ratio: 16 / 10; margin: 0; }
  #investimento .rec-vitrine-grid--um h3 { font-size: 1.25rem; }
  #investimento .rec-vitrine-grid--um .rec-desc { font-size: .97rem; }
}

/* ---------- 14 · RODAPÉ ---------- */
.footer-social { align-items: center; }
.footer-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-accent); opacity: .8; }
