/* ===== Alessandra Pinheiro Advocacia — estilos ===== */
:root {
  --navy-900: #111111;
  --navy-800: #1C1C1C;
  --navy-600: #3A3A3A;
  --gold-500: #B8955A;
  --gold-400: #C9A96E;
  --gold-100: #F5EFE4;
  --ink: #222222;
  --muted: #666666;
  --line: #E7E4DF;
  --bg: #FFFFFF;
  --bg-soft: #F7F6F4;
  --whatsapp: #25D366;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(17, 17, 17, .06);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy-800); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: .75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ===== Rótulos e títulos de seção ===== */
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--navy-600);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--gold-500); vertical-align: middle; margin-right: .75rem;
}
.eyebrow--light { color: var(--gold-400); }
.eyebrow--light::before { background: var(--gold-400); }

.section { padding: clamp(4rem, 10vw, 7rem) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head h2::after {
  content: ""; display: block; width: 48px; height: 2px;
  background: var(--gold-500); margin-top: 1rem;
}
.section__intro { color: var(--muted); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.6rem; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--gold { background: var(--gold-400); color: var(--navy-900); }
.btn--gold:hover { background: #E2D2B0; transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ===== Cabeçalho ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(17, 17, 17, .0); transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled, .header.menu-open { background: var(--navy-900); box-shadow: 0 2px 16px rgba(0,0,0,.18); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; }
.brand__sub { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-400); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav a {
  color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .5rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(201,169,110,.12), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px;
  border: 1px solid rgba(201,169,110,.25); border-radius: 50%;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__lead { max-width: 56ch; color: rgba(255,255,255,.82); font-size: 1.15rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__oab {
  font-size: .9rem; letter-spacing: .06em; color: var(--gold-400);
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: inline-block;
}

/* ===== Cards ===== */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 2px solid transparent;
  border-radius: var(--radius); padding: 2rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-top-color: var(--gold-500); }
.card__icon {
  width: 40px; height: 40px; margin-bottom: 1.25rem;
  fill: none; stroke: var(--gold-500); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.card p { color: var(--muted); margin: 0; }
.card--accent { background: var(--gold-100); border-color: transparent; }

/* ===== Sobre ===== */
.about { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
.about__photo { max-width: 400px; position: relative; }
.about__photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-500); border-radius: var(--radius);
}
.about__img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center center;
  border-radius: var(--radius); background: var(--navy-900);
}
.photo-placeholder[hidden], .about__img[hidden] { display: none; }
.photo-placeholder {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  display: grid; place-items: center;
}
.photo-placeholder span { font-family: var(--serif); font-size: 5rem; color: var(--gold-400); letter-spacing: .05em; }
.about__oab { color: var(--gold-500); font-weight: 600; letter-spacing: .04em; margin-top: -.25rem; }
.about__text p { max-width: 62ch; }
.about__quote {
  margin: 2rem 0 0; padding: .25rem 0 .25rem 1.5rem; border-left: 2px solid var(--gold-500);
  font-family: var(--serif); font-size: 1.6rem; font-style: italic; line-height: 1.35; color: var(--navy-800);
}

/* ===== Passos ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border: 1px solid var(--gold-500); border-radius: 50%;
  font-family: var(--serif); font-size: 1.35rem; color: var(--navy-800);
}
.step p { color: var(--muted); margin: 0; }

/* ===== Contato ===== */
.section--navy { background: var(--navy-900); color: rgba(255,255,255,.85); }
.section--navy h2 { color: #fff; }
.section--navy .section__intro { color: rgba(255,255,255,.75); }
.contact { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact__item {
  display: flex; align-items: center; gap: 1rem; padding: 1.5rem; min-height: 88px;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  color: #fff; text-decoration: none; transition: border-color .2s, background-color .2s;
  overflow-wrap: anywhere;
}
a.contact__item:hover { border-color: var(--gold-400); background: rgba(255,255,255,.03); }
.contact__item svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--gold-400); }
.contact__item svg.stroke { fill: none; stroke: var(--gold-400); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.contact__item span { display: flex; flex-direction: column; font-size: .98rem; line-height: 1.45; }
.contact__item strong { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; margin-bottom: .2rem; }
.contact__note { margin-top: 2rem; font-size: .9rem; color: rgba(255,255,255,.6); max-width: 70ch; }

/* ===== Rodapé ===== */
.footer { background: #2E0D17; color: rgba(255,255,255,.7); font-size: .92rem; border-top: 1px solid rgba(201,169,110,.35); padding: 3rem 0 1.5rem; }
.footer p { margin: 0 0 .25rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer__name { font-family: var(--serif); font-size: 1.35rem; color: #fff; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer a { color: var(--gold-400); text-decoration: none; padding: .25rem 0; }
.footer a:hover { text-decoration: underline; }
.footer__copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: rgba(255,255,255,.5); }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; align-items: center; gap: .6rem;
  height: 60px; min-width: 60px; padding: 0 15px; border-radius: 30px;
  background: var(--whatsapp); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s;
  animation: float-in .6s ease-out .8s both;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.whatsapp-float__label { display: none; color: #0B3D1E; }
@keyframes float-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ===== Aparecimento suave ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Página de texto (política) ===== */
.page { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.page .container { max-width: 780px; }
.page h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.page ul { padding-left: 1.25rem; }
.header--solid { background: var(--navy-900); }

/* ===== Celular ===== */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 12px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--navy-900); border-top: 1px solid rgba(201,169,110,.25);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 360px; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.5rem; }
  .nav a { display: block; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a::after { display: none; }
  .brand__name { font-size: 1.2rem; }
}

@media (min-width: 861px) {
  .about { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .whatsapp-float { padding: 0 22px 0 16px; }
  .whatsapp-float__label { display: inline; color: #fff; }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .about__photo { margin-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Tema Vinho & Nude: acolhimento, modernidade e inovação ===== */
body { background: #FFFFFF; }
.btn { border-radius: 999px; padding-left: 1.9rem; padding-right: 1.9rem; }
.card { border-radius: 16px; border-top-width: 1px; }
.card:hover { border-color: var(--gold-400); box-shadow: 0 10px 30px rgba(15, 76, 58, .08); }
.card__icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--gold-100); stroke: var(--navy-800); }
.card--accent { background: linear-gradient(150deg, var(--gold-100), #ECE6DB); }
.card--accent .card__icon { background: #fff; }
.about__oab { color: #8C6D3A; }
.about__photo::before { border-radius: 16px; }
.photo-placeholder, .about__img { border-radius: 16px; }
.contact__item { border-radius: 16px; }
.step__num { background: var(--gold-100); border-color: transparent; }
.section--soft { background: #FAF8F3; }
.hero { background:
    radial-gradient(ellipse at 85% 15%, rgba(201,169,110,.18), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(80,80,80,.6), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%); }

/* ===== Tema: fundo branco, detalhes em Esmeralda e Champanhe ===== */
:root { --emerald: #141414; --emerald-2: #3A3A3A; --champ-text: #8A6A32; --champ-big: #A8843F; }

/* Cabeçalho */
.header.is-scrolled, .header.menu-open, .header--solid { background: #fff; box-shadow: 0 2px 16px rgba(17,17,17,.07); border-bottom: 1px solid var(--line); }
.brand__name { color: var(--emerald); }
.brand__sub { color: var(--champ-text); }
.nav a { color: var(--emerald); }
.nav a:hover, .nav a.is-active { color: var(--emerald-2); }
.nav a::after { background: var(--gold-500); }
.nav-toggle span { background: var(--emerald); }

/* Início */
.hero {
  background:
    radial-gradient(ellipse at 88% 12%, rgba(201,169,110,.22), transparent 55%),
    radial-gradient(ellipse at 5% 100%, rgba(17,17,17,.05), transparent 60%),
    #FFFFFF;
  color: var(--ink);
}
.hero::after { border-color: rgba(184,149,90,.35); }
.hero h1 { color: var(--emerald); }
.hero h1 em { color: var(--champ-big); }
.hero__lead { color: var(--muted); }
.hero__oab { color: var(--champ-text); border-top-color: var(--line); }
.eyebrow { color: var(--champ-text); }
.eyebrow--light { color: var(--champ-text); }
.eyebrow::before, .eyebrow--light::before { background: var(--gold-500); }

/* Botões */
.btn--gold { background: var(--emerald); color: #fff; }
.btn--gold:hover { background: var(--emerald-2); }
.btn--ghost { border-color: var(--gold-500); color: var(--emerald); }
.btn--ghost:hover { border-color: var(--emerald); color: var(--emerald); background: var(--gold-100); }

/* Áreas */
.card__icon { stroke: var(--emerald); }

/* Sobre */
.photo-placeholder { background: linear-gradient(160deg, var(--gold-100), #ECE6DB); }
.photo-placeholder span { color: var(--emerald); }

/* Contato */
.section--navy { background: var(--bg-soft); color: var(--ink); }
.section--navy h2 { color: var(--emerald); }
.section--navy .section__intro { color: var(--muted); }
.contact__item { background: #fff; border-color: var(--line); color: var(--ink); }
a.contact__item:hover { border-color: var(--gold-500); background: #fff; box-shadow: 0 10px 30px rgba(17,17,17,.07); }
.contact__item svg { color: var(--emerald); }
.contact__item svg.stroke { stroke: var(--emerald); }
.contact__item strong { color: var(--champ-text); }
.contact__note { color: var(--muted); }

/* Rodapé */
.footer { background: #fff; color: var(--muted); border-top: 1px solid var(--gold-400); }
.footer__name { color: var(--emerald); }
.footer a { color: var(--emerald); }
.footer__copy { color: var(--muted); border-top-color: var(--line); }

/* Menu do celular */
@media (max-width: 860px) {
  .nav { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(17,17,17,.08); }
  .nav a { border-bottom-color: var(--line); }
}

/* ===== Áreas em destaque ===== */
.hero__areas { list-style: none; margin: -0.75rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__areas a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--navy-800); font-size: .92rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.hero__areas a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); margin-right: .55rem; }
.hero__areas a:hover { border-color: var(--gold-500); background: var(--gold-100); }

#areas { background: var(--bg-soft); }
#areas .section__head h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.cards--areas { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card--area { position: relative; display: flex; flex-direction: column; padding: 2.25rem 2rem 1.75rem; background: #fff; }
.card--area h3 { font-size: 1.7rem; }
.card--area p { flex: 1; }
.card__num {
  position: absolute; top: 1.5rem; right: 1.75rem;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-400); opacity: .55;
}
.card__link {
  margin-top: 1.25rem; align-self: flex-start; color: var(--navy-800); font-weight: 600; font-size: .95rem;
  text-decoration: none; border-bottom: 1px solid var(--gold-500); padding: .35rem 0;
}
.card__link span { display: inline-block; transition: transform .2s; }
.card__link:hover span { transform: translateX(4px); }
.card--accent { display: flex; flex-direction: column; }
.card--accent p { flex: 1; }
/* Alternância de fundos entre seções */
#sobre { background: #fff; }
#como-funciona { background: var(--bg-soft); }
#contato.section--navy { background: #fff; }

/* Faixa "Atendimento em todo o Brasil" abaixo das 6 áreas */
.cards--areas .card--accent { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem 1.75rem; padding: 2rem 2.25rem; }
.cards--areas .card--accent .card__icon { margin: 0; }
.cards--areas .card--accent h3 { margin: 0; }
.cards--areas .card--accent p { grid-column: 2; margin: 0; }
.cards--areas .card--accent .card__link { grid-column: 3; grid-row: 1 / span 2; margin: 0; align-self: center; }
@media (max-width: 760px) {
  .cards--areas .card--accent { grid-template-columns: 1fr; }
  .cards--areas .card--accent p, .cards--areas .card--accent .card__link { grid-column: 1; grid-row: auto; }
  .cards--areas .card--accent .card__link { margin-top: .75rem; }
}

/* ===== Barra superior com e-mail e Instagram ===== */
:root { --topbar-h: 38px; --header-h: 110px; }
.topbar { height: var(--topbar-h); background: #141414; color: rgba(255,255,255,.8); font-size: .85rem; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__note { letter-spacing: .04em; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; min-height: 38px; }
.topbar a:hover span { color: var(--gold-400); }
.topbar svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-400); stroke-width: 1.6; color: var(--gold-400); }
.header { height: var(--header-h); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.header__inner { height: calc(var(--header-h) - var(--topbar-h)); }
@media (max-width: 860px) {
  .nav { top: var(--header-h); }
}
@media (max-width: 640px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 1.1rem; font-size: .78rem; }
}
@media (max-width: 400px) {
  .topbar__links { gap: .8rem; font-size: .72rem; }
}
.contact { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer__contact { display: flex; flex-direction: column; gap: .15rem; margin-top: .6rem !important; }
.footer__contact a { padding: .1rem 0; }

.tb-short { display: none; }
@media (max-width: 760px) {
  .tb-long { display: none; }
  .tb-short { display: inline; }
  .topbar__links { gap: 1.75rem; font-size: .85rem; }
}
