/* ============================================================
   DOUTOR VITA — LANDING PAGE
   Tokens derivados do brand book v1.0 (doutorvita.com)
   Regra 60/30/10 · raio 8px · sem sombras
   ============================================================ */

:root {
  --off: #FAFAF7;
  --areia: #E8E5DE;
  --areia-fundo: #F2F0EA;
  --grafite: #2D2D2D;
  --grafite-claro: #6B6B6B;
  --petroleo: #3D8B8B;
  --petroleo-escuro: #2F6E6E;
  --verde: #5FA88A;
  --verde-escuro: #4E9174;
  --branco: #FFFFFF;

  --r: 8px;
  --u: 8px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --s8: 128px;

  --display: 'Hanken Grotesk', 'Hanken Grotesk Fallback', system-ui, sans-serif;
  --texto: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;

  --max: 1120px;
  --borda: 1px solid var(--areia);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--off);
  color: var(--grafite);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.pular {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 80;
  background: var(--grafite);
  color: var(--off);
  padding: 12px 16px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
  font-size: .875rem;
}

.pular:focus {
  left: 16px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s3);
}

/* ---------- tipografia ---------- */
h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

h3 {
  font-family: var(--texto);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--grafite-claro);
  line-height: 1.6;
}

.eyebrow {
  font-family: var(--texto);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--petroleo);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s2);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--petroleo);
  flex: none;
}

.eyebrow.centro {
  justify-content: center;
}

.cabeca {
  max-width: 660px;
}

.cabeca.centro {
  margin: 0 auto;
  text-align: center;
}

.cabeca .lead {
  margin-top: var(--s3);
}

/* ---------- seções ---------- */
.secao {
  padding: var(--s7) 0;
}

.secao--areia {
  background: var(--areia-fundo);
  border-top: var(--borda);
  border-bottom: var(--borda);
}

.secao--branca {
  background: var(--branco);
  border-top: var(--borda);
  border-bottom: var(--borda);
}

.secao--petroleo {
  background: var(--petroleo);
  color: var(--branco);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--texto);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--r);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn svg {
  flex: none;
}

.btn--acao {
  position: relative;
  overflow: hidden;
  background: var(--verde);
  color: var(--branco);
}

.btn--acao::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%);
  transform: translateX(-120%);
}

.btn--acao:hover {
  background: var(--verde-escuro);
}

.btn--linha {
  background: transparent;
  color: var(--grafite);
  border-color: var(--grafite);
}

.btn--linha:hover {
  background: var(--grafite);
  color: var(--off);
}

.btn--claro {
  background: var(--branco);
  color: var(--petroleo);
}

.btn--claro:hover {
  background: var(--off);
}

.btn--bloco {
  width: 100%;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--petroleo);
  outline-offset: 3px;
}

/* ---------- topo ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(8px);
  border-bottom: var(--borda);
}

.topo__interno {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s3);
  height: 72px;
}

.marca {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.marca img {
  height: 26px;
  width: auto;
}

.marca span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin: 0;
  font-size: .875rem;
  font-weight: 500;
  color: var(--grafite-claro);
}

.menu a {
  position: relative;
  text-decoration: none;
  padding: 8px 0;
  white-space: nowrap;
  border: 0;
  color: inherit;
  transition: color .18s;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--petroleo);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.menu a:hover,
.menu a[aria-current="true"] {
  color: var(--grafite);
}

.menu a:hover::after,
.menu a[aria-current="true"]::after {
  transform: scaleX(1);
}

.topo .btn {
  padding: 12px 18px;
  margin: 0;
  white-space: nowrap;
  justify-self: end;
}

.rotulo-curto {
  display: none;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  margin: 0;
  flex: none;
  justify-self: end;
  border: 1px solid var(--areia);
  border-radius: var(--r);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  color: var(--grafite);
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform .18s ease, top .18s ease, background-color .18s ease;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -5px;
}

.menu-btn span::after {
  top: 5px;
}

.topo.aberto .menu-btn span {
  background: transparent;
}

.topo.aberto .menu-btn span::before {
  top: 0;
  transform: rotate(45deg);
}

.topo.aberto .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  padding: var(--s7) 0 var(--s7);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--s6);
  align-items: center;
}

.hero .lead {
  margin-top: var(--s3);
  max-width: 52ch;
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s5);
}

.hero__nota {
  margin-top: var(--s3);
  font-size: .9375rem;
  color: var(--grafite-claro);
}

/* painel de consolidação (elemento-assinatura) */
.painel {
  background: var(--branco);
  border: var(--borda);
  border-radius: var(--r);
  padding: var(--s4);
}

.painel__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s3);
  border-bottom: var(--borda);
}

.painel__rotulo {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grafite-claro);
}

.marcador {
  width: 28px;
  height: 28px;
  border-radius: var(--r);
  background: var(--petroleo);
  color: var(--branco);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.fontes {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fonte {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: var(--borda);
  border-radius: var(--r);
  background: var(--off);
  font-size: .9375rem;
}

.fonte__ponto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--areia);
  flex: none;
  transition: background-color .4s ease;
}

.fonte__texto {
  flex: 1;
  min-width: 0;
}

.fonte__risco {
  color: var(--grafite-claro);
  text-decoration: line-through;
  text-decoration-color: #C4BFB3;
  text-decoration-thickness: 1px;
}

.fonte__destino {
  font-size: .75rem;
  font-weight: 600;
  color: var(--petroleo);
  letter-spacing: .02em;
  white-space: nowrap;
}

.painel__pe {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: var(--borda);
  font-size: .875rem;
  color: var(--grafite-claro);
}

.painel__pe strong {
  color: var(--grafite);
  font-weight: 600;
}

/* animação de consolidação */
@media (prefers-reduced-motion:no-preference) {
  .fonte {
    opacity: 0;
    transform: translateX(18px) rotate(-1.2deg);
    animation: assentar .7s cubic-bezier(.22, .9, .3, 1) forwards;
  }

  .fonte:nth-child(1) {
    animation-delay: .15s;
  }

  .fonte:nth-child(2) {
    animation-delay: .28s;
    transform: translateX(-14px) rotate(1.4deg);
  }

  .fonte:nth-child(3) {
    animation-delay: .41s;
    transform: translateX(22px) rotate(-.8deg);
  }

  .fonte:nth-child(4) {
    animation-delay: .54s;
    transform: translateX(-18px) rotate(1deg);
  }

  .fonte:nth-child(5) {
    animation-delay: .67s;
    transform: translateX(16px) rotate(-1.4deg);
  }

  .fonte .fonte__ponto {
    animation: acender .4s ease forwards;
    animation-delay: 1.1s;
  }

  @keyframes assentar {
    to {
      opacity: 1;
      transform: translateX(0) rotate(0);
    }
  }

  @keyframes acender {
    to {
      background: var(--verde);
    }
  }
}

/* ---------- dores ---------- */
#rotina {
  padding-top: 0;
}

.rotina {
  position: relative;
  min-height: min(78vh, 640px);
  overflow: hidden;
}

.rotina__foto {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--areia);
}

.rotina__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 38%;
  filter: saturate(.92) contrast(1.04);
}

.rotina__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--areia-fundo) 0%, rgba(242, 240, 234, .95) 34%, rgba(242, 240, 234, .35) 56%, transparent 74%);
}

.rotina__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(78vh, 640px);
  padding: var(--s7) var(--s5) var(--s7) max(var(--s3), calc((100% - var(--max)) / 2));
}

.rotina__copy .cabeca {
  max-width: 28rem;
}

.rotina__seguir {
  margin-top: var(--s4);
}

.rotina__seguir a {
  color: var(--petroleo);
  text-decoration: none;
  font-weight: 600;
  font-size: .9375rem;
  border-bottom: 1px solid transparent;
  transition: border-color .18s, color .18s;
}

.rotina__seguir a:hover {
  border-color: var(--petroleo);
  color: var(--petroleo-escuro);
}

.rotina__seguir a::after {
  content: " →";
}

.tres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s6);
}

.cartao {
  background: var(--branco);
  border: var(--borda);
  border-radius: var(--r);
  padding: var(--s4);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.cartao:hover {
  border-color: #D4CFC4;
}

.cartao--vazio {
  background: transparent;
}

.cartao p {
  margin-top: 12px;
  color: var(--grafite-claro);
  font-size: .9375rem;
}

.cartao__icone {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--areia-fundo);
  display: grid;
  place-items: center;
  color: var(--petroleo);
  margin-bottom: var(--s3);
  transition: background-color .18s ease;
}

.cartao:hover .cartao__icone {
  background: var(--areia);
}

/* ---------- fluxo (um dado, uma vez) ---------- */
.fluxo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s2);
  margin-top: var(--s6);
  position: relative;
}

.etapa {
  background: var(--branco);
  border: var(--borda);
  border-radius: var(--r);
  padding: var(--s3);
  position: relative;
  transition: border-color .18s ease, transform .18s ease;
}

.etapa:hover {
  border-color: #D4CFC4;
}

.etapa__ordem {
  font-family: var(--display);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--petroleo);
  letter-spacing: .06em;
}

.etapa h3 {
  margin-top: 10px;
  font-size: 1rem;
}

.etapa p {
  margin-top: 8px;
  font-size: .875rem;
  color: var(--grafite-claro);
  line-height: 1.55;
}

.etapa::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--s2) * -1);
  width: var(--s2);
  height: 1px;
  background: var(--areia);
}

.etapa:last-child::after {
  display: none;
}

.fluxo__nota {
  margin-top: var(--s4);
  padding: var(--s3) var(--s4);
  border-left: 2px solid var(--verde);
  background: var(--branco);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .9375rem;
  color: var(--grafite-claro);
}

.fluxo__nota strong {
  color: var(--grafite);
  font-weight: 600;
}

/* ---------- citação ---------- */
.secao--citacao {
  position: relative;
  isolation: isolate;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: center;
  background-color: var(--petroleo);
  background-image: url("../assets/citacao-consulta.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.secao--citacao::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(45, 45, 45, .38) 0%, rgba(47, 110, 110, .78) 100%);
}

.secao--citacao .wrap {
  position: relative;
  z-index: 1;
}

.citacao {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.citacao blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.28;
  letter-spacing: -.02em;
}

.citacao figcaption {
  margin-top: var(--s4);
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

/* ---------- recursos ---------- */
#recursos {
  position: relative;
  isolation: isolate;
  background-color: var(--off);
  background-image: url("../assets/recursos-fundo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#recursos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 250, 247, .55) 0%, rgba(250, 250, 247, .28) 45%, rgba(250, 250, 247, .62) 100%);
}

#recursos .wrap {
  position: relative;
  z-index: 1;
}

.recursos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--areia);
  border: var(--borda);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: var(--s6);
}

.recurso {
  background: rgba(255, 255, 255, .92);
  padding: var(--s4);
  transition: background-color .18s ease, transform .18s ease;
}

.recurso:hover {
  background: var(--branco);
}

.recurso__icone {
  color: var(--petroleo);
  margin-bottom: var(--s3);
}

.recurso p {
  margin-top: 10px;
  color: var(--grafite-claro);
  font-size: .9375rem;
}

/* ---------- telas internas ---------- */
.telas {
  margin-top: var(--s6);
}

.telas__abas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s3);
}

.telas__abas [role="tab"] {
  font-family: var(--texto);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 16px;
  border-radius: var(--r);
  border: 1px solid var(--areia);
  background: var(--branco);
  color: var(--grafite-claro);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.telas__abas [role="tab"]:hover {
  border-color: #D4CFC4;
  color: var(--grafite);
}

.telas__abas [role="tab"][aria-selected="true"] {
  background: var(--petroleo);
  color: var(--branco);
  border-color: var(--petroleo);
}

.janela {
  border: var(--borda);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--branco);
}

.janela__barra {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: var(--borda);
  background: var(--off);
}

.janela__pontos {
  display: flex;
  gap: 6px;
}

.janela__pontos i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--areia);
  display: block;
}

.janela__url {
  flex: 1;
  text-align: center;
  font-size: .75rem;
  font-weight: 500;
  color: var(--grafite-claro);
  letter-spacing: .04em;
}

.janela__corpo {
  background: var(--areia-fundo);
  line-height: 0;
}

.janela__corpo [role="tabpanel"] {
  height: auto;
}

.janela__corpo img {
  width: 100%;
  height: auto;
  display: block;
}

.telas__legenda {
  margin-top: var(--s3);
  font-size: .9375rem;
  color: var(--grafite-claro);
  text-align: center;
  min-height: 1.65em;
}

/* ---------- números ---------- */
.numeros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

.numero {
  padding: var(--s4);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--r);
}

.numero__valor {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}

.numero p {
  margin-top: 12px;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .86);
}

/* ---------- para quem / passos ---------- */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s6);
}

.passo {
  padding-top: var(--s3);
  border-top: 2px solid var(--grafite);
}

.passo__ordem {
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--petroleo);
  letter-spacing: .08em;
}

.passo h3 {
  margin-top: 12px;
}

.passo p {
  margin-top: 10px;
  color: var(--grafite-claro);
  font-size: .9375rem;
}

/* ---------- conversão ---------- */
.conversao {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--s6);
  align-items: start;
}

.form {
  background: var(--branco);
  border: var(--borda);
  border-radius: var(--r);
  padding: var(--s5);
}

.campos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  margin-top: var(--s4);
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.campo--largo {
  grid-column: 1 / -1;
}

.campo label {
  font-size: .875rem;
  font-weight: 500;
}

.campo input,
.campo select,
.campo textarea {
  font-family: var(--texto);
  font-size: .9375rem;
  color: var(--grafite);
  padding: 14px 14px;
  border: 1px solid var(--areia);
  border-radius: var(--r);
  background: var(--off);
  width: 100%;
  transition: border-color .18s ease;
}

.campo textarea {
  resize: vertical;
  min-height: 88px;
}

.campo input:hover,
.campo select:hover,
.campo textarea:hover {
  border-color: #D8D4CB;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  border-color: var(--petroleo);
  background: var(--branco);
}

.campo input::placeholder,
.campo textarea::placeholder {
  color: #A8A49B;
}

.campo.erro input,
.campo.erro select {
  border-color: #B4544A;
}

.campo__erro {
  font-size: .8125rem;
  color: #B4544A;
  display: none;
}

.campo.erro .campo__erro {
  display: block;
}

.form__pe {
  margin-top: var(--s3);
  font-size: .8125rem;
  color: var(--grafite-claro);
  text-align: center;
}

.form__pe a {
  color: var(--petroleo);
  text-decoration: none;
}

.form__pe a:hover {
  border-bottom: 1px solid var(--petroleo);
}

.form .btn {
  margin-top: var(--s4);
}

.sucesso {
  display: none;
  text-align: center;
  padding: var(--s4) 0;
}

.sucesso__marca {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  display: grid;
  place-items: center;
  margin: 0 auto var(--s3);
}

.sucesso h3 {
  font-size: 1.375rem;
  font-family: var(--display);
  letter-spacing: -.02em;
}

.sucesso p {
  margin-top: 12px;
  color: var(--grafite-claro);
  font-size: .9375rem;
}

.sucesso .btn {
  margin-top: var(--s4);
}

.form.enviado .form__conteudo {
  display: none;
}

.form.enviado .sucesso {
  display: block;
}

.lateral {
  position: sticky;
  top: 100px;
}

.lateral__zap {
  background: var(--branco);
  border: var(--borda);
  border-radius: var(--r);
  padding: var(--s4);
}

.lateral__zap h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.lateral__zap p {
  margin-top: 12px;
  color: var(--grafite-claro);
  font-size: .9375rem;
}

.lateral__zap .btn {
  margin-top: var(--s3);
}

.lista {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lista li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9375rem;
  color: var(--grafite-claro);
}

.lista svg {
  color: var(--verde);
  flex: none;
  margin-top: 3px;
}

/* ---------- perguntas ---------- */
.perguntas {
  margin-top: var(--s6);
  border-top: var(--borda);
}

.pergunta {
  border-bottom: var(--borda);
}

.pergunta summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: color .18s ease;
}

.pergunta summary:hover {
  color: var(--petroleo-escuro);
}

.pergunta summary::-webkit-details-marker {
  display: none;
}

.pergunta summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--petroleo);
  line-height: 1;
  flex: none;
}

.pergunta[open] summary::after {
  content: "–";
}

.pergunta p {
  padding: 0 var(--s6) var(--s3) 0;
  color: var(--grafite-claro);
  font-size: .9375rem;
  max-width: 70ch;
}

/* ---------- rodapé ---------- */
.rodape {
  background: var(--grafite);
  color: var(--off);
  padding: var(--s6) 0 var(--s4);
}

.rodape__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}

.rodape img {
  height: 24px;
  width: auto;
}

.rodape__tag {
  margin-top: var(--s3);
  color: rgba(250, 250, 247, .62);
  font-size: .9375rem;
  max-width: 34ch;
}

.rodape__empresa {
  margin-top: var(--s3);
  font-size: .8125rem;
  line-height: 1.55;
  color: rgba(250, 250, 247, .5);
  max-width: 38ch;
}

.rodape h4 {
  margin: 0 0 var(--s2);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, .5);
  font-weight: 600;
  font-family: var(--texto);
}

.rodape ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rodape a {
  color: rgba(250, 250, 247, .82);
  text-decoration: none;
  font-size: .9375rem;
}

.rodape a:hover {
  color: var(--off);
}

.rodape__base {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid rgba(250, 250, 247, .14);
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  font-size: .8125rem;
  color: rgba(250, 250, 247, .5);
}

/* ---------- botão flutuante ---------- */
.flutuante {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--verde);
  color: var(--branco);
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  transition: background-color .18s ease, opacity .25s ease, transform .25s ease;
}

.flutuante:hover {
  background: var(--verde-escuro);
}

.flutuante.oculto {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  animation: none;
}

.flutuante.oculto::before,
.flutuante.oculto::after {
  animation: none;
  opacity: 0;
}

/* ---------- revelação e movimento ---------- */
@media (prefers-reduced-motion:no-preference) {
  .revelar {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, .9, .3, 1);
  }

  .revelar.visivel {
    opacity: 1;
    transform: none;
  }

  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero__acoes,
  .hero__nota,
  .hero .painel {
    animation: entrar .85s cubic-bezier(.22, .9, .3, 1) both;
  }

  .hero .eyebrow {
    animation-delay: .04s;
  }

  .hero h1 {
    animation-delay: .12s;
  }

  .hero .lead {
    animation-delay: .22s;
  }

  .hero__acoes {
    animation-delay: .32s;
  }

  .hero__nota {
    animation-delay: .42s;
  }

  .hero .painel {
    animation-delay: .18s;
  }

  .hero .btn--acao::after {
    animation: brilho 3.6s ease-in-out 1.15s 1;
  }

  .btn--acao:hover {
    transform: translateY(-1px);
  }

  .cartao:hover,
  .etapa:hover,
  .recurso:hover {
    transform: translateY(-3px);
  }

  .revelar.visivel .eyebrow::before {
    animation: linha .55s ease both;
  }

  .rotina__foto img {
    animation: lente 22s ease-in-out infinite alternate;
  }

  .janela__corpo [role="tabpanel"]:not([hidden]) {
    animation: entrar-tela .4s ease;
  }

  .citacao.visivel blockquote {
    animation: entrar .8s cubic-bezier(.22, .9, .3, 1) both;
  }

  .flutuante {
    animation: zap-pulso 2.4s ease-out infinite;
  }

  .flutuante::before,
  .flutuante::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1.5px solid rgba(95, 168, 138, .65);
  }

  .flutuante::before {
    animation: zap-onda 2.4s ease-out infinite;
  }

  .flutuante::after {
    animation: zap-onda 2.4s ease-out infinite .45s;
  }

  .flutuante:hover,
  .flutuante:focus-visible {
    animation: none;
    transform: scale(1.05);
    background: var(--verde-escuro);
  }

  .flutuante:hover::before,
  .flutuante:hover::after,
  .flutuante:focus-visible::before,
  .flutuante:focus-visible::after {
    animation: none;
    opacity: 0;
  }

  @keyframes entrar {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes entrar-tela {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes brilho {
    from {
      transform: translateX(-120%);
    }

    to {
      transform: translateX(120%);
    }
  }

  @keyframes linha {
    from {
      width: 0;
      opacity: 0;
    }

    to {
      width: 24px;
      opacity: 1;
    }
  }

  @keyframes lente {
    from {
      transform: scale(1);
    }

    to {
      transform: scale(1.07) translate(-1.5%, 1%);
    }
  }

  @keyframes zap-pulso {

    0%,
    100% {
      transform: scale(1);
    }

    14% {
      transform: scale(1.07);
    }

    28% {
      transform: scale(1);
    }
  }

  @keyframes zap-onda {
    0% {
      transform: scale(1);
      opacity: .65;
    }

    70% {
      transform: scale(1.42);
      opacity: 0;
    }

    100% {
      transform: scale(1.42);
      opacity: 0;
    }
  }
}

/* ---------- responsivo ---------- */
@media (max-width:1000px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  #rotina {
    padding-top: var(--s6);
  }

  .rotina {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .rotina__copy {
    min-height: 0;
    padding: 0 max(var(--s3), calc((100% - var(--max)) / 2)) var(--s5);
  }

  .rotina__copy .cabeca {
    max-width: 660px;
  }

  .rotina__foto {
    position: relative;
    inset: auto;
    aspect-ratio: 16/10;
    min-height: 240px;
    margin: 0 max(var(--s3), calc((100% - var(--max)) / 2));
    border-radius: var(--r);
  }

  .rotina__foto::after {
    background: none;
  }

  .conversao {
    grid-template-columns: 1fr;
  }

  .lateral {
    position: static;
  }

  .fluxo {
    grid-template-columns: repeat(2, 1fr);
  }

  .etapa::after {
    display: none;
  }

  .recursos {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-btn {
    display: grid;
  }

  .topo__interno {
    display: flex;
    gap: var(--s2);
  }

  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    z-index: 40;
    margin: 0;
    padding: 12px max(var(--s3), calc((100% - var(--max)) / 2)) var(--s4);
    background: rgba(250, 250, 247, .97);
    backdrop-filter: blur(8px);
    border-bottom: var(--borda);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .topo.aberto .menu {
    display: flex;
  }

  .menu a {
    padding: 14px 0;
    border-bottom: var(--borda);
    font-size: 1rem;
  }

  .menu a::after {
    display: none;
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .menu-btn {
    margin-left: auto;
  }

  .topo .btn {
    margin-left: 0;
  }
}

@media (max-width:560px) {
  .rotulo-longo {
    display: none;
  }

  .rotulo-curto {
    display: inline;
  }

  .marca span,
  .marca img {
    font-size: 1.125rem;
  }
}

@media (max-width:720px) {
  body {
    font-size: 16px;
  }

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

  .hero {
    padding: var(--s5) 0 var(--s6);
  }

  .tres,
  .passos,
  .numeros,
  .fluxo,
  .recursos {
    grid-template-columns: 1fr;
  }

  .campos {
    grid-template-columns: 1fr;
  }

  .form {
    padding: var(--s4);
  }

  .rodape__grid {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .hero__acoes .btn {
    flex: 1 1 100%;
  }

  .flutuante {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    padding: 14px 18px;
  }

  .pergunta p {
    padding-right: 0;
  }

  .rotina__foto {
    aspect-ratio: 4/3;
  }

  .secao--citacao {
    background-attachment: scroll;
    min-height: 0;
    padding-top: var(--s7);
    padding-bottom: var(--s7);
  }

  .telas__abas [role="tab"] {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
}

@media (hover:none) {
  .secao--citacao {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion:reduce) {
  .secao--citacao {
    background-attachment: scroll;
  }
}
