/* =========================================================
   TrilhaEdu — Versão Institucional / Premium (v2)
   Inspirado em plataformas educacionais B2B (SAS Educação)
   Mantém a paleta oficial da marca, aplicada de forma sóbria
   ========================================================= */

:root {
  --navy-950: #041526;
  --navy-900: #06294d;
  --navy-800: #0a3260;
  --navy-700: #0e3a6e;
  --blue-500: #2f6fc4;
  --blue-400: #5b9bf5;
  --blue-100: #e8f0fc;
  --orange: #ff9100;
  --orange-dark: #e07d00;
  --white: #ffffff;
  --ink: #0f2138;
  --text-muted: #4c6178;
  --text-faint: #7c93aa;
  --line: #e3eaf2;
  --bg-soft: #f6f9fc;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 12px 40px rgba(6, 41, 77, 0.08);
  --shadow-card-lg: 0 24px 60px rgba(6, 41, 77, 0.14);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; color: var(--navy-950); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.eyebrow.on-dark { color: var(--blue-400); }

section.section { padding: 88px 0; }
@media (max-width: 768px) { section.section { padding: 56px 0; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-family: var(--font-display);
  font-weight: 600; font-size: 15px; transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--navy-900); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { filter: brightness(0.92); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy-900); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline.on-dark:hover { border-color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { flex-shrink: 0; }
.logo-full { height: 34px; width: auto; max-width: none; flex-shrink: 0; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a.active, .nav-links a:hover { color: var(--blue-500); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 84px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px;
    box-shadow: var(--shadow-card); transform: translateY(-130%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-actions .btn-outline, .nav-actions .btn-orange { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Photo placeholder (substituir por foto real) ---------- */
.photo-placeholder {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  background: linear-gradient(135deg, var(--blue-100), #dbe7f8);
  border: 2px dashed #b9cde8; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; color: var(--blue-500); overflow: hidden;
}
.photo-placeholder svg { width: 44px; height: 44px; opacity: 0.55; }
.photo-placeholder .ph-label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy-800); padding: 0 20px; }
.photo-placeholder .ph-sub { font-size: 12px; color: var(--text-faint); padding: 0 20px; }

/* ---------- Hero (banner full-bleed + card flutuante, estilo SAS) ---------- */
.hero-banner { position: relative; }
.hero-banner-media { position: relative; width: 100%; height: 620px; overflow: hidden; }
.hero-banner-media .photo-placeholder { border-radius: 0; border-width: 0 0 0 0; height: 100%; }
.hero-banner-media img.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.hero-banner-tag {
  position: absolute; top: 28px; left: 0; z-index: 3;
  background: rgba(4,21,38,0.55); backdrop-filter: blur(4px);
  color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 9px 18px; border-radius: 0 8px 8px 0; letter-spacing: 0.02em;
}
.hero-card {
  position: relative; z-index: 2; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-lg); padding: 44px 44px 40px; max-width: 480px;
  margin-top: -150px; margin-left: 0;
}
.hero-card h1 { font-size: 32px; margin-bottom: 16px; }
.hero-card h1 .accent { color: var(--blue-500); }
.hero-card p.lead { font-size: 16px; color: var(--text-muted); margin-bottom: 26px; }
.hero-card .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
.hero-below { padding: 60px 0 20px; }
.trust-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.trust-row span { font-size: 13px; color: var(--text-faint); font-weight: 500; }
@media (max-width: 900px) {
  .hero-banner-media { height: 380px; }
  .hero-card { margin-top: -90px; padding: 30px 26px 28px; max-width: 100%; }
  .hero-card h1 { font-size: 26px; }
}

/* ---------- Presença nacional (mapa + logos parceiras) ---------- */
.presence-strip { background: #04192c; color: var(--white); overflow: hidden; }
.presence-strip .container.presence-top { padding: 70px 24px 44px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.presence-text h2 { color: var(--white); font-size: 30px; margin-bottom: 18px; }
.presence-text h2 strong { color: var(--orange); }
.presence-text p { color: #c7d6e6; font-size: 16px; }
.presence-map { display: flex; justify-content: center; }
.presence-map img { max-width: 100%; width: 100%; }

/* Faixa de logos em carrossel contínuo */
.logo-marquee {
  width: 100%; overflow: hidden; padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.logo-marquee-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: logo-marquee-scroll 46s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.presence-logo-chip {
  background: rgba(255,255,255,0.94); border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; align-items: center; justify-content: center; height: 92px; width: 260px; flex-shrink: 0;
}
.presence-logo-chip img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.presence-logo-chip.chip-dark { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); }
.presence-logo-chip.chip-anglo { padding-top: 6px; padding-bottom: 6px; }
.presence-logo-chip img.logo-zoom { max-height: 80px; }
@media (max-width: 900px) {
  .presence-strip .container.presence-top { grid-template-columns: 1fr; gap: 34px; }
  .presence-map img { max-width: 340px; margin: 0 auto; }
}

/* ---------- Stats strip (dark, photo overlay) ---------- */
.stats-strip { position: relative; background: var(--navy-950); color: var(--white); overflow: hidden; }
.stats-strip .bg-photo {
  position: absolute; inset: 0; background: linear-gradient(120deg, rgba(4,21,38,0.94), rgba(6,41,77,0.86)), var(--blue-100);
}
.stats-strip .container { position: relative; padding: 70px 24px; }
.stats-strip h2 { color: var(--white); font-size: 30px; max-width: 640px; margin-bottom: 44px; }
.stats-strip h2 strong { color: var(--orange); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 26px 22px; }
.stat-box .num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--orange); display: block; margin-bottom: 6px; }
.stat-box .label { font-size: 14px; color: #c7d6e6; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stats-strip h2 { font-size: 24px; } }

/* ---------- Split content (photo + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: 30px; margin-bottom: 18px; }
.split-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.check-list .tick {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-100);
  color: var(--blue-500); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 2px;
}
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Section heading ---------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ---------- Projeto sob medida (processo) ---------- */
.project-section {
  position: relative;
  background-color: var(--bg-soft);
  background-image: url('../img/tutor-padrao-celulares.jpg');
  background-size: cover;
  background-position: center;
}
.project-section::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(247, 249, 252, 0.4);
}
.project-section .container { position: relative; z-index: 1; }
.project-intro { display: flex; flex-direction: column; gap: 40px; margin-bottom: 56px; }
.project-intro .section-head { margin-bottom: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.project-outcomes { display: flex; flex-direction: column; gap: 16px; }
.project-phone { display: flex; justify-content: center; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.project-phone img { width: 100%; max-width: 190px; border-radius: 0; box-shadow: none; }
.project-phone img:first-child { max-width: 210px; }
.project-phone-flow { display: block; }
.project-phone-flow img { max-width: 100%; width: 100%; border-radius: var(--radius-md); box-shadow: 0 20px 50px -20px rgba(10,30,60,0.25); }
.outcome-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; }
.outcome-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-100); color: var(--blue-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.outcome-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.outcome-item p { font-size: 13.5px; color: var(--text-muted); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 22px; position: relative; }
.process-step .process-num {
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--white);
  background: var(--navy-900); width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 900px) {
  .project-intro { gap: 30px; }
  .project-phone img { max-width: 150px; }
  .project-phone img:first-child { max-width: 160px; }
  .project-phone-flow img, .project-phone-flow img:first-child { max-width: 100%; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .project-phone img, .project-phone img:first-child { max-width: 120px; }
  .project-phone-flow img, .project-phone-flow img:first-child { max-width: 100%; }
}
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Reports / data showcase ---------- */
.data-section { background: var(--bg-soft); }
.reports-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.report-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.report-card .shot-wrap { background: var(--navy-950); padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.report-card .shot-wrap img { max-height: 320px; max-width: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.report-card .caption { padding: 22px 24px 26px; }
.report-card .caption h4 { font-size: 17px; margin-bottom: 8px; }
.report-card .caption p { font-size: 14px; color: var(--text-muted); }
@media (max-width: 900px) { .reports-grid { grid-template-columns: 1fr; } }

/* ---------- Solutions grid (dark, real photo cards) ---------- */
.solutions-section { background: var(--navy-950); }
.solutions-section .section-head h2, .solutions-section .section-head p.lead-dark { color: var(--white); }
.solutions-section .section-head p { color: #b9cbdd; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/3.6; box-shadow: var(--shadow-card-lg); }
.solution-card img, .solution-card .photo-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.solution-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,21,38,0) 40%, rgba(4,21,38,0.92) 100%); }
.solution-card .content { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: var(--white); z-index: 2; }
.solution-card .content h4 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.solution-card .content p { font-size: 13.5px; color: #cfdcea; }
@media (max-width: 900px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ---------- Depoimentos em vídeo (stories) ---------- */
.case-section { background: var(--bg-soft); overflow: hidden; }
.stories { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 8px; }
.stories-stage { position: relative; width: 100%; max-width: 860px; height: 560px; perspective: 1200px; }
.story-card {
  position: absolute; top: 0; left: 50%; width: 288px; height: 512px; margin-left: -144px;
  border-radius: 22px; overflow: hidden; background: var(--navy-950); cursor: pointer;
  box-shadow: 0 24px 50px -18px rgba(4,25,44,0.55);
  transition: transform .5s cubic-bezier(.4,.1,.2,1), opacity .5s ease, filter .5s ease;
  transform: translateX(0) scale(.8); opacity: 0; pointer-events: none; z-index: 1;
}
.story-card.is-active { transform: translateX(0) scale(1); opacity: 1; z-index: 3; cursor: default; pointer-events: auto; }
.story-card.is-prev { transform: translateX(-78%) scale(.82); opacity: .45; filter: saturate(.7); z-index: 2; pointer-events: auto; }
.story-card.is-next { transform: translateX(78%) scale(.82); opacity: .45; filter: saturate(.7); z-index: 2; pointer-events: auto; }
.story-card.is-prev:hover, .story-card.is-next:hover { opacity: .65; }
.story-media, .story-media video, .story-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-media video, .story-media .story-poster { object-fit: cover; }
.story-media .story-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-media video { position: relative; z-index: 1; }
.story-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 70%); color: rgba(255,255,255,0.8);
}
.story-placeholder .ph-label { font-size: 12.5px; max-width: 200px; line-height: 1.4; }
.story-bar { position: absolute; top: 12px; left: 14px; right: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.3); z-index: 4; overflow: hidden; }
.story-bar span { display: block; height: 100%; width: 0; background: var(--white); }
.story-card.is-active .story-bar span { width: 100%; transition: width 6s linear; }
.story-card.has-video .story-bar span, .story-card.has-video.is-active .story-bar span { transition: none; width: 0; }
.story-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 20px; background: linear-gradient(180deg, rgba(4,21,38,0) 0%, rgba(4,21,38,0.88) 100%); color: var(--white); z-index: 4; }
.story-overlay strong { display: block; font-size: 15px; }
.story-overlay span { font-size: 13px; color: #cfdcea; }
.stories-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--navy-900); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-card); transition: background .2s, color .2s, transform .2s;
}
.stories-arrow:hover { background: var(--navy-900); color: var(--white); }
.stories-arrow svg { width: 22px; height: 22px; }
.stories-arrow.prev { left: max(8px, calc(50% - 392px)); }
.stories-arrow.next { right: max(8px, calc(50% - 392px)); }
.stories-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.stories-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.stories-dots button.is-active { width: 24px; border-radius: 8px; background: var(--navy-900); }
@media (max-width: 700px) {
  .stories-stage { height: 470px; }
  .story-card { width: 232px; height: 420px; margin-left: -116px; }
  .story-card.is-prev { transform: translateX(-70%) scale(.8); }
  .story-card.is-next { transform: translateX(70%) scale(.8); }
  .stories-arrow { width: 40px; height: 40px; }
  .stories-arrow.prev { left: 6px; }
  .stories-arrow.next { right: 6px; }
}

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--navy-900), var(--navy-950)); color: var(--white); }
.cta-banner .container { padding: 64px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-banner h2 { color: var(--white); font-size: 30px; max-width: 600px; }
.cta-banner h2 strong { color: var(--orange); }

/* ---------- Founders / Quem Somos ---------- */
.story-block { max-width: 760px; margin: 0 auto 20px; }
.story-block p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 18px; }
.founders-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 48px auto; }
.founder-card { text-align: center; }
.founder-photo { aspect-ratio: 1/1; border-radius: 50%; margin: 0 auto 16px; max-width: 160px; box-shadow: var(--shadow-card); overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-card h4 { font-size: 16px; margin-bottom: 4px; }
.founder-card span { font-size: 13.5px; color: var(--text-faint); }
.pull-quote {
  max-width: 760px; margin: 56px auto; text-align: center; font-family: var(--font-display);
  font-size: 24px; font-weight: 600; color: var(--navy-950); line-height: 1.4;
}
.pull-quote .mark { color: var(--blue-400); }
.center { text-align: center; }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: flex-start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-soft); }
.info-card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-card h4 { font-size: 15px; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--text-muted); font-size: 14.5px; }
.info-card a:hover { color: var(--blue-500); }
.contact-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form > p { color: var(--text-faint); font-size: 13.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-950); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14.5px; background: var(--white); color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue-500); }
.btn-block { width: 100%; }
.form-note { text-align: center; font-size: 12.5px; color: var(--text-faint); margin-top: 14px; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #c7d6e6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: #9fb4c9; margin: 16px 0 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.footer-col h4 { color: var(--white); font-size: 14.5px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 14px; color: #9fb4c9; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 13px; color: #7c93aa; text-align: center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.badge-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge { padding: 7px 14px; border-radius: 999px; background: var(--blue-100); color: var(--blue-500); font-size: 13px; font-weight: 600; }

.story-sound { position: absolute; top: 22px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(4,21,38,0.55); color: var(--white); display: none; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); }
.story-card.is-active .story-sound { display: flex; }
.story-sound svg { width: 21px; height: 21px; }
.story-sound:not(.is-on) { animation: sound-pulse 1.8s ease-out infinite; }
@keyframes sound-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.story-sound .on { display: none; }
.story-sound.is-on .on { display: inline; }
.story-sound.is-on .off { display: none; }

/* ---------- Álbum de fotos (Quem Somos): colagem que se monta ao rolar ---------- */
.album-stage { background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%); overflow: hidden; }
.album-text { text-align: center; margin-bottom: 44px; }
.album-text .eyebrow { color: var(--orange); }
.album-text h2 { color: var(--white); font-size: 32px; margin-top: 10px; }
.album-collage { position: relative; height: 600px; }
.pol {
  position: absolute; left: var(--x); top: var(--y); width: 17.5%; margin: 0; background: #fff;
  padding: 12px 12px 40px; border-radius: 3px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.38), 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0; transform: translateY(-90px) scale(1.18) rotate(calc(var(--r) + 10deg));
  transition: transform .8s cubic-bezier(.2,.8,.25,1), opacity .5s ease, box-shadow .3s ease;
}
.pol.in { opacity: 1; transform: rotate(var(--r)); }
.pol.in:hover { transform: rotate(0deg) scale(1.05); z-index: 3; box-shadow: 0 20px 40px rgba(0,0,0,0.45); }
.pol img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #e8eef5; }
.pol::before {
  content: ""; position: absolute; top: -11px; left: 50%; width: 74px; height: 22px; margin-left: -37px;
  background: rgba(255,214,150,0.78); transform: rotate(-3deg); box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
@media (max-width: 860px) {
  .album-text h2 { font-size: 26px; }
  .album-collage { height: 1230px; }
  .pol { left: var(--mx); top: var(--my); width: 44%; padding: 9px 9px 30px; }
}
@media (prefers-reduced-motion: reduce) { .pol { transition: opacity .3s ease; transform: rotate(var(--r)); } }

.story-card.is-active { cursor: pointer; }

/* Ícone de play (apenas visual: o clique vai para o card) e barra de progresso removida */
.story-bar { display: none; }
.story-play-icon { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; z-index: 5; display: none; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); background: rgba(255,255,255,0.22); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255,255,255,0.45) inset, 0 10px 30px rgba(0,0,0,0.3); pointer-events: none; }
.story-play-icon svg { width: 30px; height: 30px; margin-left: 4px; }
.story-card.is-active:not(.has-video) .story-play-icon, .story-card.is-active.is-paused:not(.is-embed) .story-play-icon { display: flex; }

/* Formulario de contato: mensagens de validacao e envio */
.field-error { display: block; color: #c0392b; font-size: 12.5px; margin-top: 6px; }
.form-group input.is-invalid, .form-group select.is-invalid, .form-group textarea.is-invalid { border-color: #c0392b; background: #fff8f7; }
.form-note.is-error { color: #c0392b; font-weight: 600; }
.form-note.is-error a { color: var(--blue-500); text-decoration: underline; }
.form-note.is-success { color: #1e8449; font-weight: 600; }
.btn:disabled { opacity: .7; cursor: not-allowed; }
