/* =========================================================
   Castro & Chagas — estilos
   ========================================================= */

/* Fontes hospedadas no próprio site (mais rápido que buscar no Google Fonts) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/montserrat-normal-300-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("../fonts/montserrat-italic-300-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-normal-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-normal-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  /* Paleta oficial da marca */
  --verde-escuro: #053e29;   /* logo */
  --verde: #3c7547;          /* logo */
  --verde-profundo: #1f3d2e;
  --teal: #1f4b56;           /* azul petróleo */
  --teal-escuro: #163841;
  --pessego: #f7e4d2;
  --creme: #f5f2e9;          /* off white */
  --creme-claro: #faf8f3;
  --nevoa: #ebeeed;
  --texto: #3e5a60;
  --texto-forte: #1f3d2e;
  --branco: #ffffff;
  --linha: rgba(33, 75, 87, .14);

  --fonte: "Montserrat", system-ui, sans-serif;
  --fonte-nav: "Lato", system-ui, sans-serif;

  --raio: 14px;
  --sombra: 0 10px 30px rgba(24, 58, 67, .08);
  --sombra-hover: 0 18px 40px rgba(24, 58, 67, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.75;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--texto-forte); line-height: 1.25; }
p { margin: 0 0 1.1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 34px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 12px/1 var(--fonte); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }

.btn-peach { background: var(--pessego); color: var(--teal-escuro); }
.btn-peach:hover { background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

.btn-teal { background: var(--teal); color: var(--pessego); }
.btn-teal:hover { background: var(--teal-escuro); box-shadow: var(--sombra-hover); }

.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Títulos de seção ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--verde);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: currentColor; vertical-align: middle; margin-right: 12px;
}
.eyebrow-light { color: var(--pessego); }

.title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; color: var(--teal); }
.title-italic { font-style: italic; font-weight: 300; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-white { background: var(--branco); }
.section-mist { background: var(--nevoa); }
.section-cream { background: var(--creme-claro); }

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .eyebrow::after {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: currentColor; vertical-align: middle; margin-left: 12px;
}
.section-head .title { margin-bottom: 18px; }
.lead { font-size: 16px; margin: 0; }
.lead strong { color: var(--teal); font-weight: 600; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(24, 58, 67, .08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); transition: height .35s var(--ease);
}

/* multiply faz o fundo claro do arquivo do logo "sumir" no fundo do cabeçalho */
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; transition: height .35s var(--ease); }

.main-nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; text-decoration: none;
  font: 700 16px var(--fonte-nav); color: var(--verde);
  padding: 6px 0; transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--verde-escuro); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--teal); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 760px);
  display: grid; place-items: center;
  color: #fff; text-align: center;
}
.hero-bg { position: absolute; inset: 0; background: var(--verde-escuro); }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  animation: hero-zoom 22s ease-out both;
}
/* véu verde da marca por cima da foto, para o texto claro ficar legível */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 62, 41, .45) 0%, rgba(5, 62, 41, .55) 55%, rgba(5, 62, 41, .75) 100%),
    rgba(60, 117, 71, .25);
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-content { position: relative; z-index: 1; padding: 80px 0; }
/* o H1 é o nome do escritório (texto pequeno); o slogan é o destaque visual */
.hero h1.eyebrow { line-height: 1.6; margin: 0 0 18px; }
.hero-title {
  max-width: 960px; margin: 0 auto 40px;
  font-size: clamp(24px, 3.1vw, 38px); font-weight: 300; font-style: italic;
  color: var(--creme); line-height: 1.3;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sobre ---------- */
.sobre-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sobre-titulo { position: sticky; top: 120px; }
.sobre-titulo .title { font-size: clamp(23px, 2.6vw, 32px); font-weight: 300; }
.sobre-texto { font-size: 16px; }

.principio {
  margin: 32px 0; padding: 8px 0 8px 28px;
  border-left: 3px solid var(--pessego);
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; line-height: 1.55;
  color: var(--teal);
}
.sobre-texto .btn { margin-top: 12px; }

/* ---------- Áreas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.area-card {
  background: var(--branco); border-radius: var(--raio); overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }

.area-img { aspect-ratio: 3 / 2; overflow: hidden; }
.area-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform .7s var(--ease);
}
.area-card:hover .area-img img { transform: scale(1.06); }

.area-body { padding: 26px 24px 30px; }
.area-body h3 {
  font-size: 18px; font-weight: 700; color: var(--verde-escuro);
  margin-bottom: 12px; padding-bottom: 12px; position: relative;
}
.area-body h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px;
  background: var(--pessego); transition: width .4s var(--ease);
}
.area-card:hover h3::after { width: 64px; }
.area-body p { font-size: 14.5px; line-height: 1.7; margin: 0; color: #4a5f63; }

/* ---------- Pilares ---------- */
.pilares-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 88px); }
.pilar { padding: 40px 0; border-top: 1px solid var(--linha); }
.pilar-num {
  display: block; margin-bottom: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--verde);
}
.pilar h3 { font-size: 19px; font-weight: 500; margin-bottom: 18px; color: var(--texto-forte); }
.pilar p { font-size: 15px; }
.pilar p:last-child { margin-bottom: 0; }

/* ---------- Equipe ---------- */
.team-grid {
  list-style: none; margin: 0 0 56px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px;
}
.member { text-align: center; }
.member img {
  width: 168px; height: 168px; margin: 0 auto 22px;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 6px var(--branco), var(--sombra);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.member:hover img { transform: translateY(-6px); box-shadow: 0 0 0 6px var(--pessego), var(--sombra-hover); }
.member h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.member p { margin: 0; font-size: 15px; color: var(--texto); }

/* ---------- Faixa de chamada ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--teal) 100%);
  color: #fff; text-align: center; padding: clamp(64px, 9vw, 104px) 0;
}
.cta-band h2 { color: var(--creme); font-size: clamp(22px, 2.6vw, 32px); font-weight: 300; font-style: italic; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-bottom: 32px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--teal); color: rgba(255, 255, 255, .85); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }

.footer-logo { width: 210px; height: auto; margin: -8px 0 20px -6px; }
.footer-text { max-width: 300px; color: rgba(255, 255, 255, .7); }

.footer-title { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
/* sem título: desce a lista para alinhar com a coluna Contato */
.footer-nav { padding-top: 41px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; transition: color .25s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--pessego); }
.muted { color: rgba(255, 255, 255, .6); }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--pessego);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.social a:hover { background: var(--pessego); color: var(--teal); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: rgba(255, 255, 255, .6);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--pessego); }

/* ---------- Topo das páginas internas ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(90, 148, 102, .35), transparent 60%),
    linear-gradient(135deg, var(--verde-escuro) 0%, var(--verde-profundo) 55%, var(--teal) 100%);
  color: #fff; text-align: center;
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
}
/* Contato: foto do prédio como textura por baixo do verde */
.page-hero--predio {
  background:
    linear-gradient(135deg, rgba(5, 62, 41, .92) 0%, rgba(31, 61, 46, .82) 55%, rgba(31, 75, 86, .9) 100%),
    url("../img/fundo-contato.jpg") center 35% / cover no-repeat;
  padding-top: clamp(80px, 11vw, 140px); padding-bottom: clamp(72px, 10vw, 128px);
}
.page-hero h1 {
  color: var(--creme); font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 300; font-style: italic; margin-bottom: 18px;
}
.page-hero p:not(.eyebrow) { max-width: 640px; margin: 0 auto; color: rgba(255, 255, 255, .82); font-size: 16px; }
.page-hero .eyebrow::after {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: currentColor; vertical-align: middle; margin-left: 12px;
}

/* ---------- Equipe: atalhos ---------- */
.team-jump { background: var(--creme); border-bottom: 1px solid var(--linha); }
.team-jump ul {
  list-style: none; margin: 0; padding: 28px 0;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
}
.team-jump a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; text-align: center;
  font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--texto-forte);
}
.team-jump img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--branco);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.team-jump a:hover img { box-shadow: 0 0 0 3px var(--verde); transform: translateY(-3px); }

/* ---------- Equipe: perfis ---------- */
.profile { padding: clamp(64px, 8vw, 104px) 0; scroll-margin-top: 72px; overflow-x: clip; }
.profile:nth-child(odd) { background: var(--branco); }
.profile:nth-child(even) { background: var(--nevoa); }

.profile-inner {
  display: grid; grid-template-columns: 340px 1fr;
  gap: clamp(32px, 6vw, 88px); align-items: start;
}
.profile:nth-child(even) .profile-inner { grid-template-columns: 1fr 340px; }
.profile:nth-child(even) .profile-photo { order: 2; }

.profile-photo { margin: 0; position: sticky; top: 104px; }
.profile-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: var(--raio); box-shadow: var(--sombra-hover);
}
.profile-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1.5px solid rgba(60, 117, 71, .35); border-radius: var(--raio);
}
.profile:nth-child(even) .profile-photo::after { inset: 18px 18px -18px -18px; }
.profile-photo { z-index: 0; }

.profile-text h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; color: var(--verde-escuro); margin-bottom: 24px; }
.profile-text .eyebrow { margin-bottom: 10px; }
.profile-text p:not(.eyebrow) { font-size: 16px; }
.profile-text .btn { margin-top: 8px; }

/* ---------- Contato ---------- */
.contact-section { background: var(--creme-claro); padding: clamp(64px, 9vw, 112px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }

.contact-info .title { margin-bottom: 18px; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--raio);
  background: var(--branco); box-shadow: var(--sombra);
  text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-list a:hover { transform: translateY(-3px); box-shadow: var(--sombra-hover); }
.contact-list .icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--verde-escuro); color: var(--pessego);
}
.contact-list .icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-list strong { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--verde); font-weight: 600; }
.contact-list span { color: var(--texto-forte); overflow-wrap: anywhere; }

.form-card {
  background: var(--branco); border-radius: 20px; box-shadow: var(--sombra-hover);
  padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--verde);
}
.form-card h2 { font-size: 21px; font-weight: 500; color: var(--verde-escuro); margin-bottom: 6px; }
.form-card > p { margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--texto-forte); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  font: 16px var(--fonte); color: var(--texto-forte);
  background: var(--creme-claro); border: 1.5px solid #dcdfd9; border-radius: 10px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--branco); border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(60, 117, 71, .15);
}
.hp { position: absolute; left: -9999px; }

.form-card .btn { width: 100%; }
.form-note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: #6b7d80; text-align: center; }

.form-status { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.form-status.is-ok { display: block; background: #e6f1e8; color: var(--verde-escuro); }
.form-status.is-error { display: block; background: #fbe9e4; color: #8a2d1a; }

@media (max-width: 1024px) {
  .team-jump ul { grid-template-columns: repeat(4, 1fr); gap: 24px 12px; }
}

@media (max-width: 860px) {
  .profile-inner,
  .profile:nth-child(even) .profile-inner { grid-template-columns: 1fr; }
  .profile:nth-child(even) .profile-photo { order: 0; }
  .profile-photo { position: relative; top: 0; max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .team-jump ul { grid-template-columns: repeat(4, 1fr); gap: 20px 6px; padding: 24px 0; }
  .team-jump img { width: 60px; height: 60px; }
  .team-jump a { font-size: 12px; }
  .profile-photo { max-width: 260px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Fotos da equipe em preto e branco (unifica fundos e luzes diferentes) ---------- */
.member img,
.team-jump img,
.profile-photo img { filter: grayscale(1) contrast(1.06); transition: filter .5s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
@media (hover: hover) {
  .member:hover img,
  .team-jump a:hover img,
  .profile-photo:hover img { filter: none; }
}

/* ---------- Rodapé: links da última linha ---------- */
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Política de privacidade ---------- */
.legal { max-width: 760px; }
.legal-update { font-size: 14px; color: #6b7d80; }
.legal h2 { font-size: 19px; font-weight: 600; color: var(--verde-escuro); margin: 40px 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 1.1em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--verde); }
.form-note a { color: var(--verde); }

/* ---------- Página 404 ---------- */
.page-hero--404 { min-height: 60vh; display: grid; place-items: center; }
.page-hero--404 .hero-actions { margin-top: 32px; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 34px; }

  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--creme); box-shadow: 0 12px 24px rgba(24, 58, 67, .1);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .main-nav.is-open { max-height: 300px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 20px; }
  .main-nav a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--linha); }
  .main-nav a::after { display: none; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-titulo { position: static; }
  .pilares-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero h1.eyebrow { font-size: 11px; letter-spacing: .2em; }
  .hero h1.eyebrow::before { display: none; }
  .areas-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 12px; }
  .member img { width: 128px; height: 128px; }
  .member h3 { font-size: 16px; }
  .member p { font-size: 14px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { padding-top: 0; }
  .scroll-hint { display: none; }
}

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