/* ============================================================
   Leniro Rodrigues Advocacia — Identidade visual (v2, clara)
   Off-white / Creme + Azul-marinho + Dourado suave
   ============================================================ */

:root {
  --navy:        #16243f;
  --navy-deep:   #0f1a2e;
  --gold:        #c2a04c;      /* ornamento: filetes, bordas, estrelas, fundo de botão */
  --gold-deep:   #7f652a;      /* dourado para TEXTO em fundo claro (>=4.5:1 WCAG AA) */
  --gold-light:  #d8bc72;      /* dourado para TEXTO em fundo navy (>=8:1) */
  --cream:       #f3ede3;
  --cream-soft:  #f8f4ec;
  --paper:       #ffffff;
  --ink:         #23262d;
  --muted:       #5f6470;
  --line:        rgba(22, 36, 63, 0.12);
  --line-light:  rgba(255, 255, 255, 0.16);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-weight: 400; color: var(--ink);
  background: var(--cream-soft); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.85rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-deep); }

.section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08;
  letter-spacing: -0.005em; color: var(--navy);
}
.dot { color: var(--gold); }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 2rem; flex-wrap: wrap; }

.lead { font-size: 1.16rem; line-height: 1.6; color: var(--ink); margin-bottom: 1.3rem; }
p { color: var(--muted); margin-bottom: 1.1rem; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1.05rem 2rem; border: 1px solid transparent; cursor: pointer;
  transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.btn--block { width: 100%; }

.link-arrow { display: inline-block; color: var(--navy); font-weight: 600; font-size: 0.9rem; border-bottom: 1px solid var(--gold); padding-bottom: 3px; margin-top: 0.6rem; transition: color 0.3s; white-space: nowrap; }
.link-arrow:hover { color: var(--gold-deep); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; background: rgba(248,244,236,0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled { height: 72px; background: rgba(248,244,236,0.96); box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(22,36,63,0.07); }
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

/* Marca */
.brand { display: flex; align-items: center; gap: 0.9rem; }
.brand__mark { width: auto; height: 52px; flex-shrink: 0; transition: height 0.4s var(--ease); }
.site-header.scrolled .brand__mark { height: 44px; }
.brand__lockup { display: flex; flex-direction: column; align-items: flex-start; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: 0.04em; color: var(--navy); line-height: 1; text-transform: uppercase;
}
.brand__rule { display: flex; align-items: center; gap: 0.5rem; margin-top: 6px; }
.brand__rule::before, .brand__rule::after { content: ""; height: 1px; width: 18px; background: var(--gold); }
.brand__rule span { font-family: var(--font-body); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-deep); }

/* Navegação */
.nav__list { display: flex; gap: 1.85rem; }
.nav__list a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); position: relative; padding-block: 0.5rem; white-space: nowrap; transition: color 0.3s;
}
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.35s var(--ease); }
.nav__list a:hover { color: var(--gold-deep); }
.nav__list a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); transition: all 0.3s var(--ease); }

/* ============================================================
   HERO — dividido
   ============================================================ */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; padding-top: var(--header-h); }
.hero__text { display: flex; align-items: center; min-height: calc(100vh - var(--header-h)); background: var(--cream-soft); padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem); }
.hero__text-inner { max-width: 520px; margin-left: auto; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1.03; letter-spacing: -0.01em;
  color: var(--navy); margin-bottom: 1.6rem;
}
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 420px; margin-bottom: 2.4rem; }

/* Painel da foto do escritório */
.hero__media {
  position: relative; min-height: 60vh;
  background-color: var(--navy);
  background-image: url('../assets/hero-office.jpg?v=7');
  background-size: cover; background-position: 38% center;
}

/* ---------- Assinatura animada do monograma (marca-d'água no vazio do hero) ---------- */
/* No fluxo (não absoluta): a centralização do hero recalcula e nunca corta */
.hero__sigil {
  display: none; position: relative; margin: 0 auto 2.4rem;
  height: clamp(140px, 24vh, 270px); aspect-ratio: 574 / 668; pointer-events: none;
}
@media (min-width: 1200px) { .hero__sigil { display: block; } }
.hero__sigil::before, .hero__sigil::after {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: url('../assets/logo-mark.png?v=2') center / contain no-repeat;
  mask: url('../assets/logo-mark.png?v=2') center / contain no-repeat;
}
/* traço dourado que "desenha" o monograma da esquerda p/ a direita */
.hero__sigil::before { background: var(--gold); animation: sigil-draw 7s linear infinite; }
/* tinta navy: surge por cima, recebe um brilho sutil, segura e some */
.hero__sigil::after {
  background: linear-gradient(115deg, var(--navy) 42%, var(--gold) 50%, var(--navy) 58%);
  background-size: 320% 100%; background-position: 115% 0;
  animation: sigil-ink 7s linear infinite;
}
@keyframes sigil-draw {
  0%       { opacity: 0.28; clip-path: inset(0 100% 0 0); }
  28%      { opacity: 0.28; clip-path: inset(0 0 0 0); }
  46%      { opacity: 0; clip-path: inset(0 0 0 0); }
  99%      { opacity: 0; }
  100%     { opacity: 0; clip-path: inset(0 100% 0 0); }
}
@keyframes sigil-ink {
  0%, 26%  { opacity: 0; background-position: 115% 0; }
  44%      { opacity: 0.18; background-position: 115% 0; }
  56%      { background-position: 115% 0; }
  72%      { background-position: -15% 0; }
  82%      { opacity: 0.18; }
  96%, 100%{ opacity: 0; background-position: -15% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__sigil::before { animation: none; opacity: 0; }
  .hero__sigil::after { animation: none; opacity: 0.14; background: var(--navy); }
}

/* ============================================================
   SOBRE NÓS
   ============================================================ */
.section--about { background: var(--paper); }
.about__body p:first-child { font-size: 1.16rem; color: var(--ink); }
.stats { display: flex; gap: 2.5rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats__num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--navy); line-height: 1; }
.stats__label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.5rem; }

/* ============================================================
   ÁREAS DE ATUAÇÃO
   ============================================================ */
.section--areas { background: var(--cream); }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.areas.areas--three { grid-template-columns: repeat(3, 1fr); }
.area-card { background: var(--cream-soft); padding: clamp(2rem, 3.5vw, 3rem); transition: background 0.4s var(--ease), transform 0.4s var(--ease); position: relative; }
.area-card__num { font-family: var(--font-display); font-size: 1rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; }
.area-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin: 1rem 0 0.8rem; line-height: 1.15; }
.area-card p { font-size: 0.96rem; margin-bottom: 0; }
.area-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.area-card:hover { background: var(--paper); transform: translateY(-3px); }
.area-card:hover::after { transform: scaleX(1); }

/* ============================================================
   EQUIPE
   ============================================================ */
.section--team { background: var(--paper); }
.grid-2--team { align-items: center; }
.team__photo {
  position: relative; aspect-ratio: 4/5; border-radius: 2px;
  background-color: var(--navy);
  background-image: url('../assets/equipe-leniro.jpg?v=3');
  background-size: cover; background-position: center top;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 60px rgba(22,36,63,0.16);
}
.team__role { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.4rem; }

/* ============================================================
   PUBLICAÇÕES
   ============================================================ */
.section--posts { background: var(--cream); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post { border-top: 2px solid var(--navy); padding-top: 1.6rem; transition: transform 0.4s var(--ease); }
.post:hover { transform: translateY(-4px); }
.post__tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.post h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin: 1rem 0 0.8rem; line-height: 1.18; }
.post p { font-size: 0.95rem; }
.post__more { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
a.post { display: block; }
.post__more--link { color: var(--gold-deep); }
/* Colapso: JS esconde além dos 9 primeiros e injeta o botão "Ver todas" */
.posts--collapsed .post:nth-child(n+10) { display: none; }
.posts__more { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   AGENDAMENTO
   ============================================================ */
.section--schedule { background: var(--cream); }
.schedule__lead { max-width: 620px; margin-inline: auto; }

/* ============================================================
   CONTATO
   ============================================================ */
.section--contact { background: var(--paper); }
.contact-info { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.3rem; }
.contact-info li { display: flex; flex-direction: column; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.contact-info span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.35rem; }
.contact-info a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-info a:hover { color: var(--gold-deep); }
.checkbox input { width: 24px; height: 24px; }

.form { background: var(--cream-soft); padding: clamp(1.8rem, 3.5vw, 2.8rem); border: 1px solid var(--line); }
.field { margin-bottom: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; font-family: var(--font-body); font-size: 0.98rem;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(194,160,76,0.2); }
/* Foco visível em TUDO que recebe teclado (navy 15:1 sobre branco) */
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 1px; }
.site-footer :focus-visible, .section--reviews :focus-visible, .cookie :focus-visible { outline-color: var(--gold-light); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b03535; }
.req { color: #b03535; font-weight: 700; }
.form__hint { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field textarea { resize: vertical; }
.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; cursor: pointer; }
.checkbox input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.checkbox a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.form__feedback { margin: 1rem 0 0; font-size: 0.9rem; font-weight: 500; }
.form__feedback.is-ok { color: #1f7a4d; }
.form__feedback.is-error { color: #b03535; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: #fff; padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer__brand { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; align-items: center; max-width: 420px; }
.footer__mark { height: 58px; width: auto; grid-row: span 1; }
.brand__name--footer { color: #fff; font-size: 1.6rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.brand__rule--footer { display: flex; align-items: center; gap: 0.5rem; margin-top: 6px; }
.brand__rule--footer::after { content: ""; height: 1px; width: 22px; background: var(--gold); }
.brand__rule--footer span { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); }
.footer__tagline { color: rgba(255,255,255,0.6); margin-top: 0.4rem; grid-column: 1 / -1; }
.footer__nav { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__nav a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.78); transition: color 0.3s; }
.footer__nav a:hover { color: var(--gold); }

/* Redes sociais */
.footer__connect-title { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-bottom: 1.1rem; }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-light); border-radius: 50%; color: rgba(255,255,255,0.82);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__social svg .o { fill: none; stroke: currentColor; stroke-width: 1.7; }

/* ============================================================
   WHATSAPP FLUTUANTE — canal principal do público, sempre à mão
   ============================================================ */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  box-shadow: 0 10px 30px rgba(22,36,63,0.28);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { background: #1f8f4d; transform: translateY(-2px); }
/* banner de cookies pede decisão primeiro; WA volta depois */
body:has(.cookie.is-visible) .wa-float { opacity: 0; pointer-events: none; }

/* ============================================================
   BANNER DE COOKIES (LGPD)
   ============================================================ */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(14,26,47,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 2px solid var(--gold); color: #fff;
  transform: translateY(100%); transition: transform 0.5s var(--ease);
}
.cookie.is-visible { transform: none; }
.cookie__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: 1.1rem; flex-wrap: wrap; }
.cookie__text { margin: 0; font-size: 0.86rem; color: rgba(255,255,255,0.82); max-width: 760px; line-height: 1.55; }
.cookie__text a { color: var(--gold-light); border-bottom: 1px solid rgba(194,160,76,0.5); }
.cookie__text a:hover { color: #fff; }
.cookie__actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.btn--gold-sm, .btn--ghost-sm {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 1.5rem; border: 1px solid transparent; cursor: pointer; transition: all 0.3s var(--ease);
}
.btn--gold-sm { background: var(--gold); color: var(--navy-deep); }
.btn--gold-sm:hover { background: var(--gold-light); }
.btn--ghost-sm { background: transparent; color: #fff; border-color: var(--line-light); }
.btn--ghost-sm:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; flex-wrap: wrap; }
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin: 0; }
.footer__legal { max-width: 620px; }

/* ============================================================
   PÁGINA LEGAL (Política de Privacidade / Cookies)
   ============================================================ */
.legal-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(2rem, 4vw, 3rem); background: var(--navy); color: #fff; }
.legal-hero .eyebrow { color: var(--gold-light); }
.legal-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.08; color: #fff; }
.legal-hero p { color: rgba(255,255,255,0.7); margin: 1rem 0 0; }
.legal { background: var(--paper); padding-block: clamp(3rem, 6vw, 5rem); }
.legal__wrap { max-width: 820px; margin-inline: auto; }
.legal__updated { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--navy); margin: 2.6rem 0 0.9rem; }
.legal h3 { font-size: 1.02rem; font-weight: 600; color: var(--navy); margin: 1.6rem 0 0.6rem; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal p { margin-bottom: 1rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.legal a:hover { color: var(--gold-deep); }
.legal__back { display: inline-block; margin-top: 2.5rem; font-weight: 600; font-size: 0.9rem; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.legal__note { background: var(--cream); border-left: 3px solid var(--gold); padding: 1.2rem 1.4rem; font-size: 0.9rem; margin: 1.5rem 0; }

/* ============================================================
   REVEAL — só esconde quando há JS (html.js); sem JS/crawler vê tudo
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 980px) {
  .areas, .posts { grid-template-columns: 1fr 1fr; }
  .areas.areas--three { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__text { padding-block: clamp(3rem, 10vw, 5rem); }
  .hero__text-inner { margin-inline: 0; max-width: 600px; }
  .hero__media { min-height: 48vh; order: -1; }
  .grid-2--team { grid-template-columns: 1fr; }
  .team__photo { max-width: 460px; }
}
@media (max-width: 940px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; background: var(--navy-deep);
    display: flex; align-items: center; justify-content: center;
    transform: translateX(100%); transition: transform 0.45s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 1.8rem; text-align: center; }
  .nav__list a { color: #fff !important; font-size: 1.05rem; }
  .nav-toggle.is-active span { background: #fff; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 620px) {
  .areas, .posts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .brand__name { font-size: 1.25rem; }
  .brand__rule span { font-size: 0.52rem; letter-spacing: 0.28em; }
  .stats { gap: 1.8rem; }
}

/* Telas muito largas (monitores 2K+): foto com 60% como no mockup, texto maior e centrado na coluna */
@media (min-width: 1700px) {
  :root { --header-h: 116px; }
  .brand__mark { height: 68px; }
  .brand__name { font-size: 1.85rem; }
  .brand__rule span { font-size: 0.72rem; letter-spacing: 0.38em; }
  .hero { grid-template-columns: 2fr 3fr; }
  .hero__text-inner { max-width: 720px; margin-inline: auto; }
  .hero__title { font-size: clamp(4.6rem, 3.6vw, 6.4rem); margin-bottom: 2.2rem; }
  .hero__lead { font-size: 1.4rem; max-width: 540px; margin-bottom: 3.2rem; }
  .hero .eyebrow { font-size: 0.82rem; margin-bottom: 2rem; }
  .hero .btn { padding: 1.2rem 2.4rem; font-size: 0.88rem; }
}

/* Cormorant Garamond usa algarismos oldstyle por padrão ("1" parece "I") — força lining nos títulos */
.section__title, .hero__title, .post h3, .article h1, .stats__num, .reviews__score, .schedule-card__feats li span { font-variant-numeric: lining-nums; }

/* ---------- Página de artigo ---------- */
.article-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); }
.article { max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); padding-bottom: clamp(4rem, 8vw, 6rem); }
.article .eyebrow { margin-bottom: 1rem; }
.article h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.005em; color: var(--navy); margin-bottom: 1.8rem; }
.article p { margin-bottom: 1.25rem; }
.article strong { color: var(--navy); font-weight: 600; }
.article__note { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 2.4rem; }
.article__back { display: inline-block; margin-top: 1.2rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }
.article__back:hover { color: var(--navy); }
.article__meta { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; margin: -0.8rem 0 2rem; }
.article__meta strong { color: var(--navy); font-weight: 600; }
.article__share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.2rem; }
.article__share-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-right: 0.4rem; }
.article__share a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.article__share a:hover { color: var(--gold-deep); border-color: var(--gold); transform: translateY(-2px); }
.article__share svg { width: 17px; height: 17px; fill: currentColor; }

/* ============================================================
   AVALIAÇÕES (Google)
   ============================================================ */
.section--reviews { background: var(--navy); }
.section--reviews .eyebrow { color: var(--gold-light); }
.section--reviews .section__title { color: #fff; }
.reviews__badge { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.5rem; }
.reviews__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.reviews__score { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; line-height: 1; }
.reviews__count { color: rgba(255,255,255,0.62); font-size: 0.9rem; transition: color 0.3s; }
.reviews__badge:hover .reviews__count { color: #fff; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.review { border: 1px solid var(--line-light); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.review blockquote { color: rgba(255,255,255,0.86); font-size: 1rem; line-height: 1.6; font-style: italic; }
.review figcaption { color: var(--gold-light); font-weight: 600; font-size: 0.9rem; margin-top: auto; }
.review figcaption span { color: rgba(255,255,255,0.5); font-weight: 400; }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }

/* ============================================================
   AGENDAMENTO — card + modal
   ============================================================ */
.schedule-card { max-width: 560px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center; box-shadow: 0 24px 60px rgba(22,36,63,0.08); }
.schedule-card__feats { display: flex; justify-content: center; gap: clamp(1.5rem, 4vw, 2.8rem); margin-bottom: 1.8rem; flex-wrap: wrap; }
.schedule-card__feats li { display: flex; flex-direction: column; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
.schedule-card__feats li span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.schedule-card__alt { margin-top: 1.2rem; font-size: 0.85rem; color: var(--muted); }
.schedule-card__alt a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.schedule-card__alt a:hover { color: var(--gold-deep); }

.schedule-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.schedule-modal[hidden] { display: none; }
.schedule-modal__backdrop { position: absolute; inset: 0; background: rgba(14,26,47,0.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.schedule-modal__box { position: relative; background: #fff; width: 100%; max-width: 760px; height: min(86vh, 760px); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.schedule-modal__close { position: absolute; top: 2px; right: 6px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--navy); cursor: pointer; }
.schedule-modal__frame, .schedule-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
