/* ═══════════════════════════════════════════════════════════
   ASSOMAR — Associação Madre Rosa
   style.css — Design system completo
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN SYSTEM ───────────────────────────────────────── */
:root {
  /* Cores — regra 60/30/10 */
  --color-base:        #FDFAF7;   /* 60% — off-white quente */
  --color-base-alt:    #F5EFE8;   /* variação sutil de seção */
  --color-support:     #1E3A5F;   /* 30% — azul social profundo */
  --color-support-mid: #2B5282;   /* suporte médio */
  --color-accent:      #C9366B;   /* 10% — rosa institucional */
  --color-accent-hover:#A8285A;   /* rosa escuro no hover */

  /* Texto */
  --text-primary:   #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted:     #718096;
  --text-inverse:   #FDFAF7;

  /* Tipografia */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(30, 58, 95, 0.06), 0 1px 2px rgba(30, 58, 95, 0.04);
  --shadow-md:  0 4px 16px rgba(30, 58, 95, 0.08), 0 2px 6px rgba(30, 58, 95, 0.04);
  --shadow-lg:  0 12px 40px rgba(30, 58, 95, 0.12), 0 4px 12px rgba(30, 58, 95, 0.06);
  --shadow-accent: 0 8px 24px rgba(201, 54, 107, 0.25);

  /* Border radius */
  --radius-sm:  0.5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;

  /* Espaçamento base */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-px: clamp(1.25rem, 5vw, 2rem);
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--color-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ── TIPOGRAFIA GLOBAL ───────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-label--light {
  color: rgba(253, 250, 247, 0.7);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-support);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 56ch;
  margin-top: 1rem;
  line-height: 1.65;
}

.section-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 58ch;
  line-height: 1.75;
  margin-top: 0.875rem;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
  box-shadow: var(--shadow-accent);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 54, 107, 0.35);
  }
}

.btn-accent:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-support);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(30, 58, 95, 0.25);
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out), transform 200ms var(--ease-out);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    border-color: var(--color-support);
    background: rgba(30, 58, 95, 0.05);
    transform: translateY(-2px);
  }
}

.btn-outline:active {
  transform: scale(0.97);
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  transition: box-shadow 250ms var(--ease-out);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-support);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 180ms var(--ease-out);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--color-support);
  }

  .nav-link:hover::after {
    transform: scaleX(1);
  }
}

.nav-cta {
  display: none;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
}

@media (min-width: 900px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* ── NAV TOGGLE (mobile) ─────────────────────────────────── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background 180ms var(--ease-out);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav-toggle:hover {
    background: rgba(30, 58, 95, 0.06);
  }
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-support);
  border-radius: 2px;
  transition: transform 250ms var(--ease-out), opacity 200ms var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-base);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  padding: 1.5rem var(--container-px) 2rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 280ms var(--ease-drawer), opacity 220ms var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.mobile-menu:not([hidden]) {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  transition: color 180ms var(--ease-out), padding-left 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .mobile-nav-link:hover {
    color: var(--color-support);
    padding-left: 0.5rem;
  }
}

.mobile-cta {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: var(--section-py);
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-support-mid);
  background: rgba(30, 58, 95, 0.07);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(30, 58, 95, 0.12);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* hero title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--color-support);
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent);
  position: relative;
}

/* hero subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* hero CTAs */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

/* hero proof */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-support);
  letter-spacing: -0.03em;
}

.proof-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: rgba(30, 58, 95, 0.15);
  flex-shrink: 0;
}

/* hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(30, 58, 95, 0.12));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-support);
  white-space: nowrap;
  animation: badge-in 0.6s var(--ease-out) 0.4s both;
}

.hero-badge svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

@keyframes badge-in {
  from { opacity: 0; transform: translateX(-12px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* hero blob */
.hero-blob {
  position: absolute;
  top: -20%;
  right: -15%;
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 54, 107, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── NUMBERS ─────────────────────────────────────────────── */
.numbers {
  background: var(--color-support);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.numbers .section-label {
  color: rgba(253, 250, 247, 0.55);
  display: block;
  text-align: center;
  margin-bottom: 2.5rem;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 640px) {
  .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.number-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(253, 250, 247, 0.1);
  border-bottom: 1px solid rgba(253, 250, 247, 0.1);
  text-align: center;
}

.number-card:nth-child(2n) {
  border-right: none;
}

@media (min-width: 640px) {
  .number-card {
    border-bottom: none;
  }
  .number-card:nth-child(2n) {
    border-right: 1px solid rgba(253, 250, 247, 0.1);
  }
  .number-card:last-child {
    border-right: none;
  }
}

.number-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-base);
  line-height: 1;
}

.number-desc {
  font-size: 0.8125rem;
  color: rgba(253, 250, 247, 0.55);
  font-weight: 500;
  max-width: 16ch;
  line-height: 1.4;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about {
  padding-block: var(--section-py);
  background: var(--color-base);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(30, 58, 95, 0.08));
}

.about-content .section-title {
  margin-bottom: 0;
}

.about-quote {
  margin-top: 1.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-accent);
}

.about-quote p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-support);
  font-weight: 500;
  line-height: 1.5;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.value-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-support-mid);
  background: rgba(30, 58, 95, 0.07);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  border: 1px solid rgba(30, 58, 95, 0.1);
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .value-tag:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
  }
}

/* ── PROJECTS ────────────────────────────────────────────── */
.projects {
  padding-block: var(--section-py);
  background: var(--color-base-alt);
}

/* bento grid */
.projects-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .projects-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .project-card--wide {
    grid-column: span 2;
  }

  .project-card--tall {
    grid-row: span 2;
  }
}

.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 58, 95, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

.project-card--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #A8285A 100%);
  border-color: transparent;
}

.project-card--accent .project-icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.project-card--accent .project-title,
.project-card--accent .project-desc {
  color: #fff;
}

.project-card--accent .project-desc {
  opacity: 0.85;
}

.project-card-inner {
  padding: clamp(1.5rem, 3vw, 2rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.project-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 54, 107, 0.08);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: transform 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .project-card:not(.project-card--accent):hover .project-icon {
    transform: scale(1.08) rotate(-3deg);
  }
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-support);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* ── MISSION ─────────────────────────────────────────────── */
.mission {
  background: var(--color-support);
  padding-block: var(--section-py);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(253, 250, 247, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(253, 250, 247, 0.08);
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.mission-block {
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(253, 250, 247, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgba(253, 250, 247, 0.08);
  transition: background 220ms var(--ease-out);
}

@media (min-width: 768px) {
  .mission-block {
    border-bottom: none;
    border-right: 1px solid rgba(253, 250, 247, 0.08);
  }
  .mission-block:last-child {
    border-right: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .mission-block:hover {
    background: rgba(253, 250, 247, 0.06);
  }
}

.mission-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.mission-block-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-base);
  letter-spacing: -0.02em;
}

.mission-block-text {
  font-size: 0.9rem;
  color: rgba(253, 250, 247, 0.6);
  line-height: 1.7;
  flex: 1;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.values-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(253, 250, 247, 0.65);
  font-weight: 500;
}

.values-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── RECOGNITION ─────────────────────────────────────────── */
.recognition {
  padding-block: var(--section-py);
  background: var(--color-base);
}

.recognition-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(30,58,95,0.04) 0%, rgba(201,54,107,0.04) 100%);
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .recognition-card {
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
  }
}

.recognition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-support), var(--color-accent));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.recognition-left {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.recognition-seal {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-support);
  color: #fff;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.recognition-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-support);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.recognition-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.recognition-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 52ch;
}

.recognition-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-width: 220px;
}

.recognition-detail {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.recognition-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recognition-detail-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.recognition-detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-support);
}

/* ── INFRA ───────────────────────────────────────────────── */
.infra {
  padding-block: var(--section-py);
  background: var(--color-base-alt);
}

.infra-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .infra-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.infra-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2rem;
}

.infra-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  transition: color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .infra-item:hover {
    color: var(--color-support);
  }
}

.infra-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 54, 107, 0.1);
  color: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.infra-visual {
  display: flex;
  justify-content: center;
}

.infra-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(30, 58, 95, 0.08));
}

/* ── PARTNERS ────────────────────────────────────────────── */
.partners {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--color-base);
  border-top: 1px solid rgba(30, 58, 95, 0.06);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  overflow: hidden;
}

.partners-label {
  display: block;
  text-align: center;
  margin-bottom: 2rem;
}

.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .partner-name:hover {
    color: var(--color-support);
  }
}

.partner-sep {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.125rem;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact {
  background: var(--color-support);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 54, 107, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-base);
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1rem;
  color: rgba(253, 250, 247, 0.65);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(253, 250, 247, 0.7);
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 250, 247, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(253, 250, 247, 0.7);
  flex-shrink: 0;
}

.contact-info-link {
  color: rgba(253, 250, 247, 0.7);
  transition: color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .contact-info-link:hover {
    color: var(--color-base);
  }
}

/* ── FORM ────────────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--color-base);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-support);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.125rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--color-base);
  border: 1.5px solid rgba(30, 58, 95, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 54, 107, 0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-error {
  font-size: 0.75rem;
  color: #e53e3e;
  font-weight: 500;
  min-height: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9375rem;
  font-size: 0.9375rem;
}

.form-success {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: #276749;
  font-weight: 500;
  text-align: center;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #13283D;
  padding-block: clamp(2rem, 4vw, 3rem);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-base);
  letter-spacing: -0.02em;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(253, 250, 247, 0.45);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(253, 250, 247, 0.45);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(253, 250, 247, 0.06);
  width: 100%;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(253, 250, 247, 0.3);
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-illustration { animation: none; }
  .eyebrow-dot       { animation: none; }
  .hero-badge        { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ── TIMELINE ────────────────────────────────────────────── */
.timeline {
  padding-block: var(--section-py);
  background: var(--color-base);
}

.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 1.5rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-base);
  border: 2.5px solid rgba(30, 58, 95, 0.25);
  flex-shrink: 0;
  margin-top: 0.3rem;
  transition: border-color 250ms var(--ease-out), background 250ms var(--ease-out);
  z-index: 1;
}

.timeline-dot--accent {
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(201, 54, 107, 0.15);
  margin-top: 0.2rem;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(30,58,95,0.15), rgba(30,58,95,0.05));
  margin-block: 0.375rem;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-content {
  padding-bottom: clamp(2rem, 4vw, 3rem);
  padding-top: 0;
}

.timeline-item:last-child .timeline-content {
  padding-bottom: 0;
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.375rem;
}

.timeline-heading {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.175rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-support);
  margin-bottom: 0.625rem;
  line-height: 1.2;
}

.timeline-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 58ch;
}

.timeline-item--highlight .timeline-content {
  background: linear-gradient(135deg, rgba(201,54,107,0.04) 0%, rgba(30,58,95,0.04) 100%);
  border: 1px solid rgba(201,54,107,0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
  .timeline-item:hover .timeline-dot:not(.timeline-dot--accent) {
    border-color: var(--color-accent);
    background: rgba(201,54,107,0.08);
  }
}
/* ══════════════════════════════════════════════════════════
   MOBILE FIXES — até 767px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── HERO ── */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 3rem;
  }

  .hero-inner {
    padding-block: 2.5rem 2rem;
    gap: 2rem;
  }

  /* ilustração: menor e centralizada */
  .hero-visual {
    order: -1; /* aparece ACIMA do texto */
    justify-content: center;
  }

  .hero-illustration-wrap {
    max-width: 260px;
    margin-inline: auto;
  }

  .hero-illustration {
    width: 100%;
    height: auto;
  }

  /* título menor em telas pequenas */
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  /* CTAs empilhados */
  .hero-cta-group {
    flex-direction: column;
  }

  .btn-accent,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* proof em linha compacta */
  .hero-proof {
    gap: 1rem;
  }

  .proof-number {
    font-size: 1.125rem;
  }

  /* ── SOBRE — imagem abaixo do texto ── */
  .about-inner {
    gap: 2rem;
  }

  .about-visual {
    order: 1; /* texto primeiro, imagem depois */
  }

  .about-illustration {
    max-width: 280px;
    margin-inline: auto;
  }

  /* ── NÚMEROS — 2 colunas mantidas, padding menor ── */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-card {
    padding: 1.5rem 1rem;
  }

  .number-value {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  /* ── PROJETOS — 1 coluna no mobile ── */
  .projects-bento {
    grid-template-columns: 1fr;
  }

  .project-card--wide,
  .project-card--tall {
    grid-column: auto;
    grid-row: auto;
  }

  /* ── MISSÃO — 1 coluna ── */
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-block {
    border-right: none;
    border-bottom: 1px solid rgba(253, 250, 247, 0.08);
  }

  .mission-block:last-child {
    border-bottom: none;
  }

  /* ── RECONHECIMENTO — empilhado ── */
  .recognition-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .recognition-left {
    flex-direction: column;
    gap: 1rem;
  }

  .recognition-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* ── INFRAESTRUTURA — imagem abaixo ── */
  .infra-inner {
    gap: 2rem;
  }

  .infra-visual {
    order: 1;
  }

  .infra-illustration {
    max-width: 260px;
    margin-inline: auto;
  }

  /* ── CONTATO — empilhado ── */
  .contact-inner {
    gap: 2.5rem;
  }

  .contact-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  /* formulário ocupa largura total */
  .contact-form-wrap {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
  }

  /* ── FOOTER ── */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: 0.75rem;
  color: rgba(253, 250, 247, 0.3);
  border-bottom: 1px solid rgba(253, 250, 247, 0.15);
  padding-bottom: 1px;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer-link:hover {
    color: rgba(253, 250, 247, 0.7);
    border-color: rgba(253, 250, 247, 0.4);
  }
}

.footer-link-sep {
  color: rgba(253, 250, 247, 0.2);
  font-size: 0.75rem;
}

/* ── VIEW TRANSITION (troca de página) ── */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 300ms ease-out both fade-out;
}

::view-transition-new(root) {
  animation: 400ms ease-out both fade-in;
}

@keyframes fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
.timeline-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}