/* =========================================================
   Tamo Junto no Diabetes — TJND
   Paleta com alternância suave: azul, rosa, amarelo
   ========================================================= */

:root {
  /* Cores principais */
  --blue-900: #0a3a6b;
  --blue-700: #1463b3;
  --blue-500: #2e8bd6;
  --blue-100: #e6f1fb;

  --pink-700: #c83e6b;
  --pink-500: #e85d8a;
  --pink-100: #fde2ec;

  --amber-700: #b97a0e;
  --amber-500: #f0a830;
  --amber-100: #fff1d0;

  /* Tints (fundos suaves) */
  --tint-blue-bg: #eef5fc;
  --tint-pink-bg: #fdedf2;
  --tint-yellow-bg: #fff7e2;

  --ink-900: #0f1d2e;
  --ink-700: #2a3b50;
  --ink-500: #5a6878;
  --ink-300: #aab4c0;

  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --line: #e3e9f1;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(15, 29, 46, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 29, 46, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(15, 29, 46, 0.25);

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--blue-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-900); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Eyebrow & typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow.light {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.tint-pink .eyebrow { background: var(--pink-100); color: var(--pink-700); }
.tint-yellow .eyebrow { background: var(--amber-100); color: var(--amber-700); }

.accent { color: var(--blue-700); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head.light h2 { color: #fff; }
.section-head.light .lead { color: #d9e6f3; }
.lead { font-size: 1.12rem; color: var(--ink-500); }

.subhead {
  font-family: "Poppins";
  color: var(--blue-700);
  margin-top: -8px;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 1.1rem;
}
.tint-pink .subhead { color: var(--pink-700); }
.tint-yellow .subhead { color: var(--amber-700); }
.subhead small { font-weight: 400; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(20, 99, 179, 0.55);
}
.btn-primary:hover { background: var(--blue-900); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(20, 99, 179, 0.65); }
.tint-pink .btn-primary { background: var(--pink-700); box-shadow: 0 10px 24px -8px rgba(200, 62, 107, 0.55); }
.tint-pink .btn-primary:hover { background: #a32551; }
.tint-yellow .btn-primary { background: var(--amber-700); box-shadow: 0 10px 24px -8px rgba(185, 122, 14, 0.55); }
.tint-yellow .btn-primary:hover { background: #8d5b06; }

.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}
.btn-ghost:hover { background: var(--blue-700); color: #fff; }

.btn-ghost-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: #fff; color: var(--blue-900); }

.btn-link {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 10px;
  color: var(--blue-700);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  padding-bottom: 4px;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 28px;
  background: currentColor;
  transition: width .25s ease;
}
.btn-link:hover { color: var(--blue-900); }
.btn-link:hover::after { width: 100%; }
.tint-pink .btn-link { color: var(--pink-700); }
.tint-yellow .btn-link { color: var(--amber-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 29, 46, 0.07);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  gap: 24px;
  min-height: 120px;
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 14px;
  transition: transform .25s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand-logo {
  height: 110px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}
.brand:hover .brand-logo { transform: scale(1.03); }

.primary-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.primary-nav a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background .2s, color .2s;
}
.primary-nav a:hover { background: var(--blue-100); color: var(--blue-900); }
.primary-nav a.is-current,
.primary-nav a.is-active {
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 600;
}
.primary-nav a.nav-cta {
  background: var(--blue-700);
  color: #fff;
  margin-left: 8px;
  font-weight: 600;
}
.primary-nav a.nav-cta:hover { background: var(--blue-900); color: #fff; }
.primary-nav a.nav-cta.is-current { background: var(--blue-900); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  margin: 0 auto;
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 100px 0 140px;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.05);
}
.hero-slides .slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(at top right, rgba(232, 93, 138, 0.25) 0%, transparent 50%),
    radial-gradient(at bottom left, rgba(240, 168, 48, 0.18) 0%, transparent 50%),
    linear-gradient(115deg, rgba(10, 58, 107, .88) 0%, rgba(20, 99, 179, .72) 55%, rgba(46, 139, 214, .58) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: #ffd86b; }
.hero .lead { color: #fff; font-size: 1.35rem; max-width: 720px; font-weight: 500; }
.hero .lead-sub { color: #d9e6f3; font-size: 1.05rem; max-width: 640px; margin-top: 16px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 0; }

/* Texto rotativo */
.rotating-text {
  display: inline-block;
  position: relative;
  min-width: 220px;
  height: 1.65em;
  line-height: 1.65;
  vertical-align: top;
  overflow: hidden;
}
.rotating-word {
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Poppins";
  font-weight: 700;
  color: #ffd86b;
  white-space: nowrap;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .55s ease, transform .55s ease;
}
.rotating-word.is-active {
  opacity: 1;
  transform: translateY(0);
}
.rotating-word.is-leaving {
  opacity: 0;
  transform: translateY(-100%);
}
.rotating-text::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 18%;
  width: 3px;
  height: 64%;
  background: #ffd86b;
  animation: cursorBlink 1s steps(2) infinite;
}
@keyframes cursorBlink {
  to { opacity: 0; }
}

/* Animações de entrada (scroll reveal) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.from-left.is-visible,
.reveal.from-right.is-visible { transform: translateX(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dots .dot {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s;
}
.hero-dots .dot.is-active { background: #fff; width: 56px; }
.hero-counter {
  position: absolute;
  bottom: 30px;
  right: 32px;
  z-index: 3;
  color: #fff;
  font-family: "Poppins";
  font-size: .95rem;
  opacity: .85;
  letter-spacing: .04em;
}

/* ---------- Page Hero (páginas internas) ---------- */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at top right, rgba(232, 93, 138, 0.22) 0%, transparent 55%),
    linear-gradient(120deg, rgba(10, 58, 107, .82) 0%, rgba(20, 99, 179, .62) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-tagline {
  color: #e9f0f8;
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-alt { background: var(--bg-alt); }

/* Tints com pequena decoração */
.tint-blue   { background: var(--tint-blue-bg); }
.tint-pink   { background: var(--tint-pink-bg); }
.tint-yellow { background: var(--tint-yellow-bg); }

.tint-blue::before,
.tint-pink::before,
.tint-yellow::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.tint-blue::before   { background: var(--blue-500); top: -120px; right: -80px; }
.tint-pink::before   { background: var(--pink-500); top: -120px; left: -80px; }
.tint-yellow::before { background: var(--amber-500); bottom: -120px; right: -80px; top: auto; }

.tint-blue > .container,
.tint-pink > .container,
.tint-yellow > .container { position: relative; z-index: 1; }

.section-dark { background: var(--ink-900); color: #e7eef7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cfdcec; }

.section-quote {
  padding: 80px 0;
  background:
    radial-gradient(at top left, rgba(232, 93, 138, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, var(--blue-900), #062045);
}
.big-quote {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-family: "Poppins";
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  padding: 0 24px;
}
.big-quote::before { content: "“"; font-size: 4rem; line-height: 0; vertical-align: -.5em; opacity: .4; margin-right: 8px; color: #ffd86b; }
.big-quote::after  { content: "”"; font-size: 4rem; line-height: 0; vertical-align: -.5em; opacity: .4; margin-left: 8px; color: #ffd86b; }

.quote {
  margin: 26px 0;
  padding: 18px 24px;
  background: #fff;
  border-left: 4px solid var(--blue-700);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink-900);
  font-family: "Poppins";
  box-shadow: var(--shadow-sm);
}
.tint-pink .quote { border-left-color: var(--pink-700); }
.tint-yellow .quote { border-left-color: var(--amber-700); }

.closing-line {
  margin: 26px 0;
  padding: 16px 22px;
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink-900);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(232, 93, 138, 0.35);
  filter: blur(120px);
  top: -100px;
  right: -100px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(240, 168, 48, 0.25);
  filter: blur(120px);
  bottom: -100px;
  left: -100px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #d9e6f3; max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }

/* Two columns */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.two-col.reverse > :first-child { order: 2; }
.col-image { position: relative; }
.col-image img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.col-image::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid currentColor;
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: .18;
}
.tint-blue .col-image::after   { color: var(--blue-700); opacity: .22; }
.tint-pink .col-image::after   { color: var(--pink-700); opacity: .22; }
.tint-yellow .col-image::after { color: var(--amber-700); opacity: .22; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Pillars */
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pillar-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.pillar-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 24, 40, 0.25));
}
.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.pillar:hover .pillar-image img { transform: scale(1.08); }
.pillar h3, .pillar p, .pillar .btn-link { padding: 0 28px; }
.pillar h3 { margin-top: 26px; }
.pillar p { color: var(--ink-500); flex: 1; margin-bottom: 16px; }
.pillar .btn-link { padding-bottom: 30px; }

.pillar:nth-child(1) { border-top: 4px solid var(--blue-500); }
.pillar:nth-child(2) { border-top: 4px solid var(--pink-500); }
.pillar:nth-child(3) { border-top: 4px solid var(--amber-500); }
.pillar:nth-child(2) h3 { color: var(--pink-700); }
.pillar:nth-child(3) h3 { color: var(--amber-700); }
.pillar:nth-child(2) .btn-link { color: var(--pink-700); }
.pillar:nth-child(3) .btn-link { color: var(--amber-700); }

/* Single leader card — compacto e discreto */
.single-leader-wrap { max-width: 580px; margin: 0 auto; }
.leader-card-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}
.leader-card-hero:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.leader-photo-wrap {
  position: relative;
  padding: 0;
  display: grid;
  place-items: center;
}
.leader-photo-wrap img {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 317 / 499;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.leader-photo-ring {
  position: absolute;
  width: 130px;
  aspect-ratio: 317 / 499;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(6px, 6px);
  border: 1.5px solid var(--blue-500);
  border-radius: var(--radius);
  opacity: .3;
  z-index: 0;
}
.leader-info-hero {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.leader-tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.leader-info-hero h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: var(--ink-900);
  line-height: 1.3;
}
.leader-credentials {
  font-size: .78rem;
  color: var(--blue-700);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: .04em;
}
.leader-info-hero > p:not(.leader-credentials) {
  color: var(--ink-500);
  margin-bottom: 10px;
  font-size: .85rem;
  line-height: 1.55;
}
.leader-info-hero .btn-link {
  font-size: .72rem;
  margin-top: 4px;
}
.cta-row { text-align: center; margin-top: 48px; }

/* ---------- Section dividers (ondas/curvas) ---------- */
.section-divider {
  position: relative;
  height: 80px;
  margin-top: -1px;
  overflow: hidden;
  pointer-events: none;
}
.section-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.divider-wave-down { transform: rotate(180deg); }

/* Cor das ondas — combinam com a seção seguinte */
.fill-blue   { fill: var(--tint-blue-bg); }
.fill-pink   { fill: var(--tint-pink-bg); }
.fill-yellow { fill: var(--tint-yellow-bg); }
.fill-white  { fill: #fff; }
.fill-dark   { fill: var(--ink-900); }

/* Docs */
.docs-grid { max-width: 920px; margin: 0 auto; }
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.doc-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-100), #fff);
  color: var(--blue-700);
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(20, 99, 179, 0.3);
}
.doc-card:nth-child(2) .doc-icon {
  background: linear-gradient(135deg, var(--pink-100), #fff);
  color: var(--pink-700);
  box-shadow: 0 8px 20px -8px rgba(200, 62, 107, 0.3);
}
.doc-icon svg { width: 36px; height: 36px; }
.doc-card p { color: var(--ink-500); margin-bottom: 22px; }
.doc-card .btn { margin-top: auto; }
.doc-card:nth-child(2) .btn-primary { background: var(--pink-700); }
.doc-card:nth-child(2) .btn-primary:hover { background: #a32551; }

/* Contact */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.contact-info li {
  padding: 12px 18px;
  background: #fff;
  border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.contact-info strong { display: block; color: var(--ink-900); }
.contact-info span { font-size: .95rem; color: var(--ink-500); }

.card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

/* Email card (substitui formulário) */
.email-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 44px 32px;
  background: linear-gradient(180deg, #fff, var(--blue-100));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.email-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 139, 214, 0.15) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  pointer-events: none;
}
.email-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue-700);
  border-radius: 22px;
  box-shadow: 0 10px 24px -10px rgba(20, 99, 179, 0.4);
  margin-bottom: 4px;
}
.email-icon svg { width: 36px; height: 36px; }
.email-label {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.email-address {
  font-family: "Poppins";
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--blue-900);
  text-decoration: none;
  word-break: break-all;
  margin-bottom: 8px;
  transition: color .2s;
}
.email-address:hover { color: var(--blue-700); }
.email-note {
  margin: 4px 0 0;
  font-size: .82rem;
  color: var(--ink-500);
}
.contact-form { display: grid; gap: 14px; }
.contact-form h3 { margin: 0 0 8px; }
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-700);
}
.contact-form .req { color: #c0392b; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-900);
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.contact-form button { justify-self: start; margin-top: 8px; }
.form-ok {
  background: #e6f6ee;
  color: #1d7a48;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  text-align: center;
}

/* Modal */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 40, 0.7);
  backdrop-filter: blur(6px);
  animation: fadeIn .2s ease;
}
.modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
  animation: popIn .3s cubic-bezier(.2,.9,.3,1.2);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-100);
  color: var(--blue-900);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--blue-700); color: #fff; transform: rotate(90deg); }
.modal-photo {
  width: 220px;
  height: auto;
  aspect-ratio: 317 / 499;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center 20%;
  margin: 0 auto 20px;
  display: block;
  box-shadow: var(--shadow-md);
}
.modal-content h3 { margin-top: 0; }
.modal-role { color: var(--blue-700); font-weight: 600; margin-bottom: 16px; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(10px) scale(.96) }
  to   { opacity: 1; transform: translateY(0) scale(1) }
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--ink-900), #061a30);
  color: #c8d2dd;
  padding: 60px 0 36px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 138, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow-md);
}
.footer-info p { margin: 3px 0; font-size: .95rem; color: #c8d2dd; }
.footer-info p:first-child { color: #fff; font-weight: 600; font-size: 1.05rem; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-bottom small {
  color: #7c8896;
  font-size: .8rem;
  letter-spacing: .02em;
}

/* ---------- Voltar ao topo ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(20, 99, 179, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, background .2s, visibility 0s linear .25s;
  z-index: 60;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity .25s ease, transform .25s ease, background .2s, visibility 0s linear 0s;
}
.back-to-top:hover {
  background: var(--blue-900);
  transform: translateY(-3px) scale(1.05);
}
.back-to-top svg { width: 22px; height: 22px; }
@media (max-width: 540px) {
  .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .two-col.reverse > :first-child { order: 0; }
  .section { padding: 70px 0; }
  .hero { min-height: 78vh; padding: 80px 0 100px; }
  .page-hero { padding: 80px 0 60px; min-height: 32vh; }
  .col-image::after { display: none; }

  .brand-logo {
    height: 150px;
    width: auto;
    max-width: 320px;
    filter: drop-shadow(0 6px 14px rgba(20, 99, 179, 0.2));
  }
  .brand {
    padding: 0;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  .nav-wrap {
    min-height: 130px;
    padding: 6px 16px;
    justify-content: center;
    position: relative;
  }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--blue-100);
    border-radius: 50%;
    z-index: 3;
  }
  .nav-toggle span { width: 20px; }

  /* Leader card stacks on mobile */
  .leader-card-hero {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .leader-photo-wrap img { max-width: 220px; }
  .leader-info-hero { padding: 0; text-align: center; }
  .leader-tag { align-self: center; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav ul {
    flex-direction: column;
    padding: 14px 16px;
    gap: 4px;
    align-items: stretch;
  }
  .primary-nav a { width: 100%; padding: 12px 14px; }
  .primary-nav a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 2rem; }
  .card, .doc-card { padding: 24px; }
  .modal-content { padding: 30px 24px; }
  .leader-card img { height: 280px; }
  .brand-logo { width: 48px; height: 48px; }
  .footer-logo { width: 72px; height: 72px; }
}
