*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow: #FFD600;
  --yellow-dark: #E6C000;
  --yellow-pale: #FFF8CC;
  --teal: #A8D8D8;
  --teal-dark: #7BBFBF;
  --teal-pale: #E0F2F2;
  --dark: #1a1a1a;
  --cream: #FAFAFA;
  --text: #2a2a2a;
  --muted: #6a7a7a;
  --border: #C5E4E4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-wrap {
  height: 56px;
  display: flex;
  align-items: center;
}

.logo-wrap svg {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal-dark);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

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

.nav-cta {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow: 0 2px 8px rgba(255, 214, 0, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--teal) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(168, 216, 216, 0.4) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 201;
}

.burger:hover {
  background: var(--teal-pale);
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(250, 250, 250, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
  z-index: 199;
  flex-direction: column;
  gap: 0;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu li {
  list-style: none;
  border-bottom: 1px solid var(--border);
}

.mobile-menu li:last-child {
  border-bottom: none;
  margin-top: 1rem;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--teal-dark);
}

.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  padding: 1rem !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
}

/* ── HERO ── */
#accueil {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  gap: 2rem;
}

#accueil::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%, rgba(168, 216, 216, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(255, 214, 0, 0.07) 0%, transparent 60%);
  pointer-events: none;
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 680px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: fadeDown 0.6s ease both;
}

.hero-badge::before {
  content: '✦';
  font-size: 0.65rem;
  animation: spinStar 3s linear infinite;
}

.hero-badge:hover {
  background: var(--yellow-pale);
  border-color: var(--yellow-dark);
  color: #a07a00;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 214, 0, 0.2);
}

@keyframes spinStar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  animation: fadeUp 0.7s 0.1s ease both;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--muted);
  max-width: 440px;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--dark);
  text-decoration: none;
  border: none;
  border-radius: 100px;
  padding: 0.9rem 1.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 214, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(255, 214, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--teal-dark);
  text-decoration: none;
  border: 2px solid var(--teal);
  border-radius: 100px;
  padding: 0.85rem 1.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--teal-pale);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}

/* Pulse animation on CTA */
.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 2px solid var(--yellow);
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

/* SVG hero zone */
.svg-zone {
  width: 100%;
  max-width: min(800px, 90vw);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(168, 216, 216, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1.5px solid var(--border);
  animation: fadeUp 0.9s 0.4s ease both;
}

.svg-zone img {
  width: 100%;
  height: auto;
  display: block;
}
}


.hero-title {
  overflow: hidden;
  /* retire cette ligne si elle existe */
  overflow: visible;
}


/* ── WORD CAROUSEL ── */
.carousel-clip {
  display: block;
  width: 100%;
  text-align: center;
}

.carousel-track {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  min-height: 1.2em;
}

.carousel-word {
  display: inline-block;
  white-space: nowrap;
  color: var(--yellow);
}

.carousel-word .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.carousel-word .letter.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes carouselIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes carouselOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(20px);
  }
}

.carousel-word.enter {
  animation: carouselIn 0.55s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.carousel-word.exit {
  animation: carouselOut 0.55s cubic-bezier(0.65, 0, 0.35, 1) both;
}



/* ── SECTIONS ── */
section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--teal-dark);
  border-radius: 2px;
  margin-bottom: 2rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── INFOS ── */
#infos {
  background: #fff;
}

.infos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.info-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(168, 216, 216, 0.18);
  border-color: var(--teal-dark);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.info-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── ENGAGEMENTS ── */
#engagements {
  background: var(--teal-dark);
  color: #fff;
}

#engagements .section-label {
  color: var(--yellow-pale);
}

#engagements .section-title {
  color: #fff;
}

.engagements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
}

.engagement-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s;
}

.engagement-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.engagement-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.engagement-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.engagement-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── PARTNER CTA BAND ── */
.cta-band {
  background: var(--dark);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(168, 216, 216, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-band-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(15deg);
  }

  75% {
    transform: rotate(-10deg);
  }
}

.cta-band h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  margin-bottom: 2rem;
}

.cta-band .btn-primary {
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}

/* Trust logos strip */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.trust-item span {
  font-size: 1.1rem;
}

/* ── CONTACT ── */
#contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-detail .icon {
  width: 38px;
  height: 38px;
  background: var(--yellow-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

input,
textarea,
select {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.12);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
  box-shadow: 0 4px 16px rgba(255, 214, 0, 0.25);
  width: 100%;
  justify-content: center;
}

.btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 214, 0, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.form-success {
  display: none;
  background: var(--teal-pale);
  color: var(--teal-dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(3rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) 2rem;
}

.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--teal-dark);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand {
  text-align: center;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--teal-dark);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-btn:hover {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1000px;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--teal-dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .trust-strip {
    gap: 1rem;
  }
}

@media (max-width: 480px) {}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}