/* ===================================================================
   POLO Advogados — 2024/2025 site
   Palette derived from the brand mark (steel blue + silver + navy)
   =================================================================== */

:root {
  --blue: #3585bc;
  --blue-bright: #4ea6e0;
  --blue-deep: #0b1f30;
  --navy: #0e2a40;
  --ink: #10202c;
  --silver: #9aa6ae;
  --cloud: #f4f7f9;
  --line: #e4eaee;
  --white: #ffffff;

  --bg: var(--white);
  --text: #1d2b35;
  --muted: #5c6b75;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }

/* ---------- helpers ---------- */
.kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1rem;
}
.kicker::before { content: "// "; opacity: 0.5; }
.kicker--light { color: var(--blue-bright); }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 9rem) var(--pad);
  position: relative;
}
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section__head h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.section__sub { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(120deg, var(--blue), var(--blue-bright));
  color: #fff;
  box-shadow: 0 12px 34px -12px rgba(53, 133, 188, 0.7);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(53, 133, 188, 0.85); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: #fff; transform: translateY(-3px); }
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- cursor + progress ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 166, 224, 0.18), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s;
  opacity: 0;
}
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo { height: 30px; width: auto; transition: opacity 0.3s; }
.nav__logo--dark { display: none; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color 0.25s;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--blue-bright);
  transition: width 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a:hover { color: #fff; }
.nav__cta {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav__cta:hover { background: #fff; color: var(--blue-deep) !important; border-color: #fff; }

.nav--scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(16, 32, 44, 0.35);
}
.nav--scrolled .nav__logo--light { display: none; }
.nav--scrolled .nav__logo--dark { display: block; }
.nav--scrolled .nav__links a { color: var(--muted); }
.nav--scrolled .nav__links a:hover { color: var(--ink); }
.nav--scrolled .nav__cta {
  background: linear-gradient(120deg, var(--blue), var(--blue-bright));
  color: #fff !important;
  border-color: transparent;
}

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; transition: 0.3s; }
.nav--scrolled .nav__toggle span { background: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad) 5rem;
  background: radial-gradient(120% 120% at 70% 10%, #123a58 0%, var(--blue-deep) 45%, #071825 100%);
  color: #fff;
  overflow: hidden;
}
.hero__globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.9; }
.hero__aurora {
  position: absolute;
  width: 900px; height: 900px;
  right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(78, 166, 224, 0.35), transparent 60%);
  filter: blur(30px);
  z-index: 1;
  animation: floaty 14s ease-in-out infinite alternate;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  z-index: 1;
}
@keyframes floaty { to { transform: translateY(40px) scale(1.08); } }

.hero__content { position: relative; z-index: 3; max-width: 820px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 0 rgba(78,166,224,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(78,166,224,0); } 100% { box-shadow: 0 0 0 0 rgba(78,166,224,0); } }

.hero__title { font-size: clamp(2.3rem, 6vw, 4.3rem); color: #fff; font-weight: 800; }
.hero__title .grad {
  background: linear-gradient(120deg, var(--blue-bright), #9ad4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead {
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}
.hero__actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
  margin-top: 3.2rem;
  display: flex;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.hero__stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  display: block;
  font-variant-numeric: tabular-nums;
}
.hero__stats span { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 0.12em; }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  z-index: 3;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.marquee__track span:not([aria-hidden]) { color: rgba(255,255,255,0.85); }
.marquee__track span[aria-hidden] { color: var(--blue-bright); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SOBRE ---------- */
.sobre__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sobre__text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.1rem; max-width: 56ch; }
.sobre__mvp { display: grid; gap: 1rem; margin-top: 2.2rem; }
.mvp {
  border-left: 3px solid var(--blue);
  padding: 0.4rem 0 0.4rem 1.2rem;
}
.mvp h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 0.3rem; }
.mvp p { color: var(--muted); font-size: 0.98rem; }

.sobre__card {
  position: relative;
  background: linear-gradient(160deg, var(--navy), var(--blue-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(14, 42, 64, 0.55);
}
.sobre__card blockquote { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.4; position: relative; z-index: 2; }
.sobre__card-src { margin-top: 1.2rem; color: rgba(255,255,255,0.6); font-size: 0.85rem; position: relative; z-index: 2; }
.orb {
  position: absolute;
  width: 260px; height: 260px;
  right: -80px; bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--blue-bright), transparent 70%);
  opacity: 0.5;
  animation: floaty 10s ease-in-out infinite alternate;
}

/* ---------- VALORES ---------- */
.valores { }
.valores__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  transform-style: preserve-3d;
}
.value:hover { box-shadow: 0 30px 55px -30px rgba(16, 32, 44, 0.3); border-color: var(--blue); }
.value__num { font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; color: var(--blue); letter-spacing: 0.05em; }
.value h3 { margin: 0.8rem 0 0.6rem; font-size: 1.25rem; }
.value p { color: var(--muted); font-size: 0.97rem; }
.value--accent {
  background: linear-gradient(150deg, var(--blue), var(--blue-bright));
  border: 0;
  color: #fff;
}
.value--accent h3 { color: #fff; }
.value--accent p { color: rgba(255,255,255,0.85); }

/* ---------- SERVIÇOS ---------- */
.servicos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(53,133,188,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -30px rgba(16, 32, 44, 0.3); }
.svc:hover::before { opacity: 1; }
.svc__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--blue), var(--blue-bright));
  color: #fff;
  margin-bottom: 1.3rem;
  box-shadow: 0 10px 22px -12px rgba(53, 133, 188, 0.8);
}
.svc__icon svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.2rem; margin-bottom: 0.5rem; position: relative; }
.svc p { color: var(--muted); font-size: 0.96rem; position: relative; }

/* ---------- DIFERENCIAIS ---------- */
.diferenciais {
  max-width: none;
  background: radial-gradient(120% 120% at 20% 0%, #123a58, var(--blue-deep) 55%, #071825);
  color: #fff;
  overflow: hidden;
}
.diferenciais > .section__head, .diferenciais > .dif__grid { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.diferenciais .section__head h2 { color: #fff; }
.diferenciais__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 70%);
}
.dif__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; position: relative; }
.dif {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  backdrop-filter: blur(4px);
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.dif:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.07); border-color: rgba(78,166,224,0.5); }
.dif h3 { color: #fff; font-size: 1.12rem; margin-bottom: 0.5rem; }
.dif p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

/* ---------- EQUIPE ---------- */
.equipe__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; }
.member {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--cloud);
}
.member__avatar {
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--navy), var(--blue));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}
.member__info h3 { font-size: 1.35rem; }
.member__role { color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin: 0.2rem 0 0.6rem; }
.member__info p { color: var(--muted); font-size: 0.97rem; }
.member--join { background: linear-gradient(150deg, var(--blue), var(--blue-bright)); border: 0; color: #fff; }
.member--join h3 { color: #fff; }
.member--join p { color: rgba(255,255,255,0.88); margin-bottom: 0.8rem; }
.member--join .link-arrow { color: #fff; }

/* ---------- BLOG ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.post {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -30px rgba(16, 32, 44, 0.3); }
.post__date { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--silver); }
.post h3 { font-size: 1.1rem; }
.post p { color: var(--muted); font-size: 0.93rem; flex-grow: 1; }

/* ---------- SUSTENTABILIDADE ---------- */
.sus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sus {
  border-top: 3px solid var(--blue);
  background: var(--cloud);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.8rem 1.6rem;
}
.sus h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.sus p { color: var(--muted); font-size: 0.96rem; }

/* ---------- CONTATO ---------- */
.contato {
  max-width: none;
  background: radial-gradient(120% 120% at 80% 0%, #123a58, var(--blue-deep) 55%, #071825);
  color: #fff;
}
.contato__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contato__intro h2 { color: #fff; }
.contato__intro > p { color: rgba(255, 255, 255, 0.75); margin-top: 0.8rem; }
.contato__list { list-style: none; margin-top: 2rem; display: grid; gap: 1.3rem; }
.contato__list li { color: rgba(255, 255, 255, 0.9); font-size: 0.98rem; }
.contato__list a:hover { color: var(--blue-bright); }
.contato__label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--blue-bright);
  margin-bottom: 0.3rem;
}
.contato__map {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
.contato__map iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }
.contato__map-link {
  position: absolute;
  right: 14px; bottom: 14px;
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}
.contato__map-link:hover { background: var(--blue); }

.contato__form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.3rem;
  backdrop-filter: blur(6px);
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 1rem 0.9rem 0.5rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.field textarea { padding-top: 1.2rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: rgba(255, 255, 255, 0.1); }
.field label {
  position: absolute;
  left: 0.95rem; top: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  pointer-events: none;
  transition: 0.2s var(--ease);
}
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.consent input { margin-top: 0.2rem; accent-color: var(--blue-bright); flex-shrink: 0; }
.consent a { color: var(--blue-bright); text-decoration: underline; }
.form-note { font-size: 0.76rem; color: rgba(255,255,255,0.45); text-align: center; }

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

/* ---------- FOOTER ---------- */
.footer { background: #071825; color: rgba(255, 255, 255, 0.7); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem var(--pad) 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__brand img { height: 30px; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.82rem; max-width: 40ch; }
.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; font-family: var(--font-display); font-size: 0.9rem; }
.footer__nav a:hover { color: #fff; }
.footer__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* ---------- WHATSAPP FAB ---------- */
.whatsapp {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 900;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease);
}
.whatsapp:hover { transform: scale(1.08) translateY(-2px); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .valores__grid, .servicos__grid, .dif__grid, .sus__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .sobre__grid, .equipe__grid, .contato__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .br-md { display: none; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 6rem 2rem 2rem;
    background: var(--blue-deep);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { color: #fff !important; font-size: 1.05rem; }
  .nav--scrolled .nav__links a { color: #fff !important; }
  .nav__toggle { display: flex; }
  .valores__grid, .servicos__grid, .dif__grid, .sus__grid, .blog__grid { grid-template-columns: 1fr; }
  .member { flex-direction: column; text-align: left; align-items: flex-start; }
  .hero__stats { gap: 1.5rem; }
  .footer__inner { flex-direction: column; }
}

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

/* ===================================================================
   Inner pages (blog, posts, perfil) — shared with index.html
   =================================================================== */
.nav--solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(16, 32, 44, 0.35);
}
.nav--solid .nav__logo--light { display: none; }
.nav--solid .nav__logo--dark { display: block; }
.nav--solid .nav__links a { color: var(--muted); }
.nav--solid .nav__links a:hover { color: var(--ink); }
.nav--solid .nav__cta {
  background: linear-gradient(120deg, var(--blue), var(--blue-bright));
  color: #fff !important;
  border-color: transparent;
}
.nav--solid .nav__toggle span { background: var(--ink); }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(7rem, 14vw, 10rem) var(--pad) clamp(3rem, 8vw, 5rem);
}
.page--wide { max-width: var(--maxw); }

.crumb {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--silver);
  margin-bottom: 1.4rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.crumb a { color: var(--blue); }
.crumb a:hover { text-decoration: underline; }

.post-header { border-bottom: 1px solid var(--line); padding-bottom: 2rem; margin-bottom: 2.5rem; }
.post-header .post__date { display: block; margin-bottom: 0.9rem; }
.post-header h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.post-header .post__cat {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

.prose { font-size: 1.06rem; color: var(--text); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-size: 1.4rem;
  margin-top: 2.6rem;
  padding-top: 0.2rem;
}
.prose h3 { font-size: 1.15rem; margin-top: 2rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-top: 0.5rem; }
.prose li::marker { color: var(--blue); }
.prose blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.2rem;
  color: var(--muted);
  font-style: italic;
}

.post-cta {
  margin-top: 3.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy), var(--blue-deep));
  color: #fff;
}
.post-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.5rem; }
.post-cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.3rem; font-size: 0.98rem; }
.post-disclaimer { margin-top: 2rem; font-size: 0.82rem; color: var(--silver); }

/* blog listing */
.blog-list { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.blog-list .post { flex-direction: row; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.blog-list .post .post__date { flex-shrink: 0; width: 6.5rem; }
.blog-list .post > div { flex: 1; min-width: 12rem; }
.blog-list .post h2 { font-size: 1.2rem; font-family: var(--font-display); }
.blog-list .post p { margin-top: 0.3rem; }

/* perfil */
.profile { display: grid; grid-template-columns: 160px 1fr; gap: 2.5rem; align-items: start; }
.profile__photo {
  width: 160px; height: 160px;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--navy), var(--blue));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
}
.profile h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.profile__role { color: var(--blue); font-family: var(--font-display); font-weight: 600; margin: 0.3rem 0 1.4rem; }
.profile__facts { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.profile__facts li { padding-left: 1.1rem; border-left: 2px solid var(--line); color: var(--muted); }
.profile__facts strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 0.9rem; }
@media (max-width: 620px) {
  .profile { grid-template-columns: 1fr; gap: 1.5rem; }
  .profile__photo { width: 120px; height: 120px; font-size: 2rem; }
  .blog-list .post .post__date { width: auto; }
}
