/* ==========================================================================
   CT PULSE LIFE — folha de estilo principal
   Paleta e tipografia derivadas do manual de identidade visual da marca.
   #171717 (base)  ·  #D6A85A (ouro)  ·  #EAE3DB (osso)
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* cores da marca */
  --ink:        #171717;
  --ink-deep:   #0E0E0D;
  --ink-raise:  #1E1D1B;
  --gold:       #D6A85A;
  --gold-soft:  #E7C88F;
  --gold-deep:  #8E6E38;
  --bone:       #EAE3DB;

  /* papéis */
  --text:       #EAE3DB;
  --text-mute:  rgba(234, 227, 219, 0.60);
  --line:       rgba(234, 227, 219, 0.12);
  --line-gold:  rgba(214, 168, 90, 0.30);

  /* claro (seção creme) */
  --text-dark:  #171717;
  --mute-dark:  #5C564E;
  --line-dark:  rgba(23, 23, 23, 0.14);

  /* tipografia */
  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'Sora', 'Segoe UI', system-ui, sans-serif;

  /* medidas */
  --maxw:   1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --sect:   clamp(4.5rem, 11vw, 7.5rem);
  --header: 64px;
  --cut:    14px;     /* chanfro herdado dos cantos cortados do logotipo */
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--ink); }

/* --- 3. Tipografia ------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 112;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 8.6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 7vw, 3.25rem); }
h3 { font-size: clamp(1.1rem, 4.4vw, 1.4rem); letter-spacing: 0; }

p { max-width: 62ch; }

/* traço fino e espaçado — releitura do "LIFE" (fonte Expansiva) do logotipo */
.wide {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 125;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--gold);
}

.lead {
  font-size: clamp(1.02rem, 3.4vw, 1.18rem);
  color: var(--text-mute);
}

/* --- 4. Estrutura -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sect); position: relative; }

.section--light {
  background: var(--bone);
  color: var(--text-dark);
}
.section--light .lead,
.section--light p { color: var(--mute-dark); }
.section--light .wide { color: var(--gold-deep); }

.section--deep { background: var(--ink-deep); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.skip:focus { left: 0; }

/* granulado sutil sobre toda a página */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  transform: translateZ(0);   /* camada isolada: não repinta durante a rolagem */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- 5. Botões ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.9rem 1.6rem;
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 108;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
  /* chanfro: mesmo corte diagonal das letras do logotipo */
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
}

.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--primary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink); }

.btn--ghost { color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--ghost:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--gold); }

.section--light .btn--ghost { color: var(--text-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
.section--light .btn--ghost:hover { color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-deep); }

.btn svg { width: 18px; height: 18px; flex: none; }

/* --- 6. Cabeçalho -------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120; /* acima do menu, para o logo e o botão de fechar continuarem visíveis */
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.header.is-stuck {
  background: rgba(14, 14, 13, 0.95);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

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

.nav { display: none; }

.nav a {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.22s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s;
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__cta { display: none; }

/* botão hambúrguer */
.burger {
  width: 46px; height: 46px;
  display: grid;
  place-content: center;
  gap: 6px;
  margin-right: -8px;
  position: relative;
  z-index: 120;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.32s, opacity 0.2s;
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* menu em tela cheia (mobile) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink-deep);
  padding: calc(var(--header) + 2rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1), visibility 0.45s;
}
.menu.is-open { transform: translateY(0); visibility: visible; }

.menu__list li + li { border-top: 1px solid var(--line); }

.menu__list a {
  display: block;
  padding: 1rem 0;
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 115;
  font-weight: 700;
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1.1;
}
.menu__list a:hover { color: var(--gold); }

.menu__foot { display: grid; gap: 1rem; }
.menu__foot .btn { width: 100%; }
.menu__meta { font-size: 0.82rem; color: var(--text-mute); }

body.is-locked { overflow: hidden; }

/* --- 7. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header) + 2rem);
  padding-bottom: 8.5rem; /* reserva a faixa da linha de pulso no rodapé do hero */
  background: var(--ink-deep);
  overflow: hidden;
  isolation: isolate;
}

/* brilho dourado + textura geométrica */
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -32%;
  width: min(1500px, 190vw);
  aspect-ratio: 1 / 0.72;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 168, 90, 0.30), rgba(214, 168, 90, 0.07) 55%, transparent 72%);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
  background-image: repeating-linear-gradient(115deg, rgba(234, 227, 219, 0.05) 0 1px, transparent 1px 76px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 78%);
}

.hero__seal {
  position: absolute;
  z-index: -1;
  top: 38%;
  left: 50%;
  width: min(70vw, 520px);
  transform: translate(-50%, -50%);
  opacity: 0.038;
  pointer-events: none;
}

.hero__inner { display: grid; gap: 1.6rem; justify-items: start; }
.hero__inner > .wide { font-size: 0.62rem; letter-spacing: 0.28em; }

.hero__logo {
  width: min(80vw, 430px);
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
}

.hero h1 { max-width: 15ch; }

.hero .lead { max-width: 46ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
}
.hero__actions .btn { flex: 1 1 250px; }

.hero__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  padding-bottom: 1.4rem;
}
.hero__foot .wide { font-size: 0.62rem; letter-spacing: 0.42em; color: var(--text-mute); }

/* --- 8. Linha de pulso (elemento-assinatura) ----------------------------- */
.pulseline {
  --beat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='64' viewBox='0 0 600 64'%3E%3Cpath d='M0 32 H250 l12 -8 l10 8 h20 l8 6 l10 -34 l10 44 l8 -16 h30 l14 -10 l14 10 H600' fill='none' stroke='%23D6A85A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  position: relative;
  width: 100%;
  height: 52px;
}
/* linha base, estática */
.pulseline::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--beat);
  background-repeat: repeat-x;
  background-position: center;
  background-size: 600px 52px;
  opacity: 0.28;
}
/* Varredura luminosa.
   A máscara com o desenho do ECG fica PARADA no elemento de fora; só a faixa
   de luz de dentro se move, via transform. Animar mask-position obriga o
   navegador a redesenhar a linha inteira a cada quadro — era o maior gargalo. */
.pulseline__scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: var(--beat);
  mask-image: var(--beat);
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 600px 52px;
  mask-size: 600px 52px;
}
.pulseline__scan i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 45%, #fff 50%, var(--gold-soft) 55%, transparent);
  transform: translate3d(-130%, 0, 0);
  will-change: transform;
}
.js .hero.is-live .pulseline__scan i { animation: scan 5.5s linear 1.6s infinite; }
@keyframes scan {
  from { transform: translate3d(-130%, 0, 0); }
  to   { transform: translate3d(390%, 0, 0); }
}

/* --- 9. Faixa "FORÇA PULSO FOCO" ---------------------------------------- */
.ticker {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  padding-block: 0.9rem;
  border-block: 1px solid var(--gold-deep);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: slide 26s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}
.ticker__group span {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 120;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group svg { width: 26px; height: 12px; flex: none; opacity: 0.65; }
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* --- 10. Cabeçalhos de seção -------------------------------------------- */
.head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 6vw, 3.75rem); }
.head p { max-width: 56ch; }

/* --- 11. Metodologia (seção creme) --------------------------------------- */
.about { position: relative; overflow: hidden; }
.about__seal {
  position: absolute;
  right: -14%;
  top: 8%;
  width: min(62vw, 460px);
  opacity: 0.05;
  pointer-events: none;
}
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); position: relative; }

.about__text { display: grid; gap: 1.25rem; }
.about__text p { font-size: 1.02rem; }

.about__sign {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--mute-dark);
}
.about__sign b {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 112;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}

/* decomposição do nome CT / PULSE / LIFE */
.name { display: grid; }
.name div {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line-dark);
}
.name div:last-child { border-bottom: 1px solid var(--line-dark); }
.name dt {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 122;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.name dd { margin: 0; font-size: 0.95rem; color: var(--mute-dark); }

/* --- 12. Pilares --------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--ink);
  padding: clamp(1.5rem, 5vw, 2.4rem) clamp(1.1rem, 4vw, 1.8rem);
  display: grid;
  gap: 0.8rem;
  align-content: start;
  transition: background-color 0.3s;
}
.pillar:hover { background: var(--ink-raise); }
/* altura óptica igual para os quatro ícones, que têm proporções diferentes */
.pillar img { height: 36px; width: auto; max-width: 76px; object-fit: contain; }
.pillar h3 { font-variation-settings: 'wdth' 120; letter-spacing: 0.06em; }
.pillar p { font-size: 0.85rem; line-height: 1.62; color: var(--text-mute); }

@media (min-width: 700px) {
  .pillar img { height: 42px; max-width: 88px; }
  .pillar p { font-size: 0.9rem; line-height: 1.7; }
}

/* --- 13. Treinos --------------------------------------------------------- */
.training { display: grid; }
.training li {
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.5rem, 5vw, 2rem) 0 clamp(1.5rem, 5vw, 2rem) clamp(1rem, 4vw, 1.75rem);
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.3s;
}
.training li:last-child { border-bottom: 1px solid var(--line); }
.training li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 0;
  background: var(--gold);
  transform: translateY(-50%);
  transition: height 0.35s ease;
}
.training li:hover::before { height: 58%; }
.training h3 { font-variation-settings: 'wdth' 118; }
.training p { font-size: 0.94rem; color: var(--text-mute); }

/* --- 14. Como começar ---------------------------------------------------- */
.steps { display: grid; gap: 0; position: relative; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.25rem;
  padding-block: 1.6rem;
  position: relative;
}
.step__num {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 125;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-gold);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  z-index: 1;
}
.step h3 { align-self: center; font-variation-settings: 'wdth' 115; }
.step p { grid-column: 2; font-size: 0.94rem; color: var(--text-mute); margin-top: 0.5rem; }

/* fio vertical ligando as etapas */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 1.6rem;
  bottom: -1.6rem;
  width: 1px;
  background: var(--line-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s ease;
}
.steps.is-drawn .step:not(:last-child)::before { transform: scaleY(1); }
.steps.is-drawn .step:nth-child(2)::before { transition-delay: 0.25s; }
.steps.is-drawn .step:nth-child(3)::before { transition-delay: 0.5s; }

/* --- 15. Para quem é ----------------------------------------------------- */
.audience { display: grid; border-top: 1px solid var(--line-dark); }
.audience li {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.9rem;
  align-items: start;
}
.audience svg { width: 22px; height: 22px; margin-top: 4px; color: var(--gold-deep); }
.audience b {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 112;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  display: block;
}
.audience span { font-size: 0.92rem; color: var(--mute-dark); }

/* --- 16. Planos ---------------------------------------------------------- */
.plans { display: grid; gap: 1.25rem; }
.plan {
  background: var(--ink);
  padding: clamp(1.6rem, 5vw, 2.25rem);
  display: grid;
  gap: 1.1rem;
  align-content: start;
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
}
.plan--featured {
  background: linear-gradient(180deg, rgba(214, 168, 90, 0.13), rgba(214, 168, 90, 0.02) 45%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}
.plan__tag {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 120;
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.plan h3 { font-variation-settings: 'wdth' 118; font-size: clamp(1.35rem, 5.5vw, 1.6rem); }
.plan > p { font-size: 0.94rem; color: var(--text-mute); }
.plan ul { display: grid; gap: 0.6rem; }
.plan li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-mute);
  line-height: 1.55;
}
.plan li svg { width: 16px; height: 16px; margin-top: 5px; color: var(--gold); }
.plan .btn { width: 100%; margin-top: 0.4rem; }

.plans__note { margin-top: 1.5rem; font-size: 0.84rem; color: var(--text-mute); }

/* --- 17. FAQ ------------------------------------------------------------- */
.faq { display: grid; }
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 3rem 1.3rem 0;
  position: relative;
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 110;
  font-weight: 600;
  font-size: clamp(0.98rem, 3.8vw, 1.1rem);
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  background: var(--gold);
  transition: transform 0.3s;
}
.faq summary::before { width: 16px; height: 2px; transform: translateY(-50%); }
.faq summary::after  { width: 2px; height: 16px; right: 11px; transform: translateY(-50%); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq details p { padding-bottom: 1.4rem; font-size: 0.94rem; color: var(--text-mute); }

/* --- 18. Contato --------------------------------------------------------- */
.contact__grid { display: grid; gap: clamp(2.5rem, 7vw, 4rem); }

.contact__cta { display: grid; gap: 1.4rem; justify-items: start; }
.contact__cta .btn { width: 100%; }

.info { display: grid; gap: 1.6rem; }
.info__item { display: grid; gap: 0.35rem; }
.info__item .wide { font-size: 0.62rem; letter-spacing: 0.3em; color: var(--text-mute); }
.info__item a, .info__item p {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 108;
  font-weight: 500;
  font-size: 1rem;
  text-transform: none;
  line-height: 1.5;
  color: var(--text);
}
.info__item a { transition: color 0.22s; }
.info__item a:hover { color: var(--gold); }

.socials { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.socials a {
  width: 48px; height: 48px;
  display: grid;
  place-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.25s, box-shadow 0.25s;
}
.socials a:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.socials svg { width: 20px; height: 20px; }

/* --- 19. Rodapé ---------------------------------------------------------- */
.footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 8vw, 4.5rem) 2rem;
  text-align: center;
}
.footer__logo { width: min(62vw, 240px); margin-inline: auto; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  margin-block: 2.25rem 2rem;
}
.footer__nav a {
  font-family: var(--f-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.22s;
}
.footer__nav a:hover { color: var(--gold); }
.footer__legal { font-size: 0.76rem; color: rgba(234, 227, 219, 0.38); line-height: 1.9; max-width: 44ch; margin-inline: auto; }
.footer__legal a { color: rgba(234, 227, 219, 0.55); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--gold); }

/* --- 20. Botão flutuante do WhatsApp ------------------------------------- */
.whats {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s;
}
.whats.is-visible { transform: scale(1); }
.whats:hover { background: var(--gold-soft); }
.whats svg { width: 30px; height: 30px; }

/* --- 21. Desktop --------------------------------------------------------- */
@media (min-width: 700px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan { grid-template-rows: auto auto auto 1fr auto; }
  .audience { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 3.5rem); }
  .audience li { padding: 1.5rem 0; }
  .hero__actions .btn { flex: 0 1 auto; }
  .contact__cta .btn { width: auto; min-width: 280px; }
}

@media (min-width: 900px) {
  :root { --header: 78px; }

  .header.is-stuck {
    background: rgba(14, 14, 13, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .burger { display: none; }
  .menu { display: none; }
  .nav { display: flex; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
  .header__cta { display: inline-flex; }
  .header__logo img { height: 30px; }

  .about__grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 2.5rem;
  }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .step { padding-block: 0; align-content: start; grid-template-columns: 1fr; gap: 1rem; }
  .step p { grid-column: 1; margin-top: 0; }
  .step:not(:last-child)::before {
    left: 44px; right: -1.5rem; top: 22px; bottom: auto;
    width: auto; height: 1px;
    transform: scaleX(0);
    transform-origin: left;
  }
  .steps.is-drawn .step:not(:last-child)::before { transform: scaleX(1); }

  .training li { grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: baseline; }
  .training p { max-width: 60ch; }

  .hero__logo { width: min(52vw, 520px); }
  .pulseline, .pulseline::after { background-size: 760px 52px; }
}

/* ==========================================================================
   23. ANIMAÇÕES
   Tudo protegido pela classe .js no <html>: se o JavaScript falhar, o site
   aparece inteiro e estático, nunca em branco.
   ========================================================================== */

/* --- 23.1 Revelação por máscara ------------------------------------------
   Sobe recortando de baixo para cima, como uma cortina, em vez do
   "fade + translate" genérico. Usado nos títulos e em poucos blocos. */
.js .rise {
  clip-path: inset(-15% 0 100% 0);
  transform: translateY(0.22em);
  opacity: 0;
}
.js .rise.is-in {
  clip-path: inset(-15% 0 -15% 0);
  transform: none;
  opacity: 1;
  transition:
    clip-path 1s cubic-bezier(0.22, 0.75, 0.2, 1) var(--d, 0s),
    transform 1s cubic-bezier(0.22, 0.75, 0.2, 1) var(--d, 0s),
    opacity 0.5s ease var(--d, 0s);
}

/* --- 23.2 Sequência de abertura do hero ---------------------------------
   O único momento coreografado da página: a marca chega, o texto sobe
   atrás e a linha de pulso se desenha por último. */
.js .hero__inner > * { opacity: 0; }
.js .hero.is-live .hero__inner > * {
  animation: heroIn 0.95s cubic-bezier(0.22, 0.75, 0.2, 1) forwards;
}
.js .hero.is-live .hero__inner > .wide      { animation-delay: 0.15s; }
.js .hero.is-live .hero__logo               { animation-delay: 0.28s; animation-name: heroLogo; animation-duration: 1.1s; }
.js .hero.is-live .hero__inner > h1         { animation-delay: 0.62s; }
.js .hero.is-live .hero__inner > .lead      { animation-delay: 0.82s; }
.js .hero.is-live .hero__inner > .hero__actions { animation-delay: 0.96s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
/* a marca entra com um leve "pulso" de escala, não deslizando */
@keyframes heroLogo {
  0%   { opacity: 0; transform: scale(0.955); }
  60%  { opacity: 1; transform: scale(1.008); }
  100% { opacity: 1; transform: scale(1); }
}

/* rodapé do hero entra depois de tudo */
.js .hero__foot { opacity: 0; }
.js .hero.is-live .hero__foot {
  animation: heroIn 1.2s ease 1.15s forwards;
}

/* --- 23.3 Batimento ------------------------------------------------------
   O brilho dourado pulsa em sincronia com a luz que percorre o ECG
   (mesmos 5,5s da animação "scan"). É o coração da página. */
.js .hero::before {
  animation: heartbeat 5.5s ease-in-out infinite;
  will-change: opacity;   /* promove a camada: o gradiente nao e repintado */
}
/* Só opacidade. Escalar um gradiente radial gigante obriga o navegador a
   redesenhá-lo a cada quadro, e era uma das causas do travamento. */
@keyframes heartbeat {
  0%, 34%   { opacity: 0.62; }
  42%       { opacity: 1;    }
  47%       { opacity: 0.72; }
  53%       { opacity: 0.93; }
  62%, 100% { opacity: 0.62; }
}

/* a linha de pulso se desenha uma vez, depois entra em loop de varredura */
.js .pulseline { opacity: 0; }
.js .hero.is-live .pulseline { animation: lineIn 1.4s ease 1.2s forwards; }
@keyframes lineIn {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* --- 23.4 Selo girando ---------------------------------------------------
   O selo circular tem texto ao redor: girar é o que ele pede. Bem devagar,
   quase imperceptível, só dá vida ao fundo. */
.js .hero__seal  { animation: sealSpin 120s linear infinite; }
.js .about__seal { animation: sealSpinFlat 150s linear infinite reverse; }

@keyframes sealSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes sealSpinFlat {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- 23.5 Barra de progresso da leitura --------------------------------- */
.progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.3s;
}
.header.is-stuck .progress span { opacity: 1; }

/* --- 23.6 Brilho que atravessa os botões principais --------------------- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.btn--primary:hover::after,
.btn--primary:focus-visible::after {
  animation: sheen 0.75s ease forwards;
}
@keyframes sheen {
  from { left: -60%; opacity: 1; }
  to   { left: 115%; opacity: 1; }
}

/* --- 23.7 Pilares ------------------------------------------------------- */
.pillar img { transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1); }
.pillar:hover img { transform: translateY(-4px) scale(1.06); }

/* --- 23.8 Modalidades e planos ------------------------------------------ */
.training li { transition: background-color 0.35s, padding-left 0.35s; }
.training li:hover { background: rgba(234, 227, 219, 0.022); padding-left: clamp(1.5rem, 5vw, 2.4rem); }

.plan { transition: transform 0.4s cubic-bezier(0.22, 0.75, 0.2, 1), box-shadow 0.4s; }
@media (hover: hover) {
  .plan:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-gold); }
  .plan--featured:hover { box-shadow: inset 0 0 0 1px var(--gold); }
}

/* --- 23.9 FAQ ----------------------------------------------------------- */
.js .faq details[open] p { animation: faqOpen 0.42s cubic-bezier(0.22, 0.75, 0.2, 1) both; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.faq summary { transition: color 0.25s; }
.faq summary:hover { color: var(--gold); }

/* --- 23.10 Botão do WhatsApp com batimento ------------------------------
   Anel que expande de tempo em tempo. Chama o olho para a ação principal
   sem piscar nem tremer. */
.whats::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(214, 168, 90, 0.55);
  pointer-events: none;
}
.js .whats.is-visible::before { animation: ring 4s ease-out 1.5s infinite; }
@keyframes ring {
  0%       { box-shadow: 0 0 0 0 rgba(214, 168, 90, 0.5); }
  22%      { box-shadow: 0 0 0 16px rgba(214, 168, 90, 0); }
  100%     { box-shadow: 0 0 0 0 rgba(214, 168, 90, 0); }
}
.whats { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s; }
.whats.is-visible:hover { transform: scale(1.08); }

/* --- 22. Movimento reduzido ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .steps .step::before { transform: none !important; }
  .ticker__track { animation: none; }
}

/* ==========================================================================
   24. FOTOGRAFIA
   As fotos entram integradas ao sistema visual: recorte diagonal igual ao
   chanfro dos botões, dessaturadas e veladas para o texto nunca perder
   legibilidade. No celular viram fundo do bloco inteiro.
   ========================================================================== */

/* --- 24.1 Foto do hero --------------------------------------------------- */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 18%;
  /* sem filter(): a foto ja e cinza no arquivo, filtrar custa cada quadro */
  transform: translateZ(0);   /* camada propria, para a parallax nao repintar */
}
/* véu escuro: no celular a foto fica atrás de todo o texto */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,13,0.86) 0%, rgba(14,14,13,0.62) 40%, rgba(14,14,13,0.92) 82%, var(--ink-deep) 100%),
    linear-gradient(90deg, rgba(14,14,13,0.86) 0%, rgba(14,14,13,0.34) 68%, rgba(14,14,13,0.55) 100%);
}

/* --- 24.2 Fundos de seção ------------------------------------------------ */
.section--photo { position: relative; isolation: isolate; overflow: hidden; }

.section__bg { position: absolute; inset: 0; z-index: -1; }
.section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.20;
}
.section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--ink-deep) 0%, rgba(14,14,13,0.55) 30%, rgba(14,14,13,0.55) 70%, var(--ink-deep) 100%);
}
.section--photo .container { position: relative; z-index: 1; }

/* --- 24.3 Hero em duas colunas no desktop -------------------------------
   A foto ocupa a direita com a mesma diagonal do chanfro do logotipo, e
   se dissolve no fundo em vez de terminar num retângulo duro. */
@media (min-width: 900px) {
  .hero__media {
    left: auto;
    right: 0;
    width: 54%;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero__photo { object-position: 42% 16%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--ink-deep) 0%, rgba(14,14,13,0.88) 20%, rgba(14,14,13,0.10) 62%, rgba(14,14,13,0.45) 100%),
      linear-gradient(180deg, rgba(14,14,13,0.60) 0%, transparent 26%, transparent 68%, rgba(14,14,13,0.85) 100%);
  }
  /* fio dourado na diagonal, ligando a foto ao resto do layout */
  .hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(103.5deg, transparent calc(16% - 1px), var(--line-gold) 16%, transparent calc(16% + 1px));
  }

  /* o texto para antes da foto começar */
  .hero__inner > * { max-width: 545px; }
  .hero__actions { max-width: 680px; }
  .hero__logo { width: min(40vw, 430px); }
  .hero__seal { opacity: 0.03; left: 34%; }
}

@media (min-width: 1300px) {
  .hero__media { width: 50%; }
}

/* --- 25. Garantias de segurança das animações ---------------------------
   Se o usuário pediu menos movimento, nada fica escondido nem se mexe. */
.js .hero.no-anim .hero__inner > *,
.js .hero.no-anim .hero__foot,
.js .hero.no-anim .pulseline { opacity: 1; animation: none; }
.js .hero.no-anim .pulseline { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .js .rise { clip-path: none; transform: none; opacity: 1; }
  .js .hero__inner > *, .js .hero__foot { opacity: 1; animation: none; }
  .js .pulseline { opacity: 1; animation: none; }
  .js .pulseline__scan { display: none; }
  .js .hero::before, .js .hero__seal, .js .about__seal,
  .js .whats.is-visible::before { animation: none; }
  .progress span { display: none; }
  .hero__media { transform: none !important; }
}
