/* =====================================================================
   Jaculi & Fernandes Advogados — Stylesheet
   Paleta: navy profundo + prata/champanhe, tipografia serifada elegante.
   ===================================================================== */

:root {
  /* Cores principais derivadas da logo */
  --navy-900: #08142A;
  --navy-800: #0E1E3A;
  --navy-700: #142648;
  --navy-600: #1B3157;
  --navy-500: #2A406A;

  --silver-100: #F4F6FA;
  --silver-200: #E2E6EE;
  --silver-300: #C9D0DB;
  --silver-400: #A9B2C2;
  --silver-500: #8C95A7;

  --champagne: #C9A961;        /* acento sutil dourado */
  --champagne-soft: #D9BE7E;

  --ink: #0B1426;
  --ink-soft: #2C3548;
  --paper: #FBFBF8;
  --paper-warm: #F5F2EC;

  /* Tipografia */
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaçamento e layout */
  --container: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-card: 0 18px 40px -22px rgba(8, 20, 42, 0.25);
  --shadow-soft: 0 6px 18px -10px rgba(8, 20, 42, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ========== Reset & base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(8, 20, 42, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
  transition: padding .35s var(--ease);
}
.site-header.is-scrolled {
  padding: 8px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--silver-200);
}
.brand-mark {
  height: 110px;
  width: auto;
  transition: height .35s var(--ease);
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.4));
}
.site-header.is-scrolled .brand-mark { height: 72px; }
/* Texto redundante com a logo — mantido para leitores de tela */
.brand-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav a {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--silver-200);
  position: relative;
  padding: 6px 0;
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:not(.btn):hover::after { transform: scaleX(1); }
.primary-nav a:hover { color: #fff; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--silver-100);
  margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ========== Botões ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--champagne);
  color: var(--navy-900);
  border-color: var(--champagne);
}
.btn-primary:hover {
  background: var(--champagne-soft);
  border-color: var(--champagne-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(201, 169, 97, 0.55);
}

.btn-outline {
  border-color: var(--silver-300);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--silver-100);
  border-color: var(--ink);
}
.section-dark .btn-outline,
.site-header .btn-outline {
  border-color: rgba(201, 169, 97, 0.55);
  color: var(--silver-100);
}
.section-dark .btn-outline:hover,
.site-header .btn-outline:hover {
  background: var(--champagne);
  color: var(--navy-900);
  border-color: var(--champagne);
}

.btn-ghost {
  border-color: transparent;
  color: var(--silver-200);
}
.btn-ghost:hover { color: var(--champagne-soft); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--ink);
  overflow: hidden;
  padding: 200px 0 110px;
  background: var(--navy-900);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% top;
  z-index: 0;
  transform: translateY(70px);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Spotlight radial focado na área do texto — fade em todas as direções */
    radial-gradient(ellipse 520px 440px at 26% 56%,
      rgba(140, 152, 170, 0.93) 0%,
      rgba(160, 173, 190, 0.78) 38%,
      rgba(195, 205, 218, 0.40) 68%,
      rgba(225, 232, 240, 0.08) 88%,
      transparent 100%),
    /* Toque navy só na quina esquerda */
    linear-gradient(90deg,
      rgba(14, 30, 58, 0.28) 0%,
      rgba(14, 30, 58, 0.08) 14%,
      transparent 24%),
    /* Grounding vertical sutil */
    linear-gradient(180deg,
      rgba(14, 30, 58, 0.04) 0%,
      rgba(14, 30, 58, 0.14) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  max-width: var(--container);
}
.hero-content {
  max-width: 560px;
  padding: 4px 0 4px 34px;
  border-left: 1px solid rgba(201, 169, 97, 0.5);
}
.hero-content .hero-lead { max-width: 460px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #A6862E;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(166, 134, 46, 0.65);
  margin-bottom: 32px;
}
.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  max-width: 440px;
}
.hero-title .accent {
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 300;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .btn-ghost { color: var(--navy-800); }
.hero .btn-ghost:hover { color: var(--champagne); }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 1px solid rgba(14, 30, 58, 0.2);
  border-radius: 20px;
  display: grid;
  place-items: center;
}
.hero-scroll span {
  display: block;
  width: 2px; height: 8px;
  background: var(--champagne);
  border-radius: 2px;
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(-8px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ========== Section base ========== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-light { background: var(--paper); color: var(--ink); }
.section-muted { background: var(--paper-warm); color: var(--ink); }
.section-dark {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--silver-200);
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--champagne);
}
.eyebrow-light { color: var(--silver-300); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 720px;
}
.section-title em {
  font-style: italic;
  color: var(--ink-soft);
}
.section-title.light { color: var(--silver-100); }
.section-title.light em { color: var(--champagne-soft); }

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 640px;
}
.section-lead.light { color: var(--silver-300); }

.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { padding-left: 0; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .section-title,
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-head.between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* ========== Grid utility ========== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.grid-2.align-start { align-items: flex-start; }

/* ========== Sobre — Manifesto + Principles ========== */
.sobre-grid { gap: 90px; }
.lead-text {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 1.2em;
}
.principles {
  margin: 0;
  padding: 0;
}
.principle {
  padding: 22px 0;
  border-top: 1px solid var(--silver-300);
}
.principle:last-child { border-bottom: 1px solid var(--silver-300); }
.principle dt {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.principle-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--champagne);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 22px;
}
.principle dd {
  margin: 0 0 0 38px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ========== Áreas — Editorial List ========== */
.areas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: area;
}
.area-row {
  display: grid;
  grid-template-columns: 90px 1fr 50px;
  gap: 28px;
  align-items: baseline;
  padding: 36px 0;
  border-top: 1px solid var(--silver-300);
  position: relative;
  transition: padding .4s var(--ease);
}
.area-row:last-child { border-bottom: 1px solid var(--silver-300); }
.area-row::after {
  content: "→";
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--champagne);
  opacity: 0;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translate(-12px, -50%);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.area-row:hover { padding-left: 20px; padding-right: 16px; }
.area-row:hover::after { opacity: 1; transform: translate(0, -50%); }
.area-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--champagne);
  font-weight: 400;
  line-height: 1;
}
.area-content h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--navy-800);
  line-height: 1.2;
}
.area-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ========== Método ========== */
.method-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--silver-300);
  border-bottom: 1px solid var(--silver-300);
}
.method-step {
  padding: 44px 30px;
  border-right: 1px solid var(--silver-300);
  position: relative;
  transition: background .35s var(--ease);
}
.method-step:last-child { border-right: none; }
.method-step:hover { background: rgba(201, 169, 97, 0.04); }
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--champagne);
  margin-bottom: 20px;
  line-height: 1;
}
.method-step h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--navy-800);
}
.method-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ========== Sócios — Editorial layout ========== */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 90px;
}
.team-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;
  align-items: start;
}
.team-row:nth-child(even) {
  grid-template-columns: 1fr 320px;
}
.team-row:nth-child(even) .team-portrait { order: 2; }
.team-row:nth-child(even) .team-bio { order: 1; text-align: right; }
.team-row:nth-child(even) .team-credentials { margin-left: auto; }

.team-portrait {
  position: relative;
}
.team-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  box-shadow: 0 30px 60px -28px rgba(8, 20, 42, 0.4);
  display: block;
  position: relative;
  z-index: 1;
}
.team-portrait::before {
  content: "";
  position: absolute;
  top: 18px;
  right: -18px;
  bottom: -18px;
  left: 18px;
  border: 1px solid rgba(201, 169, 97, 0.55);
  border-radius: 4px;
  z-index: 0;
}
.team-row:nth-child(even) .team-portrait::before {
  right: 18px;
  left: -18px;
}
.team-bio { padding-top: 14px; min-width: 0; }
.team-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}
.team-bio h3 {
  font-size: 2.4rem;
  font-weight: 500;
  margin: 0 0 22px;
  color: var(--navy-800);
  line-height: 1.1;
}
.team-summary {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 540px;
  line-height: 1.65;
}
.team-row:nth-child(even) .team-summary { margin-left: auto; }
.team-credentials {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--silver-300);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 36px;
  max-width: 580px;
  text-align: left;
}
.team-credentials > div { display: block; }
.team-credentials dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.team-credentials dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--navy-800);
  line-height: 1.4;
}

/* ========== Blog teaser ========== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  display: block;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
  height: 100%;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--champagne);
  box-shadow: var(--shadow-card);
}
.post-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
  padding: 4px 0;
  border-bottom: 1px solid var(--champagne);
  margin-bottom: 18px;
}
.post-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 12px;
}
.post-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.post-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-500);
}

/* ========== Contato ========== */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.contact-info li {
  padding: 22px 0;
  border-top: 1px solid var(--silver-200);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact-info li:last-child { border-bottom: 1px solid var(--silver-200); }
.ci-label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--champagne);
}
.ci-value {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}
.ci-value a:hover { color: var(--navy-800); }

.contact-form {
  background: #fff;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(20, 38, 72, 0.1);
}
.field textarea { resize: vertical; min-height: 110px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 6px 0 22px;
  line-height: 1.4;
}
.consent input { margin-top: 4px; }

.form-feedback {
  margin: 18px 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.form-feedback.is-success { color: #1f7a4d; }
.form-feedback.is-error { color: #b3261e; }
.form-note {
  margin: 10px 0 0;
  font-size: 0.78rem;
  text-align: center;
  color: var(--silver-500);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--navy-900);
  color: var(--silver-300);
  padding: 70px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-mark { height: 180px; width: auto; }
.footer-name {
  /* Redundante com a logo — escondido visualmente */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.footer-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--silver-400);
}
.footer-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a { font-size: 13px; letter-spacing: 0.04em; }
.footer-nav a:hover { color: var(--champagne-soft); }
.footer-meta {
  text-align: right;
  font-size: 12px;
  color: var(--silver-500);
}
.footer-meta p { margin: 0 0 8px; }
.oab-disclaimer { font-size: 11px; line-height: 1.5; max-width: 380px; margin-left: auto; }

/* ========== Reveal animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll span { animation: none; }
}

/* ========== WhatsApp floating button ========== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--champagne);
  border-radius: 50%;
  box-shadow:
    0 16px 32px -10px rgba(8, 20, 42, 0.55),
    0 0 0 1px rgba(201, 169, 97, 0.35);
  z-index: 100;
  transition: background .3s var(--ease), color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
  text-decoration: none;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  opacity: 0;
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover {
  background: var(--champagne);
  color: var(--navy-900);
  transform: translateY(-3px);
  box-shadow:
    0 22px 40px -12px rgba(8, 20, 42, 0.55),
    0 0 0 1px var(--champagne);
}
.wa-float:hover::after { animation-play-state: paused; opacity: 0; }
@keyframes wa-pulse {
  0%   { transform: scale(0.92); opacity: 0; }
  25%  { opacity: 0.55; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ========== Responsivo ========== */
@media (max-width: 980px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2,
  .sobre-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-content { max-width: 100%; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(251, 251, 248, 0.92) 0%,
        rgba(251, 251, 248, 0.78) 45%,
        rgba(251, 251, 248, 0.55) 100%);
  }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-step:nth-child(2) { border-right: none; }
  .method-step:nth-child(-n+2) { border-bottom: 1px solid var(--silver-300); }
  .team-row,
  .team-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .team-row:nth-child(even) .team-portrait,
  .team-row:nth-child(even) .team-bio { order: unset; text-align: left; }
  .team-row:nth-child(even) .team-summary,
  .team-row:nth-child(even) .team-credentials { margin-left: 0; }
  .team-portrait { max-width: 400px; }
  .team-portrait img { aspect-ratio: 4 / 5; }
  .team-portrait::before,
  .team-row:nth-child(even) .team-portrait::before {
    top: 14px; right: -14px; bottom: -14px; left: 14px;
  }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .footer-brand { justify-content: center; }
  .footer-meta { text-align: center; }
  .oab-disclaimer { margin: 0 auto; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .wa-float { bottom: 20px; right: 20px; width: 56px; height: 56px; }
  .wa-float svg { width: 26px; height: 26px; }
  .hero { padding: 120px 0 90px; min-height: auto; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 49;
  }
  .primary-nav.is-open { transform: none; }
  .primary-nav ul {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }
  .primary-nav a { font-size: 18px; }
  .nav-toggle.is-active { z-index: 60; }
  .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(-6px) rotate(-45deg); }

  .posts-grid { grid-template-columns: 1fr; }
  .area-row {
    grid-template-columns: 56px 1fr;
    padding: 28px 0;
    gap: 18px;
  }
  .area-row::after { display: none; }
  .area-row:hover { padding-left: 0; padding-right: 0; }
  .area-num { font-size: 1.3rem; }
  .area-content h3 { font-size: 1.3rem; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step {
    border-right: none !important;
    border-bottom: 1px solid var(--silver-300);
  }
  .method-step:last-child { border-bottom: none; }
  .team-bio h3 { font-size: 1.85rem; }
  .team-credentials { grid-template-columns: 1fr; gap: 14px; }
  .principle dt { font-size: 1.2rem; gap: 12px; }
  .principle dd { margin-left: 32px; }
  .contact-info li { grid-template-columns: 1fr; gap: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .section-head.between { align-items: flex-start; }
}

/* ========== Página: Blog ========== */
.page-header {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--silver-100);
  padding: 240px 0 100px;
  text-align: center;
}
.page-header .eyebrow { color: var(--champagne); padding-left: 0; }
.page-header .eyebrow::before { display: none; }
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 16px;
  font-weight: 400;
}
.page-header p {
  color: var(--silver-300);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ========== Página: Post ========== */
.post-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.post-article header {
  text-align: center;
  margin-bottom: 50px;
}
.post-article header .post-tag { margin-bottom: 22px; }
.post-article h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.post-byline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.post-divider {
  width: 60px;
  height: 1px;
  background: var(--champagne);
  margin: 40px auto;
  border: none;
}
.post-body { font-size: 1.06rem; color: #2a3245; }
.post-body h2 {
  font-size: 1.8rem;
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  color: var(--navy-800);
}
.post-body h3 {
  font-size: 1.35rem;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.post-body p { margin-bottom: 1.2em; line-height: 1.85; }
.post-body blockquote {
  margin: 1.8em 0;
  padding: 8px 26px;
  border-left: 3px solid var(--champagne);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy-800);
}
.post-body ul { padding-left: 22px; margin-bottom: 1.2em; }
.post-body li { margin-bottom: 0.4em; }
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.post-back:hover { color: var(--navy-800); }
