/* ==========================================================================
   IFCC France – Redesign V2 "Geometric Boldness"
   Design System & Components
   ========================================================================== */

/* ── 1. Custom Properties ─────────────────────────────────────────────── */
:root {
  --primary: #89234d;
  --primary-light: #a32e54;
  --primary-dark: #7e284b;
  --primary-10: rgba(128, 21, 56, 0.1);
  --primary-20: rgba(128, 21, 56, 0.2);
  --secondary: #f8e6eb;
  --surface: #fafafa;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-primary: 0 10px 30px rgba(128, 21, 56, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. Base Reset & Typography ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Sora', sans-serif;
  color: var(--gray-800);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
}

.accent-font {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* ── 3. Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ── 4. Navigation ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(128, 21, 56, 0.08);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav:has(.nav-hamburger.open) {
  z-index: 110;
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-mark {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform var(--transition-base);
}

.nav-logo:hover .nav-logo-mark {
  transform: rotate(30deg) scale(1.05);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Mobile menu button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  margin: 6px auto;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-overlay a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-800);
  transition: color var(--transition-fast);
}

.mobile-menu-overlay a:hover {
  color: var(--primary);
}

.mobile-menu-overlay .mobile-cta {
  margin-top: 1rem;
  display: inline-block;
  background: var(--primary);
  color: var(--white) !important;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

/* ── 5. Hero Section ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(30%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(248, 230, 235, 0.6) 100%);
}

/* Decorative geometric shapes */
.hero-geo-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-20), transparent);
  z-index: 1;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero-geo-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 200px;
  height: 200px;
  background: var(--secondary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  animation: floatSlow 6s ease-in-out infinite reverse;
  opacity: 0.6;
}

.hero-geo-3 {
  position: absolute;
  top: 30%;
  right: 30%;
  width: 80px;
  height: 80px;
  border: 3px solid var(--primary-20);
  border-radius: 50%;
  z-index: 1;
  animation: floatSlow 10s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 700px;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--secondary);
  z-index: -1;
  transform: skewX(-6deg);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-proofs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-proofs .material-icons {
  font-size: 1.1rem;
  color: var(--primary);
}

/* Hero diagonal bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 3;
}

/* ── 6. Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(128, 21, 56, 0.4);
}

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary-20);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-outline:hover {
  background: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── 7. Section Styles ────────────────────────────────────────────────── */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1320px;
  margin: 0 auto
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-top: 1rem;
  max-width: 600px;
  line-height: 1.7;
}


/* Full-bleed primary section */
.section-primary {
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-primary .section-label {
  color: var(--secondary);
}



.section-primary .section-title {
  color: var(--white);
}

.section-primary .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-primary::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.section-primary::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

/* Surface alt section */
.section-surface {
  background: var(--surface);
}

.section-white {
  background: var(--white);
}


/* ── 8. Cards ─────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-accent {
  border-left: 4px solid var(--primary);
}

.card-padded {
  padding: 2rem;
}

.card-primary {
  background: var(--primary);
  color: var(--white);
}

.card-secondary {
  background: var(--secondary);
  color: var(--gray-900);
}

/* Staggered grid: offset every other card */
.stagger-grid {
  display: grid;
  gap: 2rem;
}

.stagger-grid> :nth-child(even) {
  transform: translateY(2rem);
}


/* ── 10. Scroll Reveal Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay helpers */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}


/* ── 11. Keyframe Animations ──────────────────────────────────────────── */
@keyframes floatSlow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-15px, 20px);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ── 12. Stats / Counters ─────────────────────────────────────────────── */
.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ── 13. Quote / Testimonial ──────────────────────────────────────────── */
.quote-card {
  position: relative;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.quote-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--primary-20);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
}

.quote-stars {
  color: #fbbf24;
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

/* ── 14. Accordion / FAQ ──────────────────────────────────────────────── */
.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: left;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.accordion-body-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── 15. Timeline ─────────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-20));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-dot.active {
  background: var(--primary);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

/* ── 16. Team Member Card ─────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-initials {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 1.25rem;
}

/* ── 17. Forms ────────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
}

.form-input::placeholder {
  color: var(--gray-400);
}

/* ── 18. Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--white);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-cta-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-certifications {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cert-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s, background 0.2s;
}

.footer-cert-logo:hover {
  opacity: 1;
  background: #ffffff;
}

/* ── 19. Utility Classes ──────────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ── 20. Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .hero-geo-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    right: -50px;
  }

  .hero-geo-2 {
    width: 120px;
    height: 120px;
  }

  .hero-geo-3 {
    display: none;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 1.25rem;
  }

  .hero-content {
    padding: 5rem 1.25rem 6rem;
  }

  .hero::after {
    height: 50px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .stagger-grid> :nth-child(even) {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-geo-1 {
    width: 180px;
    height: 180px;
  }

  .hero-geo-2 {
    display: none;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-inner {
    padding: 0 1rem;
  }
}

/* ── 21. Page Header (inner pages) ────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--surface);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.page-header .section-label {
  color: var(--secondary);
}

.page-header .section-label::before {
  background: var(--secondary);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── 22. Content blocks (explications) ────────────────────────────────── */
.info-box {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--primary-10);
}

.info-box h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.info-box p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Asymmetric two-column layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout.reverse> :first-child {
  order: 2;
}

.split-layout.reverse> :last-child {
  order: 1;
}

.split-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--primary-10);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rotated decorative square behind image */
.split-image-wrapper {
  position: relative;
}

.split-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  background: var(--secondary);
  border-radius: var(--radius-xl);
  transform: rotate(-3deg);
  z-index: -1;
}

@media (max-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-layout.reverse> :first-child,
  .split-layout.reverse> :last-child {
    order: unset;
  }
}

/* ── 23. Age group icons (explications) ───────────────────────────────── */
.age-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  transition: transform var(--transition-base);
}

.age-group:hover {
  transform: translateY(-4px);
}

.age-group .material-icons {
  font-size: 2.8rem;
  opacity: 0.85;
}

.age-group span:last-child {
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── 24. Formation timeline (formation page) ──────────────────────────── */
.year-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--primary-10);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.year-badge:hover,
.year-badge.active {
  background: var(--primary);
  color: var(--white);
}

/* ── 25. Agenda cards ─────────────────────────────────────────────────── */
.agenda-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.agenda-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gray-200);
  transition: background var(--transition-base);
}

.agenda-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.agenda-card:hover::before,
.agenda-card.featured::before {
  background: var(--primary);
}

.agenda-card.featured {
  border-color: var(--primary-20);
  box-shadow: var(--shadow-lg);
}

.agenda-date {
  font-size: 4rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color var(--transition-base);
}

.agenda-card:hover .agenda-date {
  color: var(--primary);
}

.agenda-month {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.agenda-city {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.agenda-card.featured .agenda-city {
  color: var(--primary);
}

/* Grille portes ouvertes (PHP) : cartes carrées côte à côte, sans stagger-grid */
#agenda-discovery-grid.agenda-discovery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-card {
  padding: 1.75rem 1.25rem;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-date {
  font-size: 2.75rem;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-month {
  font-size: 1rem;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-card-footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-lien {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 100%;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-time,
#agenda-discovery-grid.agenda-discovery-grid .agenda-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-lien a,
#agenda-discovery-grid.agenda-discovery-grid .agenda-lien-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-lien a:hover,
#agenda-discovery-grid.agenda-discovery-grid .agenda-lien-link:hover {
  opacity: 0.75;
}

#agenda-discovery-grid.agenda-discovery-grid .agenda-card .btn {
  margin-top: 0.75rem;
}

@media (max-width: 1024px) {
  #agenda-discovery-grid.agenda-discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #agenda-discovery-grid.agenda-discovery-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 320px;
  }
}


/* ── Cookie Banner ────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  z-index: 1000;
  border: 1px solid var(--gray-200);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner.hide {
  animation: slideDown 0.5s ease-in forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100px);
    opacity: 0;
  }
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gray-900);
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-cookie {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.btn-cookie-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
}

.btn-cookie-primary:hover {
  background: var(--primary-light);
}

.btn-cookie-outline {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
}

.btn-cookie-outline:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}


/* ── Directory ────────────────────────────────────────────────────────── */
.directory-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.search-box,
.filter-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input,
.filter-box select {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  appearance: none;
}

.search-box .material-icons {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}


