/* =========================================================
   Renato Fonseca — Landing Page
   Identidade: verde oliva + sálvia sobre off-white, areia e creme,
   com acentos em marrom terroso
   Tipografia: Instrument Serif (títulos e logo) + Manrope (texto)
   Medidas em px/rem — sem clamp() e sem em
   ========================================================= */

:root {
  /* Verdes */
  --olive: #3f4938; /* verde oliva profundo: títulos, botões, menu */
  --sage: #7c846f; /* verde sálvia: elementos gráficos e detalhes */

  /* Tons claros */
  --sand: #d8cdb9; /* areia quente: contornos e divisórias */
  --cream: #eee8dd; /* creme: fundo alternativo, cards e hovers */
  --ivory: #f6f3ec; /* off-white quente: fundo principal */

  /* Acento e texto */
  --brown: #8a7059; /* marrom terroso: botões, destaques e acentos */
  --brown-dark: #75604c; /* hover dos botões */
  --ink: #30322d; /* grafite quente: texto */
  --gray: #5c5e56; /* textos de apoio, abaixo dos títulos */
  --line: rgba(48, 50, 45, 0.14); /* divisórias e contornos */

  /* Tipografia */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: 48px; /* respiro lateral do site todo */
  --radius: 10px;
  --header-h: 88px;
  --wrap: 1200px;
  --section-y: 120px;
  --panel-pad-y: 96px;
  --panel-pad-x: 64px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1;
  text-transform: uppercase;
  padding: 11px 36px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}
.btn--primary {
  background: var(--brown);
  color: var(--ivory);
}
.btn--primary:hover {
  background: var(--brown-dark);
}

/* versão clara, para os painéis verdes */
.btn--light {
  background: var(--ivory);
  color: var(--brown);
}
.btn--light:hover {
  background: var(--cream);
}
/* só contorno, para ações secundárias */
.btn--outline {
  border: 1px solid var(--brown);
  background: none;
  color: var(--brown);
}
.btn--outline:hover {
  background: var(--cream);
}
.btn--outline i {
  font-size: 20px;
  line-height: 1;
}

.btn--lg {
  font-size: 14px;
  padding: 18px 34px;
}
/* versão compacta, para o header */
.btn--sm {
  height: 36px;
  gap: 8px;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 1.4px;
}

.ico-wa {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

/* =========================================================
   HEADER
   ========================================================= */
/* header estático: rola junto com a página, sem fundo próprio */
.site-header {
  position: relative;
  z-index: 50;
}
/* três colunas: links à esquerda, monograma no centro, links à direita.
   As laterais têm a mesma largura (1fr), então o logo fica no centro exato */
.header-bar {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

/* --- Monograma RF (SVG sem fundo, em marrom) --- */
.brand {
  display: block;
  flex: none;
}
.brand__mark {
  width: auto;
  height: 54px;
}

/* --- Navegação: caixa alta espaçada, como etiquetas --- */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav--right {
  justify-content: flex-end;
}
.nav__link {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--olive);
  transition: color 0.2s ease;
}
.nav__link:hover {
  color: var(--brown);
}

/* =========================================================
   HERO
   ========================================================= */
/* texto à esquerda e, à direita, o Renato sobre um círculo com o ambiente */
.hero {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

/* --- Foto --- */
/* a largura é o diâmetro do círculo; o ::before reserva, acima dele, o
   espaço da cabeça que sai por cima */
.hero__figure {
  --head: 16%; /* quanto a foto passa do topo do círculo */
  width: min(100%, 520px);
  margin: 0 auto;
}
.hero__figure::before {
  content: "";
  display: block;
  padding-top: var(--head);
}
.hero__disc {
  position: relative;
  aspect-ratio: 1;
}
/* ambiente ao fundo, recortado em círculo */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 50%;
  background: var(--cream);
}
/* marca d'água: o monograma por cima do fundo e por trás do Renato.
   O anel do logo fica rente à borda do círculo: ele ocupa ~96% do SVG e
   não está exatamente no centro dele, daí as medidas e o deslocamento */
.hero__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 103.7%;
  max-width: none;
  height: 104.4%;
  transform: translate(-49.86%, -50.48%);
  opacity: 0.2;
  pointer-events: none;
}
/* área de recorte do Renato: o quadrado do círculo mais a faixa da cabeça.
   A máscara soma um retângulo (do topo até o meio do círculo) com o próprio
   círculo: a cabeça sai por cima e as pernas acompanham a curva de baixo */
.hero__cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(var(--head) * -1);
  -webkit-mask-image:
    linear-gradient(#000, #000),
    radial-gradient(circle closest-side, #000 calc(100% - 1px), transparent);
  mask-image:
    linear-gradient(#000, #000),
    radial-gradient(circle closest-side, #000 calc(100% - 1px), transparent);
  /* 116% de altura: a faixa da cabeça (16) + meio círculo (50) = 56,9%;
     o quadrado do círculo = 86,21% */
  -webkit-mask-size:
    100% 56.9%,
    100% 86.21%;
  mask-size:
    100% 56.9%,
    100% 86.21%;
  -webkit-mask-position:
    top,
    bottom;
  mask-position:
    top,
    bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Renato recortado, apoiado na base e ocupando a altura toda do recorte */
.hero__photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
}

/* --- Caixinhas de quote --- */
/* flutuam sobre a borda do círculo: uma no alto à direita (nome e CRP) e
   outra embaixo à esquerda (frase) */
.hero__quote {
  position: absolute;
  z-index: 2;
  padding: 16px 20px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(48, 50, 45, 0.12);
}
.hero__quote--id {
  top: 9%;
  right: -9%;
  white-space: nowrap;
}
.hero__quote--phrase {
  bottom: 11%;
  left: -12%;
  width: 236px;
}
.hero__quote-name {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
  color: var(--olive);
}
.hero__quote-crp {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
}
.hero__quote-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.25;
  color: var(--olive);
}
/* trecho em destaque: negrito em marrom terroso */
.hero__quote-text strong {
  font-weight: 700;
  color: var(--brown);
}

/* Desktop: o hero ocupa a primeira dobra e o círculo cresce até onde a
   altura da tela deixa, com a cabeça sempre abaixo dos itens do menu */
@media (min-width: 1025px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding-bottom: 24px;
  }
  .hero__figure {
    width: min(100%, 680px, calc((100svh - var(--header-h) - 24px) / 1.16));
    min-width: 340px;
  }
}

/* --- Conteúdo --- */
.hero__content {
  justify-self: start;
  width: 100%;
  max-width: 620px;
  padding: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--brown);
}
/* mesmo .eyebrow das seções, só mais próximo do h1 */
.hero__eyebrow {
  margin-bottom: 10px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 62px;
  line-height: 1.06;
  letter-spacing: -0.4px;
  color: var(--olive);
  text-wrap: balance;
}

/* palavra em destaque: itálico em marrom terroso */
.hl {
  font-style: italic;
  color: var(--brown); /* mesma cor do eyebrow */
  white-space: nowrap;
}

.hero__text {
  margin-top: 18px;
  max-width: 540px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray);
}
/* palavras-chave em negrito e verde no texto abaixo do título */
.hero__text strong {
  font-weight: 700;
  color: var(--olive);
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 34px;
}

/* =========================================================
   ANIMAÇÃO DE ENTRADA
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}
.reveal.d1 {
  --d: 0.08s;
}
.reveal.d2 {
  --d: 0.16s;
}
.reveal.d3 {
  --d: 0.24s;
}

.hero__figure {
  animation: fade 1.1s ease 0.1s both;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

/* Notebooks menores */
@media (max-width: 1180px) {
  .header-bar {
    gap: 20px;
  }
  .nav {
    gap: 26px;
  }
  .nav__link {
    font-size: 11px;
    letter-spacing: 1.6px;
  }
  .btn {
    padding-inline: 24px;
  }

  .hero {
    gap: 32px;
  }
  .hero__title {
    font-size: 50px;
  }
  .hero__text {
    margin-top: 16px;
    font-size: 17px;
  }
  .hero__actions {
    margin-top: 32px;
  }

  /* menos sobra nas laterais do círculo: as caixinhas recuam */
  .hero__quote--id {
    right: -3%;
  }
  .hero__quote--phrase {
    left: -5%;
    width: 220px;
  }
  .hero__quote-text {
    font-size: 18px;
  }
}

/* Tablets: o hero empilha */
@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  /* sem espaço para os links: fica só o monograma, centralizado */
  .nav {
    display: none;
  }
  .header-bar {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .brand__mark {
    height: 48px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 0; /* no empilhado o texto vem primeiro e já tem respiro */
  }
  /* texto primeiro, foto depois */
  .hero__content {
    max-width: 640px;
    padding: 36px 0 12px;
  }
}

/* Celulares */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --header-h: 68px;
  }

  .brand__mark {
    height: 42px;
  }

  .hero__content {
    padding: 24px 0 28px;
    text-align: center;
  }
  .hero__title {
    font-size: 36px;
    line-height: 1.08;
  }
  .hero__text {
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }
  .hero__actions {
    margin-top: 28px;
  }
  .hero__actions .btn {
    width: 100%;
  }

  /* as caixinhas ficam dentro do respiro lateral e encolhem */
  .hero__quote {
    padding: 12px 14px;
  }
  .hero__quote--id {
    top: 6%;
    right: -8px;
  }
  .hero__quote--phrase {
    bottom: 7%;
    left: -8px;
    width: 172px;
  }
  .hero__quote-name {
    font-size: 19px;
  }
  .hero__quote-crp {
    font-size: 10px;
    letter-spacing: 1.6px;
  }
  .hero__quote-text {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 32px;
  }
}

/* =========================================================
   ELEMENTOS COMUNS DAS SEÇÕES
   ========================================================= */
.section-head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.3px;
  color: var(--olive);
  text-wrap: balance;
}

.section-text {
  margin-top: 24px;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
}
.section-text + .section-text {
  margin-top: 18px;
}
/* palavras-chave em negrito e verde, como no hero */
.section-text strong {
  font-weight: 700;
  color: var(--olive);
}

/* =========================================================
   PARA QUEM É
   ========================================================= */
.audience {
  padding: var(--section-y) var(--gutter);
}
.audience__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}
.audience .section-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.audience__actions {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

/* --- Grade de dores --- */
/* bloco único: o fundo da grade aparece no gap de 1px e vira a divisória */
.pains {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--sand);
  overflow: hidden;
}
.pain {
  padding: 38px 34px 40px;
  background: var(--cream);
}
.pain__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--brown);
}
.pain__title {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.2;
  color: var(--olive);
}
.pain__text {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
}

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.method {
  padding: 0 var(--gutter) var(--section-y);
}
.method__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

/* --- Foto --- */
.method__figure {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}
.method__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center; /* mantém o Renato no centro do recorte */
}

.method__actions {
  margin-top: 38px;
  display: flex;
}

/* =========================================================
   BENEFÍCIOS
   ========================================================= */
/* painel verde com cantos arredondados */
.gains {
  padding: 0 var(--gutter) var(--section-y);
}
.gains__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--panel-pad-y) var(--panel-pad-x);
  border-radius: var(--radius);
  background: var(--olive);
  color: var(--ivory);
}
/* no painel verde os textos ficam claros e o eyebrow, areia */
.gains .eyebrow {
  color: var(--sand);
}
.gains .section-title {
  color: var(--ivory);
}
/* no painel verde o destaque fica em areia */
.gains .hl,
.cta .hl {
  color: var(--sand);
}

.gains__list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gain {
  padding: 32px 30px 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 243, 236, 0.22);
  background: rgba(246, 243, 236, 0.05);
}
.gain__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--olive);
  font-size: 26px;
  line-height: 1;
}
.gain__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.2;
}
.gain__text {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.86;
}

.gains__actions {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   SOBRE MIM
   ========================================================= */
.about {
  padding: 0 var(--gutter) var(--section-y);
}
.about__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.about__actions {
  margin-top: 38px;
  display: flex;
}

/* --- Foto --- */
.about__figure {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}
.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

/* --- Diferenciais: faixa de cinco colunas abaixo do texto e da foto --- */
.facts {
  max-width: var(--wrap);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
/* versão de três colunas, abaixo do "Como funciona" */
.facts--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fact {
  padding-bottom: 26px;
  border-bottom: 2px solid var(--sand);
}
.fact__icon {
  display: block;
  color: var(--brown);
  font-size: 30px;
  line-height: 1;
}
.fact__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--olive);
}
.fact__text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: 0 var(--gutter) var(--section-y);
}
.faq__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 80px;
}
.faq__intro {
  position: sticky;
  top: 40px;
}
.faq__actions {
  margin-top: 38px;
  display: flex;
}

/* --- Acordeão --- */
.faq__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease;
}
.faq__item:hover,
.faq__item.is-open {
  border-color: var(--sand);
  background: rgba(216, 205, 185, 0.22);
}
.faq__q {
  margin: 0;
  font-weight: 400;
}
.faq__btn {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 24px 28px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.2;
  text-align: left;
  color: var(--olive);
  cursor: pointer;
}
.faq__label {
  flex: 1;
  text-wrap: pretty;
}
/* sinal de + / − desenhado em CSS, em círculo outline */
.faq__sign {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--olive);
  transition: background-color 0.25s ease;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--olive);
  transform: translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.faq__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__item.is-open .faq__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__btn:hover .faq__sign {
  background: var(--cream);
}

/* o painel abre/fecha animando a linha do grid de 0fr para 1fr */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}
.faq__panel-inner {
  overflow: hidden;
}
.faq__text {
  padding: 0 28px 28px;
  max-width: 660px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
  text-wrap: pretty;
}
/* respostas com mais de um parágrafo */
.faq__text:not(:last-child) {
  padding-bottom: 12px;
}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.insta {
  padding: 0 var(--gutter) var(--section-y);
}
.insta__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}
.insta__list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}
/* reserva a altura enquanto o embed do Instagram não carrega */
.insta__item {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}
.insta__item blockquote {
  margin: 0;
  padding: 28px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--olive);
}
/* o embed vem com largura mínima e margens próprias: ocupa a coluna toda */
.insta__item iframe.instagram-media {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.insta__actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta {
  padding: 0 var(--gutter);
}
.cta__panel {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--panel-pad-y) var(--panel-pad-x);
  border-radius: var(--radius);
  background: var(--olive);
  color: var(--ivory);
  text-align: center;
}
.cta__content {
  max-width: 760px;
  margin: 0 auto;
}
/* no painel verde os textos ficam claros */
.cta .eyebrow {
  color: var(--sand);
}
.cta .section-title {
  color: var(--ivory);
}
.cta .section-text {
  margin-left: auto;
  margin-right: auto;
  color: var(--ivory);
  opacity: 0.86;
}
.cta .section-text strong {
  color: inherit;
}
.cta__actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   CRÉDITOS (rodapé)
   ========================================================= */
.credits {
  padding: 48px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.credits__text {
  font-size: 15px;
  color: var(--gray);
}
.credits__link {
  color: var(--olive);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.credits__link:hover {
  color: var(--brown);
}

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366; /* verde do WhatsApp */
  color: #fff;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}
.wa-float:hover {
  transform: translateY(-3px);
  background: #1ebe5a;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* =========================================================
   REVEAL AO ENTRAR NA VIEWPORT (seções abaixo do hero)
   ========================================================= */
.sr {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) var(--d, 0s),
    transform 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) var(--d, 0s);
}
.sr.is-in {
  opacity: 1;
  transform: none;
}
.sr.d1 {
  --d: 0.08s;
}
.sr.d2 {
  --d: 0.16s;
}
.sr.d3 {
  --d: 0.24s;
}
.sr.d4 {
  --d: 0.32s;
}
.sr.d5 {
  --d: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .sr {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   RESPONSIVO — SEÇÕES
   ========================================================= */
@media (max-width: 1180px) {
  :root {
    --section-y: 100px;
    --panel-pad-y: 76px;
    --panel-pad-x: 44px;
  }

  .section-title {
    font-size: 46px;
  }
  .section-text {
    font-size: 17px;
  }

  .method__wrap,
  .about__wrap,
  .faq__wrap {
    gap: 52px;
  }

  .pain__title,
  .gain__title,
  .faq__btn {
    font-size: 23px;
  }
  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 20px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-y: 88px;
  }

  /* colunas empilham */
  .method__wrap,
  .about__wrap,
  .faq__wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq__intro {
    position: static;
  }
  .pains {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-text {
    max-width: 640px;
  }

  .gains__list,
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* um reel por linha, centralizado */
  .insta__list {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --section-y: 72px;
    --panel-pad-y: 56px;
    --panel-pad-x: 20px;
  }

  .section-title {
    font-size: 34px;
  }
  .section-text {
    margin-top: 20px;
    font-size: 16px;
  }

  .method__wrap,
  .about__wrap,
  .faq__wrap {
    gap: 40px;
  }

  .pains {
    margin-top: 40px;
    grid-template-columns: minmax(0, 1fr);
  }
  .pain {
    padding: 28px 24px 30px;
  }
  .pain__num {
    font-size: 26px;
  }
  .audience__actions {
    margin-top: 40px;
  }
  .gain__icon {
    width: 46px;
    height: 46px;
    font-size: 23px;
  }
  .pain__title,
  .gain__title,
  .fact__title {
    font-size: 22px;
  }
  .pain__text,
  .gain__text {
    font-size: 16px;
  }

  .gains__list {
    margin-top: 40px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .gain {
    padding: 26px 22px 28px;
  }
  .gain__title {
    margin-top: 18px;
  }

  .facts {
    margin-top: 48px;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .insta__list {
    margin-top: 40px;
    gap: 14px;
  }

  .faq__btn {
    gap: 16px;
    padding: 20px;
    font-size: 21px;
  }
  .faq__sign {
    width: 34px;
    height: 34px;
  }
  .faq__text {
    padding: 0 20px 22px;
    font-size: 16px;
  }

  .credits {
    padding-bottom: 96px; /* o botão flutuante não cobre os créditos */
  }
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .wa-float svg {
    width: 27px;
    height: 27px;
  }

  /* botões ocupam a largura toda no celular */
  .audience__actions .btn,
  .method__actions .btn,
  .gains__actions .btn,
  .about__actions .btn,
  .faq__actions .btn,
  .insta__actions .btn,
  .cta__actions .btn {
    width: 100%;
  }
}
