/* =====================================================================
   NITO ADVOGADOS — Design System
   A warm, editorial, corporate identity.
   Palette drawn from the firm's own office: terracotta, ink, ivory, gold.
   ===================================================================== */

:root {
  /* Core palette */
  --ink:        #17130F;   /* warm near-black — primary dark */
  --ink-2:      #241D16;
  --espresso:   #372C22;
  --terra:      #CF5C3A;   /* brand accent */
  --terra-600:  #B44A2B;   /* hover / deep */
  --terra-300:  #E8895F;   /* light glow */
  --gold:       #C29A5B;   /* fine metallic detail */
  --gold-soft:  #E4D3B3;
  --sand:       #EADFD1;
  --cream:      #F7F1E9;
  --paper:      #FCF9F4;
  --stone:      #7B6F60;   /* muted body text */
  --stone-2:    #9A8E7E;
  --line:       rgba(23,19,15,.10);
  --line-soft:  rgba(23,19,15,.06);
  --white:      #ffffff;

  /* Typography */
  --serif: "Fraunces", "PT Serif", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 2px 10px rgba(23,19,15,.05);
  --shadow: 0 22px 50px rgba(23,19,15,.10);
  --shadow-lg: 0 40px 90px rgba(23,19,15,.18);
}

/* ------------------------------------------------------------------ *
   Reset
 * ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--espresso);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* prevent horizontal overflow: grid/flex items must be allowed to shrink
   below their content's intrinsic size (esp. full-width images) */
html { overflow-x: clip; }
.split > *, .reach .split > *, .faq > *, .contact-grid > *,
.team-grid > *, .why-grid > *, .areas-grid > *, .mvv-grid > *,
.quick-grid > *, .footer-top > *, .hero-strip .container > *,
.form-grid > * { min-width: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -.01em;
}

::selection { background: var(--terra); color: #fff; }

/* ------------------------------------------------------------------ *
   Layout helpers
 * ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 1360px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-cream  { background: var(--cream); }
.bg-paper  { background: var(--paper); }
.bg-ink    { background: var(--ink); color: rgba(255,255,255,.85); }
.text-center { text-align: center; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--terra);
  opacity: .7;
}
.eyebrow.center { justify-content: center; }
.text-center .eyebrow { justify-content: center; }

/* Section heading */
.sec-title {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.06;
  margin: 0 0 18px;
}
.sec-title em { font-style: italic; color: var(--terra); }
.lead {
  font-size: 1.075rem;
  color: var(--stone);
  max-width: 60ch;
  margin: 0;
}
.text-center .lead { margin: 0 auto; }

/* ------------------------------------------------------------------ *
   Buttons
 * ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--terra);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover {
  background: var(--terra-600);
  border-color: var(--terra-600);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(207,92,58,.32);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(23,19,15,.22);
}
.btn-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn-block { width: 100%; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--terra);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ------------------------------------------------------------------ *
   Top utility bar
 * ------------------------------------------------------------------ */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}
.topbar a { color: rgba(255,255,255,.72); transition: color .25s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 26px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--terra); }
.topbar-social { display: flex; align-items: center; gap: 16px; }
.topbar-social svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .topbar { display: none; }
}

/* ------------------------------------------------------------------ *
   Header / nav
 * ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(252,249,244,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(23,19,15,.07); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand img { height: 30px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-menu a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .25s;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--terra); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 960; }
  .nav-cta-desktop { display: none; }
}

/* ------------------------------------------------------------------ *
   Mobile drawer (built by nito.js, appended directly to <body> so it
   escapes the header's backdrop-filter containing block)
 * ------------------------------------------------------------------ */
.m-scrim {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(12, 9, 6, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.m-scrim.open { opacity: 1; visibility: visible; }

.m-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 4001;
  width: min(87vw, 366px);
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #fff;
  transform: translateX(101%);
  visibility: hidden;
  transition: transform .55s cubic-bezier(.76, 0, .24, 1), visibility .55s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.m-drawer.open {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -34px 0 90px rgba(0, 0, 0, .5);
}
.m-drawer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
}

.m-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.m-drawer-head img { height: 30px; width: auto; }
.m-close {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: none;
  color: #fff;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.m-close:hover { background: var(--terra); border-color: var(--terra); transform: rotate(90deg); }
.m-close svg { width: 20px; height: 20px; }

.m-nav { padding: 16px 26px 6px; }
.m-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  opacity: 0;
  transform: translateX(24px);
  transition: color .3s var(--ease), padding .3s var(--ease),
              opacity .5s var(--ease), transform .5s var(--ease);
}
.m-drawer.open .m-nav a { opacity: 1; transform: none; }
.m-drawer.open .m-nav a:nth-child(1) { transition-delay: .12s; }
.m-drawer.open .m-nav a:nth-child(2) { transition-delay: .18s; }
.m-drawer.open .m-nav a:nth-child(3) { transition-delay: .24s; }
.m-drawer.open .m-nav a:nth-child(4) { transition-delay: .30s; }
.m-drawer.open .m-nav a:nth-child(5) { transition-delay: .36s; }
.m-nav a .idx {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--terra-300);
  min-width: 24px;
}
.m-nav a:hover, .m-nav a.active { color: #fff; padding-left: 8px; }
.m-nav a.active .idx { color: var(--terra); }

.m-drawer-foot {
  margin-top: auto;
  padding: 24px 26px 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.m-drawer-foot .btn { width: 100%; margin-bottom: 22px; }
.m-drawer-foot .m-line {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(255, 255, 255, .7);
  margin-bottom: 12px;
}
.m-drawer-foot .m-line svg { width: 17px; height: 17px; color: var(--terra-300); flex: none; }
.m-drawer-foot .m-line a:hover { color: #fff; }
.m-social { display: flex; gap: 12px; margin-top: 18px; }
.m-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .75);
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.m-social a:hover { background: var(--terra); border-color: var(--terra); color: #fff; transform: translateY(-3px); }
.m-social svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------------ *
   Hero
 * ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* poster shown behind the video so there is never a gray gap while it loads */
  background: var(--ink) url("../images/home-1.jpg") center / cover no-repeat;
  color: #fff;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  background: transparent;
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.hero-video.is-playing { opacity: 1; }
/* hide iOS's native "tap to play" button + control chrome on the bg video */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-play-button,
.hero-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(20,15,11,.90) 0%, rgba(20,15,11,.62) 48%, rgba(20,15,11,.35) 100%),
    linear-gradient(0deg, rgba(20,15,11,.85) 0%, rgba(20,15,11,0) 42%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 780px; padding: 60px 0; }
.hero .eyebrow { color: var(--terra-300); }
.hero .eyebrow::before { background: var(--terra-300); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 26px;
}
.hero h1 em { font-style: italic; color: var(--terra-300); }
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,.82);
  max-width: 56ch;
  margin: 0 0 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* rotating word */
.rotator { display: inline-block; position: relative; color: var(--terra-300); }

/* hero bottom stat strip */
.hero-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 30px 26px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-stat .num .suffix { color: var(--terra-300); font-size: .6em; }
.hero-stat .label {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
@media (max-width: 760px) {
  .hero-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ------------------------------------------------------------------ *
   About / intro split
 * ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; }
}

.about-figure { position: relative; }
.about-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3.4;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-figure::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
/* floating badge */
.about-badge {
  position: absolute;
  right: -10px;
  bottom: -26px;
  background: var(--terra);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 190px;
}
.about-badge .big {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}
.about-badge .small {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 6px;
  color: rgba(255,255,255,.9);
}
.about-body p { color: var(--stone); margin: 0 0 20px; }

.quote-card {
  margin-top: 30px;
  padding: 26px 28px;
  background: var(--cream);
  border-left: 3px solid var(--terra);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.quote-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.5;
}
.quote-card .cite { font-weight: 600; color: var(--ink); font-style: normal; }
.quote-card .cite span { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-top: 3px; }

/* value chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.chip svg { width: 16px; height: 16px; color: var(--terra); }

/* ------------------------------------------------------------------ *
   Section head (centered)
 * ------------------------------------------------------------------ */
.sec-head { max-width: 640px; margin: 0 auto clamp(44px, 5vw, 66px); }
.sec-head.left { margin-left: 0; text-align: left; }

/* ------------------------------------------------------------------ *
   Practice areas grid
 * ------------------------------------------------------------------ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
@media (max-width: 1000px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .areas-grid { grid-template-columns: 1fr; } }

.area {
  position: relative;
  padding: 42px 34px 46px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .4s var(--ease), transform .4s var(--ease);
  overflow: hidden;
}
.areas-grid .area:nth-child(4n) { border-right: none; }
@media (max-width: 1000px) {
  .areas-grid .area:nth-child(4n) { border-right: 1px solid var(--line); }
  .areas-grid .area:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .areas-grid .area { border-right: none !important; }
}
.area::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--terra);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.area-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--terra);
  letter-spacing: .05em;
}
.area-icon {
  width: 58px; height: 58px;
  margin: 20px 0 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.area-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.area h3 { font-size: 1.35rem; margin: 0 0 14px; }
.area p { font-size: 15px; color: var(--stone); margin: 0; line-height: 1.65; }
.area .link-arrow { margin-top: 22px; font-size: 12.5px; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.area:hover { background: var(--ink); transform: translateY(-2px); z-index: 2; }
.area:hover::before { transform: scaleY(1); }
.area:hover h3 { color: #fff; }
.area:hover p { color: rgba(255,255,255,.7); }
.area:hover .area-num { color: var(--terra-300); }
.area:hover .area-icon { background: var(--terra); color: #fff; }
.area:hover .link-arrow { opacity: 1; transform: translateY(0); color: var(--terra-300); }

/* ------------------------------------------------------------------ *
   Why us / differentials
 * ------------------------------------------------------------------ */
.why { position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 38px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why-ic {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--terra), var(--terra-600));
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(207,92,58,.28);
}
.why-ic svg { width: 26px; height: 26px; stroke-width: 1.7; }
.why-card h3 { font-size: 1.4rem; margin: 0 0 12px; }
.why-card p { color: var(--stone); font-size: 15.5px; margin: 0; }

/* ------------------------------------------------------------------ *
   National reach / map
 * ------------------------------------------------------------------ */
.reach {
  position: relative;
  background:
    linear-gradient(120deg, rgba(20,15,11,.94), rgba(20,15,11,.72)),
    url("../images/reuniao.jpg") center/cover fixed;
  color: #fff;
}
.reach .split { align-items: center; }
.reach h2 { color: #fff; }
.reach h2 em { color: var(--terra-300); font-style: italic; }
.reach .lead { color: rgba(255,255,255,.75); }
.states {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}
@media (max-width: 480px) { .states { grid-template-columns: 1fr; } }
.states li {
  position: relative;
  padding: 12px 16px 12px 40px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  font-weight: 500;
  font-size: 15px;
  transition: background .3s, border-color .3s, transform .3s;
}
.states li::before {
  content: "";
  position: absolute; left: 15px; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terra);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(207,92,58,.2);
}
.states li:hover { background: rgba(255,255,255,.1); border-color: var(--terra); transform: translateX(4px); }
.reach-map { position: relative; display: flex; justify-content: center; align-items: center; }
.reach-map::before {
  content: "";
  position: absolute;
  width: 78%; height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 92, 58, .22), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}
.reach-map img {
  position: relative;
  width: 100%;
  max-width: 500px;
  opacity: 1;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, .5));
}
@media (max-width: 900px) { .reach-map { margin-top: 12px; } .reach-map img { max-width: 380px; } }

/* ------------------------------------------------------------------ *
   Team
 * ------------------------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }
.member {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}
.member img {
  width: 100%;
  aspect-ratio: 3/3.6;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(.15);
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.member:hover img { transform: scale(1.05); filter: grayscale(0); }
.member-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 24px 22px;
  background: linear-gradient(0deg, rgba(20,15,11,.92) 8%, rgba(20,15,11,.55) 55%, transparent 100%);
  color: #fff;
}
.member-caption h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.member-caption .role {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra-300);
}
.member-caption .role::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px; vertical-align: middle;
  background: var(--terra-300); margin-right: 9px;
}
/* team CTA — full-width band below the member row */
.team-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
  margin-top: 4px;
  padding: clamp(30px, 4vw, 44px) clamp(30px, 4vw, 50px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.team-cta::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--terra), var(--gold));
}
.team-cta-num {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 5rem);
  color: var(--terra);
  line-height: .9;
  flex: none;
}
.team-cta-text { flex: 1 1 340px; }
.team-cta-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0 0 6px; }
.team-cta-text p { color: var(--stone); font-size: 15.5px; margin: 0; max-width: 52ch; }
.team-cta .btn { flex: none; }

/* ------------------------------------------------------------------ *
   FAQ
 * ------------------------------------------------------------------ */
.faq { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-figure { display: none; } }
.faq-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.faq-figure { position: sticky; top: 110px; }
.acc-item {
  border-bottom: 1px solid var(--line);
}
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 4px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  transition: color .25s;
}
.acc-q:hover { color: var(--terra); }
.acc-icon {
  flex: none;
  width: 34px; height: 34px;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--terra);
  transform: translate(-50%,-50%);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.acc-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-item.open .acc-icon { background: var(--terra); border-color: var(--terra); }
.acc-item.open .acc-icon::before, .acc-item.open .acc-icon::after { background: #fff; }
.acc-item.open .acc-icon::after { transform: translate(-50%,-50%) rotate(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-a p { color: var(--stone); font-size: 15.5px; padding: 0 44px 26px 4px; margin: 0; }

/* ------------------------------------------------------------------ *
   CTA band
 * ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(207,92,58,.35), transparent 65%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 18ch; }
.cta-band h2 em { color: var(--terra-300); font-style: italic; }
.cta-band p { color: rgba(255,255,255,.7); margin: 14px 0 0; max-width: 46ch; }

/* ------------------------------------------------------------------ *
   Contact
 * ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4vw, 50px);
  display: flex;
  flex-direction: column;
}
.contact-info-card h2 { color: #fff; }
.contact-info-card .lead { color: rgba(255,255,255,.72); }
.contact-list { margin-top: auto; padding-top: 34px; display: grid; gap: 22px; }
.contact-list .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic {
  flex: none; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: var(--terra-300);
}
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.contact-list .v { color: #fff; font-size: 15px; line-height: 1.5; }
.contact-list a.v:hover { color: var(--terra-300); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terra);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(207,92,58,.1);
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ *
   Footer
 * ------------------------------------------------------------------ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  position: relative;
  padding-top: 4px;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 50px;
  padding: clamp(56px, 7vw, 90px) 0 50px;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } }
.footer .brand-white img { height: 34px; margin-bottom: 22px; }
.footer p { color: rgba(255,255,255,.6); font-size: 15px; margin: 0 0 20px; max-width: 42ch; }
.footer .footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  padding: 9px 14px;
  margin: 0 0 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 40px;
  max-width: none;
}
.footer .footer-legal::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra);
  flex: none;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: 15px; transition: color .25s, padding .25s; }
.footer-links a:hover { color: var(--terra-300); padding-left: 5px; }
.footer-contact li { display: flex; gap: 13px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.55; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--terra); margin-top: 2px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.7);
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.footer-social a:hover { background: var(--terra); border-color: var(--terra); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------------ *
   Floating WhatsApp
 * ------------------------------------------------------------------ */
.wa-float {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 60px; height: 60px;
  z-index: 800;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ------------------------------------------------------------------ *
   Scam alert modal
 * ------------------------------------------------------------------ */
.modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,19,15,.55);
  z-index: 10000;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal.show { opacity: 1; visibility: visible; }
.modal-box {
  background: #fff;
  max-width: 500px; width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px);
  transition: transform .35s var(--ease);
}
.modal.show .modal-box { transform: translateY(0); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}
.modal-head h5 { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 0; }
.modal-head h5 svg { width: 24px; height: 24px; color: var(--terra); }
.modal-close { background: none; border: none; color: var(--stone); display: flex; padding: 4px; }
.modal-close svg { width: 22px; height: 22px; }
.modal-body { padding: 24px 26px 30px; color: var(--stone); font-size: 15px; text-align: justify; }
.modal-body strong { color: var(--ink); }

/* ------------------------------------------------------------------ *
   Scroll reveal
 * ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wa-float { animation: none; }
}

/* ------------------------------------------------------------------ *
   Premium preloader — brand shimmer + split-curtain reveal
 * ------------------------------------------------------------------ */
body.preloading { overflow: hidden; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  pointer-events: none;
}
.preloader.hide { visibility: hidden; }

/* two ink panels that part to reveal the page */
.pl-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: var(--ink);
  transition: transform 1.05s cubic-bezier(.76, 0, .24, 1);
  will-change: transform;
}
.pl-panel.top { top: 0; }
.pl-panel.bottom { bottom: 0; }
.pl-panel::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,154,91,.45), transparent);
}
.pl-panel.top::after { bottom: 0; }
.pl-panel.bottom::after { top: 0; }

.pl-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pl-center::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 680px; height: 680px;
  max-width: 130vw; max-height: 130vw;
  transform: translate(-50%, -50%) translateY(-7vh);
  background: radial-gradient(circle, rgba(207,92,58,.18), transparent 62%);
  pointer-events: none;
}
/* cluster lifted above the curtain seam */
.pl-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  transform: translateY(-7vh);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

/* white wordmark (always visible) with a metallic shine sweeping across it */
.pl-logo-wrap {
  position: relative;
  width: min(180px, 50vw);
  opacity: 0;
  transform: translateY(10px);
  animation: pl-fade-in .9s var(--ease) .1s forwards;
  margin-bottom: -10px;
  margin-top: -50px;
}
.pl-logo-img {
  display: block;
  width: 100%;
  height: auto;
}
.pl-shine {
  position: absolute;
  inset: 0;
  -webkit-mask: url(../images/logo_branco.png) center / contain no-repeat;
  mask: url(../images/logo_branco.png) center / contain no-repeat;
  background: linear-gradient(
    100deg,
    transparent 36%,
    rgba(255,255,255,.95) 48%,
    var(--gold) 52%,
    var(--terra-300) 56%,
    transparent 68%
  );
  background-size: 240% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: pl-shimmer 2.6s ease-in-out infinite;
}
@keyframes pl-shimmer {
  0%   { background-position: 135% 0; }
  100% { background-position: -135% 0; }
}
@keyframes pl-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

.pl-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: pl-fade-in .9s var(--ease) .35s forwards;
}
.pl-bar {
  position: relative;
  width: min(240px, 60vw);
  height: 2px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
}
.pl-bar span {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--terra), var(--gold));
  border-radius: 2px;
  transition: width .35s var(--ease);
}
.pl-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.pl-meta .dot { color: var(--terra); }
.pl-pct { color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }

/* reveal */
.preloader.done .pl-stack { opacity: 0; transform: translateY(calc(-7vh - 12px)); }
.preloader.done .pl-panel.top { transform: translateY(-100%); }
.preloader.done .pl-panel.bottom { transform: translateY(100%); }

@media (prefers-reduced-motion: reduce) {
  .pl-shine { animation: none; opacity: 0; }
  .pl-logo-wrap, .pl-progress { animation: none; opacity: 1; transform: none; }
  .pl-stack { transform: translateY(-7vh); }
  .pl-panel { transition: none; }
}

/* Utilities */
.mt-0 { margin-top: 0; }
.divider-gold { width: 60px; height: 2px; background: var(--gold); margin: 22px 0; }

/* ================================================================== *
   INNER PAGE COMPONENTS
 * ================================================================== */

/* Page hero / banner */
.page-hero {
  position: relative;
  padding: clamp(120px, 16vw, 190px) 0 clamp(48px, 6vw, 72px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
  filter: grayscale(.2);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,11,.75) 0%, rgba(20,15,11,.55) 40%, rgba(20,15,11,.92) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--terra-300); }
.page-hero .eyebrow::before { background: var(--terra-300); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.04;
  margin: 0;
}
.page-hero h1 em { font-style: italic; color: var(--terra-300); }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin: 18px 0 0; max-width: 60ch; }

/* Breadcrumb */
.breadcrumb-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--stone);
}
.breadcrumb a { color: var(--stone); transition: color .25s; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb .sep { color: var(--stone-2); font-size: 11px; }
.breadcrumb .current { color: var(--terra); font-weight: 600; }

/* Prose / article typography */
.prose { max-width: 100%; }
.prose p { color: var(--stone); margin: 0 0 22px; line-height: 1.8; }
.prose p:last-child { margin-bottom: 0; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose h2, .prose h3 { margin: 40px 0 16px; }
.prose ul { margin: 0 0 22px; padding-left: 4px; display: grid; gap: 12px; }
.prose ul li {
  position: relative;
  padding-left: 30px;
  color: var(--stone);
  line-height: 1.7;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terra);
}

/* ------------------------------------------------------------------ *
   History timeline (about page)
 * ------------------------------------------------------------------ */
.timeline {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 0;
}
/* central spine */
.timeline::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, transparent 0, var(--line) 6%, var(--line) 94%, transparent 100%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 56px 56px 0;
  box-sizing: border-box;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 56px 56px;
}
/* node on the spine */
.tl-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--terra);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 3px rgba(207, 92, 58, .22);
  z-index: 2;
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
/* connector from spine to card */
.tl-item::after {
  content: "";
  position: absolute;
  top: 37px;
  width: 44px; height: 1px;
  background: var(--line);
}
.tl-item:nth-child(odd)::after { right: 12px; }
.tl-item:nth-child(even)::after { left: 12px; }

.tl-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tl-year {
  display: inline-block;
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--terra);
  margin-bottom: 18px;
}
.tl-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.tl-photo {
  width: 58px; height: 58px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--sand);
}
.tl-ic {
  width: 58px; height: 58px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terra), var(--terra-600));
  color: #fff;
}
.tl-ic svg { width: 26px; height: 26px; }
.tl-head h3 { font-size: 1.3rem; margin: 0; line-height: 1.15; }
.tl-role {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra);
}
.tl-card p { color: var(--stone); font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }
.tl-card p:last-child { margin-bottom: 0; }
.tl-card .tl-highlight {
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
/* mobile: single left spine */
@media (max-width: 760px) {
  .timeline::before { left: 8px; }
  .tl-item,
  .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 40px 40px;
  }
  .tl-item:nth-child(odd)::before,
  .tl-item:nth-child(even)::before { left: 1px; right: auto; }
  .tl-item:nth-child(odd)::after,
  .tl-item:nth-child(even)::after { left: 16px; right: auto; width: 24px; }
}

/* Mission / Vision / Values */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .mvv-grid { grid-template-columns: 1fr; } }
.mvv-card {
  position: relative;
  padding: 44px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}
.mvv-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.mvv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-ic {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--cream);
  color: var(--terra);
  margin-bottom: 24px;
}
.mvv-ic svg { width: 28px; height: 28px; stroke-width: 1.6; }
.mvv-card h3 { font-size: 1.5rem; margin: 0 0 14px; }
.mvv-card p { color: var(--stone); font-size: 15.5px; margin: 0; line-height: 1.75; }

/* Team member roles variant (equipe page) */
.member .role-2 { color: var(--terra-300); }

/* Areas: tab/accordion list for detailed practice areas */
.area-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  margin-bottom: 20px;
}
.area-detail-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  cursor: pointer;
}
.area-detail-head .ic {
  flex: none;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  transition: background .3s, color .3s;
}
.area-detail-head .ic svg { width: 24px; height: 24px; stroke-width: 1.6; }
.area-detail-head h3 { flex: 1; font-size: 1.4rem; margin: 0; }
.area-detail-head .chev {
  flex: none; width: 34px; height: 34px; position: relative;
  border-radius: 50%; border: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.area-detail-head .chev::before,
.area-detail-head .chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; background: var(--terra);
  transform: translate(-50%,-50%); transition: transform .3s var(--ease), background .3s;
}
.area-detail-head .chev::after { transform: translate(-50%,-50%) rotate(90deg); }
.area-detail.open .area-detail-head .ic { background: var(--terra); color: #fff; }
.area-detail.open .area-detail-head .chev { background: var(--terra); border-color: var(--terra); }
.area-detail.open .area-detail-head .chev::before,
.area-detail.open .area-detail-head .chev::after { background: #fff; }
.area-detail.open .area-detail-head .chev::after { transform: translate(-50%,-50%) rotate(0); }
.area-detail-body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.area-detail-body-inner { padding: 0 30px 30px 102px; }
@media (max-width: 600px) { .area-detail-body-inner { padding: 0 24px 26px; } }
.area-detail-body-inner p { color: var(--stone); margin: 0 0 16px; line-height: 1.75; }
.area-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.area-detail-tags span {
  font-size: 13px; font-weight: 500;
  padding: 7px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--ink-2);
}

/* Quick links cards */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.quick-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.quick-card .ic {
  flex: none; width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--cream); color: var(--terra);
}
.quick-card .ic svg { width: 24px; height: 24px; }
.quick-card h3 { font-size: 1.15rem; margin: 0 0 3px; }
.quick-card p { font-size: 14px; color: var(--stone); margin: 0; }

/* ================================================================== *
   MOBILE REFINEMENTS
 * ================================================================== */
@media (max-width: 640px) {
  .container { padding: 0 20px; }

  /* eyebrow — tidy single line */
  .eyebrow { font-size: 10.5px; letter-spacing: .12em; gap: 9px; margin-bottom: 16px; }
  .eyebrow::before { width: 20px; }

  /* hero */
  .hero { min-height: min(88vh, 720px); }
  .hero-inner { padding: 44px 0 50px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); margin-bottom: 20px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 30px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; }

  /* stats strip */
  .hero-stat { padding: 24px 16px; }
  .hero-stat .num { font-size: 2.15rem; }
  .hero-stat .label { font-size: 10.5px; letter-spacing: .07em; }

  /* section rhythm + headings */
  .section { padding: 62px 0; }
  .section-tight { padding: 46px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-title { font-size: clamp(1.75rem, 8.5vw, 2.2rem); }
  .lead { font-size: 1rem; }

  /* buttons — comfortable tap targets */
  .btn { padding: 15px 26px; }

  /* about */
  .about-figure { margin-bottom: 30px; }
  .about-figure::before { inset: 14px -12px -12px 14px; }
  .about-badge { right: 0; bottom: -20px; padding: 16px 20px; max-width: 168px; }
  .about-badge .big { font-size: 2.1rem; }
  .chips { gap: 10px; }
  .chip { font-size: 13px; padding: 8px 14px; }
  .quote-card { padding: 22px 22px; }
  .quote-card p { font-size: 1.06rem; }

  /* CTA band */
  .cta-band .container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cta-band .btn { width: 100%; }

  /* team CTA band */
  .team-cta { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .team-cta-num { font-size: 3.4rem; }
  .team-cta .btn { width: 100%; }

  /* reach */
  .reach-map { margin-top: 6px; }
  .reach-map img { max-width: 320px; }

  /* faq */
  .acc-q { font-size: 1.08rem; padding: 20px 2px; }
  .acc-a p { padding-right: 6px; }

  /* contact */
  .contact-info-card { order: 2; }
  .form-card { order: 1; }

  /* footer */
  .footer-top { gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* page hero (inner pages) */
  .page-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .page-hero p { font-size: 1rem; }
}

/* modal fits small screens */
@media (max-width: 560px) {
  .modal { padding: 14px; }
  .modal-box { width: 100%; max-width: 100%; }
  .modal-head { padding: 16px 20px; }
  .modal-head h5 { font-size: 1rem; }
  .modal-body { padding: 18px 20px 24px; text-align: left; font-size: 14.5px; }
}

/* ================================================================== *
   MOBILE — Áreas de atuação: rich, visual cards
 * ================================================================== */
@media (max-width: 560px) {
  .areas-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .area {
    padding: 30px 26px 26px;
    background: #fff;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(23, 19, 15, .06);
    overflow: hidden;
  }
  /* gradient top accent, always visible */
  .area::before {
    left: 0; right: 0; top: 0; bottom: auto;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--terra), var(--gold));
    transform: scaleX(1);
    transform-origin: left;
  }
  /* big faded watermark number */
  .area-num {
    position: absolute;
    top: 22px; right: 24px;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--ink);
    opacity: .07;
    letter-spacing: 0;
  }
  /* filled terracotta icon */
  .area-icon {
    width: 60px; height: 60px;
    margin: 6px 0 20px;
    background: linear-gradient(135deg, var(--terra), var(--terra-600));
    color: #fff;
    box-shadow: 0 12px 26px rgba(207, 92, 58, .30);
  }
  .area-icon svg { color: #fff; }
  .area h3 { font-size: 1.4rem; }
  .area p { font-size: 15px; }
  /* CTA always visible */
  .area .link-arrow {
    opacity: 1;
    transform: none;
    margin-top: 20px;
    font-size: 12.5px;
    color: var(--terra);
  }
  /* no dark hover state on touch — keep cards light */
  .area:hover { background: #fff; transform: none; }
  .area:hover h3 { color: var(--ink); }
  .area:hover p { color: var(--stone); }
  .area:hover .area-icon { background: linear-gradient(135deg, var(--terra), var(--terra-600)); color: #fff; }
  .area:hover .area-num { color: var(--ink); opacity: .07; }
}

/* ================================================================== *
   MOBILE — "Por que a Nito" swipe carousel
 * ================================================================== */
@media (max-width: 760px) {
  .why-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 6px 20px 10px;
  }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
}
/* pagination dots (shown only when JS enables + on mobile) */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
@media (max-width: 760px) { .carousel-dots.on { display: flex; } }
.carousel-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: width .35s var(--ease), background .35s var(--ease);
}
.carousel-dots button.active {
  width: 28px;
  border-radius: 5px;
  background: var(--terra);
}
