/* =========================================================
   Corretora Iolanda Bezerra — identidade preto + dourado
   Cores e fontes: edite as variáveis abaixo
   ========================================================= */
:root {
  --ink: #0d0d0d;
  --ink-2: #141414;
  --ink-3: #1b1b1b;
  --ink-4: #232323;
  --line: rgba(230, 215, 168, 0.16);
  --line-strong: rgba(230, 215, 168, 0.38);
  --champagne: #e6d7a8;
  --gold: #d9b852;
  --gold-deep: #b3833b;
  --gold-grad: linear-gradient(120deg, #b3833b 0%, #fdf3b6 28%, #d9b852 52%, #efdc90 74%, #c2955f 100%);
  --text: #f4f0e6;
  --muted: #b8b2a4;
  --ivory: #faf7f0;
  --ivory-text: #24211c;
  --whatsapp: #1f9d55;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--champagne); }
a:hover { color: #fff; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: 0.005em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-grad);
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--text); }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--champagne); border-bottom-color: var(--champagne); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-gold {
  background: var(--gold-grad);
  color: #1a1408;
  box-shadow: 0 8px 28px rgba(217, 184, 82, 0.22);
}
.btn-gold:hover { color: #000; transform: translateY(-1px); box-shadow: 0 10px 34px rgba(217, 184, 82, 0.35); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--champagne); color: var(--champagne); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0.75) 70%, var(--ink) 100%),
    url("img/fundo-dourado.webp") center / cover no-repeat,
    var(--ink-3);
  padding: 40px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }
.hero-text { padding-bottom: 8px; }
.hero h1 { color: var(--text); }
.hero h1 .gold-text { display: inline; }
.hero .lead { font-size: 1.02rem; color: #ddd6c6; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { width: 100%; }
.hero-creci {
  margin-top: 26px;
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  outline: 1px solid var(--line);
  outline-offset: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
}

.hero-photo { position: relative; order: -1; display: flex; justify-content: center; }
.arch {
  position: relative;
  width: min(78vw, 340px);
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(120% 80% at 50% 25%, rgba(230, 215, 168, 0.22) 0%, rgba(230, 215, 168, 0) 60%),
    linear-gradient(180deg, #2a2a2a 0%, #151515 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
}
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px 2px 0;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.arch img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 86%;
  max-width: none;
}

/* ---------- Faixa de credenciais ---------- */
.credentials { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cred-list li { padding: 20px 10px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred-list li:nth-child(2n) { border-right: 0; }
.cred-list li:nth-last-child(-n + 2) { border-bottom: 0; }
.cred-list strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.cred-list span { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Seções ---------- */
.section { padding: 72px 0; }
.section-dark { background: var(--ink-2); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.muted { color: var(--muted); }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.portrait-frame { position: relative; max-width: 440px; margin: 0 auto; padding: 14px; }
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  transform: translate(10px, 10px);
}
.portrait-frame img { position: relative; width: 100%; filter: saturate(0.95); }
.about-text p { color: #ddd6c6; }
.about-text strong { color: var(--text); font-weight: 600; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.signature img { width: 54px; height: auto; }
.signature-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.signature-role { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); }

/* Serviços */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--ink-3) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--text); }
.card p { color: var(--muted); margin: 0; font-size: 0.94rem; }

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
.steps li { position: relative; padding: 22px 22px 22px 76px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); }
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 22px;
  top: 18px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Chamada */
.cta-band {
  position: relative;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.7) 100%),
    url("img/fundo-dourado.webp") center / cover no-repeat,
    var(--ink-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: #ddd6c6; max-width: 560px; margin: 0 auto 26px; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.company-data {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.company-data h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.company-data dl { margin: 0; }
.company-data .row { padding: 11px 0; border-bottom: 1px solid var(--line); }
.company-data .row:last-child { border-bottom: 0; }
.company-data dt { font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--champagne); }
.company-data dd { margin: 2px 0 0; font-weight: 500; font-size: 0.94rem; color: var(--text); overflow-wrap: anywhere; }
.company-data .btn { margin-top: 20px; width: 100%; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-3);
  min-height: 340px;
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.35) contrast(1.05); }

/* ---------- Páginas legais (fundo claro para leitura) ---------- */
.legal { background: var(--ivory); color: var(--ivory-text); padding: 48px 0 64px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 2.4rem; color: #111; }
.legal h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: #111; margin-top: 2em; letter-spacing: 0.01em; }
.legal a { color: #7a5a1e; }
.legal a:hover { color: #000; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.4em; }
.legal .updated { color: #6b6457; font-size: 0.9rem; }
.legal .box { background: #fff; border: 1px solid #e8dfc6; border-left: 3px solid var(--gold-deep); border-radius: 8px; padding: 16px 18px; margin: 0 0 1em; }
.legal .box p { margin: 0; }
.back-link { display: inline-block; margin-top: 28px; font-weight: 600; }

/* ---------- Rodapé ---------- */
.site-footer { background: #080808; color: #d8d2c4; padding: 48px 0 30px; font-size: 0.9rem; line-height: 1.75; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-brand img { width: 46px; height: auto; }
.footer-brand .brand-name { font-size: 1.5rem; }
.site-footer a { color: var(--champagne); }
.site-footer a:hover { color: #fff; }
.footer-legal { margin: 0 0 18px; overflow-wrap: anywhere; }
.footer-legal strong { color: #fff; font-weight: 600; }
.footer-links { margin: 0 0 18px; }
.footer-links span { margin: 0 8px; opacity: 0.5; }
.copy { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: #9d9789; font-size: 0.8rem; }

/* ---------- Telas maiores ---------- */
@media (min-width: 640px) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.7rem; }
  .hero-actions .btn { width: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cred-list { grid-template-columns: repeat(4, 1fr); }
  .cred-list li { border-bottom: 0; }
  .cred-list li:nth-child(2n) { border-right: 1px solid var(--line); }
  .cred-list li:last-child { border-right: 0; }
  .company-data .btn { width: auto; }
  .company-data { padding: 32px; }
}

@media (min-width: 960px) {
  h1 { font-size: 4.1rem; }
  .section { padding: 100px 0; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
  .hero-text { padding-bottom: 96px; }
  .hero-photo { order: 0; }
  .arch { width: 100%; max-width: 430px; }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 70px 22px 24px; }
  .steps li::before { top: 22px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 420px) {
  .hero-creci { font-size: 0.64rem; letter-spacing: 0.12em; padding: 8px 12px; }
  .company-data { padding: 22px 16px; }
  .company-data dd { font-size: 0.86rem; }
  .signature-role { font-size: 0.6rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
