/* Mentoria Genesis. Mobile primeiro: os estilos base são do celular, e as media queries ampliam para telas maiores. */

:root {
  --marinho: #022340;
  --frio: #f4f9ff;
  --bege: #bfbab0;
  --petroleo: #233762;
  --marrom: #734c29;
  --chocolate: #402217;
  --areia: #e7e4de;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mao: "Homemade Apple", "Segoe Script", cursive;

  --gutter: 1.25rem;
  --largura: 72rem;
  --texto: 36rem;
  --secao: 4.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--frio);
  color: var(--marinho);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

h1 em, h2 em, h3 em { font-style: italic; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.pular {
  position: absolute;
  left: -999px;
  top: 0;
  padding: .75rem 1rem;
  background: var(--frio);
  color: var(--marinho);
  z-index: 100;
}
.pular:focus { left: 0; }

/* Estrutura */

.secao { padding: var(--secao) 0; }

.miolo {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.titulo {
  font-size: clamp(2rem, 8.4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  max-width: 18ch;
}

.texto { max-width: var(--texto); }
.texto p { font-size: 1.0625rem; }

.escura { background: var(--marinho); color: var(--frio); }
.petroleo { background: var(--petroleo); color: var(--frio); }
.areia { background: var(--areia); }

/* Anotação manuscrita com seta desenhada à mão */

.anotacao {
  display: inline-flex;
  align-items: flex-end;
  gap: .4rem;
  font-family: var(--mao);
  font-size: .95rem;
  line-height: 1.6;
  color: var(--marrom);
  margin-bottom: 1.1rem;
  transform: rotate(-2deg);
  transform-origin: left bottom;
}
.escura .anotacao,
.chocolate .anotacao { color: var(--bege); }

.anotacao svg {
  width: 2.6rem;
  height: 2.2rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: -1.1rem;
}

/* Frases inteiras na letra manuscrita, para dar leveza. Sem a inclinação nem a seta da anotação. */

.manuscrito {
  font-family: var(--mao);
  font-weight: 400;
  font-style: normal;
  font-size: .95rem;
  line-height: 2;
  letter-spacing: 0;
}
p.manuscrito,
blockquote.manuscrito { color: var(--marrom); }
.escura p.manuscrito,
.petroleo p.manuscrito { color: var(--bege); }
.texto p.manuscrito { font-size: .95rem; }
.rotulo.manuscrito { font-size: 1rem; margin-bottom: .5rem; }
.citacao-curta blockquote.manuscrito { font-size: .95rem; line-height: 2; }
.fechamento-whats .manuscrito { color: var(--bege); margin-right: .25rem; }

/* Botões */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--marinho);
  background: var(--marinho);
  color: var(--frio);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.botao:hover { background: var(--petroleo); border-color: var(--petroleo); }

.escura .botao,
.chocolate .botao,
.hero .botao {
  background: var(--frio);
  border-color: var(--frio);
  color: var(--marinho);
}
.escura .botao:hover,
.chocolate .botao:hover,
.hero .botao:hover { background: transparent; color: var(--frio); }

.acao { margin-top: 2.5rem; }
.acao .botao { width: 100%; }
.acao-nota {
  margin-top: .85rem;
  font-size: .875rem;
  opacity: .8;
}

.link-discreto {
  font-size: .95rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

/* S1. Hero */

.hero {
  position: relative;
  background: var(--marinho);
  color: var(--frio);
  overflow: hidden;
}

.hero-foto {
  position: relative;
  height: 40svh;
  min-height: 15rem;
}
.hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 68%;
}
.hero-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 35, 64, .45) 0%, rgba(2, 35, 64, 0) 22%, rgba(2, 35, 64, 0) 62%, var(--marinho) 100%);
}

.hero-conteudo {
  position: relative;
  z-index: 1;
  margin-top: -3.5rem;
  padding: 0 var(--gutter) 3rem;
  max-width: var(--largura);
  width: 100%;
  margin: 0 auto;
}

.hero-nome {
  font-size: .9rem;
  letter-spacing: .04em;
  margin-bottom: 1rem;
  opacity: .9;
}

.hero h1 {
  font-size: clamp(2.3rem, 10vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  max-width: 14ch;
}

.hero-sub {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: .95rem;
  font-weight: 300;
}

.hero .acao { margin-top: 1.5rem; }

.hero-autoridade {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 249, 255, .25);
  font-size: .85rem;
  max-width: 34rem;
  opacity: .85;
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-sub, .hero .acao {
    animation: surgir .9s cubic-bezier(.2, .7, .2, 1) both;
  }
  .hero-sub { animation-delay: .15s; }
  .hero .acao { animation-delay: .3s; }
}
@keyframes surgir {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* S2. Problema */

.problema-foto {
  margin-top: 2.5rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.problema-foto img { width: 100%; height: 100%; object-fit: cover; }

.problema .texto { margin-top: 1.75rem; }

.texto .problema-fecho {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
  margin-top: 1.75rem;
}

/* S3. Dois pontos de partida */

.partida-intro { margin-top: 1.5rem; }

.partidas {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.partida {
  padding: 2rem 1.5rem 2.25rem;
}
.partida-a { background: var(--areia); }
.partida-b { background: var(--petroleo); color: var(--frio); }

.partida h3 {
  font-size: 1.75rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.partida-chegada {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid currentColor;
  font-weight: 500;
}


.citacao-curta {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.1rem;
  align-items: start;
  margin: 3rem 0 0;
  max-width: 40rem;
}
.citacao-curta img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}
.citacao-curta blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
}
.citacao-curta figcaption,
.assinatura {
  margin-top: .75rem;
  font-size: .85rem;
  font-style: normal;
  font-family: var(--sans);
}

/* S4. 12 semanas: as fases ligadas por um traço feito à mão */

.semanas .texto { margin-top: 1.75rem; }

.fases {
  --recuo: 2.75rem;
  --eixo: 1rem;
  position: relative;
  margin-top: 3.5rem;
  padding-left: var(--recuo);
}
.fases-lista { list-style: none; }

.fio {
  position: absolute;
  left: calc(var(--eixo) - .7rem);
  top: 1.2rem;
  width: 1.4rem;
  height: calc(100% - 3.2rem);
  overflow: visible;
  fill: none;
  stroke: var(--bege);
  stroke-width: 1.3;
  stroke-linecap: round;
}
.fio path { vector-effect: non-scaling-stroke; }

@media (prefers-reduced-motion: no-preference) {
  .js .fio {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 2.4s cubic-bezier(.45, .05, .3, 1);
  }
  .js .fases.visivel .fio { clip-path: inset(0 0 0 0); }
}

.fase {
  position: relative;
  padding-bottom: 3.25rem;
}
.fase:last-child { padding-bottom: 0; }

.fase::before {
  content: "";
  position: absolute;
  left: calc(var(--eixo) - var(--recuo) - .35rem);
  top: .85rem;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: var(--frio);
}

.fase-numero {
  font-size: .85rem;
  color: var(--bege);
  margin-bottom: .35rem;
}

.fase h3 {
  font-size: 1.9rem;
  line-height: 1.15;
}

.fase > p { max-width: 40rem; }

.fase-pilares {
  margin: .6rem 0 1.1rem;
  font-size: .9rem;
  color: var(--bege);
}

.fase-1 h3 { font-size: 2.6rem; }
.fase-1 .anotacao { margin: .5rem 0 .75rem; }

.caminhos {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}
.caminhos li {
  padding: .1rem 0 .1rem 1rem;
  border-left: 2px solid var(--bege);
  font-size: .95rem;
}
.caminhos li + li { border-left-color: rgba(244, 249, 255, .45); }
.caminhos strong { font-weight: 500; }

/* S5. Prova */

.prova-intro { margin-top: 1.75rem; }

.caso {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.5rem;
}

.video {
  position: relative;
  margin: 0;
}
.video {
  width: 100%;
  max-width: 18rem;
}
.video-quadro {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--marinho);
  overflow: hidden;
}
.video-quadro img,
.video-quadro iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: 50% 25%;
}
.video-play {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1.25rem .75rem .9rem;
  border: 0;
  border-radius: 999px;
  background: var(--frio);
  color: var(--marinho);
  font: 500 .95rem var(--sans);
  cursor: pointer;
}
.video-play span[aria-hidden] {
  width: 0;
  height: 0;
  border-left: .65rem solid currentColor;
  border-top: .4rem solid transparent;
  border-bottom: .4rem solid transparent;
  margin-left: .2rem;
}
.video figcaption { margin-top: .75rem; font-size: .85rem; }

.mudou-titulo {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.mudou {
  list-style: none;
  counter-reset: produto;
}
.mudou li {
  padding: 1rem 0;
  border-top: 1px solid var(--bege);
}
.mudou li:last-child { border-bottom: 1px solid var(--bege); }
.mudou strong { font-weight: 500; }

.trechos { margin-top: 2rem; }
.trechos blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
}


/* S6. Entregáveis */

.entregaveis-lista {
  list-style: none;
  margin-top: 3rem;
  display: grid;
  gap: 3.5rem;
}

.entregavel h3 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.entregavel p { max-width: var(--texto); }

.entregavel-imagem { margin-top: 1.75rem; }

/* Celulares desenhados em CSS para os prints do Notion e do guia */
.celulares {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 9.5rem));
  justify-content: center;
  gap: .75rem;
}
.celular {
  min-width: 0;
  padding: .35rem;
  border-radius: 1.4rem;
  background: var(--marinho);
}
.celular img {
  width: 100%;
  aspect-ratio: 400 / 867;
  object-fit: cover;
  object-position: top;
  border-radius: 1.1rem;
}
.celulares .celular:nth-child(2) { transform: translateY(1.5rem); }

.brandbook-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.brandbook-grade img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.brandbook-grade .principal { grid-column: 1 / -1; }

.drive-print {
  max-width: 22rem;
  border: 1px solid var(--bege);
}

/* Bônus */

.chocolate { background: var(--chocolate); color: var(--frio); }

.bonus {
  margin-top: 4.5rem;
  padding: 3rem var(--gutter) 3.25rem;
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
}

.bonus h3.bonus-titulo {
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  line-height: 1.12;
  max-width: 16ch;
}

.bonus-itens {
  list-style: none;
  display: grid;
  gap: 3rem;
  margin-top: 2.5rem;
}

.bonus-item h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin: 0 0 .75rem;
}

.bonus-item .celular {
  background: var(--frio);
  max-width: 10rem;
  margin-top: 1.75rem;
}

.pack-faixa {
  display: flex;
  gap: .75rem;
  margin: 2.5rem calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.pack-faixa > img,
.pack-faixa > .video {
  flex: none;
  width: auto;
  height: 20rem;
  max-width: none;
  scroll-snap-align: start;
}
.pack-faixa > img { aspect-ratio: 4 / 5; object-fit: cover; }
.pack-faixa > .video { aspect-ratio: 9 / 16; }
.pack-faixa .video-quadro { height: 100%; }

.frase-pack {
  margin: 2rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
}

/* S7. Quem conduz */

.conduz { display: grid; gap: 2.25rem; }

.conduz-foto img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
}

.rotulo {
  font-size: .9rem;
  color: var(--marrom);
  margin-bottom: .75rem;
}

.conduz .texto { margin-top: 1.5rem; }

/* S9. Seleção */

.passos {
  list-style: none;
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}
.passo {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
}
.passo-numero {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--bege);
}
.passo h3 {
  font-size: 1.4rem;
  margin-bottom: .4rem;
}

.selecao-intro { margin-top: 1.5rem; }

/* S10. FAQ */

.perguntas { margin-top: 2.25rem; max-width: 46rem; }

.pergunta { border-top: 1px solid var(--bege); }
.pergunta:last-child { border-bottom: 1px solid var(--bege); }

.pergunta summary {
  display: grid;
  grid-template-columns: 1fr 1.25rem;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.pergunta summary::-webkit-details-marker { display: none; }

.pergunta summary::after {
  content: "";
  justify-self: end;
  width: .65rem;
  height: .65rem;
  margin-top: .4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.pergunta[open] summary::after { transform: rotate(-135deg); margin-top: .7rem; }

.pergunta .resposta {
  padding: 0 0 1.4rem;
  max-width: 40rem;
}

.faq-whatsapp { margin-top: 2rem; }

/* S11. Fechamento */

.fechamento {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}
.fechamento-foto {
  position: absolute;
  inset: 0;
}
.fechamento-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.fechamento-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 35, 64, .82);
}
.fechamento .miolo { position: relative; }
.fechamento .texto { margin-top: 1.5rem; }
.fechamento-whats { margin-top: 1.5rem; }

/* Rodapé */

.rodape {
  background: var(--marinho);
  color: var(--frio);
  padding: 2.5rem 0 6rem;
  font-size: .85rem;
  border-top: 1px solid rgba(244, 249, 255, .15);
}
.rodape p { margin-bottom: .6rem; opacity: .85; }
.rodape .rodape-marca {
  font-family: var(--serif);
  font-size: 1.1rem;
  opacity: 1;
}

/* Aviso de cookies */

.cookies {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--frio);
  color: var(--marinho);
  border: 1px solid var(--bege);
  font-size: .85rem;
  line-height: 1.5;
  box-shadow: 0 6px 24px rgba(2, 35, 64, .18);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; }
.cookies button {
  flex: none;
  padding: .55rem 1.1rem;
  border: 1px solid var(--marinho);
  border-radius: 999px;
  background: var(--marinho);
  color: var(--frio);
  font: 500 .85rem var(--sans);
  cursor: pointer;
}

/* Páginas simples: obrigada, em breve e privacidade */

.simples {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.simples main { flex: 1; display: flex; align-items: center; }
.simples .secao { width: 100%; }
.simples .titulo { margin-top: .25rem; }
.simples .texto { margin-top: 1.5rem; }
.simples .acao .botao { width: auto; }
.simples-topo {
  padding: 1.25rem var(--gutter);
  max-width: var(--largura);
  margin: 0 auto;
  width: 100%;
}
.simples-topo a {
  font-family: var(--serif);
  font-size: 1.05rem;
  text-decoration: none;
}
.simples-rodape {
  padding: 2rem var(--gutter) 2.5rem;
  max-width: var(--largura);
  margin: 0 auto;
  width: 100%;
  font-size: .9rem;
}

.politica h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 .75rem;
}
.politica ul { padding-left: 1.2rem; margin-bottom: 1em; }
.politica li { margin-bottom: .4rem; }

/* Telas maiores */

@media (min-width: 48rem) {
  :root {
    --gutter: 2.5rem;
    --secao: 6.5rem;
  }

  .acao .botao { width: auto; }

  .partidas { grid-template-columns: 1fr 1fr; }
  .partida { padding: 2.5rem 2.25rem 2.75rem; }

  .fases { --recuo: 4rem; --eixo: 1.6rem; }
  .caminhos { grid-template-columns: 1fr 1fr; gap: 2rem; }


  .bonus {
    margin-left: 0;
    margin-right: 0;
    padding: 4rem 3.5rem;
  }
  .bonus-itens { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .pack-faixa { margin-left: -3.5rem; margin-right: -3.5rem; padding-left: 3.5rem; padding-right: 3.5rem; }


  .passos { grid-template-columns: repeat(3, 1fr); }
  .passo { grid-template-columns: 1fr; gap: .75rem; }

  .cookies {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 30rem;
  }
}

@media (min-width: 64rem) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    min-height: 100svh;
  }
  .hero-foto {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    min-height: 100svh;
  }
  .hero-foto img { position: absolute; inset: 0; object-position: 50% 50%; }
  .hero-foto::after { display: none; }
  .hero-conteudo {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
    padding: 9rem 3.5rem 4rem max(var(--gutter), calc((100vw - var(--largura)) / 2 + var(--gutter)));
  }

  .problema-grade {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4.5rem;
    align-items: start;
  }
  .problema-foto { margin-top: 0; aspect-ratio: 4 / 5; position: sticky; top: 2rem; }

  .caso { grid-template-columns: 18rem 1fr; gap: 4.5rem; align-items: start; }

  .entregavel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
  }
  .entregavel-imagem { margin-top: 0; }
  .entregavel.so-texto { grid-template-columns: 1fr; }

  .conduz { grid-template-columns: .85fr 1fr; gap: 5rem; align-items: center; }
}
