/* Isis Carvalho — Advogada Previdenciária */
/* Fontes hospedadas no próprio site (sem Google Fonts): mais privacidade (LGPD) e CSP mais restrita */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }

:root {
  --navy: #0e243b;
  --navy-2: #13304d;
  --gold: #bb9358;
  --gold-2: #c9a46c;
  --gold-soft: #e9dcc6;
  --ink: #16263a;
  --muted: #5d6877;
  --line: #e6e1d8;
  --bg: #faf8f5;
  --cream: #efebe4;
  --white: #ffffff;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(14, 36, 59, .07);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.icon { width: 28px; height: 28px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }

.eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.title {
  font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08; letter-spacing: -.01em; color: var(--ink);
}
.title em { font-style: italic; color: var(--gold); }
.on-dark .title, .on-dark { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px; border-radius: 6px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a67f47; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14,36,59,.05); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-logo { height: 50px; width: auto; }
.footer .brand-logo { height: 56px; }
.footer-logo { height: 44px; width: auto; }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 27px; color: var(--navy); letter-spacing: .01em; }
.brand-sub { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 6px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: 11px 18px; font-size: 14px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #fbfaf8 0%, #f5f2ee 100%); }
.hero::before {
  content: ""; position: absolute; right: 23%; top: 40px; width: 360px; height: 360px;
  border: 1px solid var(--gold-soft); transform: rotate(45deg); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; min-height: 560px; }
.hero-text { padding: 48px 0 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px; position: relative; z-index: 1; }
.hero h1.eyebrow { font: 500 12px/1.5 var(--sans); letter-spacing: .16em; color: var(--muted); }
.hero .hero-title { font-family: var(--serif); font-size: clamp(36px, 4.3vw, 56px); line-height: 1.04; letter-spacing: -.015em; }
.hero .hero-title em { color: var(--gold); font-style: italic; }
.hero-lead { font-size: 18px; max-width: 470px; color: #33404f; }
.oab { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.hero-feats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 14px 0 0; padding: 0; list-style: none; }
.hero-feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hero-photo { position: relative; margin-right: calc((100vw - min(var(--wrap), 100vw - 40px)) / -2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }

/* Sobre */
.about { padding: 90px 0; background: #fff; }
.about .wrap { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.about-photo { position: relative; padding: 0 18px 18px 0; }
.about-photo::before { content: ""; position: absolute; left: -18px; top: 26px; right: 0; bottom: 0; border: 1px solid var(--gold); pointer-events: none; }
.about-photo img { position: relative; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: 50% 20%; width: 100%; }
.about-text { display: grid; gap: 22px; }
.about-text p { color: #33404f; font-size: 17px; max-width: 580px; }
.titles { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.titles li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.titles small { color: var(--muted); font-size: 13px; }

/* Atendimento digital */
.digital { background: var(--navy); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.digital .wrap { display: grid; grid-template-columns: 1.15fr .85fr 120px; gap: 50px; align-items: center; }
.digital-text { display: grid; gap: 22px; }
.digital-text p { color: #d4dbe4; font-size: 17px; max-width: 520px; }
.digital .feats { display: flex; flex-wrap: wrap; gap: 18px 34px; list-style: none; padding: 0; margin: 6px 0 8px; }
.digital .feats li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.35; color: #e6ebf1; }
.digital .feats .icon { stroke: #fff; }
.note { font-size: 12.5px; color: #9eabbb; }
.digital-photo { position: relative; }
.digital-photo img { border-radius: 14px; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 50% 30%; width: 100%; }
.digital-badge { position: absolute; top: 22px; left: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.digital-badge svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.5; }
.side-quote { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.8; color: #e6ebf1; }
.side-quote::before { content: ""; display: block; width: 42px; height: 1px; background: var(--gold); margin-bottom: 18px; }

/* Áreas */
.areas { padding: 90px 0; background: var(--bg); }
.center-head { text-align: center; display: grid; gap: 12px; margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold-soft); }
.card .icon { width: 34px; height: 34px; }
.card h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Planejamento */
.plan { padding: 90px 0; background: var(--cream); position: relative; overflow: hidden; }
.plan::after {
  content: ""; position: absolute; right: -120px; top: -60px; width: 420px; height: 420px;
  background: repeating-linear-gradient(135deg, transparent 0 34px, rgba(187,147,88,.28) 34px 35px);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 20%, transparent 70%);
          mask-image: radial-gradient(circle at 70% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}
.plan .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.plan-text { display: grid; gap: 22px; }
.plan-text p { color: #33404f; font-size: 17px; max-width: 360px; }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan-cards .card { flex-direction: column; gap: 14px; padding: 30px 26px; }
.plan-cards .card h3 { font-size: 17px; }
.plan-cta { grid-column: 1 / -1; }

/* Princípios */
.principles { padding: 80px 0; background: #fff; }
.principles .center-head { margin-bottom: 40px; }
.princ { display: grid; grid-template-columns: repeat(3, 1fr); }
.princ > div { display: flex; gap: 18px; padding: 6px 34px; }
.princ > div + div { border-left: 1px solid var(--line); }
.princ > div:first-child { padding-left: 0; }
.princ .icon { width: 36px; height: 36px; }
.princ h3 { font-size: 15.5px; font-weight: 600; font-family: var(--sans); margin-bottom: 6px; }
.princ p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Passos */
.steps { background: var(--navy); color: #fff; padding: 64px 0; }
.steps-head { display: flex; align-items: center; gap: 40px; margin-bottom: 40px; }
.steps-head::after { content: ""; flex: 0 1 200px; height: 1px; background: var(--gold); margin-left: auto; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 48px; }
.steps li { display: flex; align-items: center; gap: 16px; position: relative; }
.steps li + li::before {
  content: "→"; position: absolute; left: -38px; color: #fff; font-size: 22px; opacity: .8;
}
.num { font-family: var(--serif); font-size: 50px; line-height: 1; color: var(--gold-2); }
.steps li span:last-child { font-size: 14.5px; line-height: 1.35; }

/* FAQ */
.faq { padding: 90px 0; background: #fff; }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-head { display: grid; gap: 26px; position: sticky; top: 110px; }
.rule { width: 46px; height: 1px; background: var(--gold); }
.faq-head p { color: var(--muted); max-width: 320px; }
.faq-list { display: grid; gap: 10px; }
details {
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  box-shadow: 0 4px 14px rgba(14,36,59,.04);
}
summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 500; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 8px; height: 8px; flex: none; margin-top: -4px;
  border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink);
  transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
details[open] { border-color: var(--gold-soft); }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* Contato */
.contact { background: var(--navy); color: #fff; padding: 80px 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr 180px; gap: 50px; align-items: center; }
.contact-text { display: grid; gap: 24px; justify-items: start; }
.contact-text p { color: #d4dbe4; max-width: 380px; }
.contact .rule { width: 60px; }
.form {
  background: #fff; color: var(--ink); border-radius: 12px; padding: 30px 26px 24px;
  display: grid; gap: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.form label { display: grid; }
.form input, .form select {
  width: 100%; height: 46px; border: 1px solid #d6dbe2; border-radius: 6px; padding: 0 14px;
  font: 15px var(--sans); color: var(--ink); background: #fff;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316263a' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form input:focus, .form select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(187,147,88,.18); }
.form .btn { justify-content: center; width: 100%; height: 48px; margin-top: 4px; }
.form small { font-size: 12.5px; color: var(--muted); }
.form small a { color: var(--ink); }
.form-msg { font-size: 13px; color: #9a3b2b; }
.form-msg:empty { display: none; }

/* Footer */
.footer { background: var(--bg); padding: 34px 0; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-info { font-size: 13.5px; line-height: 1.7; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { color: var(--gold); }
.footer-links { margin-left: auto; padding-left: 40px; border-left: 1px solid var(--line); display: flex; gap: 14px; font-size: 13.5px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-alert { flex-basis: 100%; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.nowrap { white-space: nowrap; }
.footer-alert strong { color: var(--ink); font-weight: 600; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Páginas legais */
.legal { padding: 70px 0 90px; background: #fff; }
.legal .wrap { max-width: 780px; display: grid; gap: 18px; }
.legal h1 { font-family: var(--serif); font-size: 42px; }
.legal h2 { font-family: var(--serif); font-size: 24px; margin-top: 18px; }
.legal p, .legal li { color: #33404f; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .digital .wrap { grid-template-columns: 1.1fr .9fr; }
  .side-quote { display: none; }
  .contact .wrap { grid-template-columns: 1fr 1fr; }
  .contact .side-quote { display: none; }
}
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .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); }

  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero::before { display: none; }
  .hero-photo { margin: 0 -20px; order: -1; height: 420px; }
  .hero-photo img { object-position: 60% 25%; }
  .hero-text { padding: 36px 0 50px; }
  .about .wrap, .plan .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { max-width: 400px; margin-left: 18px; }
  .digital .wrap { grid-template-columns: 1fr; }
  .digital-photo { max-width: 460px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .princ { grid-template-columns: 1fr; gap: 26px; }
  .princ > div { padding: 0; }
  .princ > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .steps ol { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .steps li + li::before { display: none; }
  .steps-head::after { display: none; }
  .faq-head { position: static; }
  .contact .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .brand-logo { height: 40px; }
  .footer .brand-logo { height: 48px; }
  .hero-photo { height: 360px; }
  .hero-lead { font-size: 16.5px; }
  .about, .areas, .plan, .faq { padding: 64px 0; }
  .digital, .contact { padding: 64px 0; }
  .cards, .plan-cards { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; padding-left: 0; border-left: 0; }
  .footer { padding-bottom: 96px; }
  .form { padding: 24px 18px 20px; }
}
