/* Estilo compartilhado das páginas internas — Pereira & Ricci */
:root {
  --navy: #05092C;
  --navy-mid: #0b1145;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #7A5C1E;
  --gold-gradient: linear-gradient(135deg, #9A7A2E 0%, #E2C97E 40%, #C9A84C 60%, #7A5C1E 100%);
  --cream: #FAF9F7;
  --white: #ffffff;
  --text: #1A1F36;
  --text-mid: #4A4E6B;
  --line: #E6E0D2;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background: var(--cream); color: var(--text); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); }
a:hover { color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,9,44,0.97);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.site-header .inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.25rem;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-header img { height: 40px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 1.5rem; }
.site-header nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.site-header nav a:hover { color: var(--gold-light); }
.site-header .back { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); }
@media (max-width: 720px) { .site-header nav .hide-sm { display: none; } }

/* Hero */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, #111a5e 100%);
  color: var(--white); padding: 72px 1.25rem 64px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' stroke='%23D4AF3A' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
}
.page-hero .inner { max-width: 1040px; margin: 0 auto; position: relative; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 4px;
  background: rgba(201,168,76,0.18); border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(30px, 5vw, 50px); line-height: 1.12; margin-bottom: 18px; max-width: 820px;
}
.page-hero h1 em { color: var(--gold-light); }
.page-hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 8px; border: none; cursor: pointer;
  font-family: 'Cinzel', serif; font-weight: 800; font-size: 0.92rem; letter-spacing: 0.06em;
  text-decoration: none; transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-gold { background: var(--gold-gradient); color: var(--navy); box-shadow: 0 6px 20px rgba(154,122,46,0.3); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--gold-light); border: 1px solid rgba(226,201,126,0.55); }
.btn-ghost:hover { background: rgba(226,201,126,0.1); color: var(--white); }
.btn-whats { background: #1E8E4E; color: #fff; font-family: 'Open Sans', sans-serif; font-weight: 700; letter-spacing: 0; }
.btn-whats:hover { background: #17733F; color: #fff; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* Conteúdo */
.section { padding: 72px 1.25rem; }
.section.alt { background: var(--white); }
.section .inner { max-width: 1040px; margin: 0 auto; }
.section h2 {
  font-family: 'Playfair Display', serif; color: var(--navy);
  font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin-bottom: 14px;
}
.section .intro { color: var(--text-mid); max-width: 720px; margin-bottom: 36px; font-size: 1.02rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px;
}
.section.alt .card { background: var(--cream); }
.card .ico { font-size: 32px; color: var(--gold); margin-bottom: 12px; display: block; }
.card h3 { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--text-mid); }

.steps { list-style: none; display: grid; gap: 14px; counter-reset: passo; }
.steps li {
  counter-increment: passo; display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
}
.steps li::before {
  content: counter(passo); flex: 0 0 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); font-family: 'Cinzel', serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; }
.steps p { font-size: 0.95rem; color: var(--text-mid); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.section.alt .faq details { background: var(--cream); }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-dark); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: var(--text-mid); font-size: 0.96rem; }

/* Formulário */
.form-card {
  background: var(--white); border-radius: 16px; padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(5,9,44,0.12); border-top: 5px solid var(--gold); color: var(--text);
}
.form-card h2 { text-align: center; }
.form-card .sub { text-align: center; color: var(--text-mid); margin-bottom: 26px; font-size: 0.95rem; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.74rem; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid #D9D4C7; border-radius: 8px;
  font: inherit; font-size: 1rem; background: #FCFBF8; color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201,168,76,0.18); }
.form-card .btn { width: 100%; }
.form-note { text-align: center; font-size: 0.78rem; color: #6B6F86; margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 0.93rem; }
.form-msg.ok { display: block; background: #E8F5E9; color: #1B5E20; border: 1px solid #C8E6C9; }
.form-msg.err { display: block; background: #FDECEA; color: #8A1C12; border: 1px solid #F5C2BC; }
.honeypot { position: absolute; left: -9999px; }

/* Texto longo (políticas) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.08rem; color: var(--navy); margin: 24px 0 8px; }
.prose p, .prose li { color: #33374F; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose .updated { font-size: 0.88rem; color: var(--text-mid); }

/* Faixa CTA */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 64px 1.25rem; }
.cta-band h2 { font-family: 'Playfair Display', serif; color: var(--gold-light); font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; }

.disclaimer { font-size: 0.82rem; color: var(--text-mid); max-width: 780px; margin: 28px auto 0; text-align: center; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 48px 1.25rem; font-size: 0.86rem; text-align: center; }
.site-footer img { height: 36px; width: auto; margin: 0 auto 16px; opacity: .85; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 14px 0; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #1E8E4E; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.whats-float svg { width: 28px; height: 28px; fill: #fff; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

@media (max-width: 600px) {
  .section { padding: 56px 1.25rem; }
  .form-card { padding: 28px 20px; }
  .page-hero { padding: 56px 1.25rem 48px; }
}

@media (max-width: 440px) {
  .site-header img { height: 30px; }
  .site-header .back { font-size: 0.8rem; white-space: nowrap; }
}
