/* =========================================================================
   SNCS Advocacia | Home
   Estrutura e ritmo inspirados em silveiro.com.br; cores da casa:
   azul SNCS (1F3B4D) fechado como base escura e os tons areia do logo.
   ========================================================================= */

:root {
  /* cores */
  --ink: #0E1A22;          /* azul SNCS fechado: hero, equipe, rodapé */
  --navy: #1F3B4D;         /* azul oficial das peças */
  --paper: #F4F2EE;        /* fundo claro, areia muito aberta */
  --sand: #E8E2D8;         /* quadrado claro do logo */
  --stone: #ABA396;        /* quadrado N do logo */
  --taupe: #8A7560;        /* quadrado S do logo: acento */
  --taupe-deep: #6B5A48;   /* acento para texto pequeno (AA sobre paper) */
  --line: #D8D1C5;
  --muted: #5A6673;
  --on-dark: #EDEAE4;
  --on-dark-muted: #9AA6B0;

  /* tipografia */
  --f-display: "League Gothic", "Oswald", Impact, sans-serif;
  --f-serif: "Newsreader", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* medidas */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(72px, 8.5vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: normal; }
::selection { background: var(--taupe); color: #fff; }

:focus-visible { outline: 2px solid var(--taupe); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 10px 16px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ------------------------------------------------------------ tipografia */

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--taupe-deep); }

.section-title,
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .005em;
}
.section-title { font-size: clamp(44px, 6vw, 92px); color: var(--ink); }
.section-title--light { color: var(--on-dark); }

/* a palavra de destaque em serifa itálica, como na referência */
.section-title em,
.hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: -.02em;
  font-size: .78em;
  color: var(--taupe);
}

.line { display: block; }
.line > .line__inner { display: inline-block; }
/* folga em cima para acentos de maiúsculas (Ó, Í) não serem cortados pela máscara da animação */
[data-split] .line { overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }

/* ------------------------------------------------------------ botões */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 20px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .5s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }

.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light::before { background: var(--taupe); }
.btn--light:hover { color: #fff; }

.btn--dark { background: var(--ink); color: var(--on-dark); margin-top: 48px; }
.btn--dark::before { background: var(--taupe); }

.link-arrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600;
  padding: 6px 0;
}
.link-arrow::after {
  content: "→";
  transition: transform .5s var(--ease);
}
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor;
  transform-origin: right; transform: scaleX(1);
  transition: transform .6s var(--ease);
}
.link-arrow:hover::before { transform-origin: left; animation: line-redraw .8s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow--light { color: var(--on-dark); }
@keyframes line-redraw { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ------------------------------------------------------------ preloader */

.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--ink);
  animation: preloader-failsafe .4s 5s forwards; /* se o JS não carregar, some sozinho */
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader__mark { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.preloader__mark span {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-family: var(--f-body); font-weight: 600; font-size: 26px; color: #fff;
}
.preloader__mark span:nth-child(1) { background: #8A7560; }
.preloader__mark span:nth-child(2) { background: #ABA396; }
.preloader__mark span:nth-child(3) { background: #7A7266; }
.preloader__mark span:nth-child(4) { background: #D9D2C6; color: var(--ink); }

/* ------------------------------------------------------------ progresso e cursor */

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--taupe); transform-origin: left; transform: scaleX(0); }

.cursor { display: none; }
@media (pointer: fine) {
  .js .cursor {
    display: block;
    position: fixed; top: 0; left: 0; z-index: 250;
    width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--taupe);
    pointer-events: none;
    mix-blend-mode: normal;
    transition: scale .35s var(--ease), background-color .35s, opacity .3s;
    opacity: 0;
  }
  .cursor.is-visible { opacity: 1; }
  /* cresce com scale (a posição x/y é transform, controlado pelo GSAP) */
  .cursor.is-hover {
    scale: 6.4;
    background: rgba(138, 117, 96, .22);
  }
}

/* ------------------------------------------------------------ header */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--on-dark);
  transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.header__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header.is-scrolled { background: rgba(14, 26, 34, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-scrolled[data-theme="light"] { background: rgba(244, 242, 238, .86); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; flex: none; }
.brand__mark i {
  width: 19px; height: 19px;
  display: grid; place-items: center;
  font-style: normal; font-weight: 600; font-size: 11px; color: #fff; line-height: 1;
}
.brand__mark i:nth-child(1) { background: #8A7560; }
.brand__mark i:nth-child(2) { background: #ABA396; }
.brand__mark i:nth-child(3) { background: #7A7266; }
.brand__mark i:nth-child(4) { background: #D9D2C6; color: var(--ink); }
.brand__name { font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.brand__name small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; opacity: .65; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: 9px 20px !important; transition: background-color .3s, color .3s; }
.nav__cta:hover { background: var(--on-dark); color: var(--ink); }
.header[data-theme="light"].is-scrolled .nav__cta:hover { background: var(--ink); color: var(--paper); }

.burger { display: none; }

/* ------------------------------------------------------------ menu mobile */

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a {
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(48px, 13vw, 84px); line-height: 1;
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu__nav a em { font-family: var(--f-body); font-size: 12px; letter-spacing: .2em; color: var(--stone); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu__foot { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--on-dark-muted); }

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: min(100svh, 860px);
  background: var(--ink);
  color: var(--on-dark);
  display: flex; align-items: flex-end;
  padding: 128px 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  pointer-events: none;
}
.hero__grid i { border-left: 1px solid rgba(237, 234, 228, .07); }
.hero__grid i:last-child { border-right: 1px solid rgba(237, 234, 228, .07); }

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(64px, 11vw, 176px);
  margin: 24px 0 clamp(28px, 3.5vw, 48px);
  color: var(--on-dark);
}
.hero__title em { color: var(--sand); }

.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.hero__lead { max-width: 440px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; color: var(--on-dark-muted); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

.hero__media {
  position: absolute; z-index: 1;
  top: 0; bottom: 0; right: 0;
  width: min(44vw, 640px);
  margin: 0;
  overflow: hidden;
}
.hero__img { position: absolute; inset: -12% 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 26, 34, .55) 38%, rgba(14, 26, 34, .15) 100%),
              linear-gradient(0deg, var(--ink) 0%, rgba(14, 26, 34, 0) 40%);
}

.hero__scroll {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 64px; background: rgba(237, 234, 228, .2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--sand); animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line { to { top: 100%; } }

/* ------------------------------------------------------------ pilares */

.pillars { background: var(--ink); color: var(--on-dark); padding-bottom: clamp(56px, 6vw, 88px); }
.pillars__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(237, 234, 228, .14); }
.pillar { padding: 40px 32px 0 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid rgba(237, 234, 228, .14); }
.pillar__n { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--stone); }
.pillar h2 { font-size: 20px; font-weight: 600; margin: 18px 0 10px; letter-spacing: -.01em; }
.pillar p { color: var(--on-dark-muted); font-size: 15px; max-width: 320px; }

/* ------------------------------------------------------------ manifesto */

.manifesto { padding: var(--section) 0; }
.manifesto__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.manifesto__text {
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 48px;
}
.manifesto__text .w { transition: color .2s; }

/* ------------------------------------------------------------ números */

.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.number { padding: 44px 24px 44px 0; display: flex; flex-direction: column; gap: 14px; }
.number + .number { padding-left: 32px; border-left: 1px solid var(--line); }
.number strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 5.5vw, 88px); line-height: .85; color: var(--navy); font-variant-numeric: tabular-nums; }
.number span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ------------------------------------------------------------ áreas */

.areas { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 28px; }
.section-head--split { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.area-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.area { border-bottom: 1px solid var(--line); }
.area a {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 56px;
  align-items: center; gap: 24px;
  padding: 26px 0;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.area a > span { transition: translate .6s var(--ease), color .5s, background-color .5s var(--ease), border-color .5s; }
.area a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.area__n { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--taupe-deep); transition: color .5s; }
.area__name { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(30px, 3.4vw, 52px); line-height: .95; }
.area__desc { font-size: 15px; color: var(--muted); max-width: 420px; transition: color .5s; }
.area__arrow {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background-color .5s var(--ease), border-color .5s, transform .6s var(--ease);
}
.area__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .6s var(--ease); }

@media (hover: hover) {
  .area a:hover { color: var(--on-dark); }
  .area a:hover .area__n, .area a:hover .area__name { translate: 24px 0; }
  .area a:hover .area__desc { translate: 12px 0; }
  .area a:hover .area__arrow { translate: -12px 0; }
  .area a:hover::before { transform: scaleY(1); transform-origin: top; }
  .area a:hover .area__n { color: var(--stone); }
  .area a:hover .area__desc { color: var(--on-dark-muted); }
  .area a:hover .area__arrow { background: var(--taupe); border-color: var(--taupe); }
  .area a:hover .area__arrow svg { transform: rotate(45deg); }
}

/* ------------------------------------------------------------ faixa */

.marquee { overflow: hidden; background: var(--ink); padding: 28px 0; border-bottom: 1px solid rgba(237, 234, 228, .08); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(44px, 5vw, 80px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 234, 228, .38);
  white-space: nowrap;
}
.marquee__track i { width: 14px; height: 14px; background: var(--taupe); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ equipe */

.team { background: var(--ink); color: var(--on-dark); padding: var(--section) 0; }
.team__intro { color: var(--on-dark-muted); font-size: 17px; max-width: 420px; }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.person { display: block; }
.person__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  /* mesmo cinza do painel que vem embutido nas fotos depois do grayscale: o painel some */
  background: #C7C7C7;
  border-radius: 4px;
}
.person__photo img {
  position: absolute; left: 50%; bottom: 0;
  width: 100%; height: auto;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  filter: grayscale(1);
  transition: transform 1s var(--ease);
}
.person__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 26, 34, .35), transparent 35%);
  pointer-events: none;
}
.person__info { display: flex; flex-direction: column; gap: 4px; padding-top: 22px; border-top: 1px solid rgba(237, 234, 228, .14); margin-top: 22px; }
.person h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 42px); line-height: 1; }
.person p { font-size: 14px; color: var(--on-dark-muted); }
@media (hover: hover) {
  .person:hover .person__photo img { transform: translateX(-50%) scale(1.05); }
}

/* ------------------------------------------------------------ conteúdos */

.posts { padding: var(--section) 0; }
.post-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.post {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(14, 26, 34, .35); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.post__meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 14px; }
.post__meta span { color: var(--taupe-deep); font-weight: 600; }
.post h3 { font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.post h3 { font-size: 19px; }
.post--feature h3 { font-size: clamp(22px, 2vw, 28px); }
.post__excerpt { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post:not(.post--feature) .post__excerpt { display: none; }
.post__more { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 10px; }
.post__more::after { content: "→"; transition: transform .5s var(--ease); }
.post:hover .post__more::after { transform: translateX(6px); }

/* ------------------------------------------------------------ contato */

.contact { padding: var(--section) 0 0; }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.contact__grid .eyebrow { margin-bottom: 28px; }
.contact__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.contact__list div { border-top: 1px solid var(--line); padding-top: 18px; }
.contact__list dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 600; margin-bottom: 10px; }
.contact__list dd { margin: 0; font-size: 16px; line-height: 1.55; }
.contact__list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }
.contact__map { margin-top: clamp(64px, 8vw, 112px); height: clamp(320px, 38vw, 480px); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.55) sepia(.12) contrast(1.02); /* colorido suave: cores do Google mais calmas, puxando para o areia */ display: block; }

/* ------------------------------------------------------------ rodapé */

.footer { background: var(--ink); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 32px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 220px; margin-bottom: 24px; }
.footer__brand p { font-size: 14px; color: var(--on-dark-muted); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--on-dark-muted); }
.footer__col h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 8px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--on-dark); }

.footer__word {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(140px, 36vw, 560px); line-height: .78;
  text-align: center; letter-spacing: .02em;
  margin: clamp(48px, 7vw, 96px) 0 24px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(171, 163, 150, .38);
  user-select: none;
}

.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(237, 234, 228, .12); padding-top: 24px; font-size: 13px; color: var(--on-dark-muted); }
.footer__bottom { align-items: center; }
.to-top { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; color: var(--on-dark); }
.to-top__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(237, 234, 228, .3);
  transition: background-color .4s var(--ease), border-color .4s;
}
.to-top__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: translate .5s var(--ease); }
.to-top:hover .to-top__icon { background: var(--taupe); border-color: var(--taupe); }
.to-top:hover .to-top__icon svg { translate: 0 -3px; }

/* ------------------------------------------------------------ estados iniciais das animações
   Só valem com JS e sem reduced-motion: sem isso tudo aparece normalmente. */

.js.motion [data-fade] { opacity: 0; transform: translateY(36px); }
.js.motion [data-split] .line__inner { transform: translateY(105%); }
.js.motion .hero__media { clip-path: inset(0 0 0 100%); }

/* ------------------------------------------------------------ responsivo */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    width: 48px; height: 48px; margin-right: -10px;
    background: none; border: 0; padding: 12px; color: inherit; cursor: pointer;
    position: relative; z-index: 101;
  }
  .burger span { display: block; height: 1.5px; width: 100%; background: currentColor; transition: transform .5s var(--ease); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.75px) rotate(-45deg); }
  body.menu-open .header { color: var(--on-dark) !important; background: transparent !important; box-shadow: none !important; transform: none !important; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post--feature { grid-column: 1 / -1; }
  .post--feature { flex-direction: row; }
  .post--feature .post__img { aspect-ratio: auto; flex: 0 0 42%; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .brand__name { display: none; }
  .hero { align-items: flex-end; }
  .hero__media { width: 100%; opacity: .45; }
  .hero__media::after { background: linear-gradient(0deg, var(--ink) 25%, rgba(14, 26, 34, .6) 70%, rgba(14, 26, 34, .4) 100%); }
  .hero__scroll { display: none; }
  .hero__grid { grid-template-columns: repeat(2, 1fr); }

  .pillars__row { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(237, 234, 228, .14); }

  .manifesto__grid { grid-template-columns: 1fr; gap: 28px; }

  .numbers__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number, .number + .number { padding: 32px 12px 32px 0; border-left: 0; min-width: 0; }
  .number:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .number:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .number span { font-size: 13px; }

  .area a { grid-template-columns: 40px 1fr 44px; gap: 8px 16px; padding: 26px 0; }
  .area__desc { grid-column: 2 / 3; grid-row: 2; font-size: 14px; }
  .area__arrow { width: 44px; height: 44px; grid-row: 1; grid-column: 3; }

  .people { grid-template-columns: 1fr; gap: 48px; max-width: 420px; }

  .post-grid { grid-template-columns: 1fr; }
  .post--feature { flex-direction: column; }
  .post--feature .post__img { aspect-ratio: 16 / 10; flex: none; }

  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .contact__list { grid-template-columns: 1fr; gap: 28px; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

/* ------------------------------------------------------------ páginas dos sócios */

.hero--profile .hero__media {
  top: 128px; bottom: 0;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: min(34vw, 460px);
  background: #C7C7C7; /* mesmo cinza do painel embutido nas fotos */
  border-radius: 4px 4px 0 0;
}
.hero--profile .hero__media::after { display: none; }
.hero--profile .hero__img { inset: 0; }
.hero--profile .hero__img img { object-fit: cover; object-position: 50% 100%; filter: grayscale(1); scale: 1.12; transform-origin: 50% 100%; }
.hero--profile .hero__content { padding-right: min(38vw, 500px); }
.hero--profile .hero__title { font-size: clamp(64px, 9vw, 150px); }
.hero--profile .hero__bottom { flex-direction: column; align-items: flex-start; }

.back { display: flex; width: max-content; gap: 10px; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 8px; }
.back::before { content: "←"; }
.back:hover { color: var(--on-dark); }
.hero--profile .eyebrow { margin-top: 20px; }

.bio { padding: var(--section) 0; }
.bio__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.bio__text p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; margin-bottom: 1.1em; max-width: 760px; }
.bio__text p:first-child { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; letter-spacing: -.015em; }

.timeline { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.timeline li { padding: 24px 24px 0 0; }
.timeline li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.timeline strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--navy); }
.timeline span { display: block; font-size: 14px; color: var(--muted); margin-top: 10px; }

.quote { background: var(--sand); padding: var(--section) 0; }
.quote blockquote { margin: 0; max-width: 980px; }
.quote blockquote p { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-deep); }

.contact--compact { padding-bottom: var(--section); }

@media (max-width: 820px) {
  .hero--profile { flex-direction: column; align-items: stretch; padding-top: 104px; }
  .hero--profile .hero__media {
    position: relative; order: -1; top: auto; right: auto;
    width: auto; max-width: 260px; aspect-ratio: 2 / 3; /* mesma proporção das fotos: não corta a cabeça */
    margin: 0 var(--gutter) 36px; opacity: 1;
    border-radius: 4px;
  }
  .hero--profile .hero__content { padding-right: var(--gutter); }
  .bio__grid { grid-template-columns: 1fr; gap: 24px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li, .timeline li + li { padding: 20px 12px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
