/* ========================================
   OUVRE TA BOÎTE — Landing Page
   Pure HTML/CSS (no dependencies)
   ======================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #18181B;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
    height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- UTILITIES ---------- */
.container      { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm   { max-width: 1024px; margin: 0 auto; padding: 0 1.5rem; }
.container-md   { max-width: 896px;  margin: 0 auto; padding: 0 1.5rem; }

.hidden-mobile { display: none; }
@media (min-width: 640px) { .hidden-mobile { display: inline; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  border-radius: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-orange {
  background: #FF6B35;
  color: #fff;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 10px 25px rgba(255,107,53,0.2);
}
.btn-orange:hover { background: #e85d2a; }

.btn-orange-outline {
  background: transparent;
  color: #FF6B35;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid #FF6B35;
}
.btn-orange-outline:hover {
  background: #FF6B35;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #18181B;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.btn-white:hover { border-color: rgba(24,24,27,0.3); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; border-radius: 0.75rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: 1rem; }

/* ---------- SECTION COMMON ---------- */
.section-header {
  text-align: center;
  margin-bottom: 1.6rem;
}
.section-tag {
  display: block;
  color: #FF6B35;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #18181B;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.2;
}
.section-desc {
  color: #555;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================
   ANIMATIONS (CSS replacements for Framer Motion)
   ============================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.fade-in-delay-1 { animation-delay: 0.15s; }
.fade-in-delay-2 { animation-delay: 0.35s; }
.fade-in-delay-3 { animation-delay: 0.5s; }
.fade-in-delay-4 { animation-delay: 0.65s; }

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -20px) scale(1.1); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-20px, 30px) scale(1.15); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(15px, 15px); }
}
@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243,244,246,0.6);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.navbar-logo {
  height: 2.5rem;
  width: auto;
  border-radius: 0.375rem;
}
.navbar-title {
  color: #18181B;
  font-size: 0.78rem;
  font-family: 'Montserrat', sans-serif;
  display: inline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100vw - 130px);
}
.navbar-title .dot { color: #888; }
@media (min-width: 640px) {
  .navbar-title {
    font-size: 0.95rem;
    max-width: none;
  }
}
.mobile-menu .navbar-title {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: #4b5563;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: #18181B; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #18181B;
  cursor: pointer;
  padding: 0.25rem;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  padding: 1rem 1.5rem;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu a {
  color: #444;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: #18181B; }
.mobile-cta {
  text-align: center;
  margin-top: 0.5rem;
  padding: 0.625rem !important;
  border-radius: 0.75rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 8% -10%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 65%),
    radial-gradient(900px 420px at 100% 0%, rgba(255,107,53,0.16) 0%, rgba(255,107,53,0) 60%),
    linear-gradient(155deg, #4f8fcf 0%, #2f6fb3 52%, #1f4f86 100%);
}
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.blob-orange {
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: rgba(255,107,53,0.15);
  animation: blobFloat1 8s ease-in-out infinite;
}
.blob-purple {
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(124,58,237,0.12);
  animation: blobFloat2 10s ease-in-out infinite;
}
.blob-cyan {
  top: 33%; left: 33%;
  width: 300px; height: 300px;
  background: rgba(6,182,212,0.1);
  filter: blur(80px);
  animation: blobFloat3 12s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(#18181B 1px, transparent 1px),
    linear-gradient(90deg, #18181B 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
  width: 100%;
  min-width: 0;
}

.hero-copy,
.hero-bento {
  min-width: 0;
}

.hero-copy {
  text-align: center;
}

.hero-bento {
  margin-top: 2rem;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 2rem;
  padding: 1.1rem;
  box-shadow: 0 25px 60px rgba(15,23,42,0.08);
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .hero-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-bento .figure-card {
  min-height: 0;
  aspect-ratio: 1 / 1;
  justify-content: center;
  align-items: center;
  padding: 0.9rem;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .hero-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .hero-bento .hero-badge {
    grid-column: 1 / -1;
  }

  .hero-bento {
    padding: 0.7rem;
  }

  .hero-bento .figure-card {
    aspect-ratio: auto;
    min-height: 92px;
    padding: 0.5rem;
    border-radius: 0.75rem;
  }

  .hero-bento .figure-card img {
    width: 40px;
    height: 40px;
  }

  .hero-bento .figure-val {
    font-size: 0.82rem;
  }

  .hero-bento .figure-label {
    font-size: 0.66rem;
    line-height: 1.2;
  }
}

.hero-bento .figure-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.hero-bento .hero-badge {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.25rem;
}

.hero-bento .figure-emoji {
  font-size: 2.4rem;
}

.hero-bento .figure-val {
  font-size: 1.05rem;
  color: #18181B;
}

.hero-bento .figure-label {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.45;
}

.hero-bento a[href*="instagram"] .figure-label {
  white-space: nowrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2f6fb3;
  border: 1px solid #1f4f86;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(31,79,134,0.28);
}
.hero-badge span {
  color: #ffffff;
  font-size: 0.74rem;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  color: #18181B;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-title-gradient {
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, #FF6B35, #FF8F5E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-gradient::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #FF6B35, #FF8F5E);
  border-radius: 9999px;
  transform-origin: left;
  animation: underlineGrow 0.5s ease-out 0.9s forwards;
  transform: scaleX(0);
}
.hero-subtitle {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  color: #333;
}

.hero-desc {
  font-size: 1.1rem;
  color: black;
  max-width: 672px;
  margin: 0 auto 0;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.hero-desc:last-of-type {
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.hero-countdown {
  max-width: fit-content;
  margin: 0 auto 2.2rem;
}

.hero-ctas .btn {
  white-space: nowrap;
  font-size: 0.86rem;
  padding: 0.75rem 1.2rem;
}

@media (max-width: 639px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .hero-figures { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

@media (min-width: 1024px) {
  .hero-inner {
    display: grid;
    max-width: 1200px;
    grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
    gap: 0.75rem;
    align-items: center;
  }

  .hero-copy {
    text-align: left;
    padding-right: 1rem;
  }

  .hero-bento {
    margin-top: 0;
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-countdown {
    margin: 0 0 2.2rem;
  }

  .hero-countdown .finale-countdown-grid {
    margin: 0;
  }

  .hero-desc {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-bento-grid {
    gap: 0.85rem;
  }
}

.figure-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(229,231,235,0.6);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.figure-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.figure-emoji {
  font-size: 2rem;
  transition: transform 0.3s ease;
}
.figure-card:hover .figure-emoji { transform: scale(1.1); }
.figure-val {
  font-size: 1rem;
  color: #18181B;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.figure-label {
  font-size: 0.7rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.hero-curve {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.hero-curve svg {
  width: 100%;
  display: block;
}

/* ========================================
   ABOUT
   ======================================== */
.section-about,
.section-finale {
  padding: 2.35rem 0 1.6rem;
  background: #fff;
  scroll-margin-top: 5rem;
}

.section-finale {
  padding-top: 1.1rem;
}

.section-finale a {
  color: #FF6B35;
}

.section-finale .finale-column .section-desc {
  text-align: center;
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "about-text about-image";
    align-items: start;
  }
  .section-about .about-text {
    grid-area: about-text;
    text-align: left;
  }
  .section-about .about-image-wrap {
    grid-area: about-image;
    justify-self: end;
  }
}

.finale-highlights {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.finale-countdown {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,252,255,0.9) 100%);
  border: 1px solid rgba(190,214,240,0.75);
  border-radius: 1.05rem;
  padding: 1rem;
  margin: 0 auto 1.6rem;
  max-width: 760px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(20,73,132,0.12);
}

.finale-countdown-label {
  text-align: center;
  color: #ff6b35;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.finale-countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .finale-countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.finale-countdown-item {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(201,220,243,0.85);
  border-radius: 0.85rem;
  padding: 0.7rem 0.5rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 4px 10px rgba(21,85,168,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.finale-countdown-item:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 8px 14px rgba(21,85,168,0.12);
}

.countdown-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.48rem;
  font-weight: 700;
  color: #184f8f;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}

.countdown-unit {
  display: block;
  margin-top: 0.26rem;
  font-size: 0.75rem;
  color: #4f6786;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.finale-countdown--compact {
  max-width: 460px;
  margin: 0.65rem auto 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.finale-countdown--compact .finale-countdown-label {
  margin-bottom: 0.38rem;
  font-size: 0.68rem;
}

.finale-countdown--compact .finale-countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
  width: fit-content;
  margin: 0 auto;
  white-space: nowrap;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border: 1px solid rgba(198,218,242,0.95);
  box-shadow: 0 6px 16px rgba(20,73,132,0.12);
}

.finale-countdown--compact .finale-countdown-item {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  position: relative;
}

.finale-countdown--compact .finale-countdown-item:not(:last-child)::after {
  content: ":";
  margin-left: 0.35rem;
  color: #4f6786;
  font-weight: 700;
}

.finale-countdown--compact .countdown-value {
  font-size: 0.98rem;
  display: inline;
  font-weight: 700;
}

.finale-countdown--compact .countdown-unit {
  display: inline;
  margin-top: 0;
  font-size: 0.58rem;
}

@media (min-width: 1024px) {
  .finale-highlights {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.finale-column--image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.finale-column--logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.finale-column--text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-finale .finale-column > .section-title {
  text-align: center;
}

.finale-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  margin: 0;
  color: #18181B;
}

.highlight-desc {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

.finale-column--image img,
.finale-column--logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.about-image-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.about-image-item {
  position: relative;
  width: min(100%, 32rem);
}

.about-image-item--offset {
  align-self: flex-start;
}
.about-image-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
}

.about-image-split {
  --split-top: 66%;
  --split-bottom: 34%;
  --split-line-width: 1.2%;
  position: relative;
  min-height: 400px;
  aspect-ratio: 1080 / 762;
  background: #dbe7f2;
}

.about-image-split::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.98);
  clip-path: polygon(
    calc(var(--split-top) - var(--split-line-width)) 0,
    calc(var(--split-top) + var(--split-line-width)) 0,
    calc(var(--split-bottom) + var(--split-line-width)) 100%,
    calc(var(--split-bottom) - var(--split-line-width)) 100%
  );
  pointer-events: none;
}

.about-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image--project {
  clip-path: polygon(0 0, var(--split-top) 0, var(--split-bottom) 100%, 0 100%);
  object-position: left center;
}

.about-image--top {
  clip-path: polygon(var(--split-top) 0, 100% 0, 100% 100%, var(--split-bottom) 100%);
  object-position: right center;
}

.about-image-item--sm .about-image-split {
  min-height: 220px;
  aspect-ratio: 16 / 7;
}

.about-floating-card--text {
  max-width: 14.5rem;
}

.about-floating-card--left {
  left: 1rem;
  bottom: 1rem;
  top: auto;
  transform: none;
}

.about-floating-card--quote {
  right: 1rem;
  top: 1rem;
  left: auto;
  transform: none;
}

@media (max-width: 767px) {
  .about-image-split {
    --split-top: 62%;
    --split-bottom: 38%;
    --split-line-width: 1.5%;
    min-height: 320px;
  }
  .about-image-item--sm .about-image-split {
    min-height: 180px;
  }
  .about-image-item,
  .about-image-item--offset {
    width: 100%;
    align-self: stretch;
  }
}

.about-floating-card {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
  text-align: center;
}
@media (min-width: 768px) {
  .about-floating-card { display: block; }
}
.about-floating-val {
  font-size: 2rem;
  color: #C44715;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.about-floating-label {
  font-size: 0.95rem;
  color: #C44715;
  line-height: 1.5;
  font-weight: 500;
}

.about-text-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  color: #18181B;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.about-text-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #555;
  line-height: 1.7;
}

.section-about .about-text-body p {
  text-align: justify;
  text-justify: inter-word;
}

.section-about .about-text-body a {
  color: #FF6B35;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #f3f4f6;
  transition: all 0.5s ease;
}
.step-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.step-accent {
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 3px;
  border-radius: 0 0 9999px 9999px;
  background-color: var(--step-color);
}
.step-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background-color: color-mix(in srgb, var(--step-color) 7%, transparent);
}
.step-num {
  font-size: 0.7rem;
  color: var(--step-color);
  margin-bottom: 0.25rem;
}
.step-title {
  font-family: 'Montserrat', sans-serif;
  color: #18181B;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.step-desc {
  color: #666;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ========================================
   WHY PARTNER
   ======================================== */
.section-why {
  padding: 3.4rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 8% -10%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 65%),
    radial-gradient(900px 420px at 100% 0%, rgba(255,107,53,0.16) 0%, rgba(255,107,53,0) 60%),
    linear-gradient(155deg, #4f8fcf 0%, #2f6fb3 52%, #1f4f86 100%);
}

.why-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.25rem;
}

.why-kicker {
  color: #FF6B35;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.why-title {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  font-weight: 600;
  text-shadow: 0 4px 18px rgba(16,40,72,0.32);
}

.why-intro {
  color: #e8f1fb;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.03rem;
  line-height: 1.6;
}

.why-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 920px) {
  .why-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }
}

.why-column {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #d8e5f4;
  border-radius: 1.15rem;
  padding: 1.55rem;
  box-shadow: 0 14px 30px rgba(12,42,79,0.11);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(12,42,79,0.14);
}

.why-column-title {
  color: #1555a8;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1.05rem;
  font-weight: 600;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(255,107,53,0.26);
}

.why-item {
  padding: 0.95rem 0;
  border-top: 1px solid #eaf0f8;
}

.why-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.why-item h4 {
  color: #12243a;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.why-item p {
  color: #415a77;
  font-size: 0.95rem;
  line-height: 1.55;
}

.why-cta {
  text-align: center;
  margin-top: 2.35rem;
}

.why-cta .btn-orange {
  border-radius: 999px;
  padding: 0.88rem 2.25rem;
  box-shadow: 0 12px 28px rgba(255,107,53,0.32);
}

@media (max-width: 919px) {
  .section-why {
    padding: 5rem 0;
  }

  .why-column {
    padding: 1.25rem;
  }
}

/* ========================================
   PARTNERS
   ======================================== */
.section-partners {
  padding: 3rem 0 4rem;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}
.partners-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  color: #18181B;
  margin-top: 0.5rem;
  font-weight: 500;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2rem;
  margin-top: 2rem;
}
.partner-logo-wrap {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.35s ease;
}
.partner-logo-wrap:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.partner-logo {
  height: 3.5rem;
  max-width: 10rem;
  width: auto;
  object-fit: contain;
}
.partner-logo--nathan {
  height: 4.75rem;
  max-width: 13rem;
}
@media (min-width: 768px) {
  .partners-logos { gap: 2rem 2.5rem; }
  .partner-logo { height: 4rem; max-width: 12rem; }
  .partner-logo--nathan { height: 5.75rem; max-width: 15rem; }
}
.partners-contact {
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  margin-top: 2.5rem;
}
.partners-contact a {
  color: #C44715;
  transition: text-decoration 0.2s;
}
.partners-contact a:hover { text-decoration: underline; }

/* ========================================
   PRESS
   ======================================== */
.section-press {
  padding: 2.6rem 0;
  background: #fff;
}

.press-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .press-links {
    flex-direction: row;
    justify-content: center;
  }
}

/* ========================================
   TIMELINE
   ======================================== */
.section-timeline {
  padding: 3rem 0;
  background: #fafbff;
}
.timeline {
  position: relative;
}
.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 0; bottom: 0;
  width: 1px;
  background: #e5e7eb;
}
@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-0.5px); }
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.timeline-item:last-child { margin-bottom: 0; }

/* Reveal on scroll */
.timeline-item.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.reveal:nth-child(2) { transition-delay: 0s; }
.timeline-item.reveal:nth-child(3) { transition-delay: 0.1s; }
.timeline-item.reveal:nth-child(4) { transition-delay: 0.1s; }
.timeline-item.reveal:nth-child(5) { transition-delay: 0.1s; }
.timeline-item.reveal:nth-child(6) { transition-delay: 0.1s; }
.timeline-item.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-dot {
  position: absolute;
  left: 1.5rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #FF6B35;
  border-radius: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  z-index: 10;
  box-shadow: 0 0 0 4px #fafbff;
}
@media (min-width: 768px) {
  .timeline-dot { left: 50%; }
}

.timeline-content {
  margin-left: 3.5rem;
}
@media (min-width: 768px) {
  .timeline-content {
    margin-left: 0;
    width: calc(50% - 2rem);
  }
  .timeline-left .timeline-content {
    margin-right: auto;
    padding-right: 2rem;
    text-align: right;
  }
  .timeline-right .timeline-content {
    margin-left: auto;
    padding-left: 2rem;
    text-align: left;
  }
}

.timeline-date {
  color: #C44715;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.timeline-title {
  font-family: 'Montserrat', sans-serif;
  color: #18181B;
  font-size: 1.1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.timeline-desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========================================
   INSTAGRAM
   ======================================== */
.section-instagram {
  padding: 3rem 0;
  background: #fafbff;
}
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(to right, #f9ce34, #ee2a7b, #6228d7);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: opacity 0.2s;
  box-shadow: 0 10px 25px rgba(238,42,123,0.15);
  font-weight: 500;
}
.btn-instagram:hover { opacity: 0.9; }
.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #0f172a;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-weight: 500;
}
.btn-x:hover { background: #1e293b; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px)  { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .insta-grid { grid-template-columns: repeat(6, 1fr); } }

.insta-post {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
}
.insta-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}
.insta-post:hover .insta-emoji { transform: scale(1.1); }

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  color: #fff;
}
.insta-post:hover .insta-overlay { opacity: 1; }
.insta-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.insta-caption {
  font-size: 0.7rem;
  text-align: center;
  color: rgba(255,255,255,0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insta-note {
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  margin-top: 1.5rem;
}

/* ========================================
   CONTACT
   ======================================== */
.section-contact {
  padding: 3rem 0;
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contact-card {
  background: #fafbff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.3s ease;
}
.contact-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,107,53,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.contact-label {
  font-family: 'Montserrat', sans-serif;
  color: #18181B;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-value {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color 0.2s;
}
a.contact-value:hover { color: #C44715; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background:
    radial-gradient(1200px 500px at 8% -10%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 65%),
    radial-gradient(900px 420px at 100% 0%, rgba(255,107,53,0.16) 0%, rgba(255,107,53,0) 60%),
    linear-gradient(155deg, #4f8fcf 0%, #2f6fb3 52%, #1f4f86 100%);
  padding: 3rem 0;
  color: #f8fbff;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  color: #f8fbff;
}
.footer-name {
  color: #f8fbff;
}
.footer-links a {
  color: #f8fbff;
}
.footer-social a {
  color: #e2edfa;
}
.footer-bottom p {
  color: #000000;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo {
  height: 2.5rem;
  width: auto;
  border-radius: 0.375rem;
}
.footer-name {
  color: #f8fbff;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-links a {
  color: #f8fbff;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #ffffff; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-social a {
  color: #9ca3af;
  transition: color 0.2s;
  display: flex;
}
.footer-social a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer-bottom p {
  color: #000000 !important;
  font-size: 0.8rem;
}

/* ---------- ACCESSIBILITY ---------- */

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  background: #C44715;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* Focus-visible styles */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid #C44715;
  outline-offset: 2px;
}

/* Inline style replacements */
.section-title--light { color: #fff; }
.section-desc--light  { color: #d1d5db; }
.section-title--dark  { color: #0f172a; }

/* ---------- PERFORMANCE ---------- */
.section-why,
.section-partners,
.section-press,
.section-timeline,
.section-instagram,
.section-contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
