:root {
  --black: #0b0b0c;
  --black-soft: #151517;
  --gold: #c9a24b;
  --gold-light: #e0c27a;
  --offwhite: #f6f2ea;
  --text: #222;
  --text-light: #d9d4c8;
  --radius: 10px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.25; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.narrow { width: min(760px, 92%); }
.center { text-align: center; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #000; padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 12, .97);
  border-bottom: 1px solid rgba(201, 162, 75, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--gold); }

/* Brasão recortado da marca (mostra só o escudo MF) */
.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text { font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.2; }
.brand-text small {
  display: block; font-family: "Segoe UI", sans-serif; font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-light);
}

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--text-light); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--gold); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .6rem; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Botões */
.btn {
  display: inline-block; padding: .9rem 1.8rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #111 !important; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #111; }
.btn-small { padding: .55rem 1.2rem; font-size: .9rem; }

/* Início */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 162, 75, .16), transparent 45%),
    linear-gradient(160deg, #000, var(--black-soft));
  color: #fff; padding: clamp(4rem, 12vw, 8rem) 0;
}
.eyebrow { color: var(--gold); letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: var(--gold-light); margin-bottom: 1.2rem; }
.hero-text { max-width: 620px; color: var(--text-light); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-oab { margin-top: 2rem; color: var(--gold); letter-spacing: .15em; font-size: .85rem; }

/* Seções */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section.light { background: var(--offwhite); }
.section.dark { background: var(--black); color: #fff; }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section.dark h2 { color: var(--gold-light); }
.divider { width: 64px; height: 3px; background: var(--gold); margin: 1rem 0 1.8rem; }
.center .divider { margin-inline: auto; }
.section p + p { margin-top: 1rem; }
.section-intro { color: var(--text-light); margin-bottom: 2rem; max-width: 700px; }
.note { margin-top: 2rem; font-size: .9rem; color: #444; }

/* Cartões das áreas */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--black-soft); border: 1px solid rgba(201, 162, 75, .3);
  border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.8rem;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card h3 { color: var(--gold-light); font-size: 1.3rem; margin-bottom: .8rem; }
.card p, .card ul { color: var(--text-light); font-size: .95rem; }
.card ul { margin: .8rem 0 0 1.1rem; }
.card li { margin-bottom: .35rem; }
.card li::marker { color: var(--gold); }

/* Etapas */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li {
  counter-increment: step; background: #fff; border-radius: var(--radius);
  padding: 1.6rem; border: 1px solid rgba(0, 0, 0, .08);
}
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: var(--gold);
  font-family: Georgia, serif; margin-bottom: .8rem;
}
.steps strong { display: block; font-family: Georgia, serif; font-size: 1.15rem; margin-bottom: .3rem; }

/* Perguntas frequentes */
details { border-bottom: 1px solid rgba(0, 0, 0, .15); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; color: #8a6a1f; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: .7rem; color: #444; }

/* Contato */
.contact-list { list-style: none; margin-top: 2.5rem; display: grid; gap: 1.2rem; }
.contact-list li { color: var(--text-light); }
.contact-list span { display: block; color: var(--gold); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.contact-list a { text-decoration: none; font-size: 1.1rem; color: #fff; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-light); }

/* Rodapé */
.site-footer { background: #000; color: var(--text-light); padding: 2rem 0; text-align: center; font-size: .9rem; }
.site-footer strong { color: var(--gold); }
.footer-note { margin-top: .6rem; font-size: .8rem; color: #b9b4a8; }

/* Botão flutuante de WhatsApp */
.float-whatsapp {
  position: fixed; right: 16px; bottom: 16px; z-index: 150;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.2rem; border-radius: 999px;
  background: var(--gold); color: #111; font-weight: 600; text-decoration: none;
  border: 2px solid #000; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .2s, background .2s;
}
.float-whatsapp:hover { transform: translateY(-2px); background: var(--gold-light); }

/* Marca d'água nas seções escuras */
.hero, #contato { position: relative; overflow: hidden; isolation: isolate; }

.hero::before, #contato::before {
  content: "";
  position: absolute; z-index: -1; pointer-events: none;
  background: url("assets/logo.png") no-repeat center / contain;
}
.hero::before {
  right: -4%; top: 50%; transform: translateY(-50%);
  width: min(560px, 90vw); aspect-ratio: 1;
  opacity: .12;
}
#contato::before {
  inset: 0; margin: auto;
  width: min(480px, 85vw); aspect-ratio: 1;
  opacity: .07;
}

/* Celular e tablet */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 1px solid rgba(201, 162, 75, .35);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility 0s linear .3s;
  }
  .nav.open { max-height: 480px; visibility: visible; transition: max-height .3s ease; }
  .nav a { padding: 1rem 5%; border-top: 1px solid rgba(255, 255, 255, .06); }
  .nav .btn { margin: 1rem 5%; text-align: center; }
  .site-footer { padding-bottom: 5rem; }

  .hero::before { right: 50%; transform: translate(50%, -50%); opacity: .09; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}