/* ============================================================
   DOUTOR AO VIVO · SUS DIGITAL
   Landing page — catálogo de serviços para o SUS
   ============================================================ */

:root {
  --color-primary: #1B1464;
  --color-primary-700: #15104f;
  --color-primary-900: #0d0a37;
  --color-blue: #066aab;
  --color-accent: #00EDBF;
  --color-accent-600: #00c8a2;
  --color-text: #1d2240;
  --color-text-soft: #4a4f6e;
  --color-muted: #8189a6;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6fb;
  --color-bg-soft: #eef0f9;
  --color-border: #e3e6f0;

  --shadow-sm: 0 2px 8px rgba(27, 20, 100, 0.06);
  --shadow-md: 0 12px 30px rgba(27, 20, 100, 0.08);
  --shadow-lg: 0 24px 60px rgba(27, 20, 100, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --header-height: 76px;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--color-text-soft); }

/* ===== LAYOUT HELPERS ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section { padding: 96px 0; }
.section-light { background: var(--color-bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-dark > .container { position: relative; z-index: 5; }
.section-cta > .container { position: relative; z-index: 5; }
.section-dark p { color: rgba(255,255,255,.78); }

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.section-head p { font-size: 1.1rem; }
.section-head-light * { color: #fff; }
.section-head-light p { color: rgba(255,255,255,.78); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--color-blue); }

.accent { color: var(--color-accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary-900);
  box-shadow: 0 8px 24px rgba(0, 237, 191, 0.35);
}
.btn-accent:hover {
  background: var(--color-accent-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 237, 191, 0.45);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

/* ===== DECORATIVE DOTS ===== */
.hero-dots {
  position: absolute;
  width: 200px;
  height: 280px;
  background-image: radial-gradient(circle, var(--color-accent) 5px, transparent 6px);
  background-size: 50px 50px;
  background-repeat: round;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero-dots-tr { top: 24px; right: 24px; }
.hero-dots-bl { bottom: 24px; left: 24px; }

/* dots na CTA: mais discretos e empurrados para os cantos */
.section-cta .hero-dots { opacity: 0.22; }
.section-cta .hero-dots-tr { top: -40px; right: -40px; }
.section-cta .hero-dots-bl { bottom: -40px; left: -40px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 36px; width: auto; max-width: 100%; object-fit: contain; }
.nav-primary {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}
.nav-primary a {
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  position: relative;
}
.nav-primary a:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--color-primary-700);
  padding: 24px;
  gap: 16px;
}
.mobile-menu a {
  color: #fff;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu .btn {
  margin-top: 8px;
  border-bottom: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-900) 100%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  text-align: center;
  max-width: 920px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 24px;
  color: #fff;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.82);
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-quick-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-quick-stats strong {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-quick-stats span {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-align: center;
}

/* ===== TWO COL (Quem somos) ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.col-text h2 { color: var(--color-primary); }
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 28px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  color: var(--color-text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1464' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.media-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-soft);
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform .25s ease, border-color .25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}
.stat-card-accent {
  background: var(--color-accent);
  color: var(--color-primary-900);
  border-color: var(--color-accent);
}
.stat-card-accent .stat-label { color: var(--color-primary-700); }
.stat-number {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  color: var(--color-accent);
}
.stat-card-accent .stat-number { color: var(--color-primary-900); }
.stat-label {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ===== PROJETOS (CATÁLOGO) ===== */
.section-projects { background: var(--color-bg-alt); }

.project {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.project:last-child { margin-bottom: 0; }

.project-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}
.project-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-accent-600);
  background: rgba(0, 237, 191, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.project-header h3 {
  color: var(--color-primary);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 8px;
}
.project-sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-soft);
  font-weight: 500;
}
.project-image {
  width: 240px;
  height: 220px;
  object-fit: contain;
  background: linear-gradient(135deg, #f5f6fb 0%, #ebedf8 100%);
  border-radius: var(--radius-md);
  padding: 12px;
}
/* variante para fotos humanizadas (sem padding, cover) */
.project-image-photo {
  object-fit: cover;
  padding: 0;
  background: none;
  box-shadow: var(--shadow-md);
}

.project-lead {
  font-size: 1.05rem;
  color: var(--color-text);
  max-width: 920px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card h4 {
  color: var(--color-primary);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.card-intro {
  font-size: .95rem;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}
.card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: .95rem;
  color: var(--color-text);
  line-height: 1.55;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}
.card ul.benefits {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--color-border);
}

.card-problem { background: #fff5f5; border-color: #ffe0e0; }
.card-problem h4 { color: #b32424; border-bottom-color: #ff7676; }
.card-problem ul li::before { background: #ff7676; }

.card-solution h4 { color: var(--color-blue); border-bottom-color: var(--color-blue); }
.card-solution ul li::before { background: var(--color-blue); }

.card-impact { background: #fff; }

.card-deliver {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-700) 100%);
  border-color: var(--color-primary);
  color: #fff;
}
.card-deliver h4 { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.card-deliver .card-intro,
.card-deliver ul li { color: rgba(255,255,255,.92); }
.card-deliver ul li::before { background: var(--color-accent); }

.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.scale-grid.scale-single { grid-template-columns: 1fr 1fr; }
.scale-grid > div {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}
.scale-grid strong {
  display: block;
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 800;
}
.scale-grid span {
  display: block;
  font-size: .75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
}
.scale-grid p {
  margin: 8px 0 0;
  font-size: .85rem;
  color: var(--color-text-soft);
  font-weight: 600;
}

.results-strip {
  margin-top: 18px;
  padding: 16px;
  background: rgba(0, 237, 191, 0.16);
  border-radius: var(--radius-sm);
}
.results-strip strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.results-strip span {
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}

.project-quote {
  margin: 20px 0 0;
  padding: 18px 22px;
  background: rgba(0, 237, 191, 0.12);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--color-primary);
  font-weight: 600;
  font-size: .95rem;
}

/* ===== VIDEO EMBEDS (agnóstico YouTube/Vimeo/MP4) ===== */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-900) 100%);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.05);
  isolation: isolate;
}
.video-embed::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,237,191,0.18) 4px, transparent 5px);
  background-size: 60px 60px;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
}
.video-embed iframe,
.video-embed video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 3;
}
.video-embed.video-loaded .video-play,
.video-embed.video-loaded .video-caption,
.video-embed.video-loaded::before { display: none; }

/* quando há thumbnail do YouTube, esconde o padrão de pontos e aplica overlay sutil */
.video-embed.has-poster::before {
  background-image: none;
  background: linear-gradient(180deg, rgba(13,10,55,0.10) 0%, rgba(13,10,55,0.55) 100%);
  opacity: 1;
}

/* link fallback "Assistir no YouTube" — sempre acessível, fica visível mesmo se o embed falhar */
.video-fallback {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 4;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background .2s ease, transform .15s ease;
  backdrop-filter: blur(4px);
}
.video-fallback:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
  color: #fff;
}

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  transition: transform .2s ease;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-play svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); }

.video-caption {
  position: absolute;
  left: 28px; bottom: 28px;
  z-index: 2;
  color: #fff;
}
.video-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--color-accent);
  background: rgba(0,237,191,0.14);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.video-caption p {
  margin: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  font-style: italic;
}

.section-video-impact .video-embed-hero {
  max-width: 1000px;
  margin: 0 auto;
}
.video-embed-project {
  margin: 0 0 32px;
}

/* ===== BANNER HUMANIZADO ===== */
.banner-humanizado {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,10,55,0.88) 0%, rgba(27,20,100,0.65) 60%, rgba(27,20,100,0.35) 100%);
}
.banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 720px;
  padding: 80px 24px;
}

/* variante invertida: texto à direita, gradient da direita */
.banner-reverse .banner-bg::after {
  background: linear-gradient(270deg, rgba(13,10,55,0.88) 0%, rgba(27,20,100,0.65) 60%, rgba(27,20,100,0.35) 100%);
}
.banner-reverse .banner-content {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}
.banner-content h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.banner-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin: 0;
}
.banner-content .eyebrow { color: var(--color-accent); }

/* ===== CASES ===== */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.case {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.case-img {
  height: 260px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
  position: relative;
}
.case-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,20,100,.45) 100%);
}
.case-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.case-tag {
  display: inline-block;
  background: rgba(0, 237, 191, 0.18);
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.case h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
  padding: 18px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
}
.case-stats > div { text-align: center; }
.case-stats strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.case-stats span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-muted);
}
.case blockquote {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--color-accent);
  font-style: italic;
  font-size: .95rem;
  color: var(--color-text);
  background: rgba(0, 237, 191, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.link-arrow {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
}
.link-arrow::after {
  content: "→";
  transition: transform .2s ease;
}
.link-arrow:hover { color: var(--color-primary); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ===== CTA / FORM ===== */
.section-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-text h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.cta-text p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.contact-info {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-accent);
  font-weight: 700;
}
.contact-info a {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-info a:hover { color: var(--color-accent); }

.cta-form {
  background: #fff;
  color: var(--color-text);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.field label span { color: #e63946; }
.field input,
.field select {
  font-family: inherit;
  font-size: .95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--color-muted); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(6, 106, 171, 0.15);
}
.field input:invalid:not(:placeholder-shown) { border-color: #e63946; }

.form-submit { grid-column: 1 / -1; margin-top: 8px; }
.form-disclaimer {
  grid-column: 1 / -1;
  font-size: .8rem;
  color: var(--color-muted);
  text-align: center;
  margin: 0;
}
.form-success {
  grid-column: 1 / -1;
  padding: 18px;
  background: rgba(0, 237, 191, 0.16);
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  text-align: center;
}
.form-success strong { display: block; color: var(--color-primary); font-size: 1.05rem; }
.form-success span { color: var(--color-text-soft); font-size: .9rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-primary-900);
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-inner strong {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-inner a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.footer-inner a:hover { color: var(--color-accent); }
.footer-logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 6px; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat-card:nth-child(4),
  .stats-grid .stat-card:nth-child(5) { grid-column: span 1; }
  .project { padding: 36px; }
  .project-image { width: 180px; height: 160px; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .nav-primary,
  .header-inner > .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu[data-open="true"] { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero-quick-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 28px; }

  /* dots decorativos: menores e mais sutis no mobile */
  .hero-dots {
    width: 120px;
    height: 160px;
    background-size: 36px 36px;
    opacity: 0.35;
  }
  .hero-dots-tr { top: 12px; right: 12px; }
  .hero-dots-bl { bottom: 12px; left: 12px; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .check-list { grid-template-columns: 1fr; }
  .media-grid img { height: 180px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .project-header { grid-template-columns: 1fr; gap: 24px; }
  .project-image { width: 100%; max-width: 320px; height: 220px; }
  .project-image-photo { max-width: 100%; height: 240px; }
  .project-grid { grid-template-columns: 1fr; }

  .video-play { width: 64px; height: 64px; }
  .video-caption { left: 16px; bottom: 16px; }
  .banner-content { padding: 56px 24px; }
  .banner-bg::after {
    background: linear-gradient(180deg, rgba(13,10,55,0.85) 0%, rgba(27,20,100,0.65) 100%);
  }
  .banner-reverse .banner-bg::after {
    background: linear-gradient(180deg, rgba(13,10,55,0.85) 0%, rgba(27,20,100,0.65) 100%);
  }
  .banner-reverse .banner-content {
    text-align: left;
    margin: 0 auto;
  }

  .case-stats { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-form { padding: 28px; grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .scale-grid { grid-template-columns: 1fr; }
  .scale-grid.scale-single { grid-template-columns: 1fr 1fr; }
  .case-stats { grid-template-columns: repeat(2, 1fr); }
  .project { padding: 24px; }
  .hero-dots { display: none; }
}

/* ===== UTILITY: reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
