/* ==========================================================================
   Mãe Estella — styles.css
   Mobile-first. Tokens → base → components → sections → utilities.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand (ameixa #573357 é a cor institucional do site original) */
  --plum-950: #170d17;
  --plum-900: #201320;
  --plum-800: #2d1a2d;
  --plum-700: #573357;
  --plum-600: #6b426b;
  --plum-200: #dccbdc;
  --plum-100: #f1e8f0;

  --gold-500: #e2b46b;
  --gold-400: #ecc788;
  --gold-600: #b98740;

  --wa-green: #25d366;
  --wa-green-hover: #3ee07b;
  --wa-ink: #0b2a18;

  --cream: #faf6f1;
  --sand: #f2eae0;
  --sand-deep: #8f6a3e; /* areia tostada: aceita texto branco (contraste 4.9:1) */
  --white: #ffffff;

  --ink: #231a23;
  --ink-soft: #5c525c;
  --on-dark: #f6eff5;
  --on-dark-soft: rgba(246, 239, 245, 0.74);
  --line-light: rgba(35, 26, 35, 0.1);
  --line-dark: rgba(246, 239, 245, 0.12);

  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --hero-arch: 200px; /* topo arredondado da foto do hero */

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 68px;

  --shadow-soft: 0 1px 2px rgba(23, 13, 23, 0.06), 0 12px 32px -12px rgba(23, 13, 23, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* <picture> dentro de molduras com proporção fixa deve ocupar a moldura inteira */
.hero__bg picture, .hero__frame picture, .about__img picture,
.service-hero__media picture, .photo-btn picture { width: 100%; height: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--light :focus-visible,
.form-card :focus-visible { outline-color: var(--plum-700); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold-500);
  color: var(--plum-900);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--cream); color: var(--ink); }
.section--sand { background: var(--sand); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--dark { background: var(--plum-900); color: var(--on-dark); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--gold-500); }

.display {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.display em { font-style: italic; font-weight: 500; color: var(--plum-700); }
.section--dark .display em,
.hero .display em { color: var(--gold-400); }

.h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.6rem); line-height: 1.02; }
.h2 { font-size: clamp(2.25rem, 1.55rem + 2.6vw, 3.5rem); line-height: 1.05; }
.h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem); line-height: 1.6; }
.muted { color: var(--ink-soft); }
.section--dark .muted { color: var(--on-dark-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section-head .h2 + p { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--plum-900);
  --btn-bg-hover: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.3em; height: 1.3em; }

.btn--plum { --btn-bg: var(--plum-700); --btn-fg: var(--white); --btn-bg-hover: var(--plum-600); }
/* Verde WhatsApp para todos os botões de contato. Texto verde-escuro (contraste 7.8:1, WCAG AA). */
.btn--wa { --btn-bg: var(--wa-green); --btn-fg: var(--wa-ink); --btn-bg-hover: var(--wa-green-hover); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  --btn-bg-hover: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(246, 239, 245, 0.35); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.btn--lg { min-height: 58px; padding: 1rem 2rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--plum-700);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 2rem; }
.cta-note { font-size: 0.95rem; }
.cta-note a { font-weight: 600; white-space: nowrap; }
.section--light .cta-note a { color: var(--plum-700); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(23, 13, 23, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand__name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1; }

.nav { display: none; }
.nav__list { list-style: none; display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
  position: relative;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--on-dark-soft);
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--on-dark); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-dark);
  white-space: nowrap;
}
.header-phone .icon { color: var(--gold-500); }
.header-phone:hover { text-decoration: underline; }
.header-cta { display: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn--wa { background: var(--wa-green); color: var(--white); } /* logo branco, como o ícone oficial do WhatsApp */
.icon-btn--wa .icon { width: 22px; height: 22px; }

.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--plum-950);
  color: var(--on-dark);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu__list { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu__list a .icon { color: var(--gold-500); width: 20px; height: 20px; }
.mobile-menu__footer { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.mobile-menu__footer p { text-align: center; font-size: 0.95rem; color: var(--on-dark-soft); }

body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .icon-btn--wa, .mobile-menu { display: none; }
}
@media (min-width: 1200px) {
  .header-phone { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--plum-950);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: clamp(56px, 8vw, 104px);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
  opacity: 0.2;
  mix-blend-mode: luminosity;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(226, 180, 107, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(23, 13, 23, 0.55) 0%, rgba(23, 13, 23, 0.2) 40%, rgba(23, 13, 23, 0.85) 100%),
    linear-gradient(90deg, rgba(32, 19, 32, 0.9) 0%, rgba(87, 51, 87, 0.35) 100%);
}

.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__grid > .trust-list { margin-top: 0; }

.hero__person {
  display: flex; /* bloco próprio: evita o eyebrow subir para a mesma linha no tablet */
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  line-height: 1.3;
}
.hero__person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 22% 30%;
  box-shadow: 0 0 0 2px var(--plum-950), 0 0 0 3px var(--gold-500);
}
.hero__person strong { display: block; font-weight: 600; color: var(--on-dark); }
.hero__person span { color: var(--on-dark-soft); }

.hero .h1 { max-width: 16ch; }
.hero__lead { margin-top: 1.25rem; max-width: 36rem; color: var(--on-dark-soft); }
.hero__lead strong { color: var(--on-dark); font-weight: 500; }

.hero .cta-row { margin-top: 2rem; }
.hero__cta-note { font-size: 0.95rem; color: var(--on-dark-soft); }
.hero__cta-note a { color: var(--on-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(226, 180, 107, 0.6); }
.hero__cta-note a:hover { border-color: var(--gold-500); }

.trust-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.95rem;
  color: var(--on-dark-soft);
}
.trust-list li { display: flex; align-items: center; gap: 10px; }
.trust-list .icon { color: var(--gold-500); width: 20px; height: 20px; }

/* Janela da foto: mesma altura do bloco de texto (eyebrow → botão/telefone),
   encostada na margem direita do container. Os selos ficam numa linha abaixo. */
.hero__media { position: relative; width: 100%; max-width: 505px; }
.hero__frame {
  --frame-inset: 12px;
  position: absolute;
  inset: 0;
  border-radius: var(--hero-arch) var(--hero-arch) var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--plum-900);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 40px 90px -40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero__frame picture { position: absolute; inset: 0; }
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 26% 50%;
  /* leve correção de cor para conversar com a paleta ameixa/dourado */
  filter: saturate(0.9) contrast(1.04) brightness(0.98);
}
/* Degradê na base: profundidade e leitura do selo */
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 13, 23, 0) 55%, rgba(23, 13, 23, 0.55) 100%);
  pointer-events: none;
}
/* Filete dourado interno (passe-partout), concêntrico à moldura */
.hero__frame::after {
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  z-index: 2;
  border: 1px solid rgba(236, 199, 136, 0.5);
  border-radius:
    calc(var(--hero-arch) - var(--frame-inset)) calc(var(--hero-arch) - var(--frame-inset))
    calc(var(--radius-lg) - var(--frame-inset)) calc(var(--radius-lg) - var(--frame-inset));
  pointer-events: none;
}
/* Selo translúcido dentro da moldura */
.hero__badge {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(23, 13, 23, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark-soft);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: nowrap;
}
.hero__badge .icon { color: var(--gold-400); width: 20px; height: 20px; }
.hero__badge strong { font-weight: 600; color: var(--on-dark); }

@media (max-width: 1023.98px) {
  .hero__media { display: none; }
}
@media (min-width: 640px) {
  .trust-list { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
}
@media (min-width: 1024px) {
  /* Conjunto centralizado na área abaixo do header (espaço acima ≈ espaço abaixo),
     com respiros que se adaptam à altura da tela para caber em notebooks de 720px. */
  .hero {
    min-height: min(880px, 100svh);
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + clamp(32px, 6vh, 64px));
    padding-bottom: clamp(40px, 7vh, 80px);
  }
  .hero::before {
    background:
      radial-gradient(38% 50% at 72% 52%, rgba(226, 180, 107, 0.14), transparent 72%),
      linear-gradient(180deg, rgba(23, 13, 23, 0.55) 0%, rgba(23, 13, 23, 0.2) 40%, rgba(23, 13, 23, 0.85) 100%),
      linear-gradient(90deg, rgba(32, 19, 32, 0.9) 0%, rgba(87, 51, 87, 0.35) 100%);
  }
  /* Ritmo vertical em escala de 8px: 24 · 24 · 40 · 40 · 24 */
  .hero .eyebrow { margin-bottom: 24px; }
  .hero__lead { margin-top: 24px; }
  .hero .cta-row { margin-top: 40px; }
  /* Selos numa linha de base que atravessa texto e foto */
  .hero .trust-list { grid-column: 1 / -1; grid-row: 2; margin-top: 40px; padding-top: 24px; }
  .hero > .container { width: 100%; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-rows: auto auto;
    align-items: stretch;
    column-gap: clamp(40px, 5vw, 72px);
    row-gap: 0;
  }
  .hero .btn--lg { padding-inline: 1.5rem; }
  .hero .cta-row { gap: 12px 18px; }
  .hero .trust-list { gap: 12px 22px; }
  .hero .h1 { font-size: clamp(3.4rem, 1.9rem + 2.4vw, 4.25rem); }
  .hero__content { grid-column: 1; grid-row: 1; align-self: start; }
  /* Foto na 1ª linha: estica até a altura exata do texto (topo do eyebrow → base do botão) */
  .hero__media { grid-column: 2; grid-row: 1; justify-self: end; align-self: stretch; min-height: 400px; }
  .hero__person { display: none; }
  /* flex em vez de inline-flex: remove a folga da linha e alinha o topo do texto ao topo da foto */
  .hero .eyebrow { display: flex; width: fit-content; }
  .trust-list { grid-template-columns: repeat(3, auto); }
}
/* Notebooks pequenos: título menor, selos em 2 linhas e mais largura para a foto,
   para ela não ficar estreita e alta demais */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hero .h1 { font-size: 3.1rem; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .hero .cta-row { gap: 10px 18px; }
}

/* ---------- Results band ---------- */
.band {
  background: var(--plum-700);
  color: var(--on-dark);
  padding-block: 26px;
}
.band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px 22px;
  text-align: center;
}
.band__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.band__label .icon { width: 18px; height: 18px; }
.band__text { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.25; }
@media (min-width: 768px) {
  .band__inner { flex-direction: row; justify-content: center; }
  .band__label { padding-right: 22px; border-right: 1px solid rgba(255, 255, 255, 0.2); }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__text p + p { margin-top: 1rem; }
.about__text .h2 { margin-bottom: 1.4rem; }
.about__highlight {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--plum-700);
}

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.25rem;
  border-top: 1px solid var(--line-light);
}
.facts li { padding: 20px 14px 4px 0; }
.facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--plum-700);
  margin-bottom: 6px;
}
.facts span { display: block; font-size: clamp(0.84rem, 0.8rem + 0.2vw, 0.92rem); line-height: 1.45; color: var(--ink-soft); }

.about__media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.about__box {
  position: absolute;
  inset: 32px -20px -20px 32px;
  background: var(--plum-700);
  border-radius: var(--radius-lg);
}
.about__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #120a0a;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.about__quote {
  position: relative;
  margin: 20px 0 0;
  padding: 58px 26px 24px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
/* Aspa gráfica em serifa, no tom areia (decorativa: oculta de leitores de tela) */
.about__quote::before {
  content: "\201C";
  content: "\201C" / "";
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 6.5rem;
  font-weight: 600;
  line-height: 0.8;
  color: var(--sand-deep);
  pointer-events: none;
}
.about__quote p { color: var(--ink); }
.about__quote footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.about__quote footer::before { content: ""; width: 22px; height: 1px; background: var(--sand-deep); }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(56px, 8vw, 112px); }
  .about__quote { position: absolute; left: -48px; bottom: 40px; max-width: 300px; margin: 0; }
}

/* ---------- Amarração (service highlight) ---------- */
.service-hero { background: var(--plum-950); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.service-hero__media {
  position: relative;
  height: 260px;
  margin: calc(var(--section-y) * -1) calc(var(--gutter) * -1) 32px;
}
.service-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.service-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 13, 23, 0) 30%, var(--plum-950) 100%);
}
.service-hero__content { max-width: 640px; }
.service-hero__content > p { margin-top: 1.25rem; color: var(--on-dark-soft); }

.split-lists { display: grid; gap: 28px; margin-top: 2.5rem; }
.split-lists .h3 { color: var(--gold-400); margin-bottom: 14px; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; line-height: 1.5; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-500); }

.steps-mini { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps-mini li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  line-height: 1.5;
}
.steps-mini li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand-deep); /* areia tostada: número branco com contraste 4.9:1 */
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}

.service-hero .cta-row { margin-top: 2.5rem; }

@media (min-width: 700px) {
  .split-lists { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (min-width: 1024px) {
  .service-hero__media {
    position: absolute;
    inset: 0 0 0 42%;
    height: auto;
    margin: 0;
    z-index: -1;
  }
  .service-hero__media img { object-position: 50% 50%; }
  .service-hero__media::after {
    background: linear-gradient(90deg, var(--plum-950) 0%, rgba(23, 13, 23, 0.6) 35%, rgba(23, 13, 23, 0) 70%);
  }
  .service-hero__content { max-width: 620px; }
}

/* ---------- Services grid ---------- */
.services-group + .services-group { margin-top: 56px; }
.services-group__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.services-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-light);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; }
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;          /* não encolhe quando o título quebra em 2 linhas */
  aspect-ratio: 1;     /* sempre um círculo perfeito */
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--plum-100);
  color: var(--plum-700);
}
.card__icon .icon { width: 24px; height: 24px; }
.card .h3 { margin-bottom: 8px; }
.card p { font-size: 0.97rem; line-height: 1.55; color: var(--ink-soft); }
.card .link-arrow { margin-top: auto; padding-top: 18px; font-size: 0.95rem; }
.card .link-arrow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.card--featured { background: var(--plum-700); border-color: var(--plum-700); color: var(--on-dark); }
.card--featured .card__icon { background: rgba(255, 255, 255, 0.12); color: var(--gold-400); }
.card--featured p { color: var(--on-dark-soft); }
.card--featured .link-arrow { color: var(--gold-400); }
.card__tag {
  position: absolute;
  top: 22px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(226, 180, 107, 0.18);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mobile: cards mais baixos, ícone à esquerda, para leitura rápida */
@media (max-width: 599.98px) {
  .card:not(.card--compact) {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 20px 20px 18px;
  }
  .card:not(.card--compact) .card__icon { grid-column: 1; grid-row: 1 / span 4; width: 44px; height: 44px; margin: 0; }
  .card:not(.card--compact) > :not(.card__icon) { grid-column: 2; }
  .card:not(.card--compact) .link-arrow { padding-top: 10px; }
  .card__tag { position: static; justify-self: start; margin-bottom: 8px; }
}

.card--compact { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
.card--compact .card__icon { margin: 0; width: 44px; min-width: 44px; height: 44px; background: var(--sand); }
.card--compact .h3 { margin: 0; font-size: 1.05rem; }
.card--compact .link-arrow { margin: 0 0 0 auto; padding: 0; color: var(--plum-700); }
.card--compact .link-arrow span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.help-box {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: 56px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.help-box .h3 { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.15; }
.help-box p { margin-top: 8px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .help-box { grid-template-columns: 1fr auto; gap: 40px; }
}

/* ---------- Credentials ---------- */
.credentials { background: var(--plum-900); color: var(--on-dark); }
.credentials .section-head p { color: var(--on-dark-soft); }

.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .photo-strip { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.photo-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--plum-800);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}
.photo-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.photo-btn:hover img { transform: scale(1.04); }
.photo-btn[data-pos="left"] img { object-position: 22% 50%; }
.photo-btn[data-pos="top"] img { object-position: 50% 20%; }

.diplomas { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 800px) { .diplomas { grid-template-columns: 1fr 1fr; gap: 24px; } }

.diploma {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--plum-800);
  border: 1px solid var(--line-dark);
}
.diploma .photo-btn { aspect-ratio: 4 / 3; border-radius: 0; }
.diploma__body { display: flex; gap: 14px; padding: 20px 22px 22px; }
.diploma__body .icon { width: 26px; height: 26px; color: var(--gold-500); margin-top: 2px; }
.diploma__body h3 { font-size: 1.05rem; line-height: 1.35; font-weight: 600; }
.diploma__body p { margin-top: 4px; font-size: 0.93rem; color: var(--on-dark-soft); }

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(23, 13, 23, 0.72);
  color: var(--on-dark);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-light);
}
.step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 0.9;
  color: var(--plum-700);
  margin-bottom: 18px;
}
.step__num small { font-size: 1rem; font-weight: 500; font-family: var(--font-sans); letter-spacing: 0.14em; color: var(--ink-soft); margin-left: 6px; vertical-align: top; }
.step .h3 { margin-bottom: 8px; font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
.steps-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 45%, #3d243d 100%); color: var(--on-dark); }
.quotes { display: grid; gap: 16px; }
@media (min-width: 960px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; } }
.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 30px 28px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
}
.quote > .icon { width: 30px; height: 30px; color: var(--gold-500); margin-bottom: 18px; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-size: 1.02rem; line-height: 1.7; color: rgba(246, 239, 245, 0.88); }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--plum-700);
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  flex: none;
}
.quote cite { display: block; font-style: normal; font-weight: 600; }
.quote__city { display: block; font-size: 0.9rem; color: var(--on-dark-soft); }
.testimonials__cta { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.testimonials__cta p { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-style: italic; font-weight: 500; }

/* ---------- Contact ---------- */
.contact { background: var(--plum-700); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.contact::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -260px;
  border-radius: 50%;
  border: 1px solid rgba(226, 180, 107, 0.22);
  z-index: -1;
}
.contact::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  border: 1px solid rgba(226, 180, 107, 0.14);
  z-index: -1;
}
.contact__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(56px, 7vw, 104px); align-items: center; } }
.contact .eyebrow { color: var(--gold-400); }
.contact .display em { color: var(--gold-400); }
.contact__lead { margin-top: 1.2rem; font-size: 1.15rem; color: var(--on-dark-soft); }

.contact-list { list-style: none; display: grid; gap: 4px; margin-top: 2.25rem; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { width: 22px; height: 22px; color: var(--gold-400); }
.contact-list small { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact-list a, .contact-list strong { font-size: 1.1rem; font-weight: 600; text-decoration: none; color: var(--on-dark); }
.contact-list a:hover { text-decoration: underline; }

/* Form */
.form-card {
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
}
.form-card__title { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.form-card__intro { margin-top: 8px; color: var(--ink-soft); font-size: 0.98rem; }
.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(35, 26, 35, 0.2);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 1rem; /* ≥16px evita zoom no iOS */
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23573357' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(35, 26, 35, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--plum-700);
  box-shadow: 0 0 0 3px rgba(87, 51, 87, 0.18);
}
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12); }
.field__error { display: none; align-items: center; gap: 6px; font-size: 0.88rem; color: #b3261e; }
.field__error.is-visible { display: flex; }

.form .btn { margin-top: 4px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__privacy { display: flex; gap: 8px; font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }
.form__privacy .icon { width: 16px; height: 16px; margin-top: 2px; }

.form-status {
  display: none;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.45;
}
.form-status.is-visible { display: flex; }
.form-status .icon { width: 20px; height: 20px; margin-top: 1px; }
.form-status--success { background: #e7f3ea; color: #1e5b2e; }
.form-status--error { background: #fbeae8; color: #8c1d18; }
.form-status a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-950); color: var(--on-dark-soft); padding-block: clamp(56px, 8vw, 88px) 0; font-size: 0.97rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer__brand p { margin-top: 18px; max-width: 32ch; }
.footer__title { margin-bottom: 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); }
.footer__list { list-style: none; display: grid; gap: 8px; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--on-dark); text-decoration: underline; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 600; text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }
.footer__contact .icon { color: var(--gold-500); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.87rem;
}

/* ---------- Mobile contact bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(23, 13, 23, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--line-dark);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { width: 100%; min-height: 52px; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
/* O contêiner GTM atual injeta um botão flutuante (#whatsapp-button).
   No mobile ele ficaria sobre a barra fixa acima; por isso é ocultado ali. */
@media (max-width: 1023.98px) { #whatsapp-button { display: none !important; } }
@media (max-width: 1023.98px) { .site-footer { padding-bottom: 76px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 8, 15, 0.94);
  color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(15, 8, 15, 0.8); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__top { display: flex; justify-content: flex-end; padding: 12px; }
.lightbox__stage { display: grid; place-items: center; padding: 0 16px; min-height: 0; }
.lightbox__stage img { max-width: min(1100px, 100%); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
.lightbox__caption { flex: 1; text-align: center; font-size: 0.95rem; color: var(--on-dark-soft); }
.lightbox .icon-btn { background: rgba(255, 255, 255, 0.08); }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox .icon-btn[hidden] { display: none; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

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

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--plum-950); color: var(--on-dark); padding: 120px var(--gutter) 60px; }
.notfound p { margin-top: 1rem; color: var(--on-dark-soft); }
.notfound .cta-row { justify-content: center; }
