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

:root {
  --purple:        #6e0ee1;
  --purple-dark:   #4a09a0;
  --purple-mid:    #8B37F0;
  --purple-light:  #EDE9FE;
  --purple-pale:   #F5F0FF;
  --white:         #FFFFFF;
  --text-dark:     #1A0040;
  --text-mid:      #4B3B6B;
  --text-light:    #7C6FA0;
  --font:          'Nunito', sans-serif;
  --radius:        16px;
  --radius-sm:     8px;
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { opacity: .85; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-white {
  background: var(--white);
  color: var(--purple);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-purple {
  background: var(--purple);
  color: var(--white);
}
.btn--sm { padding: 8px 18px; font-size: 13px; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}

.logo { flex-shrink: 0; }

.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  opacity: .9;
  transition: opacity var(--transition);
}
.main-nav a:hover { opacity: 1; }

.has-dropdown { position: relative; }
.has-dropdown .arrow { font-size: 10px; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 14px;
}
.dropdown li a:hover { background: var(--purple-pale); color: var(--purple); }
.has-dropdown:hover .dropdown { display: block; }

.header-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ============================================================
   SECTION 1 – HERO CAROUSEL
============================================================ */
.section-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Camada 1 – cor sólida da marca */
.hero-bg__color {
  position: absolute;
  inset: 0;
  background-color: #6e0ee1;
}

/* Camada 2 – PNG decorativo posicionado no topo-esquerdo, como no design original */
.hero-bg__deco {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/bg-home/landing-background.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% auto;
}

.carousel {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

/* Crossfade: todos empilhados, só o .active aparece */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.slide-content { flex: 1; color: var(--white); }
.slide-content h1 {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}
.slide-content p {
  font-size: 14px;
  opacity: .88;
  margin-bottom: 16px;
  max-width: 440px;
  line-height: 1.7;
}

.slide-list {
  list-style: none;
  margin-bottom: 28px;
}
.slide-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 8px;
  color: var(--white);
}
.slide-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #C084FC;
  font-size: 8px;
  top: 4px;
}

.slide-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.slide-image img { max-height: 520px; object-fit: contain; }

.slide-image--badges { position: relative; }

.badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 8px 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.badge img { width: 18px; height: 18px; }
.badge--top  { top: 20%;  right: -10%; }
.badge--bottom { bottom: 20%; left: -10%; }

.carousel-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.carousel-dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 6px;
}
.carousel-controls--dark .carousel-dot { background: rgba(100,50,200,.3); }
.carousel-controls--dark .carousel-dot.active { background: var(--purple); }

/* ============================================================
   SECTION 2 – SOLUTIONS ACCORDION
============================================================ */
.section-solutions {
  background:
    linear-gradient(180deg, #6E0EE1 0%, #FFFFFF 100%) top / 100% 520px no-repeat,
    #FFFFFF;
  padding: 32px 0 52px;
}

.solutions-inner { position: relative; }

.solutions-header {
  text-align: center;
  margin-bottom: 24px;
}
.solutions-header h2 {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
}
.solutions-header h2 strong {
  font-weight: 800;
  display: block;
}

/* ── Card principal (#F5ECFF, border-radius: 55px) ── */
.solutions-card {
  background: #F5ECFF;
  border-radius: 55px;
  padding: 28px 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.solutions-accordion { flex: 1; min-width: 0; }

.solutions-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 14px;
}

/* ── Accordion pills ── */
.accordion { display: flex; flex-direction: column; gap: 6px; }

.accordion-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.accordion-trigger:hover { color: #7A12F5; }

.acc-arrow {
  font-size: 9px;
  transition: transform var(--transition);
  color: #7A12F5;
}

.accordion-content {
  display: none;
  padding: 0 16px 12px;
  background: #7A12F5;
  color: var(--white);
}
.accordion-content p {
  font-size: 12px;
  line-height: 1.55;
  opacity: .92;
  margin-bottom: 8px;
  padding-top: 4px;
}

.acc-link {
  display: inline-block;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  opacity: .85;
}
.acc-link:hover { opacity: 1; }

.accordion-item.active { background: #7A12F5; }
.accordion-item.active .accordion-trigger {
  background: #7A12F5;
  color: var(--white);
}
.accordion-item.active .acc-arrow {
  transform: rotate(90deg);
  color: var(--white);
}
.accordion-item.active .accordion-content { display: block; }

/* ── Imagem (border: 2px solid #7A12F5; border-radius: 29px) ── */
.solutions-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solutions-image img {
  width: 100%;
  max-width: 480px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 29px;
  border: 2px solid #7A12F5;
  display: block;
}

/* ============================================================
   SECTION 3 – STATS
============================================================ */
.section-stats {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--purple-pale);
  position: relative;
}

.stats-eyebrow {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 56px;
  line-height: 1.5;
}
.stats-eyebrow strong { color: var(--purple); }

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

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(108,15,224,.08);
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--purple);
}
.stat-card img { width: 36px; height: 36px; }
.stat-label {
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   SECTION 4 – AREAS DE ATUAÇÃO
============================================================ */
.section-areas {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--white);
}

.section-areas h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 56px;
  color: var(--text-dark);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.area-card {
  background: var(--purple);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108,15,224,.3);
}
.area-card img { width: 36px; height: 36px; margin-bottom: 16px; }
.area-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.area-card p { font-size: 13px; opacity: .85; line-height: 1.6; }

/* ============================================================
   SECTION 5 – DEPOIMENTOS
============================================================ */
.section-testimonials {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--purple);
}

.section-testimonials h2 {
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 56px;
  line-height: 1.3;
}

.testimonials-carousel { position: relative; }

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: hidden;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: var(--text-dark);
}

.testimonial-logo { margin-bottom: 16px; }
.testimonial-logo img { max-height: 36px; object-fit: contain; }

.stars {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.section-testimonials .carousel-controls {
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 40px;
}

/* ============================================================
   SECTION 6 – BENEFÍCIOS (TIMELINE)
============================================================ */
.section-benefits {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--purple-pale);
}

.section-benefits h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  margin-bottom: 64px;
  color: var(--text-dark);
  line-height: 1.4;
}
.section-benefits h2 strong { font-weight: 700; }

.benefits-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.benefits-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--purple-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  padding: 24px 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--purple);
  justify-self: center;
  z-index: 1;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(108,15,224,.08);
  max-width: 420px;
}

.timeline-item--right .timeline-content { margin-left: auto; justify-self: end; }
.timeline-item--left .timeline-content { margin-right: auto; }
.timeline-item--right .timeline-spacer { order: 3; }
.timeline-item--left .timeline-content { order: 3; }

.timeline-icon {
  width: 44px;
  height: 44px;
  background: var(--purple-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.timeline-icon img { width: 24px; height: 24px; }

.timeline-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   SECTION 7 – PLURIO INDIVIDUAL
============================================================ */
.section-about { background: var(--white); }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}
.about-text h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-text p { font-size: 16px; color: var(--text-mid); max-width: 420px; }

.text-purple { color: var(--purple); }

.about-image { background: #EDE9FE; }
.about-image-placeholder { width: 100%; height: 100%; min-height: 480px; background: linear-gradient(135deg, #C4B5FD, #8B5CF6); }

.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 80px;
  align-items: center;
}

.mission-logos img { max-width: 200px; margin-bottom: 16px; }
.mission-logos p { font-size: 14px; color: var(--text-mid); max-width: 320px; line-height: 1.6; }

.mission-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
}
.mission-text p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   SECTION 8 – CTA FINAL
============================================================ */
.section-cta {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--purple-pale) 100%);
  text-align: center;
}

/* Container interno: coluna, itens centralizados */
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cta-inner h2 {
  font-size: clamp(20px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 28px;
  color: var(--text-dark);
}
.cta-inner h2 strong { font-weight: 800; display: block; }

/* Composição: imagem à esquerda, texto à direita */
.cta-composition {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
  max-width: 680px;
  width: 100%;
}

.cta-composition img {
  max-width: 260px;
  max-height: 260px;
  object-fit: contain;
  flex-shrink: 0;
}

.cta-composition p {
  font-size: 14px;
  color: var(--text-mid);
  max-width: 240px;
  line-height: 1.65;
  text-align: left;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ede3ff;
  color: var(--white);
  padding: 40px 0;
}

/* Container: override max-width para corresponder ao Figma (1720/1920px) */
.footer-inner {
  max-width: 1720px;
  padding-inline: 0;
}

/* Card arredondado – Figma: border-radius 25px, roxo vibrante com mesh */
.footer-card {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(180,100,255,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 85%, rgba(110,14,225,0.25) 0%, transparent 45%),
    #6e0ee1;
  border-radius: 25px;
  padding: 60px 80px 48px;
  overflow: hidden;
}

.footer-cta-row {
  display: flex;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 48px;
}

.footer-cta-block p {
  font-size: 14px;
  opacity: .85;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-links-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-mid);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  opacity: .75;
  transition: opacity var(--transition);
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand { flex: 1; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand address {
  font-size: 13px;
  opacity: .7;
  line-height: 1.8;
}
.footer-brand address a { opacity: .7; }
.footer-brand address a:hover { opacity: 1; }

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  opacity: .75;
  transition: opacity var(--transition), background var(--transition);
}
.footer-social a:hover { opacity: 1; background: rgba(255,255,255,.2); }

.footer-copy { font-size: 13px; opacity: .5; margin-left: auto; }

/* ============================================================
   FULL-SCREEN SECTIONS
   Todas as sessões de conteúdo preenchem a viewport
============================================================ */
.section-solutions,
.section-stats,
.section-areas,
.section-testimonials,
.section-benefits,
.section-about,
.section-cta {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   ANIMATIONS
============================================================ */

/* — Entrada do conteúdo ao trocar slide — */
@keyframes enter-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes enter-right {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

.carousel-slide.active .slide-content h1 {
  animation: enter-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.carousel-slide.active .slide-content > p,
.carousel-slide.active .slide-content .slide-list {
  animation: enter-up 0.75s ease 0.28s both;
}
.carousel-slide.active .slide-content .btn {
  animation: enter-up 0.75s ease 0.40s both;
}
.carousel-slide.active .slide-image {
  animation: enter-right 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.10s both;
}

/* — Reveal por scroll (IntersectionObserver) — */
.anim {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.anim--fade-up    { transform: translateY(28px); }
.anim--fade-left  { transform: translateX(28px); }
.anim--fade-right { transform: translateX(-28px); }
.anim--scale      { transform: scale(0.96); }

.anim.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .anim { transition: none; opacity: 1; transform: none; }
  .carousel-slide.active .slide-content h1,
  .carousel-slide.active .slide-content > p,
  .carousel-slide.active .slide-content .slide-list,
  .carousel-slide.active .slide-content .btn,
  .carousel-slide.active .slide-image { animation: none; }
}

/* ============================================================
   RESPONSIVE — 4 breakpoints
   1280 → compact desktop
   1024 → tablet landscape
    768 → tablet portrait / mobile
    480 → phone
============================================================ */

/* ── 1280px: compact desktop ─────────────────────────────── */
@media (max-width: 1280px) {
  /* Header */
  .header-inner { gap: 20px; }
  .main-nav > ul { gap: 20px; }

  /* Hero */
  .slide-inner { gap: 32px; }
  .slide-image img { max-height: 440px; }

  /* Solutions */
  .solutions-card { gap: 24px; border-radius: 40px; padding: 24px 28px; }

  /* Stats */
  .stat-number { font-size: 34px; }

  /* Timeline */
  .timeline-content { max-width: 360px; }
}

/* ── 1024px: tablet landscape ────────────────────────────── */
@media (max-width: 1024px) {
  /* Header */
  .header-inner { height: 60px; gap: 14px; }
  .logo img { width: 92px !important; }
  .main-nav > ul { gap: 14px; }
  .main-nav a { font-size: 13px; }
  .btn { padding: 8px 16px; font-size: 13px; }

  /* Hero */
  .slide-inner {
    gap: 20px;
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .slide-image img { max-height: 360px; }
  .badge--top, .badge--bottom { display: none; }

  /* Solutions */
  .solutions-card { gap: 16px; border-radius: 32px; padding: 20px 24px; }
  .solutions-subtitle { font-size: 13px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 30px; }
  .stats-eyebrow { font-size: 18px; }

  /* Areas */
  .areas-grid { grid-template-columns: repeat(2, 1fr); }

  /* Timeline */
  .timeline-content { max-width: 320px; padding: 20px; }
  .timeline-content h3 { font-size: 15px; }

  /* About */
  .about-text { padding: 60px 40px; }
  .about-mission { grid-template-columns: 1fr; gap: 32px; }

  /* Footer */
  .footer-inner { padding-inline: 24px; }
  .footer-card { padding: 48px 48px 40px; }
  .footer-links-row { gap: 24px; }
}

/* ── 768px: tablet portrait / mobile ────────────────────── */
@media (max-width: 768px) {
  /* Header — hamburger */
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 56px; }
  .logo img { width: 84px !important; }

  /* Hero: no mobile volta para show/hide simples (sem crossfade absoluto) */
  .carousel-slide {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
  .carousel-slide.active {
    display: flex;
    flex-direction: column;
    min-height: unset;
  }
  .slide-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
    min-height: unset;
    gap: 28px;
  }
  .slide-image { order: -1; width: 100%; }
  .slide-image img {
    max-height: 280px;
    max-width: 80%;
    margin-inline: auto;
  }
  .slide-content p { max-width: 100%; }
  .slide-list { display: inline-block; text-align: left; }
  .badge--top, .badge--bottom { display: none; }
  .carousel-controls { bottom: 16px; }

  /* Solutions */
  .solutions-card { flex-direction: column; gap: 24px; border-radius: 28px; }
  .solutions-image { width: 100%; }
  .solutions-image img { max-width: 100%; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 28px; }
  .stats-eyebrow { font-size: 16px; margin-bottom: 36px; }

  /* Areas */
  .areas-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Testimonials */
  .testimonials-track { grid-template-columns: 1fr; }

  /* Timeline */
  .benefits-timeline::before { left: 20px; transform: none; }
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 16px 0;
  }
  .timeline-item--right .timeline-content,
  .timeline-item--left .timeline-content {
    max-width: 100%;
    margin: 0;
    order: 2;
  }
  .timeline-item--right .timeline-spacer,
  .timeline-item--left .timeline-spacer { display: none; }

  /* About */
  .about-split { grid-template-columns: 1fr; }
  .about-image-placeholder { min-height: 280px; }
  .about-text { padding: 40px 20px; }
  .about-mission { padding-top: 32px; padding-bottom: 48px; }

  /* CTA */
  .cta-composition { flex-direction: column; gap: 20px; }
  .cta-composition img { max-width: 200px; max-height: 200px; }
  .cta-composition p { text-align: center; max-width: 280px; }

  /* Footer */
  .footer-inner { padding-inline: 16px; }
  .footer-card { padding: 40px 32px 36px; border-radius: 16px; }
  .footer-cta-row { flex-direction: column; gap: 32px; }
  .footer-links-row { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 20px; }
  .footer-copy { margin-left: 0; }
}

/* ── 480px: phone ─────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Header */
  .header-inner { height: 52px; }
  .logo img { width: 76px !important; }

  /* Hero */
  .slide-inner { padding-top: 68px; gap: 20px; }
  .slide-image img { max-height: 220px; max-width: 90%; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 24px; }
  .stat-card img { width: 28px; height: 28px; }
  .stat-label { font-size: 12px; }

  /* Areas */
  .area-card { padding: 24px 20px; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }

  /* Solutions accordion */
  .accordion-trigger { font-size: 14px; padding: 12px 14px; }

  /* About */
  .about-text { padding: 32px 16px; }

  /* Footer */
  .footer-card { padding: 32px 20px 28px; }
  .footer-cta-row { gap: 24px; }
}
