/* =========================================================
   Juliana Ayres Advocacia · v2.0
   Inspiração de linguagem: cabeçalho em faixa de cor com menu
   em linha própria, títulos em caixa-alta espaçada, faixas
   alternadas (marinho / bege) com textura discreta da marca.
   Paleta e logo: identidade original da Dra. Juliana.
   ========================================================= */
/* ---------- Fontes hospedadas no próprio site ----------
   Sem Google Fonts externo: carrega mais rápido e não envia o IP
   dos visitantes a terceiros. Só os pesos usados, subset latino.
   As "Fallback" são fontes do sistema ajustadas para ocupar o mesmo
   espaço da fonte final, então o texto não pula ao carregar. */
@font-face {
  font-family: "Cinzel"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/cinzel-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/dm-sans-400-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel Fallback"; src: local("Times New Roman"), local("Liberation Serif");
  size-adjust: 102.09%; ascent-override: 95.6%; descent-override: 36.44%; line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback"; font-style: normal;
  src: local("Times New Roman"), local("Liberation Serif");
  size-adjust: 96.79%; ascent-override: 95.46%; descent-override: 29.65%; line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback"; font-style: italic;
  src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic");
  size-adjust: 87.57%; ascent-override: 105.51%; descent-override: 32.77%; line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 103.44%; ascent-override: 95.9%; descent-override: 29.97%; line-gap-override: 0%;
}

:root {
  --navy: #1c2a3a;
  --navy-deep: #111e2b;
  --navy-mid: #243347;
  --beige: #f3ebe0;
  --beige-light: #faf6f1;
  --beige-mid: #ede3d6;
  --cream: #fdf9f4;
  --gold: #c9a86c;
  --gold-light: #e8d5a8;
  --brown: #8a6040;
  --text: #3a3028;
  --muted: #6b5f56;
  --white: #ffffff;

  --on-navy: rgba(253, 249, 244, 0.92);
  --on-navy-soft: rgba(253, 249, 244, 0.7);
  --line-navy: rgba(232, 213, 168, 0.25);
  --line: #e2d6c6;

  --font-title: "Cinzel", "Cinzel Fallback", Georgia, serif;
  --font-serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --font-body: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
  --top-h: 92px;
  --nav-h: 52px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.center { text-align: center; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--gold); color: var(--navy-deep);
}
.skip-link:focus { top: 16px; }

/* ---------- Títulos (caixa-alta espaçada) ---------- */
.title {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  color: var(--navy);
}
.title--light { color: var(--cream); }
.subtitle {
  max-width: 40em;
  margin: 14px auto 0;
  text-align: center;
  color: var(--muted);
}
.subtitle--light { color: var(--on-navy-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  gap: 10px;
  border: 1px solid transparent; border-radius: 6px;
  font: 500 0.9375rem/1.2 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-light); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: var(--white); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn--block { width: 100%; }
.btn__icon { flex: none; }

/* ---------- Cabeçalho: faixa marinho, menu em linha própria ---------- */
.header {
  position: sticky;
  top: calc(var(--top-h) * -1); /* a linha do logo sobe; o menu fica fixo */
  z-index: 50;
  background: var(--navy);
  color: var(--on-navy);
}
.header__top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--top-h);
}
.header__brand img { width: auto; height: 72px; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.social-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; color: var(--cream);
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}
.social-btn svg { width: 40px; height: 40px; }
.social-btn:hover { transform: scale(1.06); }
.social-btn--instagram:hover { color: var(--gold-light); }

.header__nav .container { position: relative; display: flex; align-items: center; height: var(--nav-h); }
/* Linha só da largura do conteúdo (do logo até os ícones), não da tela toda */
.header__nav .container::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--line-navy);
}
.header__nav ul { display: flex; gap: 34px; }
.header__nav ul a {
  position: relative; display: inline-block; padding-block: 12px;
  font-size: 0.9375rem; text-decoration: none; color: var(--on-navy);
}
.header__nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.header__nav ul a:hover::after,
.header__nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.header__nav ul a[aria-current="true"] { color: var(--gold-light); }
.header__cta-mobile { display: none; }

.header__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px;
  background: transparent; border: 1px solid var(--line-navy); cursor: pointer;
}
.header__toggle span { display: block; height: 1.5px; background: var(--cream); transition: transform 200ms var(--ease), opacity 200ms; }
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero (foto grande à direita, fundindo com o marinho) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--on-navy);
}
.hero__grid {
  display: flex;
  align-items: center;
  min-height: clamp(560px, calc(100svh - var(--top-h) - var(--nav-h)), 760px);
}
.hero__text { width: min(100%, 560px, calc(50vw - var(--gutter))); padding-block: 80px; }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 1.5rem + 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.05;
  color: var(--cream);
}
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__lead {
  margin-top: 24px; max-width: 32em;
  font-size: 1.125rem; color: var(--on-navy-soft);
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.hero__meta {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--line-navy);
  font-size: 0.875rem; letter-spacing: 0.04em; color: var(--on-navy-soft);
}
.hero__photo {
  position: absolute; top: 0; bottom: 0;
  /* Termina na mesma margem do conteúdo (linha dos ícones do cabeçalho);
     em telas até ~1220px isso coincide com a borda da tela */
  right: max(0px, calc((100% - var(--container)) / 2 + var(--gutter)));
  /* Largura acompanha a altura do topo (formato retrato), para a foto
     não ser cortada no cotovelo em telas largas; nunca passa de metade da tela */
  width: auto; aspect-ratio: 0.85; max-width: 50%;
  margin: 0; z-index: -1;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
/* Fotinho com o nome acima do título (só no celular) */
/* Degradê que funde a foto com o marinho */
.hero__photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(28, 42, 58, 0.55) 18%, rgba(28, 42, 58, 0) 45%);
}
/* Quando a foto não encosta na borda da tela, funde também o lado direito */
@media (min-width: 1061px) {
  .hero__photo::before {
    background:
      linear-gradient(90deg, var(--navy) 0%, rgba(28, 42, 58, 0.55) 18%, rgba(28, 42, 58, 0) 45%),
      linear-gradient(270deg, var(--navy) 0%, rgba(28, 42, 58, 0) 12%);
  }
}

/* ---------- Citação (faixa marinho com textura) ---------- */
.quote {
  background: var(--navy) url("../img/padrao-claro.png") repeat;
  color: var(--on-navy);
  padding-block: clamp(64px, 8vw, 96px);
}
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.quote__img {
  width: 100%; height: auto; aspect-ratio: 900 / 1310; object-fit: cover;
  box-shadow: 18px 18px 0 -1px var(--navy-mid), 18px 18px 0 0 var(--line-navy);
}
.quote__text p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  line-height: 1.35;
  color: var(--cream);
}
.quote__text footer {
  margin-top: 24px;
  font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section--small { padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.section--beige { background: var(--beige-light) url("../img/padrao-escuro.png") repeat; }

/* Sobre */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  margin-top: 56px;
}
.about__photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.about__text > p + p { margin-top: 18px; }
.principles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 28px 28px;
  border-top: 1px solid var(--line);
}
.principles li {
  padding: 14px 0 14px 22px; position: relative;
  border-bottom: 1px solid var(--line);
  font-weight: 500; color: var(--navy);
}
.principles li::before {
  content: ""; position: absolute; left: 2px; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  background: var(--gold); transform: rotate(45deg);
}
.about__facts {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 0; margin-bottom: 36px;
  background: var(--white); border-top: 3px solid var(--gold);
  padding: 4px 24px;
}
.about__facts > div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.about__facts > div:last-child { border-bottom: 0; }
.about__facts dt {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown);
}
.about__facts dd { margin-top: 4px; font-size: 1.0625rem; font-weight: 500; color: var(--navy); }

/* Chamada */
.cta {
  position: relative; isolation: isolate;
  background:
    linear-gradient(rgba(17, 30, 43, 0.86), rgba(17, 30, 43, 0.86)),
    url("../img/hero-fundo.webp") center / cover no-repeat;
  color: var(--on-navy-soft);
  padding-block: 56px;
}
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta__title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: 0.06em; color: var(--cream);
}
.cta p { margin-top: 6px; }

/* Áreas */
.areas {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; margin-top: 56px;
}
.area {
  display: flex; flex-direction: column;
  padding: 36px 34px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  transition: box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.area:hover { box-shadow: 0 18px 40px rgba(17, 30, 43, 0.08); transform: translateY(-2px); }
.area h3 {
  font-family: var(--font-title);
  font-size: 1.375rem; letter-spacing: 0.06em; color: var(--navy);
}
.area p { margin-top: 14px; flex: 1; }
.area a {
  align-self: flex-start;
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px;
  font-weight: 500; color: var(--brown);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(138, 96, 64, 0.35);
}
.area a:hover { text-decoration-color: currentColor; }
.area a::after { content: "→"; margin-left: 8px; transition: transform 180ms var(--ease); }
.area a:hover::after { transform: translateX(3px); }
.areas--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.areas__more { margin-top: 40px; text-align: center; }
.areas__note { margin-top: 24px; text-align: center; color: var(--muted); }
.areas__note a { color: var(--brown); }

/* Avaliações (mesmo estilo do site anterior) */
.depo { position: relative; overflow: hidden; background: var(--navy); }
.depo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 20%, rgba(201, 168, 108, 0.07) 0%, transparent 55%);
}
.depo .container { position: relative; }
.google-badge {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px;
  margin-top: 24px; padding: 10px 20px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 100px;
}
.google-badge img { width: 20px; height: 20px; }
.google-badge__score { font-family: var(--font-title); font-size: 1.15rem; color: var(--gold); }
.google-badge__stars { color: #fbbf24; font-size: 0.875rem; letter-spacing: 2px; }
.google-badge__label { font-size: 0.75rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.6); }
.depo-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; margin-block: 50px 36px;
}
.depo-card {
  display: flex; flex-direction: column; padding: 32px 28px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 3px;
  transition: background-color 250ms var(--ease), transform 250ms var(--ease);
}
.depo-card:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.depo-stars { margin-bottom: 18px; color: #fbbf24; font-size: 0.875rem; letter-spacing: 3px; }
.depo-text {
  flex: 1; margin-bottom: 24px;
  font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.depo-author { display: flex; align-items: center; gap: 12px; }
.depo-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201, 168, 108, 0.35); }
.depo-name { font-size: 0.875rem; font-weight: 500; color: var(--gold-light); }
.depo-via { font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.5); }
.depo-link { display: flex; justify-content: center; }
.depo-link a {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px;
  font-size: 0.875rem; font-weight: 500; color: var(--gold-light); text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 108, 0.35);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.depo-link a:hover { color: var(--gold); border-color: var(--gold); }

/* Artigos */
.articles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 48px;
}
.articles:empty { display: none; }
.article-card a {
  display: flex; flex-direction: column; height: 100%;
  padding: 28px 26px 24px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  text-decoration: none;
  transition: box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.article-card a:hover { box-shadow: 0 18px 40px rgba(17, 30, 43, 0.08); transform: translateY(-2px); }
.article-card__meta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); }
.article-card__title {
  margin-top: 12px; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; color: var(--navy);
}
.article-card__excerpt { margin-top: 12px; flex: 1; font-size: 0.96875rem; color: var(--text); }
.article-card__more { margin-top: 18px; font-weight: 500; color: var(--brown); }
.article-card__more::after { content: " →"; }
.articles__empty {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  max-width: 820px; margin: 40px auto 0; padding: 28px 32px;
  border: 1px dashed var(--rule-strong, #cdbfae); color: var(--muted);
}
.articles__empty p { flex: 1 1 320px; }
.articles:not(:empty) + .articles__empty { display: none; }

/* Páginas de área de atuação */
.page-hero {
  background: var(--navy) url("../img/padrao-claro.png") repeat;
  color: var(--on-navy);
  padding-block: clamp(48px, 7vw, 88px);
}
.page-hero__inner { max-width: 760px; }
.page-hero .breadcrumb { color: var(--on-navy-soft); }
.page-hero .breadcrumb a { color: var(--gold-light); }
.page-hero__kicker {
  margin-top: 0; font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.page-hero__title {
  margin-top: 10px; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 3.8rem); line-height: 1.08; color: var(--cream);
}
.page-hero__lead { margin-top: 20px; font-size: 1.125rem; color: var(--on-navy-soft); }
.page-hero .btn { margin-top: 32px; }
.area-page { padding-block: clamp(48px, 7vw, 88px); }
.area-page .prose { margin-top: 0; padding-top: 0; border-top: 0; }
.faq { margin-top: 56px; }
.faq h2 { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 500; color: var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding-block: 16px; cursor: pointer; list-style: none;
  font-weight: 500; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--brown); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--text); }
/* Autoria, resumo e índice */
.byline { font-size: 0.875rem; color: var(--muted); }
.byline strong { font-weight: 500; color: var(--navy); }
.page-summary {
  margin-bottom: 8px;
  margin-top: 0; padding: 24px 28px;
  background: var(--beige-light); border-left: 3px solid var(--gold);
}
.page-summary h2 {
  font-family: var(--font-title); font-size: 0.9375rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown);
}
.page-summary p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.area-page .prose h2 { scroll-margin-top: calc(var(--nav-h) + 24px); }
.faq { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* Página com todas as áreas */
.area-hub__jump ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-hub__jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-weight: 500; color: var(--navy); text-decoration: none;
}
.area-hub__jump a:hover { border-color: var(--gold); }
.area-group { margin-top: 64px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.area-group__title { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: 0.06em; color: var(--navy); }
.area-group .areas { margin-top: 24px; }
.area-hub .areas__note { margin-top: 56px; }

.other-areas { margin-top: 56px; }
.other-areas__all { margin-top: 20px; }
.other-areas .other-areas__all a { display: inline; padding: 0; background: none; border: 0; color: var(--brown); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.other-areas .other-areas__all a::after { content: " →"; }
.other-areas .other-areas__all a:hover { box-shadow: none; transform: none; }
.other-areas--home { margin-top: 40px; }
.other-areas h3 { font-family: var(--font-title); font-size: 1.25rem; letter-spacing: 0.06em; text-align: center; color: var(--navy); }
.other-areas h2 { font-family: var(--font-title); font-size: 1.25rem; letter-spacing: 0.06em; color: var(--navy); }
.other-areas ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.other-areas a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%;
  padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 3px; text-decoration: none; font-weight: 500; color: var(--navy);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.other-areas a::after { content: "→"; color: var(--brown); }
.other-areas a:hover { box-shadow: 0 12px 28px rgba(17, 30, 43, 0.08); transform: translateY(-2px); }

/* Página de artigo */
.article { padding-block: clamp(48px, 7vw, 88px); }
.article__inner { max-width: 720px; margin-inline: auto; }
.breadcrumb { font-size: 0.875rem; color: var(--muted); }
.breadcrumb a { color: var(--brown); }
.article__meta { margin-top: 24px; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); }
.article__title {
  margin-top: 12px; font-family: var(--font-serif); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 500; line-height: 1.1; color: var(--navy);
}
.article__lead { margin-top: 20px; font-size: 1.1875rem; color: var(--muted); }
.prose { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-family: var(--font-serif); font-size: 1.85rem; font-weight: 500; line-height: 1.2; color: var(--navy); }
.prose h3 { margin-top: 1.6em; font-family: var(--font-body); font-size: 1.125rem; font-weight: 500; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--brown); }
.prose blockquote {
  padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--navy);
}
.article__cta {
  margin-top: 56px; padding: 32px; background: var(--navy); color: var(--on-navy);
}
.article__cta h2 { font-family: var(--font-title); font-size: 1.4rem; letter-spacing: 0.06em; color: var(--cream); }
.article__cta p { margin-top: 8px; color: var(--on-navy-soft); }
.article__cta .btn { margin-top: 20px; }
.article__note { margin-top: 24px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Contato (igual ao site anterior) ---------- */
.contato {
  background: var(--beige-light);
  border-top: 1px solid rgba(138, 96, 64, 0.12);
  padding-block: clamp(72px, 9vw, 96px);
}
.contato__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 70px); align-items: center;
}
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brown);
}
.section-label::after { content: ""; flex: 1; max-width: 48px; height: 1px; background: var(--gold); }
.contato__title {
  font-family: var(--font-title); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  letter-spacing: 0.04em; line-height: 1.2; color: var(--navy);
}
.contato__sub {
  margin-top: 14px; max-width: 34em;
  font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.6; color: var(--muted);
}
.contato__items { display: flex; flex-direction: column; gap: 18px; margin-block: 38px 40px; }
.contato-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px;
  background: var(--white); border-left: 3px solid var(--gold); border-radius: 3px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); text-decoration: none;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.contato-item:hover { transform: translateX(4px); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); }
.contato-item__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px;
  border-radius: 50%; background: var(--navy); color: var(--cream);
}
.contato-item__label {
  display: block; margin-bottom: 3px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown);
}
.contato-item__value { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--navy); }
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  background: var(--white); border: 1px solid rgba(138, 96, 64, 0.25); border-radius: 2px;
  font-size: 0.8125rem; font-weight: 500; color: var(--navy); text-decoration: none;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.contato__map { overflow: hidden; border-radius: 3px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); background: var(--beige-mid); }
.contato__map iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-embed__box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  height: 420px; padding: 32px; text-align: center;
  background: var(--navy) url("../img/padrao-claro.png") repeat; color: var(--on-navy-soft);
}
.map-embed__box svg { color: var(--gold); }
.map-embed__title { font-family: var(--font-title); font-size: 1.125rem; letter-spacing: 0.06em; color: var(--cream); }
.map-embed__text { max-width: 30em; font-size: 0.875rem; }
.map-embed__text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.map-embed__box .btn { margin-top: 8px; }
.map-embed.is-loaded .map-embed__box { display: none; }
.contato__map iframe[hidden] { display: none; }
.contato__map-label {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px;
  background: var(--navy); color: rgba(255, 255, 255, 0.72); font-size: 0.8125rem; letter-spacing: 0.04em;
}
.contato__map-label span { display: inline-flex; color: var(--gold); }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy-soft); font-size: 0.9375rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px; padding-block: 64px 48px;
}
.footer__brand img { width: auto; height: 76px; }
.footer__brand p { margin-top: 18px; max-width: 26em; }
.footer__address { margin-top: 14px; font-style: normal; }
.footer__heading {
  margin-bottom: 14px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.footer ul li + li { margin-top: 8px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact svg { flex: none; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px;
  padding-block: 24px 28px; border-top: 1px solid var(--line-navy); font-size: 0.8125rem;
}
.footer__legal p:first-child { max-width: 60em; }
.footer__legal a, .link-btn { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(232, 213, 168, 0.4); }
.footer__legal a:hover, .link-btn:hover { color: var(--gold-light); text-decoration-color: currentColor; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.cookie a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* Política de privacidade */
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.prose th, .prose td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; color: var(--navy); background: var(--beige-light); }
.prose .table-wrap { overflow-x: auto; }

/* ---------- Botão flutuante ---------- */
.wa-pill {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border-radius: 999px;
  background: #1f8f4e; color: #fff;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 30, 43, 0.28);
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.wa-pill:hover { background: #187a42; transform: translateY(-2px); }

/* ---------- Aviso de cookies ---------- */
.btn--outline-light { background: transparent; border-color: var(--line-navy); color: var(--cream); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold-light); }
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 70;
  width: min(420px, calc(100% - 40px));
  padding: 20px 22px;
  background: var(--navy-deep); color: var(--on-navy);
  border: 1px solid var(--line-navy);
  box-shadow: 0 16px 40px rgba(17, 30, 43, 0.35);
  font-size: 0.9375rem;
}
.cookie__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.cookie__actions .btn { min-height: 44px; padding: 10px 18px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .areas--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .header__nav ul { gap: 24px; }
}

@media (max-width: 860px) {
  :root { --top-h: 72px; }
  .header { top: 0; }
  .header__brand img { height: 56px; }
  .header__actions { margin-left: auto; gap: 10px; }
  .social-btn svg { width: 34px; height: 34px; }
  .header__toggle { display: inline-flex; }
  .header__nav {
    display: none;
    border-top: 1px solid var(--line-navy);
  }
  .header__nav.is-open { display: block; }
  .header__nav .container::before { display: none; }
  .header__nav .container { flex-direction: column; align-items: stretch; height: auto; padding-block: 8px 24px; }
  .header__nav ul { flex-direction: column; gap: 0; }
  .header__nav ul a { display: block; padding-block: 14px; border-bottom: 1px solid var(--line-navy); font-size: 1rem; }
  .header__nav ul a::after { display: none; }
  .header__cta-mobile { display: inline-flex; margin-top: 20px; }
  html { scroll-padding-top: calc(var(--top-h) + 16px); }

  .hero__grid { min-height: 0; }
  .hero__text { padding-block: 28px 22px; }
  .hero__title { font-size: clamp(2.15rem, 1.5rem + 3.2vw, 2.7rem); line-height: 1.08; }
  .hero__lead { margin-top: 14px; font-size: 1rem; line-height: 1.55; }
  .hero__buttons { gap: 10px; margin-top: 22px; }
  .hero__meta { margin-top: 18px; padding-top: 12px; font-size: 0.8125rem; }
  .hero__photo { position: relative; right: auto; width: 100%; max-width: none; aspect-ratio: auto; height: 480px; z-index: 0; }
  .hero__photo img { object-position: 50% 34%; }
  .hero__text { width: 100%; }
  .hero__photo::before { background: linear-gradient(180deg, var(--navy) 0%, rgba(28, 42, 58, 0.35) 22%, rgba(28, 42, 58, 0) 50%); }


  .about, .contato__grid { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 420px; }
  .quote { display: none; }
  .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .quote__img { width: min(100%, 300px); }
  .areas, .areas--home, .depo-grid, .articles, .other-areas ul { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__brand img { display: block; margin-inline: auto; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero__buttons .btn { flex: 1 1 100%; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .area { padding: 28px 24px 24px; }
  .page-summary { padding: 20px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .cookie { left: 16px; bottom: 88px; width: calc(100% - 32px); }
  .wa-pill { right: 16px; bottom: 16px; padding: 12px 16px; }
  .wa-pill span { display: none; }
  .wa-pill { width: 56px; height: 56px; justify-content: center; padding: 0; }
  .wa-pill svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Página 404 */
.page-hero--404 { display: flex; align-items: center; min-height: 62vh; }
.page-hero .hero__buttons .btn { margin-top: 0; }
.prose .link-btn { color: var(--brown); text-decoration-color: rgba(138, 96, 64, 0.4); }
.prose .link-btn:hover { color: var(--navy); }

/* ---------- Página de links (bio do Instagram) ---------- */
.links-page { min-height: 100vh; background: var(--navy-deep) url("../img/padrao-escuro.png") repeat; color: var(--on-navy); }
.links { display: flex; justify-content: center; padding: 40px 16px 56px; }
.links__inner { width: 100%; max-width: 460px; text-align: center; }
.links__logo { width: auto; height: 64px; margin-inline: auto; }
.links__photo {
  width: 112px; height: 112px; margin: 28px auto 0; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(201, 168, 108, 0.12);
}
.links__name { margin-top: 18px; font-family: var(--font-serif); font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--cream); }
.links__role { margin-top: 8px; font-size: 0.9375rem; line-height: 1.6; color: var(--on-navy-soft); }
.links__list { display: grid; gap: 12px; margin-top: 32px; text-align: left; }
.lk {
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 20px;
  border: 1px solid var(--line-navy); border-radius: 10px; background: rgba(253, 249, 244, 0.04);
  color: var(--cream); text-decoration: none;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.lk:hover { background: rgba(253, 249, 244, 0.08); border-color: var(--gold); transform: translateY(-1px); }
.lk__icon { flex: none; width: 20px; height: 20px; color: var(--gold); }
.lk__text { display: flex; flex-direction: column; min-width: 0; }
.lk__title { font-weight: 500; font-size: 1rem; }
.lk__sub { font-size: 0.8125rem; color: var(--on-navy-soft); overflow-wrap: anywhere; }
.lk--main { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.lk--main .lk__icon { color: var(--navy-deep); }
.lk--main .lk__sub { color: rgba(17, 30, 43, 0.75); }
.lk--main:hover { background: var(--gold-light); border-color: var(--gold-light); }
.links__social { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.links__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-navy); border-radius: 50%; color: var(--gold-light);
}
.links__social a:hover { border-color: var(--gold); color: var(--cream); }
.links__social svg { width: 18px; height: 18px; }
.links__legal { margin-top: 28px; font-size: 0.75rem; color: var(--on-navy-soft); }
.links__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.links-page .cookie { bottom: 16px; }
