:root {
  --brand-50: #eaf5ff;
  --brand-100: #d3e8fb;
  --brand-200: #93bfed;
  --brand-300: #6ea7e9;
  --brand-400: #468be5;
  --brand-500: #2f74cf;
  --brand-600: #235da9;
  --brand-700: #1a4785;
  --brand-800: #123a6f;
  --brand-900: #0b2f63;
  --brand-950: #071e42;

  /* Dourado / creme / espresso do manual da marca */
  --gold-100: #f9efdf;
  --gold-200: #f2dfc0;
  --gold-300: #e9cb9c;
  --gold-400: #deb37c;
  --gold-500: #cf9a58;
  --gold-600: #b57f42;
  --gold-700: #8f6234;
  --espresso: #311d01;
  --cream: #f5efea;
  --cream-deep: #ebe0d7;

  /* Neutros frios derivados de #5d7b9f */
  /* Tinta dos títulos: navy da marca suavizado em direção ao aço #5d7b9f.
     Para o navy cheio (fundos, faixas) use --brand-900. */
  --ink: #284a78;
  --ink-soft: #3a506b;
  --ink-muted: #5d7b9f;
  --line: #d5e2f0;
  --line-strong: #b6c8de;
  --surface: #ffffff;
  --surface-tint: #f5efea;

  --radius-sm: 3px;
  --radius: 5px;
  --radius-lg: 8px;

  --font-sans: 'Helvetica Neue', Helvetica, Arimo, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--surface-tint);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Tipografia de destaque ---------- */
.font-display,
.display-title,
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
}
h1 { font-weight: 500; }
h3, h4, h5, h6 {
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}
.display-accent,
em, i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}
.display-accent { color: var(--gold-600); }
.on-dark .display-accent,
.gradient-panel .display-accent,
.site-cta-banner .display-accent { color: var(--gold-400); }

/* ---------- Hero ---------- */
.hero-glow {
  background: linear-gradient(180deg, var(--cream) 0%, #ffffff 68%);
}
.hero-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(222,179,124,.24) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
}
.hero-glow > * { position: relative; }

.card-shadow { box-shadow: 0 1px 2px rgba(11,47,99,.05), 0 10px 26px rgba(11,47,99,.06); }
.float-shadow { box-shadow: 0 2px 4px rgba(11,47,99,.06), 0 18px 44px rgba(11,47,99,.10); }

/* ---------- Kicker editorial (sem pílula) ---------- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  color: var(--gold-700);
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  padding: 0;
  border: 0;
  background: none;
}
.section-kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold-400);
}
.text-center .section-kicker::after,
.mx-auto.max-w-3xl.text-center .section-kicker::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold-400);
}

/* ---------- Texto corrido ---------- */
.rich-copy p { margin-top: 1rem; line-height: 1.85; color: var(--ink-soft); }
.rich-copy h2, .rich-copy h3 { color: var(--ink); margin-top: 2.25rem; }
.rich-copy h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  padding-bottom: .625rem;
  border-bottom: 1px solid var(--gold-300);
}
.rich-copy h3 { font-size: 1.125rem; font-weight: 700; }
.rich-copy ul { margin-top: 1rem; padding-left: 1.1rem; color: var(--ink-soft); list-style: none; }
.rich-copy li { position: relative; margin-top: .5rem; line-height: 1.8; }
.rich-copy li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: .7em;
  width: .375rem;
  height: 1px;
  background: var(--gold-500);
}

.hero-image-mask {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero-image-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,47,99,0.04) 0%, rgba(11,47,99,0.16) 100%);
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  padding: .6rem .85rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--gold-600);
  border: 1px solid var(--gold-300);
}
.hero-card-icon { flex: 0 0 3rem; }

/* ---------- Botões ---------- */
.hero-primary-cta {
  border-radius: var(--radius);
  padding: 1rem 1.9rem;
  box-shadow: none;
}
.hero-primary-cta:hover { box-shadow: none; }

.home-panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--gold-400);
  color: var(--espresso);
  padding: 1rem 1.9rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.25rem;
  box-shadow: none;
  transition: background .2s ease, color .2s ease;
}
.home-panel-cta:hover {
  background: var(--gold-300);
  color: var(--espresso);
}

.site-cta-section { background: #fff; }
.site-cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--brand-900);
  color: var(--cream);
  border-left: 1px solid var(--gold-400);
  border-radius: var(--radius-lg);
}
.site-cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(222,179,124,.10) 1px, transparent 1px);
  background-size: 88px 100%;
}
.site-cta-banner > * { position: relative; z-index: 1; }
.site-cta-banner h2 { color: var(--cream); }
.site-cta-banner p { color: rgba(245,239,234,.72); }
.site-cta-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--gold-400);
  color: var(--espresso);
  padding: .9rem 1.75rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.25rem;
  box-shadow: none;
  transition: background .2s ease, color .2s ease;
}
.site-cta-banner-button:hover {
  background: var(--gold-300);
  color: var(--espresso);
}

.page-primary-cta {
  border-radius: var(--radius);
  padding: .9rem 1.6rem;
}

.form-submit-cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand-900);
  color: #fff;
  padding: .95rem 1rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.25rem;
  cursor: pointer;
  box-shadow: none;
  transition: background .2s ease;
}
.form-submit-cta:hover { background: var(--gold-400); color: var(--espresso); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 1.15rem .25rem;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
  padding-right: 1.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  margin-right: -1.25rem;
  color: var(--gold-500);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin-top: .75rem;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.8;
  max-width: 60ch;
}

/* ---------- Grade de planos ---------- */
.plans-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plan-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 14rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: none;
  transition: background .2s ease, color .2s ease;
}
.plan-type-card:hover { background: var(--cream); }
.plan-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 3.75rem;
  border: 0;
  border-radius: 0;
  color: var(--brand-400);
  background: transparent;
  transition: color .2s ease;
}
.plan-type-card:hover .plan-type-icon { color: var(--gold-500); }
.plan-type-icon svg { width: 3.25rem; height: 3.25rem; }
.plan-type-card h3 {
  margin-top: .9rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.plan-type-card p {
  margin-top: .6rem;
  color: var(--ink-muted);
  font-size: .875rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .plans-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .plans-grid { grid-template-columns: 1fr; }
}

/* ---------- Formulário ---------- */
.contact-form-card {
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-400);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 2.25rem;
  box-shadow: 0 2px 4px rgba(11,47,99,.05), 0 18px 44px rgba(11,47,99,.07);
}
.contact-hero-primary {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--brand-900);
  color: #fff;
  padding: .875rem 1.5rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.25rem;
  box-shadow: none;
  transition: background .2s ease;
}
.contact-hero-primary:hover { background: var(--gold-400); color: var(--espresso); }

.contact-field { display: block; }
.contact-field span {
  display: block;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.contact-field small {
  color: var(--ink-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  padding: .8rem .9rem;
  font-size: .9375rem;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #a9bcd4; }
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(70, 139, 229, .14);
}
.contact-choice {
  display: flex;
  align-items: center;
  gap: .625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: .8rem 1rem;
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 500;
  transition: border .2s ease, background .2s ease;
}
.contact-choice:hover { border-color: var(--gold-300); background: var(--cream); }
.contact-choice input { accent-color: var(--brand-400); }
.contact-context-note {
  margin-top: 1.25rem;
  border-left: 2px solid var(--gold-300);
  border-radius: 0;
  background: transparent;
  color: var(--ink-muted);
  padding: .25rem 0 .25rem 1rem;
  font-size: .8125rem;
  line-height: 1.7;
}
.contact-context-note a {
  color: var(--brand-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-whatsapp-cta {
  display: inline-flex;
  width: 100%;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: .875rem 1.25rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.25rem;
  box-shadow: none;
  transition: background .2s ease, border .2s ease;
}
.contact-whatsapp-cta:hover { background: var(--cream); border-color: var(--gold-300); }
.contact-whatsapp-cta svg { width: 1rem; height: 1rem; color: #1fae5b; }

/* ---------- Linha do tempo ---------- */
.about-timeline {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-timeline::before { display: none; }
.about-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 1.75rem .25rem;
  box-shadow: none;
}
.about-timeline-year {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
}
.about-timeline-item h3 {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
}
.about-timeline-item p {
  margin-top: .4rem;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.8;
  max-width: 62ch;
}
@media (max-width: 640px) {
  .about-timeline-item { grid-template-columns: 1fr; gap: .5rem; }
}

/* ---------- Cartões com imagem ---------- */
.image-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.image-card:hover {
  border-color: var(--gold-300);
  box-shadow: 0 2px 4px rgba(11,47,99,.06), 0 18px 44px rgba(11,47,99,.08);
}
.image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* ---------- Painel escuro ---------- */
.gradient-panel {
  background: var(--brand-900);
  border-left: 1px solid var(--gold-400);
  position: relative;
}
.gradient-panel h2 { color: var(--cream); }
.gradient-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(222,179,124,.10) 1px, transparent 1px);
  background-size: 88px 100%;
}
.gradient-panel > * { position: relative; z-index: 1; }

.stats-grid > div {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

/* ---------- Header ---------- */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: var(--radius);
  background: var(--brand-900);
  color: #fff;
  padding: .7rem 1.15rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.25rem;
  box-shadow: none;
  transition: background .2s ease;
}
.header-cta {
  background: var(--gold-400);
  color: var(--espresso);
}
.header-cta:hover { background: var(--gold-300); color: var(--espresso); }
.header-cta:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}
.header-cta svg { width: 1rem; height: 1rem; flex: 0 0 auto; }

/* Link de navegação com sublinhado fino em vez de pílula */
.nav-link {
  position: relative;
  padding: .35rem .125rem;
  margin: 0 .75rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(245,239,234,.78);
  transition: color .2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.35rem;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active {
  color: #fff;
  font-weight: 600;
}
.nav-link.is-active::after { transform: scaleX(1); }

.mobile-menu-panel { transform: translateX(100%); }
.hs-overlay.open .mobile-menu-panel,
.hs-overlay.hs-overlay-open .mobile-menu-panel,
.hs-overlay.opened .mobile-menu-panel,
.hs-overlay:not(.hidden) .mobile-menu-panel {
  transform: translateX(0);
}

/* ---------- Botão secundário (contorno) ---------- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 1rem 1.9rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.25rem;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.btn-ghost:hover {
  border-color: var(--gold-500);
  background: var(--cream);
  color: var(--brand-900);
}

/* ---------- Link de texto com seta ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--brand-900);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-bottom: .2rem;
  border-bottom: 1px solid var(--gold-400);
  transition: color .2s ease, border-color .2s ease;
}
.link-arrow::after { content: "→"; font-size: .875rem; letter-spacing: 0; }
.link-arrow:hover { color: var(--gold-700); border-color: var(--gold-600); }

/* ---------- Numeral serifado das etapas ---------- */
.step-number {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: center;
  width: 2.5rem;
  padding-top: .1rem;
  border-top: 1px solid var(--gold-400);
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
}

/* ---------- Link de retorno ---------- */
.link-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.link-back::before { content: "←"; font-size: .875rem; letter-spacing: 0; }
.link-back:hover { color: var(--brand-900); }

/* ---------- Rodapé escuro ---------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(245,239,234,.72);
  border-top: 1px solid var(--gold-400);
}
.footer-heading {
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.footer-link {
  color: rgba(245,239,234,.72);
  transition: color .2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-link:hover { color: #fff; border-bottom-color: var(--gold-400); }
.footer-divider { border-top: 1px solid rgba(245,239,234,.14); }


/* ---------- Topo escuro ---------- */
.site-header {
  background: var(--brand-900);
  border-bottom: 1px solid rgba(222,179,124,.28);
}
/* Provisório: clareia o logotipo atual até existir a versão para fundo escuro.
   Basta remover esta regra quando o arquivo claro entrar no lugar. */
.site-logo { filter: brightness(0) invert(1); opacity: .96; }
.site-footer .site-logo { filter: brightness(0) invert(1); opacity: .92; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border-radius: var(--radius-sm);
  padding: .5rem .625rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(245,239,234,.78);
  transition: color .2s ease;
}
.lang-toggle:hover { color: #fff; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245,239,234,.24);
  border-radius: var(--radius-sm);
  padding: .6rem;
  color: var(--cream);
  transition: border-color .2s ease, background .2s ease;
}
.menu-toggle:hover { border-color: var(--gold-400); background: rgba(222,179,124,.10); }

/* ---------- Faixa de credenciais (autoridade) ---------- */
.authority-band {
  background: var(--brand-900);
  border-top: 1px solid rgba(222,179,124,.3);
  border-bottom: 1px solid rgba(222,179,124,.3);
}
.authority-grid {
  display: grid;
  gap: 1px;
  background: rgba(245,239,234,.14);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .authority-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .authority-grid { grid-template-columns: repeat(5, 1fr); } }
.authority-item {
  background: var(--brand-900);
  padding: 2rem 1.5rem;
  text-align: center;
}
.authority-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.2vw + .8rem, 2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold-400);
  overflow-wrap: break-word;
  hyphens: auto;
}
.authority-label {
  display: block;
  margin-top: .625rem;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  color: rgba(245,239,234,.72);
}

/* ---------- Citação editorial ---------- */
.pull-quote {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}
@media (min-width: 768px) { .pull-quote p { font-size: 1.875rem; } }
.pull-quote footer {
  margin-top: 1.75rem;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold-700);
}
.pull-quote::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 2rem;
  background: var(--gold-400);
}

/* ---------- Retrato ---------- */
.portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(222,179,124,.5);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.portrait-frame img { display: block; width: 100%; object-fit: cover; }
.portrait-offset { position: relative; }
.portrait-offset::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.portrait-offset > * { position: relative; z-index: 1; }

/* ---------- Assinatura ---------- */
.brand-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--brand-900);
}

/* ---------- Seção creme ---------- */
.section-cream { background: var(--cream); }

/* ---------- Nota sobreposta ao retrato do hero ---------- */
.hero-note {
  position: relative;
  z-index: 2;
  margin: -3.5rem 1.5rem 0 auto;
  max-width: 24rem;
  border-left: 2px solid var(--gold-400);
  background: #fff;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 2px 4px rgba(11,47,99,.06), 0 18px 44px rgba(11,47,99,.10);
}
.hero-note-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 640px) {
  .hero-note { margin-right: 0; margin-left: 0; }
}

/* ---------- Título de abertura (Playfair itálico, o destaque do manual) ---------- */
.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--ink);
}


/* ---------- Seletor de idioma ----------
   Sem caixa: mesma lógica tipográfica dos links do menu — versalete
   espaçado, ativo em dourado com filete. Divisores em hairline. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-right: .5rem;
}
.lang-option {
  position: relative;
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: .35rem .6rem;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  color: rgba(245,239,234,.5);
  transition: color .2s ease;
}
.lang-option + .lang-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: .75rem;
  background: rgba(245,239,234,.18);
}
.lang-option::after {
  content: "";
  position: absolute;
  left: .6rem;
  right: .6rem;
  bottom: .05rem;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.lang-option:hover { color: rgba(245,239,234,.9); }
.lang-option.is-active { color: var(--gold-400); }
.lang-option.is-active::after { transform: scaleX(1); }
.lang-option:focus-visible {
  outline: 1px solid var(--gold-400);
  outline-offset: 2px;
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--gold-400);
  color: var(--espresso);
  box-shadow: 0 6px 18px rgba(11,47,99,.28);
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { background: var(--gold-300); transform: translateY(-2px); }
.wa-float svg { position: relative; z-index: 1; width: 1.75rem; height: 1.75rem; }
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--gold-400);
  opacity: .55;
  animation: wa-pulse 2.4s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
@media (min-width: 640px) {
  .wa-float { right: 1.75rem; bottom: 1.75rem; width: 3.75rem; height: 3.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float-pulse { animation: none; opacity: .3; }
}

/* ---------- Exceção: o "J" swash da Playfair não serve para o nome ---------- */
.hero-title-sans {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ---------- Linha de apoio do título (Playfair itálico dourado) ---------- */
.hero-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gold-600);
}

/* ---------- E-mail protegido contra coletores ----------
   O texto vem invertido no HTML e é reordenado aqui, para que
   o endereço legível nunca exista no código-fonte da página. */
.email-protect-rev {
  unicode-bidi: bidi-override;
  direction: rtl;
}
.email-protect a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.email-protect a:hover {
  color: #fff;
  border-bottom-color: var(--gold-400);
}
