/* =========================================================
   Flávia Liboni — Psicóloga infantojuvenil
   Folha de estilos
   ---------------------------------------------------------
   1. Variáveis (cores, fontes, medidas)
   2. Base / reset
   3. Componentes reutilizáveis
   4. Seções (na ordem em que aparecem na página)
   5. Responsivo
   ========================================================= */


/* ---------- 1. VARIÁVEIS ---------- */
:root {
  /* cores */
  --cream:      #f7f4ef;   /* fundo principal */
  --sand:       #ede9e0;   /* fundo alternado */
  --brown:      #3d2b1d;   /* seções escuras / rodapé */
  --brown-2:    #4e3928;   /* cartões sobre fundo escuro */
  --sage:       #7b9e88;   /* verde principal (botões) */
  --sage-dark:  #668974;
  --mint:       #a5c2b0;
  --terra:      #c4937d;   /* terracota (detalhes) */
  --clay:       #9b7b64;   /* marrom médio */
  --ink:        #2f2216;   /* títulos */
  --text:       #5f5144;   /* texto corrido */
  --text-soft:  #75685c;   /* texto secundário */
  --muted:      #93867a;   /* legendas */
  --sand-text:  #d6c4b0;   /* texto claro sobre fundo escuro */
  --white:      #ffffff;

  /* fontes */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans:  "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* medidas */
  --container:  974px;
  --header-h:   57px;
  --radius-lg:  24px;
  --radius-md:  20px;
  --radius-sm:  14px;

  /* sombras */
  --shadow-card: 0 2px 14px rgba(61, 43, 29, .06);
  --shadow-float: 0 12px 34px rgba(61, 43, 29, .16);
}


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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ---------- 3. COMPONENTES ---------- */

/* Container centralizado */
.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

/* Seções */
.section { padding: 5rem 0; }
.section--sand { background: var(--sand); }
.section--slim { padding: 3.5rem 0; }
.section--dark { background: var(--brown); color: var(--sand-text); }
.section--dark h2, .section--dark h3 { color: #fbf6f0; }

/* Colunas lado a lado (texto + imagem) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.6rem;
}
.split--center { align-items: center; }
.split--start  { align-items: start; }

/* Rótulo pequeno acima dos títulos */
.eyebrow {
  margin-bottom: .9rem;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--terra);
}
.eyebrow--sage { color: var(--sage); }
.eyebrow--mint { color: var(--mint); }

/* Títulos de seção */
.h2 {
  font-size: clamp(1.6rem, 3.4vw, 2rem);
  line-height: 1.38;
}
.h2--lg {
  font-size: clamp(1.85rem, 4.6vw, 2.65rem);
  line-height: 1.38;
}

/* Texto corrido */
.body {
  font-size: .88rem;
  line-height: 1.64;
  color: var(--text);
}
.body strong { color: var(--ink); font-weight: 700; }

/* Cabeçalho centralizado de seção */
.section-head {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: .5rem; }
.section-head .h2 { margin-bottom: 1.05rem; }
.section-head .body { max-width: 30rem; margin-inline: auto; }
.section-head--narrow { max-width: 37.5rem; margin-bottom: 1.75rem; }
.section-head--light .body { color: var(--sand-text); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .83rem 1.5rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  background: var(--sage);
  box-shadow: 0 4px 14px rgba(123, 158, 136, .35);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover {
  background: #6f9280;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 158, 136, .4);
}
.btn .icon { width: 1.2rem; height: 1.2rem; }
.btn--sm  { gap: .4rem; padding: .48rem 1rem; font-size: .82rem; }
.btn--sm .icon { width: 1rem; height: 1rem; }
.btn--md  { padding: .95rem 1.66rem; }
.btn--lg  { padding: 1.28rem 2.2rem; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }
.btn--white {
  color: #6b8f78;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .14);
}
.btn--white:hover { background: #fbfdfb; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Linha "texto + botão" centralizada */
.center { text-align: center; }
.cta-line {
  margin-top: 2.7rem;
  text-align: center;
}
.cta-line p {
  margin-bottom: 1.35rem;
  font-size: .95rem;
  color: var(--text);
}
.cta-line--tight { margin-top: 3rem; }
.cta-line--tight p { margin-bottom: 1.25rem; }

/* Grade de 3 colunas */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

/* Cartão branco */
.card {
  padding: 1.6rem 1.75rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.card__emoji {
  display: block;
  margin-bottom: 1.35rem;
  font-size: 1.8rem;
  line-height: 1;
}
.card__title-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
}
.card__title {
  font-size: 1.1rem;
  line-height: 1.3;
}
.card__text {
  font-size: .775rem;
  line-height: 1.65;
  color: var(--text-soft);
}
.pill {
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .68rem;
  line-height: 1.35;
  color: var(--muted);
  background: var(--sand);
}
.card--center { text-align: center; }
.card--center .card__emoji { margin-bottom: 1rem; }
.card--center .card__title { margin-bottom: .6rem; }


/* ---------- 4. SEÇÕES ---------- */

/* ----- Cabeçalho fixo ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 244, 239, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 43, 29, .08);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(61, 43, 29, .07); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.brand__role {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--terra);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--sage-dark); }

.menu-toggle { display: none; }

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 4.75rem) 0 5rem;
  background:
    radial-gradient(ellipse 34% 46% at 10% 72%, rgba(196, 147, 125, .12), transparent 72%),
    var(--cream);
}
/* faixa diagonal mais escura à direita */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sand);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 50% 100%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.hero__title {
  margin-bottom: 1.15rem;
  font-size: clamp(2.4rem, 5.6vw, 3.3rem);
  line-height: 1.25;
}
.accent-sage  { color: var(--sage); }
.accent-terra { color: var(--terra); }

.hero__copy .eyebrow { margin-bottom: 1.5rem; }
.hero__text {
  max-width: 24.5rem;
  margin-bottom: 1.8rem;
  font-size: 1rem;
  line-height: 1.65;
}
.hero__note {
  margin-top: 1rem;
  font-size: .775rem;
  color: var(--muted);
}

.hero__media { position: relative; }
.hero__media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
.tag-online {
  position: absolute;
  top: -14px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 14px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  background: var(--sage);
  box-shadow: 0 6px 18px rgba(61, 43, 29, .16);
}
.tag-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
}
.hero__id {
  position: absolute;
  left: -17px;
  bottom: -18px;
  display: flex;
  flex-direction: column;
  min-width: 119px;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(61, 43, 29, .14);
}
.hero__id-label {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--muted);
}
.hero__id-name {
  margin: .15rem 0 .05rem;
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.hero__id-crp { font-size: .68rem; line-height: 1.4; color: var(--muted); }

/* ----- Faixa de credenciais ----- */
.creds { background: var(--brown); padding: 1.63rem 0; }
.creds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.creds__grid li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .775rem;
  line-height: 1.4;
  color: var(--sand-text);
}
.creds__icon { font-size: 1.3rem; line-height: 1; }

/* ----- Sobre ----- */
.about__photo { position: relative; }
.about__photo > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__badge {
  position: absolute;
  top: 22px;
  right: -22px;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--sand);
  box-shadow: 0 8px 22px rgba(61, 43, 29, .12);
}
.about__badge strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--sage);
}
.about__badge span { font-size: .68rem; line-height: 1.4; color: var(--muted); }

.about__copy .h2 { margin-bottom: 1.3rem; }
.about__copy .body + .body { margin-top: 1.05rem; }
.dots { margin: 1.7rem 0 1.7rem; }
.dots li {
  position: relative;
  padding-left: 1rem;
  font-size: .775rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.dots li + li { margin-top: .6rem; }
.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

/* ----- Para quem é ----- */

/* ----- Abordagem ----- */
#abordagem .h2 { margin-bottom: 1.3rem; }
#abordagem .body + .body { margin-top: 1rem; }

.approach { display: grid; gap: 1.2rem; }
.approach__card {
  padding: 1.4rem 1.5rem 1.5rem;
  border-left: 3px solid var(--c);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.approach__card--sage  { --c: var(--sage); --c-bg: rgba(123, 158, 136, .18); --c-fg: #5f8570; }
.approach__card--terra { --c: var(--terra); --c-bg: rgba(196, 147, 125, .2); --c-fg: #b0775f; }
.approach__card--clay  { --c: var(--clay); --c-bg: rgba(155, 123, 100, .18); --c-fg: #86664f; }

.approach__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.approach__tag {
  padding: .2rem .5rem;
  border-radius: 5px;
  font-size: .6rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-fg);
  background: var(--c-bg);
}
.approach__title { font-size: 1.02rem; line-height: 1.3; }
.approach__card p { font-size: .775rem; line-height: 1.65; color: var(--text-soft); }

/* ----- Como funciona (fundo escuro) ----- */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.step {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--brown-2);
}
.step__num {
  display: block;
  margin-bottom: .75rem;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(123, 158, 136, .38);
}
.step__title { margin-bottom: .55rem; font-size: 1.1rem; line-height: 1.3; }
.step p { font-size: .775rem; line-height: 1.65; color: var(--sand-text); }

.dark-cta {
  margin-top: 2.75rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(123, 158, 136, .18);
  border-radius: var(--radius-md);
  text-align: center;
  background: rgba(123, 158, 136, .12);
}
.dark-cta h3 { margin-bottom: .55rem; font-size: 1.1rem; }
.dark-cta p { margin-bottom: 1.15rem; font-size: .82rem; color: var(--sand-text); }

/* ----- A terapia online funciona? ----- */
.online {
  position: relative;
  background:
    radial-gradient(circle at 96% 4%, rgba(237, 233, 224, .9), transparent 22%),
    radial-gradient(circle at 4% 88%, rgba(237, 233, 224, .7), transparent 24%),
    var(--cream);
}
/* linha fina no topo da seção */
.online::before {
  content: "";
  position: absolute;
  inset: 3rem 0 auto 0;
  height: 1px;
  background: rgba(61, 43, 29, .07);
}
.online > .container { position: relative; }

.answer {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: .85rem 2.1rem;
  border-radius: 14px;
  color: var(--white);
  background: var(--sage);
  box-shadow: 0 8px 24px rgba(123, 158, 136, .32);
}
.answer__yes { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; line-height: 1.2; }
.answer__text { max-width: 15.5rem; font-size: .76rem; line-height: 1.3; color: #e2f2e8; }

.online__lead {
  max-width: 36rem;
  margin: 1.9rem auto 0;
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}
.online .grid-3--tall { margin-top: 3rem; }

.audience { margin-top: 3.5rem; align-items: start; }
.mini-card {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.mini-card__head {
  padding: .85rem 1.3rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--white);
  background: var(--c);
}
.mini-card--sage  { --c: var(--sage); }
.mini-card--terra { --c: var(--terra); }
.mini-card--clay  { --c: var(--clay); }
.mini-card p { padding: 1.3rem; font-size: .775rem; line-height: 1.65; color: var(--text-soft); }
.mini-card h3.mini-card__head { color: var(--white); }

.quote {
  margin-top: 3.5rem;
  padding: 1.4rem 1.75rem;
  border-left: 4px solid #c89e8e;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: #3d2b1d;
  background: var(--sand);
}

.pull {
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  line-height: 1.67;
  text-align: center;
  color: var(--ink);
}
.pull span { display: block; color: var(--sage); }
.online .center { margin-top: 2rem; }

/* ----- Por que o atendimento online funciona? ----- */
#atendimento-online .h2 { margin-bottom: 1.05rem; }

.features { margin-top: 1.6rem; }
.features li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 1rem;
  align-items: start;
}
.features li + li { margin-top: 1.3rem; }
.features__icon { font-size: 1.15rem; line-height: 1.5; }
.features h3 {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.features p { font-size: .775rem; line-height: 1.6; color: var(--text-soft); }

.online-photo { position: relative; }
.online-photo > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
.online-photo__card {
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 21px;
  padding: 1.1rem 1.25rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(61, 43, 29, .14);
}
.online-photo__card h3 { font-size: 1rem; line-height: 1.3; }
.online-photo__card p { margin: .2rem 0 .8rem; font-size: .76rem; line-height: 1.4; color: var(--muted); }

/* ----- FAQ ----- */

.faq { display: grid; gap: .72rem; max-width: 636px; margin-inline: auto; }
.faq__item {
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 1px 8px rgba(61, 43, 29, .06);
  border: 1px solid rgba(61, 43, 29, .04);
}
.faq__item h3 { font-family: var(--font-sans); }
.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  color: var(--ink);
}
.faq__icon { width: 22px; height: 22px; flex: none; color: var(--sage); }
.faq__btn[aria-expanded="true"] .faq__icon { --plus-v: 0; }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .3s ease, visibility .3s;
}
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 1.3rem 1.2rem; font-size: .85rem; line-height: 1.7; color: var(--text-soft); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; visibility: visible; }

/* ----- Cartão "Pronto para começar?" ----- */
.ready {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 636px;
  margin-inline: auto;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.ready__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--sage);
  background: rgba(123, 158, 136, .14);
}
.ready__icon .icon { width: 28px; height: 28px; }
.ready__title { margin-bottom: .3rem; font-size: 1.3rem; line-height: 1.3; }
.ready p { margin-bottom: 1rem; font-size: .88rem; line-height: 1.6; color: var(--text-soft); }

/* ----- Chamada final ----- */
.final {
  position: relative;
  overflow: hidden;
  padding: 5.3rem 0 5.3rem;
  color: var(--white);
  text-align: center;
  background: var(--sage);
}
.final::before, .final::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.final::before { top: -160px; left: -150px; width: 330px; height: 330px; background: rgba(255, 255, 255, .05); }
.final::after  { right: -130px; bottom: -190px; width: 420px; height: 420px; background: rgba(61, 43, 29, .07); }

.final__inner { position: relative; }
.final h2 { max-width: 30rem; margin: 0 auto 1.4rem; color: var(--white); }
.final p {
  max-width: 31rem;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .86);
}
.final small { display: block; margin-top: 1.4rem; font-size: .8rem; color: rgba(255, 255, 255, .7); }

/* ----- Rodapé ----- */
.site-footer { padding: 2.4rem 0 2rem; background: var(--brown); }
.site-footer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-footer__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--cream);
}
.site-footer__role { display: block; font-size: .78rem; line-height: 1.5; color: #a58e79; }
.site-footer__info { font-size: .67rem; line-height: 1.6; text-align: right; color: #a3826a; }
.site-footer__copy { padding-top: 1.2rem; font-size: .7rem; text-align: center; color: #6b5443; }

/* ----- Botão flutuante do WhatsApp ----- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }

/* Âncoras não ficam escondidas atrás do cabeçalho fixo */
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }


/* ---------- 5. RESPONSIVO ---------- */

/* Tablets */
@media (max-width: 900px) {
  .split, .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--start { gap: 2rem; }

  .hero { padding-top: calc(var(--header-h) + 3rem); }
  .hero__text { max-width: none; }
  .hero__media { max-width: 26rem; }
  .tag-online { right: 12px; }
  .hero__id { left: 12px; }

  .about__photo { max-width: 28rem; }
  .about__badge { right: 12px; }

  .online-photo { max-width: 28rem; }

  .creds__grid { grid-template-columns: 1fr 1fr; row-gap: 1rem; }

  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  /* menu vira botão "hambúrguer" */
  .menu-toggle {
    display: grid;
    gap: 5px;
    padding: .6rem;
    margin-right: -.6rem;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.5rem 1.25rem;
    background: rgba(247, 244, 239, .98);
    border-bottom: 1px solid rgba(61, 43, 29, .08);
    box-shadow: 0 16px 30px rgba(61, 43, 29, .08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__link { padding: .85rem 0; font-size: .95rem; border-bottom: 1px solid rgba(61, 43, 29, .06); }
  .nav .btn { margin-top: 1rem; }
}

/* Celulares */
@media (max-width: 600px) {
  .section { padding: 3.75rem 0; }
  .section--slim { padding: 2.5rem 0; }
  .hero { padding-bottom: 3.5rem; }
  .hero::before { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  .hero__title br { display: none; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
  

  .answer { flex-direction: column; text-align: center; gap: .3rem; padding: 1rem 1.5rem; width: 100%; }
  .ready { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2rem 1.5rem; }
  .creds__grid { grid-template-columns: 1fr; }
  .quote { padding: 1.2rem 1.25rem; }
  .final { padding: 4.5rem 0; }
  .site-footer__row { flex-direction: column; gap: 1rem; }
  .site-footer__info { text-align: left; }
}
