/* =========================================================
   Jeniffer Correia Psicologia
   Sistema visual claro — creme, vinho e bronze

   Escrito mobile-first: o que está fora de @media vale para o
   celular; os blocos @media (min-width:) só ampliam o layout.
   Não adicione regras @media (max-width:) neste arquivo.

   O site é claro por padrão. Três blocos são escuros e invertem
   as cores de texto: .band--wine, .closing e .site-footer.
   A inversão está concentrada na seção 21, no fim do arquivo.
   ========================================================= */

/* ---------- 1. Fontes ---------- */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-latin-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}

/* ---------- 2. Tokens ---------- */
:root {
  /* superfícies claras */
  --paper: #fcfaf6;
  --cream: #f6f0e8;
  --clay: #f0e8dc;

  /* superfícies escuras (faixas de acento) */
  --wine: #40251f;
  --wine-2: #57332a;
  --deep: #261917;

  /* texto sobre claro */
  --ink: #291d1a;
  --muted: #6b5852;
  --faint: #7a675f;
  --rose: #a7796c;
  --bronze: #87613a;

  /* texto sobre escuro */
  --on-dark: #f3ebe2;
  --on-dark-muted: rgba(243, 235, 226, .68);
  --on-dark-faint: rgba(243, 235, 226, .62);
  --gold: #c9a97c;

  --line: rgba(64, 37, 31, .14);
  --line-2: rgba(64, 37, 31, .26);
  --line-dark: rgba(243, 235, 226, .16);
  --line-dark-2: rgba(243, 235, 226, .28);

  --shadow: 0 26px 64px rgba(43, 27, 23, .13);
  --shadow-s: 0 12px 30px rgba(43, 27, 23, .09);

  --display: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --gutter: 22px;
  --maxw: 1240px;
  --header-h: 68px;
  --band-y: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 380;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grão bem discreto: no fundo claro ele só tira o aspecto plástico.
   Em opacidade alta o creme fica sujo, por isso o valor é baixo. */
body::after {
  position: fixed;
  z-index: 999;
  inset: 0;
  content: '';
  opacity: .22;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 12.4vw, 8rem); }
h2 { font-size: clamp(2.2rem, 8.8vw, 5rem); }

h3 {
  font-size: clamp(1.45rem, 4.8vw, 1.8rem);
  line-height: 1.2;
}

em { font-style: italic; }
p { text-wrap: pretty; }

::selection {
  background: var(--wine);
  color: var(--on-dark);
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

/* ---------- 4. Layout ---------- */
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: var(--band-y);
}

.band--surface { background: var(--cream); }
.band--light { background: var(--clay); }
.band--wine { background: var(--wine); }
.band--void { background: var(--deep); }

.hairline {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--bronze);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: '';
  opacity: .7;
}

.lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 350;
}

.section-head { margin-bottom: 44px; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lede { margin-bottom: 0; }
.section-action { margin: 42px 0 0; }

.skip-link {
  position: fixed;
  z-index: 300;
  top: -100px;
  left: 12px;
  padding: 12px 20px;
  background: var(--wine);
  color: var(--on-dark);
  font-size: .85rem;
  font-weight: 600;
}

.skip-link:focus { top: 12px; }

/* ---------- 5. Botões ---------- */
.button {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 30px;
  border: 1px solid transparent;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .25s var(--ease);
}

.button--solid {
  background: var(--wine);
  color: var(--on-dark);
}

.button--outline {
  border-color: var(--line-2);
  color: var(--ink);
}

.button--gold {
  border-color: var(--wine);
  color: var(--wine);
}

.button-row {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.text-link {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  color: var(--bronze);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: '';
  opacity: .5;
  transform-origin: left;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}

@media (hover: hover) {
  .button--solid:hover { background: var(--wine-2); transform: translateY(-2px); }
  .button--outline:hover { border-color: var(--wine); background: #fff; }
  .button--gold:hover { background: var(--wine); color: var(--on-dark); }
  .text-link:hover::after { opacity: 1; transform: scaleX(.35); }
}

/* ---------- 6. Entrada suave ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.js .reveal:nth-child(2) { transition-delay: .08s; }
.js .reveal:nth-child(3) { transition-delay: .16s; }
.js .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- 7. Cabeçalho ---------- */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(252, 250, 246, .9);
  backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  min-height: 48px;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-sub {
  color: var(--faint);
  font-size: .53rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.menu-button {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 auto;
  gap: 7px;
  place-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--wine);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}

.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu-button[aria-expanded="true"] { background: var(--paper); }

.menu-button b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.main-nav {
  position: fixed;
  z-index: 1;
  inset: 0 0 auto;
  height: 100vh;
  height: 100dvh;
  display: flex;
  overflow-y: auto;
  visibility: hidden;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--paper);
  opacity: 0;
  transition: opacity .45s var(--ease), visibility .45s;
}

.main-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  transition: color .3s var(--ease);
}

.main-nav a.active { color: var(--rose); }

.main-nav .nav-cta {
  justify-content: center;
  margin-top: 32px;
  border: 0;
  background: var(--wine);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav-backdrop { display: none; }

/* ---------- 8. Capa ----------
   Fundo claro com a foto emoldurada ao lado do texto. A foto não
   sangra na página: as fotos da Jeniffer têm fundo escuro e, soltas
   sobre o creme, criariam um bloco preto no meio da composição. */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + 40px) 64px;
}

.hero-grid {
  display: grid;
  gap: 38px;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { color: var(--rose); }
.hero .lede { max-width: 42ch; }

.hero-media {
  position: relative;
  margin: 0;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 42% 42% 4px 4px;
  background: var(--clay);
  box-shadow: var(--shadow);
}

.hero-media picture,
.open-media picture { display: block; }

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
}

.hero-media figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
}

/* Frase corrida, não rótulo: em caixa alta espaçada ela ocuparia três
   linhas no celular e pesaria mais que a chamada principal. */
.trust-line {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.6;
}

.trust-line span { color: var(--ink); font-weight: 500; }

.trust-line a {
  padding-block: 10px;
  color: var(--wine);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-line a:hover { color: var(--wine); }

/* ---------- 9. Abertura das páginas internas ---------- */
.page-open {
  position: relative;
  padding-block: calc(var(--header-h) + 48px) 60px;
}

.page-open h1 { margin-bottom: 20px; }
.page-open h1 em { color: var(--rose); }
.page-open .lede { max-width: 52ch; }

.page-open--plain { background: var(--cream); }

.open-grid {
  display: grid;
  gap: 38px;
}

.open-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 42% 42% 4px 4px;
  box-shadow: var(--shadow);
}

.open-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  object-fit: cover;
  object-position: center 12%;
  box-shadow: var(--shadow);
}

/* ---------- 10. Lista de reconhecimento ---------- */
.ledger { border-top: 1px solid var(--line); }

.ledger-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 18px;
  align-items: baseline;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.ledger-item > span {
  color: var(--bronze);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
}

.ledger-item p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.28;
}

.ledger-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.ledger-cta p {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.3rem;
}

/* ---------- 11. Processo ---------- */
.steps {
  display: grid;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 0 0 40px 22px;
}

.step:last-child { padding-bottom: 0; }

.step::before {
  position: absolute;
  top: 8px;
  left: -27px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  background: var(--paper);
  content: '';
}

.step b {
  display: block;
  margin-bottom: 8px;
  color: var(--bronze);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
}

.step h3 { margin-bottom: 8px; }

.step p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.band--surface .step::before { background: var(--cream); }

/* ---------- 12. Bloco editorial com foto ---------- */
.feature { position: relative; }

.feature-media {
  position: relative;
  margin-bottom: 34px;
}

.feature-media picture { display: block; }

.feature-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  object-fit: cover;
  object-position: center center;
  box-shadow: var(--shadow-s);
}

.feature-copy h2 { margin-bottom: 18px; }
/* O :not() impede que esta regra (0,2,1) engula .eyebrow e .pull, que têm
   especificidade menor e cores próprias. */
.feature-copy > p:not(.eyebrow):not(.pull) { color: var(--muted); }

.pull {
  margin: 30px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

/* ---------- 13. Declaração central ---------- */
.statement { text-align: center; }
.statement .eyebrow { justify-content: center; }

.statement-copy {
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(1.9rem, 7.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.16;
}

.statement-copy em { color: var(--rose); }

.statement-note {
  max-width: 54ch;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 350;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.tags--start { justify-content: flex-start; margin-top: 36px; }

.tags span {
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: 40px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- 14. Grade de temas ---------- */
.themes {
  display: grid;
  border-top: 1px solid var(--line);
}

.themes article {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.themes span {
  display: block;
  margin-bottom: 12px;
  color: var(--bronze);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
}

.themes h3 {
  margin-bottom: 8px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.themes p {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.themes .theme-accent h3 { color: var(--rose); }

/* ---------- 15. FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 24px;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.25rem, 4.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  transition: color .3s var(--ease);
}

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

.faq-list summary span {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--bronze);
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 300;
  transition: transform .35s var(--ease);
}

.faq-list details[open] summary { color: var(--wine); }
.faq-list details[open] summary span { transform: rotate(135deg); }

.faq-list details p {
  max-width: 62ch;
  margin: 0;
  padding-bottom: 26px;
  color: var(--muted);
  font-size: .97rem;
}

/* ---------- 16. Formulário ---------- */
.band--contact { padding-top: calc(var(--header-h) + 64px); }

.form-intro h1 { margin-bottom: 20px; }
.form-intro .lede { margin-bottom: 0; }

.promise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  margin-top: 32px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.promise strong { color: var(--bronze); font-weight: 700; }

.privacy-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: .82rem;
}

.lead-form {
  margin-top: 44px;
  padding: 32px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  box-shadow: var(--shadow-s);
}

.field {
  display: block;
  margin-bottom: 36px;
}

.field > span,
.lead-form legend {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px; /* 16px evita o zoom automático do iOS ao focar */
  font-weight: 350;
  transition: border-color .3s var(--ease);
}

.lead-form textarea {
  min-height: 108px;
  resize: vertical;
}

/* Seta própria: sem ela o select não se distingue de um campo de texto. */
.lead-form select {
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2387613a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.lead-form ::placeholder { color: rgba(41, 29, 26, .34); }

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus { border-bottom-color: var(--wine); }

.lead-form fieldset {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checks label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 350;
  transition: border-color .3s var(--ease);
}

.checks label:has(input:checked) { border-color: var(--wine); color: var(--wine); }

.checks input,
.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--wine);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 350;
  line-height: 1.6;
}

.consent input { margin-top: 4px; }

/* Link dentro da frase: aumenta a área de toque sem quebrar o texto. */
.consent a {
  padding-block: 10px;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.submit-button {
  width: 100%;
  margin-top: 30px;
}

.submit-button:disabled { opacity: .55; cursor: wait; }

.form-feedback {
  min-height: 22px;
  margin: 16px 0 0;
  text-align: center;
  font-size: .88rem;
}

.form-feedback.success { color: #2f5b40; }
.form-feedback.error { color: #98302f; }

/* ---------- 17. Fecho e rodapé ---------- */
.closing {
  position: relative;
  padding-block: calc(var(--band-y) + 10px);
  background: var(--wine);
  text-align: center;
}

.closing::before {
  position: absolute;
  inset: 0;
  content: '';
  background: radial-gradient(80% 120% at 50% 100%, rgba(87, 51, 42, .95), transparent 65%);
}

.closing p {
  max-width: 20ch;
  margin: 0 auto 34px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 7.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.16;
}

.closing .closing-whatsapp {
  display: flex;
  width: fit-content;
  margin: 18px auto 0;
  color: var(--gold);
}

.site-footer {
  padding: 60px 0 100px;
  background: var(--deep);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand {
  font-family: var(--display);
  font-size: clamp(1.25rem, 5.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.1;
}

.footer-grid p {
  margin: 8px 0 0;
  font-size: .82rem;
  font-weight: 350;
}

.footer-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .82rem;
  transition: color .3s var(--ease);
}

.emergency {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: .76rem;
  font-weight: 350;
}

.studio-credit {
  margin-top: 16px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- 18. CTAs fixos ---------- */
.mobile-bar {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(252, 250, 246, .95);
  backdrop-filter: blur(16px);
}

.mobile-bar .button { width: 100%; min-height: 52px; }

body.page-contato .mobile-bar { display: none; }
body.page-contato .site-footer { padding-bottom: 60px; }

/* Botão flutuante de WhatsApp — presente em todas as páginas.
   No celular ele sobe para não colidir com a barra fixa. */
.wa-float {
  position: fixed;
  z-index: 95;
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 10px 28px rgba(38, 25, 23, .32);
  color: var(--on-dark);
  transition: background .3s var(--ease), transform .25s var(--ease);
}

body.page-contato .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); }

.wa-float svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.wa-float > a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.wa-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (hover: hover) {
  .wa-float:hover { background: var(--wine-2); transform: translateY(-3px); }
  .footer-grid a:hover { color: var(--gold); }
}

/* ---------- 19. Página legal ---------- */
.legal {
  max-width: 780px;
  padding-block: calc(var(--header-h) + 56px) 72px;
}

.legal h1 { margin-bottom: 14px; font-size: clamp(2.4rem, 10vw, 4.4rem); }

.legal h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--wine);
  font-size: clamp(1.4rem, 5vw, 1.8rem);
}

.legal p { color: var(--muted); font-weight: 350; }
.legal-date { color: var(--faint); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

.legal p a {
  padding-block: 12px;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .button { margin-top: 40px; }
body.legal-page .site-footer { padding-bottom: 60px; }

/* =========================================================
   20. Ampliações
   ========================================================= */

@media (min-width: 600px) {
  :root { --gutter: 32px; --band-y: 104px; }

  .button-row {
    grid-auto-flow: column;
    justify-content: start;
    gap: 14px;
  }

  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-form { padding: 40px 34px; }

  /* A partir daqui o botão vira pílula com rótulo. */
  .wa-float {
    width: auto;
    height: 56px;
    padding: 0 24px 0 20px;
    border-radius: 40px;
  }

  .wa-float span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
}

@media (min-width: 960px) {
  :root { --gutter: 46px; --band-y: 148px; --header-h: 92px; }

  body.nav-open { overflow: auto; }

  .menu-button { display: none; }

  .main-nav {
    position: static;
    height: auto;
    overflow: visible;
    display: flex;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 0;
    background: none;
    opacity: 1;
  }

  .main-nav a {
    min-height: 44px;
    border: 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .main-nav a:hover { color: var(--ink); }
  .main-nav a.active { color: var(--bronze); }

  .main-nav .nav-cta {
    margin-top: 0;
    padding: 13px 24px;
    color: var(--on-dark);
  }

  .main-nav .nav-cta:hover { background: var(--wine-2); color: var(--on-dark); }

  .brand-name { font-size: 1.5rem; }
  .brand-sub { font-size: .58rem; }

  .section-head { margin-bottom: 64px; }
  .section-action { margin-top: 52px; }

  .hero { padding-block: calc(var(--header-h) + 56px) 96px; }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr);
    gap: 7vw;
    align-items: center;
  }

  .hero .lede { font-size: 1.15rem; }
  .hero h1 { margin-bottom: 26px; }

  /* Arco: a moldura que a Jeniffer já conhecia. */
  .photo-frame { border-radius: 46% 46% 4px 4px; }
  .hero-media img { aspect-ratio: .78; object-position: center 14%; }

  .hero-media figcaption {
    position: absolute;
    right: -24px;
    bottom: 34px;
    width: 214px;
    margin: 0;
    padding: 18px 22px;
    background: var(--cream);
    box-shadow: var(--shadow);
    color: var(--wine);
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .page-open { padding-block: calc(var(--header-h) + 74px) 84px; }
  .page-open .lede { font-size: 1.15rem; }

  .open-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .72fr);
    gap: 7vw;
    align-items: center;
  }

  .open-media { border-radius: 0; overflow: visible; box-shadow: none; }
  .open-media img { aspect-ratio: .8; border-radius: 48% 48% 4px 4px; }

  .split {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 7vw;
    align-items: start;
  }

  .split > .section-head {
    position: sticky;
    top: calc(var(--header-h) + 56px);
    margin-bottom: 0;
  }

  .ledger-item { grid-template-columns: 64px 1fr; padding-block: 34px; }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 32px;
    padding: 34px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step { padding: 0; }
  .step::before { top: -38px; left: 0; }

  .feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7vw;
    align-items: center;
  }

  .feature--reverse .feature-media { order: 2; }
  .feature-media { margin-bottom: 0; }
  .feature-media img { aspect-ratio: .82; }

  .statement-copy { max-width: 18ch; font-size: clamp(2.8rem, 4.4vw, 4.2rem); }
  .statement-note { font-size: 1.08rem; }

  .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
  .themes article { padding-block: 36px; }

  /* Dentro do .split a grade vive numa coluna estreita: três colunas
     espremem os títulos longos. */
  .split .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }

  .faq-list summary { padding-block: 30px; }
  .faq-list details p { padding-bottom: 32px; }

  .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    gap: 7vw;
    align-items: start;
  }

  .form-intro { position: sticky; top: calc(var(--header-h) + 56px); }

  .lead-form { margin-top: 0; padding: 48px; }
  .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .checks { display: flex; flex-wrap: wrap; }
  .checks label { min-height: 46px; }

  .closing p { margin-bottom: 44px; }

  .site-footer { padding: 88px 0 44px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }

  .mobile-bar { display: none; }

  /* Sem barra fixa no desktop, o botão volta para o canto. */
  .wa-float,
  body.page-contato .wa-float { right: 26px; bottom: 26px; }

  body.page-contato .site-footer,
  body.legal-page .site-footer { padding-bottom: 44px; }

  .legal { padding-block: calc(var(--header-h) + 90px) 110px; }
}

@media (min-width: 1400px) {
  :root { --band-y: 176px; }
}

/* =========================================================
   21. Faixas escuras — inversão das cores de texto

   Este bloco fecha o arquivo de propósito. Regras como
   `.feature-copy > p` têm a mesma especificidade de
   `.band--wine p` e, se viessem depois, o texto ficaria
   marrom sobre vinho — ilegível.
   ========================================================= */
.band--wine,
.closing,
.site-footer { color: var(--on-dark); }

.band--wine h1,
.band--wine h2,
.band--wine h3,
.closing p,
.site-footer strong,
.footer-brand { color: var(--on-dark); }

.band--wine p,
.band--wine .lede,
.band--wine li,
.band--wine .feature-copy > p:not(.eyebrow):not(.pull),
.band--wine .statement-note,
.band--wine .themes p,
.band--wine .step p,
.site-footer p,
.emergency { color: var(--on-dark-muted); }

.band--wine .eyebrow,
.band--wine .text-link,
.band--wine .themes span,
.band--wine .step b,
.band--wine .ledger-item > span,
.site-footer a { color: var(--gold); }

.studio-credit { color: var(--on-dark-faint); }
.emergency strong { color: var(--on-dark); font-weight: 600; }

.band--wine .pull {
  border-top-color: var(--line-dark-2);
  color: var(--on-dark);
}

.band--wine .tags span { border-color: var(--line-dark-2); color: var(--on-dark-muted); }
.band--wine .themes,
.band--wine .themes article,
.band--wine .ledger,
.band--wine .ledger-item,
.band--wine .faq-list,
.band--wine .faq-list details { border-color: var(--line-dark); }

.band--wine .step::before { border-color: var(--gold); background: var(--wine); }
.band--wine .feature-media img { box-shadow: 0 20px 48px rgba(15, 8, 6, .38); }

.band--wine .button--outline { border-color: var(--line-dark-2); color: var(--on-dark); }
.closing .button--gold { border-color: var(--gold); color: var(--gold); }

@media (hover: hover) {
  .band--wine .button--outline:hover { border-color: var(--on-dark); background: transparent; }
  .closing .button--gold:hover { background: var(--gold); color: var(--wine); }
}

/* ---------- 22. Preferências do sistema ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  body::after,
  .site-header,
  .mobile-bar,
  .wa-float,
  .closing { display: none; }

  .js .reveal { opacity: 1; transform: none; }
}
