/* =========================================================
   Sarah Brandão Advocacia Internacional — estilos
   Paleta: vinho (principal) · dourado (detalhe) · creme (fundo)
   ========================================================= */

:root {
  --wine-900: #2e0911;
  --wine-800: #420d19;
  --wine-700: #5a1323;
  --wine-600: #6e1a2c;
  --wine-500: #862338;
  --gold-600: #9a7440;
  --gold-500: #b8925a;
  --gold-300: #dcc497;
  --cream-50: #fdfaf5;
  --cream-100: #f8f2e8;
  --cream-200: #f1e7d7;
  --cream-300: #e7d8c1;
  --ink: #2b2022;
  --ink-soft: #5e5053;
  --line: rgba(90, 19, 35, .14);
  --line-gold: rgba(184, 146, 90, .45);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 140px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
.num { font-family: var(--sans) !important; font-weight: 500; letter-spacing: .08em; font-variant-numeric: lining-nums; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote, address { margin: 0; font-style: normal; }

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

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--wine-700); color: #fff; padding: 10px 16px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografia base ---------- */
.eyebrow {
  display: block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--wine-600); margin-bottom: 22px;
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 34px; height: 1px; margin: -3px 14px 0 0; background: var(--gold-500); }
.eyebrow--light { color: var(--gold-300); }

.section { padding-block: var(--section-y); }
.section h2, .global h2, .contact h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -.005em;
  color: var(--wine-700);
  text-wrap: balance;
}
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-sub { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }

.rule { width: 64px; height: 1px; background: var(--gold-500); margin: 30px 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--wine-700); text-decoration: none;
  border-bottom: 1px solid var(--line-gold); padding-bottom: 6px;
  transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: 16px; border-color: var(--gold-500); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-wine { background: var(--wine-700); color: var(--cream-50); }
.btn-wine:hover { background: var(--wine-600); box-shadow: 0 12px 28px -12px rgba(90, 19, 35, .6); }
.btn-gold { background: var(--gold-500); color: var(--wine-900); }
.btn-gold:hover { background: var(--gold-300); }
.btn-ghost-light { border-color: rgba(248, 242, 232, .38); color: var(--cream-100); }
.btn-ghost-light:hover { border-color: var(--gold-300); color: #fff; }
.btn-lg { min-height: 56px; padding: 0 34px; }
.wa-icon { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 245, .94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(46, 9, 17, .5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand img { width: 250px; height: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.5vw, 22px); }
.nav a:not(.btn) {
  position: relative; display: block; padding: 8px 0;
  font-size: 13px; font-weight: 500; letter-spacing: .03em;
  color: var(--wine-700); text-decoration: none; white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
.nav-mobile-cta { display: none; }

.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: 2px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--wine-700); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--cream-100);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(134, 35, 56, .55) 0%, rgba(134, 35, 56, 0) 60%),
    linear-gradient(160deg, var(--wine-700) 0%, var(--wine-800) 62%, var(--wine-900) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 124px);
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.01em;
  color: #fff; text-wrap: balance;
}
.hero-lead { margin-top: 28px; max-width: 580px; font-size: clamp(16px, 1.3vw, 18px); color: rgba(248, 242, 232, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(220, 196, 151, .22); }
.hero-highlights li { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-200); }
.hero-highlights li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold-300); }

.hero-portrait { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-portrait .arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 4px 4px;
  background: var(--wine-600);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.hero-portrait .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.arch-frame { /* moldura dourada fina, concêntrica à foto */
  padding: 12px; border: 1px solid var(--line-gold); border-radius: 999px 999px 6px 6px;
}
.hero-portrait figcaption {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  margin-top: 22px; padding-left: 18px; border-left: 1px solid var(--gold-500);
}
.hero-portrait figcaption strong { font-family: var(--serif); font-size: 24px; font-weight: 500; color: #fff; line-height: 1.2; }
.hero-portrait figcaption span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); }

/* ---------- Faixa de diferenciais ---------- */
.trust { background: var(--cream-100); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-item { display: flex; gap: 20px; padding: 40px clamp(20px, 3vw, 40px); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item .num { min-width: 26px; font-size: 15px; line-height: 1; padding-top: 7px; color: var(--gold-600); }
.trust-item h2 { font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--wine-700); margin-bottom: 6px; }
.trust-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-visual { position: relative; }
.about-logo {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  background: #5a1b24;
  box-shadow: 0 30px 60px -36px rgba(46, 9, 17, .55);
}
.about-logo::after { /* filete dourado interno */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(220, 196, 151, .35); pointer-events: none;
}
.about-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-seal {
  position: absolute; width: clamp(110px, 13vw, 150px); right: -28px; bottom: -40px;
  background: var(--cream-50); border-radius: 50%; padding: 10px;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; }
.about-copy > p + p { margin-top: 18px; }

/* ---------- História ---------- */
.founder { background: var(--cream-100); }
.founder-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.founder-photo { position: relative; padding: 14px; border: 1px solid var(--line-gold); }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.founder-grid { isolation: isolate; }
.founder-name {
  margin-top: 34px; margin-bottom: 14px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-600);
}
.founder-copy > p:not(.eyebrow):not(.founder-sign) { color: var(--ink-soft); }
.founder-copy > p + p { margin-top: 16px; }
.founder-quote {
  margin-top: 30px; padding: 4px 0 4px 26px; border-left: 1px solid var(--gold-500);
}
.founder-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.5; color: var(--wine-700); }
.founder-sign { margin-top: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Áreas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(30px, 3.2vw, 44px); background: var(--cream-50);
  transition: background-color .4s var(--ease);
}
.area-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold-500);
  transition: width .5s var(--ease);
}
.area-card:hover { background: #fff; }
.area-card:hover::before { width: 100%; }
.area-card .num { font-size: 13px; color: var(--gold-600); }
.area-card h3 { margin: 26px 0 14px; font-family: var(--serif); font-size: 27px; line-height: 1.15; color: var(--wine-700); }
.area-card p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.area-card--wine { background: var(--wine-700); }
.area-card--wine:hover { background: var(--wine-600); }
.area-card--wine h3 { color: #fff; }
.area-card--wine p { color: rgba(248, 242, 232, .8); }
.area-card--wine .num { color: var(--gold-300); }
.area-card--wine .link-arrow { color: var(--gold-300); border-color: rgba(220, 196, 151, .4); margin-top: auto; padding-top: 28px; align-self: flex-start; }

/* ---------- Serviços / Abas ---------- */
.services { background: var(--cream-100); border-top: 1px solid var(--line); }
.tabs {
  display: flex; justify-content: center; gap: 0; margin: 0 auto clamp(40px, 5vw, 60px);
  width: fit-content; max-width: 100%;
  border: 1px solid var(--line); background: var(--cream-50); padding: 5px;
}
.tab {
  min-height: 50px; padding: 0 clamp(18px, 3vw, 36px);
  border: 0; background: transparent; color: var(--wine-700);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s;
}
.tab:hover { color: var(--wine-500); }
.tab.is-active { background: var(--wine-700); color: var(--cream-50); }

.tab-panel[hidden], .country-panel[hidden] { display: none; }
.tab-panel.is-active, .country-panel.is-active { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.service-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-group {
  padding: clamp(28px, 3.4vw, 44px); background: var(--cream-50); border: 1px solid var(--line);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.service-group:hover { border-color: var(--line-gold); transform: translateY(-3px); box-shadow: 0 24px 50px -36px rgba(46, 9, 17, .45); }
.service-group h3 {
  display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 27px; line-height: 1.2; color: var(--wine-700);
}
.service-group h3::before { content: ""; width: 8px; height: 8px; flex: none; transform: rotate(45deg); background: var(--gold-500); }
.service-group li { position: relative; padding: 7px 0 7px 22px; font-size: 15.5px; color: var(--ink); line-height: 1.55; }
.service-group li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 1px; background: var(--gold-500); }

/* Seletor de países */
.countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.country {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 24px;
  background: var(--cream-50); color: var(--wine-700);
  border: 1px solid var(--line); border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s, border-color .35s, transform .3s var(--ease);
}
.country:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.country.is-active { background: var(--wine-700); border-color: var(--wine-700); color: var(--cream-50); }
.flag { width: 30px; height: 20px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.country.is-active .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

.country-panel { background: var(--cream-50); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.country-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 48px; align-items: end; padding-bottom: 30px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.country-head h3 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; color: var(--wine-700); }
.country-head p { color: var(--ink-soft); font-size: 16.5px; }
.visa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.visa {
  padding: 24px 24px 26px; background: var(--cream-100); border-top: 2px solid var(--gold-500);
  transition: background-color .35s, transform .35s var(--ease);
}
.visa:hover { background: #fff; transform: translateY(-3px); }
.visa h4 { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--wine-700); margin-bottom: 8px; }
.visa p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.disclaimer { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Global ---------- */
.global {
  position: relative; overflow: hidden; color: var(--cream-100);
  padding-block: clamp(84px, 11vw, 140px);
  background:
    radial-gradient(80% 120% at 100% 50%, rgba(44, 62, 112, .5), rgba(44, 62, 112, 0) 60%),
    linear-gradient(160deg, #17254d 0%, #101b3a 100%);
}
.global-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.global h2 { color: #fff; max-width: 640px; }
.global-copy > p:not(.eyebrow) { margin-top: 24px; max-width: 560px; font-size: 17px; color: rgba(248, 242, 232, .82); }
.global .btn { margin-top: 36px; }
.global-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 400px; width: 100%; justify-self: center; }
.global-mark img { width: 42%; position: relative; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .25)); }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(220, 196, 151, .28); border-radius: 50%; }
.orbit--2 { inset: 13%; border-style: dashed; border-color: rgba(220, 196, 151, .2); animation: spin 90s linear infinite; }

/* ---------- Diferenciais ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value {
  padding: 36px 28px; text-align: center; background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.value:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 24px 50px -36px rgba(46, 9, 17, .45); }
.value svg { width: 38px; height: 38px; margin: 0 auto 22px; fill: none; stroke: var(--gold-500); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.value h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--wine-700); margin-bottom: 10px; }
.value p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Contato ---------- */
.contact { padding-block: var(--section-y); background: var(--cream-200); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact-copy > p:not(.eyebrow) { margin-top: 20px; max-width: 480px; font-size: 17px; color: var(--ink-soft); }
.contact-copy .btn { margin-top: 36px; }
.contact-card { background: var(--cream-50); border: 1px solid var(--line-gold); padding: clamp(10px, 2vw, 20px) clamp(24px, 3.5vw, 44px); }
.contact-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 20px; align-items: baseline; padding: 22px 0; }
.contact-row + .contact-row { border-top: 1px solid var(--line); }
.contact-row .label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); }
.contact-row a, .contact-row .value-text {
  font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--wine-700);
  text-decoration: none; overflow-wrap: anywhere;
}
.contact-row a:hover { color: var(--wine-500); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 4px; }
.contact-row a.email { font-size: 16px; overflow-wrap: break-word; }
.contact-row a.sub { grid-column: 2; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--wine-900); color: rgba(248, 242, 232, .7); padding-block: 56px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 56px; align-items: center; }
.footer-logo { width: 190px; }
.footer-meta { font-size: 13.5px; line-height: 1.7; border-left: 1px solid rgba(220, 196, 151, .25); padding-left: 32px; }
.footer-meta p:first-child { color: var(--cream-100); }
.to-top { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); text-decoration: none; }
.to-top:hover { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--wine-700); color: #fff;
  box-shadow: 0 0 0 4px rgba(184, 146, 90, .35), 0 16px 32px -12px rgba(46, 9, 17, .6);
  transition: transform .3s var(--ease), background-color .3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--wine-600); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1320px) {
  .header-cta { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .brand img { width: 210px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--cream-50); border-top: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(46, 9, 17, .4);
    padding: 12px var(--gutter) 28px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a:not(.btn) { padding: 16px 0; font-size: 16px; font-family: var(--serif); font-size: 22px; letter-spacing: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav-mobile-cta { display: inline-flex; width: 100%; margin-top: 18px; }

  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-head { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: center; max-width: 400px; margin-top: 12px; }
  .about-grid, .founder-grid, .contact-grid, .global-grid { grid-template-columns: 1fr; }
  .about-visual, .founder-photo { width: 100%; max-width: 440px; margin-inline: auto; }
  .global-mark { max-width: 260px; order: -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 26px 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .service-groups { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-meta { border-left: 0; padding-left: 0; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .brand img { width: 178px; }
  .hero-portrait { max-width: 320px; }
  .arch-frame { padding: 9px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-highlights { gap: 10px 20px; }
  .hero-highlights li { font-size: 11px; }
  .areas-grid, .values-grid, .visa-grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1 1 0; padding: 8px 10px; font-size: 11px; letter-spacing: .08em; line-height: 1.3; }
  .countries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .country { justify-content: center; padding: 0 12px; min-height: 56px; }
  .country-panel { padding: 26px 20px; }
  .about-visual { margin-bottom: 40px; }
  .about-seal { width: 96px; right: 10px; bottom: -48px; padding: 6px; }
  .founder-photo { padding: 10px; }
  .contact-row { grid-template-columns: 1fr; padding: 18px 0; }
  .contact-row a.sub { grid-column: 1; }
  .contact-row a.email { font-size: 15px; }
  .contact-copy .btn { width: 100%; white-space: normal; text-align: center; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 360px) {
  .brand img { width: 158px; }
  .tab { font-size: 10.5px; }
  .country { font-size: 12px; gap: 8px; }
}

/* Cormorant usa algarismos antigos; códigos como B1/B2 ficam em sans para leitura correta */
.lnum { font-family: var(--sans); font-size: .78em; font-weight: 500; letter-spacing: .02em; }
.nowrap-block { display: block; }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) { .footer { padding-bottom: 104px; } }
.visa-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.visa-tags li { padding: 4px 10px; border: 1px solid var(--line-gold); background: var(--cream-50); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--wine-700); }
@media (min-width: 601px) { .visa-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   Artigos
   ========================================================= */
.articles { background: var(--cream-50); border-top: 1px solid var(--line); }
.articles[hidden] { display: none; }
.articles-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.articles-head > div { max-width: 700px; }
.articles-head .link-arrow { margin-top: 0; }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.article-card {
  display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px);
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold-500);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -36px rgba(46, 9, 17, .45); }
.article-card h3 { margin: 14px 0 12px; font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--wine-700); }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 4px; }
.article-card p:not(.article-meta) { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.article-card .link-arrow { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.article-meta span::after { content: "·"; margin-left: 14px; color: var(--gold-500); }
.article-meta--light { color: var(--gold-300); }
.articles-empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; font-family: var(--serif); font-size: 24px; color: var(--wine-700); }
.articles--page { border-top: 0; }

/* Cabeçalho das páginas internas */
.page-hero {
  color: var(--cream-100); padding-block: clamp(64px, 8vw, 104px);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(134, 35, 56, .55) 0%, rgba(134, 35, 56, 0) 60%),
    linear-gradient(160deg, var(--wine-700) 0%, var(--wine-800) 62%, var(--wine-900) 100%);
}
.page-hero h1 { max-width: 860px; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; color: #fff; text-wrap: balance; }
.page-lead { margin-top: 20px; max-width: 620px; font-size: 17px; color: rgba(248, 242, 232, .82); }
.page-hero--article .article-meta { margin-bottom: 18px; }
.article-author { margin-top: 24px; font-size: 13px; letter-spacing: .08em; color: var(--cream-200); }
.back-link { display: inline-flex; gap: 8px; margin-bottom: 30px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); text-decoration: none; }
.back-link:hover { color: #fff; }

/* Texto do artigo */
.article-body .container { max-width: calc(760px + var(--gutter) * 2); }
.prose { font-size: 17px; line-height: 1.85; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--wine-700); }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 26px; }
.prose h4 { font-size: 21px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-600); }
.prose a { color: var(--wine-600); text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.prose blockquote { padding-left: 24px; border-left: 1px solid var(--gold-500); }
.prose blockquote p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--wine-700); }
.article-cta { margin-top: 56px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: var(--cream-100); border: 1px solid var(--line-gold); }
.article-cta p { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--wine-700); }

@media (max-width: 1080px) { .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 27px; }
  .article-cta .btn { width: 100%; }
}.prose img { max-width: 100%; height: auto; margin: 1.6em auto; border: 1px solid var(--line); }
