/* =============================================
   ASSOCIATION POPS — Global Stylesheet
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --pink:   #E91E8C;
  --cyan:   #00C8D7;
  --yellow: #FFD600;
  --orange: #FF6B35;
  --black:  #1A1A1A;
  --white:  #FFFFFF;
  --grey:   #F5F5F5;
  --dark-grey: #666666;

  --font-heading: 'Bebas Neue', cursive;
  --font-body:    'Poppins', sans-serif;

  --header-height: 90px;
  --transition: 0.3s ease;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.2);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  color: #444;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: height 0.35s ease, transform var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.header.scrolled .logo {
  height: 65px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--pink);
}

.nav-link.active {
  color: var(--pink);
}

/* Nav on transparent header */
.header:not(.scrolled) .nav-link {
  color: var(--white);
}

.header:not(.scrolled) .nav-link::after {
  background: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.header.scrolled .hamburger span {
  background: var(--black);
  box-shadow: none;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO — HOME
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.65) 0%,
    rgba(26,26,26,0.3) 60%,
    rgba(233,30,140,0.15) 100%
  );
}

/* Paint splash blobs */
.splash-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.splash {
  position: absolute;
  border-radius: 50% 40% 60% 30% / 40% 60% 30% 50%;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(2px);
  transform: scale(0);
}

.splash-1 {
  width: 300px; height: 280px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  top: 10%; right: 15%;
}
.splash-2 {
  width: 250px; height: 220px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 55%; right: 5%;
}
.splash-3 {
  width: 200px; height: 240px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  bottom: 15%; right: 25%;
}
.splash-4 {
  width: 180px; height: 160px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  top: 25%; right: 35%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 5%;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-title span {
  color: var(--pink);
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-subtitle span {
  display: inline-block;
  padding: 0 0.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.25); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pink);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-pink   { background: var(--pink);   color: var(--white); }
.btn-cyan   { background: var(--cyan);   color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--black); }

/* =============================================
   SECTIONS — General
   ============================================= */
section {
  padding: 6rem 5%;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 600px;
  margin-bottom: 3rem;
}

/* Underline accent on titles */
.title-underline {
  position: relative;
  display: inline-block;
}

.title-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-underline.animated::after {
  transform: scaleX(1);
}

/* =============================================
   SECTION — ABOUT (home)
   ============================================= */
.about {
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--pink);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-image-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  display: block;
  line-height: 1;
}

.about-image-badge .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.about-content .section-label {
  background: rgba(233,30,140,0.1);
  color: var(--pink);
}

.about-content .title-underline::after {
  background: var(--pink);
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* =============================================
   SECTION — DOMAINES (cards home)
   ============================================= */
.domaines {
  background: var(--grey);
  text-align: center;
}

.domaines .section-label {
  background: rgba(26,26,26,0.08);
  color: var(--black);
}

.domaines .title-underline::after {
  background: var(--yellow);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.card:hover .card-image-overlay {
  opacity: 0.7;
}

.card-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-body {
  padding: 2rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.8rem;
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--dark-grey);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 0.75rem;
}

/* Card color variants */
.card-mediation .card-image-overlay { background: var(--pink); }
.card-mediation .card-tag { background: rgba(233,30,140,0.1); color: var(--pink); }
.card-mediation .card-link { color: var(--pink); }

.card-sport .card-image-overlay { background: var(--cyan); }
.card-sport .card-tag { background: rgba(0,200,215,0.1); color: var(--cyan); }
.card-sport .card-link { color: var(--cyan); }

.card-culture .card-image-overlay { background: var(--yellow); }
.card-culture .card-tag { background: rgba(255,214,0,0.15); color: #B8960A; }
.card-culture .card-link { color: #B8960A; }

/* =============================================
   SECTION — STATS
   ============================================= */
.stats {
  background: var(--black);
  color: var(--white);
  padding: 5rem 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.7;
  text-transform: uppercase;
}

/* =============================================
   SECTION — PARTENAIRES
   ============================================= */
.partenaires {
  background: var(--white);
  text-align: center;
  padding: 4rem 5%;
}

.partenaires .section-label {
  background: rgba(0,200,215,0.1);
  color: var(--cyan);
}

.partenaires-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.partenaire-badge {
  background: var(--grey);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--black);
  transition: all var(--transition);
}

.partenaire-badge:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   HERO — INNER PAGES
   ============================================= */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}
@media (max-width: 768px) {
  .page-hero {
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 5%;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.page-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.page-hero-back:hover { color: var(--white); }

.page-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 550px;
}

/* Inner page color variants */
.page-mediation .page-hero-overlay {
  background: linear-gradient(135deg, rgba(233,30,140,0.7) 0%, rgba(26,26,26,0.6) 100%);
}
.page-mediation .page-hero-tag { background: var(--pink); color: var(--white); }

.page-sport .page-hero-overlay {
  background: linear-gradient(135deg, rgba(0,200,215,0.7) 0%, rgba(26,26,26,0.6) 100%);
}
.page-sport .page-hero-tag { background: var(--cyan); color: var(--white); }

.page-culture .page-hero-overlay {
  background: linear-gradient(135deg, rgba(255,214,0,0.7) 0%, rgba(26,26,26,0.6) 100%);
}
.page-culture .page-hero-tag { background: var(--yellow); color: var(--black); }

/* =============================================
   SECTION — INNER TEXT/IMAGE BLOCKS
   ============================================= */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-block img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.block-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.block-title {
  margin-bottom: 1rem;
}

.block-text {
  margin-bottom: 1.5rem;
}

.block-list {
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.block-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.block-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Color variants for inner pages */
.page-mediation .block-list li::before { background: var(--pink); }
.page-mediation .block-tag { background: rgba(233,30,140,0.1); color: var(--pink); }
.page-mediation .title-underline::after { background: var(--pink); }
.page-mediation .section-label { background: rgba(233,30,140,0.1); color: var(--pink); }
.page-mediation .btn-accent { background: var(--pink); color: var(--white); }

.page-sport .block-list li::before { background: var(--cyan); }
.page-sport .block-tag { background: rgba(0,200,215,0.1); color: var(--cyan); }
.page-sport .title-underline::after { background: var(--cyan); }
.page-sport .section-label { background: rgba(0,200,215,0.1); color: var(--cyan); }
.page-sport .btn-accent { background: var(--cyan); color: var(--white); }

.page-culture .block-list li::before { background: var(--yellow); }
.page-culture .block-tag { background: rgba(255,214,0,0.15); color: #8a6d00; }
.page-culture .title-underline::after { background: var(--yellow); }
.page-culture .section-label { background: rgba(255,214,0,0.15); color: #8a6d00; }
.page-culture .btn-accent { background: var(--yellow); color: var(--black); }

/* =============================================
   GALERIE PHOTOS
   ============================================= */
.galerie {
  background: var(--grey);
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.photo-grid .photo-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.photo-grid .photo-item:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.photo-grid .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-grid .photo-item:hover img {
  transform: scale(1.05);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: 5rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background: var(--pink);
  opacity: 0.05;
  border-radius: 50%;
  filter: blur(60px);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: var(--cyan);
  opacity: 0.05;
  border-radius: 50%;
  filter: blur(60px);
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =============================================
   SPLASH DIVIDER
   ============================================= */
.splash-divider {
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.splash-divider svg {
  width: 100%;
  height: 100%;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-badge {
    right: 1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 70px; /* valeur fixe pour éviter l'écrasement par --header-height global */
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    color: var(--black) !important;
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .content-block,
  .content-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  .content-block img {
    height: 280px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid .photo-item:nth-child(1) {
    grid-column: span 2;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  section {
    padding: 4rem 5%;
  }
}

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid .photo-item:nth-child(1) {
    grid-column: span 1;
  }

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

/* =============================================
   AOS OVERRIDES
   ============================================= */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* =============================================
   HERO LOGO — Dans le flux de hero-content
   ============================================= */
.hero-logo-hero {
  /* In-flow: positioned above the text, not absolute */
  display: block;
  width: min(200px, 22vh);
  margin: 0 auto 1vh;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
  will-change: opacity;
  pointer-events: none;
  flex-shrink: 0;
}

/* Header logo always visible — big at top, shrinks on scroll */

/* Hero content layout : flex column to stack logo above text */
.hero-content {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Viewport-relative sizes so the whole hero fits any screen */
.hero-tag {
  font-size: clamp(0.65rem, 1.4vh, 0.85rem) !important;
  margin-bottom: 0.8vh !important;
}
.hero-title {
  font-size: clamp(2rem, 7.5vh, 5.5rem) !important;
  margin-bottom: 1.2vh !important;
}
.hero-subtitle {
  font-size: clamp(0.8rem, 1.6vh, 1rem) !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 2vh !important;
}
.hero-ctas {
  margin-top: 0 !important;
}

/* Header height — desktop */
.header {
  height: 90px !important;
}
.logo {
  height: 120px !important;
}
.header.scrolled .logo {
  height: 65px !important;
}

/* =============================================
   PAINT SPLASH — Scroll-driven cumulative splatters
   Positioned at edges (hors cadre) + subtle behind text
   ============================================= */

/* Base — overflow hidden clips splats at section edges */
.about, .domaines, .galerie, .stats,
.partenaires, .cta-banner, .page-hero {
  position: relative;
  overflow: hidden;
}

/* All section content stays ABOVE splats */
.about > *:not(.paint-splat),
.domaines > *:not(.paint-splat),
.galerie > *:not(.paint-splat),
.stats > *:not(.paint-splat),
.partenaires > *:not(.paint-splat),
.cta-banner > *:not(.paint-splat) {
  position: relative;
  z-index: 2;
}

/* ── Paint splat wrapper (created by JS) ── */
.paint-splat {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  opacity: 0;
  transform: scale3d(0.3, 0.3, 0.3);
}
.paint-splat svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
/* Subtle float after appearing */
@keyframes splatFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(2px, -1.5px) rotate(0.4deg); }
  66%  { transform: translate(-1.5px, 1px) rotate(-0.3deg); }
}
.paint-splat.alive {
  animation: splatFloat 10s ease-in-out infinite;
}
@media (max-width: 600px) {
  .paint-splat { max-width: 160px; max-height: 160px; }
}

/* ── Scroll indicator (page-hero mobile) ── */
.page-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 5;
}
.page-hero-scroll svg {
  width: 20px;
  height: 20px;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 768px) {
  .page-hero-scroll { display: flex; }
}

/* Splash wave SVG dividers */
.wave-divider {
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  padding: 5rem 5%;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}

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

.contact-info {
  padding-top: 1rem;
}

.contact-info .section-label {
  background: rgba(233,30,140,0.1);
  color: var(--pink);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(233,30,140,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--pink);
}

.contact-info-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-info-text span {
  font-size: 0.95rem;
  color: #555;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 12px 60px rgba(0,0,0,0.1);
}

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

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid #E8E8E8;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(233,30,140,0.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-error-msg {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}
.form-error-msg.visible {
  display: block;
}

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

/* Honeypot — hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  background: var(--pink);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.form-submit:hover {
  background: #c91578;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233,30,140,0.35);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success / Error states */
.form-feedback {
  display: none;
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.form-feedback.success {
  background: rgba(34,197,94,0.12);
  color: #166534;
  border: 1.5px solid rgba(34,197,94,0.3);
  display: block;
}

.form-feedback.error {
  background: rgba(239,68,68,0.1);
  color: #991b1b;
  border: 1.5px solid rgba(239,68,68,0.25);
  display: block;
}

/* Privacy note */
.form-privacy {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.8rem;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

/* =============================================
   RESPONSIVE MOBILE — GLOBAL FIXES
   ============================================= */

@media (max-width: 768px) {
  /* Header reduced on mobile */
  .header {
    height: 70px !important;
    padding: 0 4%;
  }
  .logo {
    height: 76px !important;
  }
  .header.scrolled .logo {
    height: 46px !important;
  }

  /* Hero logo smaller on mobile */
  .hero-logo-hero {
    width: min(130px, 18vh);
  }

  /* Hero scroll hint — keep visible on mobile */
  .hero-scroll {
    font-size: 0.65rem;
    bottom: 1.5rem;
  }

  /* Page hero — top padding reduced */
  .page-hero-content {
    padding-top: calc(70px + 2rem);
  }

  /* About image — shorter on mobile */
  .about-image img {
    height: 280px;
    object-fit: cover;
  }

  /* Cards minimal height on mobile */
  .card-image {
    height: 200px;
  }

  /* CTA buttons — stack and full width */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section default padding on mobile */
  .partenaires,
  .cta-banner {
    padding: 4rem 5%;
  }

  /* Stats — 2 columns always on mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  /* Header even smaller on very small phones */
  .header {
    height: 65px !important;
    padding: 0 4%;
  }
  .logo {
    height: 70px !important;
  }
  .header.scrolled .logo {
    height: 40px !important;
  }

  /* Hero logo smallest size */
  .hero-logo-hero {
    width: min(110px, 16vh);
  }

  /* Hero title — ensure it fits */
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 3.5rem) !important;
  }

  /* Section padding — tighter on tiny screens */
  section {
    padding: 3rem 5% !important;
  }

  /* Contact form card — tighter padding */
  .contact-form-card {
    padding: 1.5rem 1.2rem;
  }

  /* Stat numbers slightly smaller */
  .stat-number {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
}

/* =============================================
   SECTION — CARTE FRANCE
   ============================================= */
.carte-france {
  background: var(--black);
  color: var(--white);
  padding: 5rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.carte-france .section-label {
  background: rgba(233,30,140,0.15);
  color: var(--pink);
}

.carte-france .title-underline::after {
  background: var(--pink);
}

.carte-france p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

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

/* City list */
.carte-villes-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.carte-ville-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.carte-ville-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.carte-ville-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.carte-ville-dot.dot-pink {
  background: var(--pink);
  box-shadow: 0 0 10px rgba(233,30,140,0.5);
}

.carte-ville-dot.dot-cyan {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0,200,215,0.5);
}

.carte-ville-dot.dot-yellow {
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255,214,0,0.5);
}

.carte-ville-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.carte-ville-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* Map */
.carte-map-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carte-map-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(233,30,140,0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.carte-svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  position: relative;
  z-index: 1;
}

/* City markers */
.city-dot {
  transition: transform 0.3s ease;
}

.city-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: cityPulse 2.5s ease-out infinite;
}

.city-pulse.pulse-delay {
  animation-delay: 1.2s;
}

@keyframes cityPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.city-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.city-sublabel {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.city-group {
  opacity: 0;
}

.city-group.visible {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .carte-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

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

  .carte-svg {
    max-width: 100%;
  }

  .carte-map-wrap {
    order: -1;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  padding: 2rem 5%;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

