/* =========================================================
   Amaral Neto & Gill — sistema de estilo compartilhado
   Paleta da marca: marinho #192537 · dourado #86754f · branco
   Tipografia: Cormorant Garamond (títulos) + Jost (corpo)
   ========================================================= */

:root {
  --navy:        #192537;
  --navy-soft:   #223045;   /* cartões/superfícies sobre o marinho */
  --gold:        #86754f;   /* dourado da marca (acento) */
  --gold-light:  #b8a06d;   /* dourado clareado p/ legibilidade sobre marinho */
  --white:       #ffffff;
  --paper:       #f7f5f1;   /* off-white sutil p/ seções alternadas */
  --ink:         #141414;   /* texto principal */
  --ink-soft:    #4a4a4a;   /* texto secundário */
  --ink-mute:    #6f6f6f;   /* legendas */
  --line:        #e6e3dd;   /* filetes sobre claro */
  --line-dark:   rgba(255,255,255,0.14); /* filetes sobre marinho */
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 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: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
}
.rule { width: 40px; height: 2px; background: var(--gold); }
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.italic-gold { font-style: italic; color: var(--gold); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 30px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), gap .3s var(--ease), border-color .3s var(--ease);
}
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--gold  { background: var(--white); color: var(--navy); }
.btn--gold:hover { background: var(--gold); color: var(--white); gap: 18px; }
.btn--navy  { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--gold); color: var(--white); gap: 18px; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); gap: 18px; }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); gap: 18px; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
}
.brand {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 21px; letter-spacing: 0.02em; color: var(--navy);
  text-decoration: none; line-height: 1;
}
.brand small {
  display: block; font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--ink-soft); text-decoration: none;
  padding: 6px 0; position: relative; transition: color .25s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .btn { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--navy); }

/* ---------- hero (dividido) ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 78% 40%, rgba(134,117,79,0.20) 0%, transparent 60%);
}
.hero-grid {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; align-items: stretch;
}
.hero-main { padding: 96px 56px 96px 40px; }
.hero-side {
  padding: 96px 40px 96px 56px; display: flex; align-items: center;
  border-left: 1px solid var(--line-dark);
}
.hero .eyebrow { color: var(--gold-light); }
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(38px, 5vw, 60px); line-height: 1.12;
  color: var(--white); margin: 26px 0 24px; max-width: 15ch;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.78); max-width: 46ch; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card { border: 1px solid var(--line-dark); padding: 40px 36px; width: 100%; }
.hero-card .big {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 64px; line-height: 1; color: var(--gold-light);
}
.hero-card .lbl {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin: 10px 0 26px; padding-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
}
.hero-card p { font-size: 15px; color: rgba(255,255,255,0.8); }

/* ---------- seção base ---------- */
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .eyebrow { color: var(--gold-light); }
.section-head { max-width: 720px; margin-bottom: 8px; }
.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.16; margin: 18px 0 20px;
}
.section--navy .section-title { color: var(--white); }
.section-title em { font-style: italic; color: var(--gold); }
.section--navy .section-title em { color: var(--gold-light); }
.section-lead { font-size: 16px; color: var(--ink-soft); max-width: 60ch; }
.section--navy .section-lead { color: rgba(255,255,255,0.75); }

/* ---------- grade de áreas / cartões ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 52px; background: var(--line); border: 1px solid var(--line); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  background: var(--white); padding: 40px 34px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; min-height: 220px;
  transition: background-color .35s var(--ease);
}
.tile:hover { background: var(--navy); }
.tile .t-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); transition: color .35s var(--ease); }
.tile h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 27px;
  line-height: 1.2; margin: 14px 0 12px; color: var(--navy);
  transition: color .35s var(--ease);
}
.tile p { font-size: 14.5px; color: var(--ink-soft); flex: 1; transition: color .35s var(--ease); }
.tile .t-go { margin-top: 22px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 8px; transition: color .35s var(--ease); }
.tile:hover h3, .tile:hover .t-go { color: var(--gold-light); }
.tile:hover p { color: rgba(255,255,255,0.72); }
.tile:hover .t-eyebrow { color: var(--gold-light); }

/* ---------- lista simples (ex.: doenças, sem numeração) ---------- */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.chip { background: var(--white); padding: 22px 22px; display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease); }
.chip::before { content: ''; flex-shrink: 0; width: 7px; height: 7px; margin-top: 8px; background: var(--gold); border-radius: 50%; }
.chip:hover { background: var(--navy); color: var(--white); }

/* ---------- passos (numeração = sequência real) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 52px; background: var(--line-dark); }
.step { background: var(--navy); padding: 38px 30px; }
.section--navy .step { background: var(--navy-soft); }
.step .num { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 46px; line-height: 1; color: rgba(184,160,109,0.45); margin-bottom: 22px; }
.step h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 20px; color: var(--white); margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,0.68); }

/* ---------- lista de documentos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.doclist { list-style: none; }
.doclist li { display: flex; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.doclist li::before { content: '→'; color: var(--gold); flex-shrink: 0; }

/* ---------- destaque / alerta ---------- */
.callout { background: var(--paper); border-left: 3px solid var(--gold); padding: 34px 36px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.callout .ci { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); line-height: 1; }
.callout h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.callout p { font-size: 15px; color: var(--ink-soft); }

/* ---------- números / estatísticas ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--white); padding: 34px 28px; transition: background-color .3s var(--ease); }
.stat:hover { background: var(--navy); }
.stat .v { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 46px; line-height: 1; color: var(--gold); transition: color .3s var(--ease); }
.stat .l { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; transition: color .3s var(--ease); }
.stat:hover .v { color: var(--gold-light); }
.stat:hover .l { color: rgba(255,255,255,0.72); }

/* ---------- faixa CTA ---------- */
.cta-band { background: var(--gold); color: var(--white); }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.18; color: var(--white); }
.cta-band h2 em { font-style: italic; }
.cta-band .btn--onGold { background: var(--navy); color: var(--white); white-space: nowrap; }
.cta-band .btn--onGold:hover { background: var(--white); color: var(--navy); gap: 18px; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 72px 0 56px; border-bottom: 1px solid var(--line-dark); }
.footer-top .brand { color: var(--white); font-size: 24px; }
.footer-col h5 { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: rgba(255,255,255,0.66); text-decoration: none; margin-bottom: 11px; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-intro { font-size: 14.5px; color: rgba(255,255,255,0.66); max-width: 34ch; margin: 18px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 12px; color: rgba(255,255,255,0.42); letter-spacing: 0.04em; }

/* ---------- tipografia de artigos ---------- */
.article-hero { background: var(--navy); color: var(--white); padding: 84px 0 68px; }
.article-hero .wrap { max-width: 820px; }
.article-hero .meta { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.article-hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; }
.prose { max-width: 720px; margin: 0 auto; padding: 72px 40px 40px; }
.prose p, .prose ul, .prose ol { font-size: 17px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 24px; }
.prose h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 30px; color: var(--navy); margin: 44px 0 16px; }
.prose h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 23px; color: var(--navy); margin: 32px 0 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 24px; margin: 28px 0; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; color: var(--navy); }
.article-note { max-width: 720px; margin: 0 auto 72px; padding: 22px 40px 0; }
.article-note div { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13.5px; color: var(--ink-mute); }

/* ---------- grade de artigos (listagem) ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 52px; background: var(--line); border: 1px solid var(--line); }
.post-card { background: var(--white); padding: 38px 34px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: background-color .3s var(--ease); }
.post-card:hover { background: var(--paper); }
.post-card .p-meta { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.post-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 25px; line-height: 1.22; color: var(--navy); margin-bottom: 12px; }
.post-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.post-card .p-go { margin-top: 20px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* ---------- fotos do escritório ---------- */
.photo-wide { margin-top: 52px; border: 1px solid var(--line); background: var(--white); }
.photo-wide img { width: 100%; height: 460px; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
.gallery figure { margin: 0; background: var(--white); }
.gallery img { width: 100%; height: 250px; object-fit: cover; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- acessibilidade / foco ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero :focus-visible, .site-footer :focus-visible, .section--navy :focus-visible { outline-color: var(--gold-light); }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 26px; }
  .header-inner { padding: 0 26px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav--open {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 18px 26px 24px;
  }
  .nav--open a { width: 100%; padding: 12px 0; font-size: 15px; }
  .nav--open .btn { margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { padding: 68px 26px 40px; }
  .hero-side { display: none; }
  .section { padding: 64px 0; }
  .tiles, .tiles--3 { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; gap: 14px; }
  .cta-band .wrap { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .posts { grid-template-columns: 1fr; }
  .prose { padding: 52px 26px 32px; }
  .photo-wide img { height: 300px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 240px; }
}
@media (max-width: 520px) {
  .chips { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

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