/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

/* ===== VARIABLES ===== */
:root {
  --forest:     #2a3d2e;
  --deep:       #1b2b1e;
  --sage:       #6e7a68;
  --sage-light: #a8bc9e;
  --mist:       #d6e2cc;
  --parchment:  #f4efe6;
  --warm:       #ebe8e1;
  --text:       #1e1e1e;
  --text-muted: #6e7a68;
  --white:      #faf8f3;
  --font-serif:   'Fraunces', Georgia, serif;
  --font-body:    'Poppins', sans-serif;
  --font-hand:    'Caveat', cursive;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: var(--parchment);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a, button { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--sage-light);
  outline-offset: 5px;
}

.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, background 0.3s;
  mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed;
  width: 30px; height: 30px;
  border: 1.5px solid var(--sage-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.28s ease;
  opacity: 0.55;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.35;
}

[data-lang] { display: inline; }

.section-wrapper { width: 100%; position: relative; }
.anchor-point { position: absolute; top: -80px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-35px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  padding: 22px 44px; z-index: 1000;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  padding: 16px 44px;
  box-shadow: 0 1px 0 rgba(110,122,104,0.12);
}
.header .lang-toggle { position: static; justify-self: end; }
.logo { justify-self: start; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 26px; width: auto; object-fit: contain; }
.logo-text { font-family: "Poppins", Arial, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; color: var(--text); }

.menu-btn { display: flex; flex-direction: column; gap: 5px; cursor: none; width: 34px; height: 34px; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; }
.menu-btn span { display: block; height: 1.5px; background: var(--text); transition: all 0.48s cubic-bezier(0.76, 0, 0.24, 1); transform-origin: center; }
.menu-btn span:nth-child(1) { width: 28px; }
.menu-btn span:nth-child(2) { width: 18px; }
.menu-btn span:nth-child(3) { width: 24px; }
.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); width: 24px; }
.menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); width: 24px; }

.lang-toggle { font-family: "Poppins", Arial, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 1.5px; display: flex; gap: 12px; color: var(--text); }
.lang-toggle button { cursor: none; opacity: 0.5; transition: opacity 0.25s, color 0.25s; background: transparent; border: 0; padding: 3px 0; font: inherit; letter-spacing: inherit; color: inherit; }
.lang-toggle button:hover, .lang-toggle button.active { opacity: 1; color: var(--forest); }

.nav-overlay {
  position: fixed; inset: 0;
  background: var(--forest);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 0 12vw;
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 999; overflow: hidden;
}
.nav-overlay::before {
  pointer-events: none;
  content: ''; position: absolute;
  bottom: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,148,112,0.12) 0%, transparent 70%);
}
.nav-overlay.active { transform: translateY(0); }
.nav-overlay a {
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 600; letter-spacing: -1px;
  color: var(--mist);
  text-decoration: none;
  line-height: 1.25; margin: 4px 0;
  opacity: 0; transform: translateY(35px);
  transition: opacity 0.55s ease, transform 0.55s ease, color 0.3s;
}
.nav-overlay a:hover { color: var(--sage-light); }
.nav-overlay.active a { opacity: 1; transform: translateY(0); }
.nav-overlay.active a:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active a:nth-child(2) { transition-delay: 0.17s; }
.nav-overlay.active a:nth-child(3) { transition-delay: 0.24s; }
.nav-overlay.active a:nth-child(4) { transition-delay: 0.31s; }
.nav-overlay.active a:nth-child(5) { transition-delay: 0.38s; }

@media(max-width:900px){ .header { padding: 18px 22px; } .header.scrolled { padding: 14px 22px; } }

/* ===== HERO ===== */
.hero { min-height: max(92vh, 680px); display: flex; align-items: center; padding: 110px 60px 52px; position: relative; overflow: hidden; color: white; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(27,43,30,0.15) 0%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.58) 100%); z-index: 1; }
.hero::before {
  content: ''; position: absolute; top: 8%; right: 5%;
  width: 340px; height: 340px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cellipse cx='100' cy='100' rx='40' ry='92' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3Cellipse cx='100' cy='100' rx='58' ry='92' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1' transform='rotate(28 100 100)'/%3E%3Cellipse cx='100' cy='100' rx='58' ry='92' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1' transform='rotate(-28 100 100)'/%3E%3Cline x1='100' y1='8' x2='100' y2='192' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E") center/contain no-repeat;
  z-index: 2; pointer-events: none;
}
.hero-content { position: relative; z-index: 3; max-width: 820px; }
.hero-brand { margin-bottom: 28px; opacity: 0; animation: fadeUp 1s ease 0.2s forwards; }
.hero-brand img { height: 80px; width: auto; object-fit: contain; }
.hero h1 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(68px, 10vw, 110px); font-weight: 800; line-height: 0.9; letter-spacing: -2px; margin-bottom: 22px; opacity: 0; animation: fadeUp 1.1s ease 0.45s forwards; }
.hero h1 .accent { font-family: var(--font-serif); font-weight: 300; font-size: 0.36em; display: block; letter-spacing: 0.5px; opacity: 0.82; margin-top: 14px; }
.hero-sub { font-size: 17px; font-weight: 300; line-height: 1.6; opacity: 0.88; max-width: 480px; margin-bottom: 36px; opacity: 0; animation: fadeUp 1s ease 0.8s forwards; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s ease 1.05s forwards; }
.btn-primary { background: white; color: var(--forest); padding: 13px 28px; border-radius: 30px; font-weight: 600; font-size: 14px; letter-spacing: 0.5px; cursor: none; text-decoration: none; display: inline-block; transition: all 0.35s ease; }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); background: var(--mist); }
.btn-glass { background: rgba(255,255,255,0.14); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.32); padding: 13px 28px; border-radius: 30px; font-size: 14px; font-weight: 400; cursor: none; text-decoration: none; color: white; display: inline-block; transition: all 0.35s ease; }
.btn-glass:hover { background: rgba(255,255,255,0.88); color: var(--forest); transform: translateY(-2px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:800px){ .hero { min-height: max(92vh, 620px); padding: 104px 24px 60px; align-items: flex-end; } .hero::before { display: none; } .hero h1 { font-size: clamp(46px, 15vw, 58px); letter-spacing: -1px; } .hero-brand img { height: 52px; } .hero-sub { font-size: 15px; } .hero-buttons a { width: 100%; text-align: center; } }

/* ===== INTRO ===== */
.sec-intro { background: var(--parchment); padding: 120px 8vw; text-align: center; position: relative; overflow: hidden; }
.sec-intro::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(110,122,104,0.07) 0%, transparent 65%); pointer-events: none; }
.intro-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--sage); text-transform: uppercase; margin-bottom: 28px; }
.sec-intro h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(34px, 4.5vw, 58px); font-weight: 700; letter-spacing: -1.5px; color: var(--forest); line-height: 1.15; max-width: 820px; margin: 0 auto 50px; }
.ornament { display: block; width: 5px; height: 5px; background: var(--sage-light); border-radius: 50%; margin: 0 auto 44px; }
.intro-body { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.85; color: #4a5a45; font-weight: 300; }
.intro-body p { margin-bottom: 26px; }
.intro-body strong { font-weight: 600; color: var(--forest); }

/* ===== LE TRAVAIL ===== */
.sec-work { background: var(--forest); padding: 120px 8vw; position: relative; overflow: visible; }
.sec-work::after { content: ''; position: absolute; bottom: -140px; right: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(122,148,112,0.1) 0%, transparent 65%); pointer-events: none; }
.work-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.work-text { color: var(--mist); }
.work-label { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage-light); margin-bottom: 24px; }
.work-text h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(30px, 3.8vw, 50px); font-weight: 700; letter-spacing: -1px; line-height: 1.1; margin-bottom: 32px; color: var(--white); }
.work-text p { font-size: 15px; line-height: 1.82; color: rgba(214,226,204,0.82); margin-bottom: 20px; font-weight: 300; }
.work-text strong { color: var(--sage-light); font-weight: 500; }
.work-link { display: inline-flex; align-items: center; gap: 9px; font-family: "Poppins", Arial, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--sage-light); text-decoration: none; margin-top: 14px; transition: gap 0.3s, color 0.3s; }
.work-link::after { content: '→'; transition: transform 0.3s; }
.work-link:hover { color: var(--white); gap: 14px; }

/* Work image — organic shape, NO shape change on hover, only photo zooms */
.work-image {
  position: sticky;
  top: 120px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  overflow: hidden;
  height: 560px;
}
.work-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
  transition: transform 1.5s ease;
}
.work-image:hover { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
.work-image:hover img { transform: scale(1.05); }

.work-image-caption {
  position: absolute;
  left: 12%; right: 12%;
  bottom: 12%;
  background: rgba(27,43,30,0.78);
  backdrop-filter: blur(14px);
  padding: 18px 24px; border-radius: 18px;
  color: var(--mist);
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 400; line-height: 1.55;
  text-align: center;
}
.work-image-caption strong {
  display: block;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 6px;
}

@media(max-width:900px){
  .work-grid { grid-template-columns: 1fr; gap: 50px; }
  .work-image { height: 420px; position: relative; top: auto; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }
  .work-image-caption { left: 8%; right: 8%; bottom: 10%; }
}

/* ===== EMOTIONAL ECOLOGY ===== */
.sec-special { background: var(--parchment); padding: 120px 8vw; position: relative; overflow: visible; }
.sec-special::before { content: ''; position: absolute; top: -180px; right: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(168,188,158,0.16) 0%, transparent 66%); pointer-events: none; }
.special-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.special-text { max-width: 660px; order: 2; }
.special-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); margin-bottom: 22px; }
.special-text h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(32px, 4.5vw, 58px); font-weight: 700; letter-spacing: -1.2px; color: var(--forest); line-height: 1.08; margin-bottom: 28px; }
.special-lead { font-size: 17px; line-height: 1.82; color: #43513f; font-weight: 300; margin-bottom: 34px; }
.special-lead strong { color: var(--forest); font-weight: 600; }
.special-points { display: grid; grid-template-columns: 1fr; gap: 16px; }
.special-point { display: grid; grid-template-columns: 58px 1fr; gap: 20px; background: var(--white); border: 1px solid rgba(110,122,104,0.14); border-radius: 28px 8px 28px 8px; padding: 24px 26px; transition: transform 0.35s ease, border-color 0.35s ease, border-radius 0.35s ease; }
.special-point:hover { transform: translateY(-4px); border-color: rgba(110,122,104,0.32); border-radius: 22px; }
.special-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(168,188,158,0.22); font-family: "Poppins", Arial, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.5px; line-height: 1; color: var(--forest); margin-top: 2px; }
.special-point h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 500; letter-spacing: -0.2px; color: var(--forest); margin-bottom: 8px; }
.special-point p { font-size: 14.5px; line-height: 1.75; color: #4a5a45; font-weight: 300; }
.special-visual { position: sticky; top: 120px; min-height: 620px; display: flex; align-items: center; justify-content: center; order: 1; }
.special-image-main { width: min(100%, 470px); height: 560px; border-radius: 46% 54% 42% 58% / 58% 45% 55% 42%; overflow: hidden; position: relative; box-shadow: 0 28px 80px rgba(27,43,30,0.18); }
.special-image-main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.special-image-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,43,30,0.36), rgba(27,43,30,0.02) 58%); }
.special-ribbon { position: absolute; left: 0; bottom: 70px; max-width: 330px; background: var(--forest); color: var(--mist); padding: 24px 28px; border-radius: 34px 8px 34px 8px; box-shadow: 0 18px 50px rgba(27,43,30,0.22); }
.special-ribbon strong { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--sage-light); margin-bottom: 10px; }
.special-ribbon span { display: block; font-family: var(--font-serif); font-size: 20px; line-height: 1.35; }
@media(max-width:900px){
  .special-inner { grid-template-columns: 1fr; gap: 48px; }
  .special-text { max-width: none; }
  .special-visual { min-height: 480px; position: relative; top: auto; }
  .special-image-main { height: 440px; width: 100%; }
  .special-ribbon { left: 22px; right: 22px; bottom: 22px; max-width: none; }
  .special-point { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 20px; }
}

/* ===== LE PROGRAMME ===== */
.sec-programme { background: var(--warm); padding: 120px 8vw; }
.programme-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 70px; align-items: start; }
.programme-image { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; overflow: hidden; height: 500px; position: sticky; top: 120px; }
.programme-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.programme-image:hover img { transform: scale(1.06); }
.programme-content { background: var(--white); border-radius: 35px 8px 35px 8px; padding: 60px 52px; }
.programme-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); margin-bottom: 22px; }
.programme-content h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; letter-spacing: -0.8px; color: var(--forest); line-height: 1.15; margin-bottom: 32px; }
.programme-content p { font-size: 15px; line-height: 1.82; color: #4a5a45; font-weight: 300; margin-bottom: 18px; }
.programme-content strong { color: var(--forest); font-weight: 600; }
.leaf-list { list-style: none; margin: 22px 0; }
.leaf-list li { padding: 12px 0 12px 28px; position: relative; font-size: 15px; color: #4a5a45; font-weight: 300; border-bottom: 1px solid rgba(110,122,104,0.13); }
.leaf-list li::before { content: '→'; position: absolute; left: 0; color: var(--sage); font-size: 14px; top: 12px; font-family: "Poppins", Arial, sans-serif; font-weight: 500; }
.leaf-list li strong { color: var(--forest); font-weight: 600; }
@media(max-width:900px){ .programme-inner { grid-template-columns: 1fr; } .programme-image { height: 300px; position: relative; top: auto; } .programme-content { padding: 36px 26px; border-radius: 28px 6px 28px 6px; } }

/* ===== TROIS PORTES ===== */
.sec-doors { background: var(--parchment); padding: 120px 8vw; overflow: hidden; }
.doors-header { max-width: 1200px; margin: 0 auto 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.doors-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.doors-header h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; letter-spacing: -1px; color: var(--forest); line-height: 1.05; }
.doors-header p { font-size: 15px; line-height: 1.82; color: #4a5a45; font-weight: 300; align-self: end; }
.doors-layout { max-width: 1200px; margin: 0 auto; display: grid; gap: 28px; }
.doors-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.door-main { height: 430px; border-radius: 110px 22px 110px 22px; overflow: hidden; position: relative; display: flex; align-items: flex-end; padding: 48px 52px; color: white; cursor: none; transition: border-radius 0.7s ease, transform 0.4s ease; background: url("/.netlify/images?url=/ancrage/assets/ancrage-immersion.jpg&w=1600") center/cover; }
.door-main:hover { border-radius: 36px; transform: scale(1.015); }
.door-small { height: 310px; border-radius: 22px 80px 22px 80px; overflow: hidden; position: relative; display: flex; align-items: flex-end; padding: 32px 36px; color: white; cursor: none; transition: border-radius 0.7s ease, transform 0.4s ease; }
.door-small:hover { border-radius: 36px; transform: scale(1.025); }
.door-small.journey { background: url("/.netlify/images?url=/ancrage/assets/ancrage-journey.jpg&w=1600") center/cover; }
.door-small.eco { background: url("/.netlify/images?url=/ancrage/assets/ancrage-ecology.jpg&w=1600") center/cover; }
.door-main::after, .door-small::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,43,30,0.78) 0%, rgba(27,43,30,0.08) 60%); z-index: 0; transition: background 0.4s; }
.door-main:hover::after, .door-small:hover::after { background: linear-gradient(to top, rgba(27,43,30,0.62) 0%, rgba(27,43,30,0.05) 60%); }
.door-content { position: relative; z-index: 2; }
.door-tag { display: inline-block; font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; padding: 6px 15px; border-radius: 20px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); margin-bottom: 14px; }
.door-content h3 { font-family: var(--font-serif); font-size: clamp(24px, 2.9vw, 34px); font-weight: 500; margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.3px; }
.door-desc { font-size: 14px; opacity: 0.9; margin-bottom: 18px; line-height: 1.6; font-weight: 300; }
.door-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.door-tags span { font-size: 11px; font-weight: 500; padding: 5px 12px; border-radius: 18px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); }
.door-btn { display: inline-block; font-family: "Poppins", Arial, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 10px 22px; border-radius: 24px; background: rgba(255,255,255,0.16); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); transition: all 0.38s; cursor: none; color: white; }
.door-main:hover .door-btn, .door-small:hover .door-btn { background: white; color: var(--forest); border-color: transparent; }
@media(max-width:900px){ .doors-header { grid-template-columns: 1fr; } .doors-secondary { grid-template-columns: 1fr; } .door-main { height: 330px; padding: 28px 30px; border-radius: 55px 14px 55px 14px; } .door-small { height: 270px; } }

/* ===== 5 STEPS ===== */
.sec-steps { background: var(--forest); padding: 120px 8vw; position: relative; overflow: hidden; }
.sec-steps::before { content: ''; position: absolute; top: -180px; left: -180px; width: 660px; height: 660px; border-radius: 50%; background: radial-gradient(circle, rgba(168,188,158,0.07) 0%, transparent 65%); pointer-events: none; }
.steps-header { max-width: 1200px; margin: 0 auto 70px; }
.steps-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage-light); margin-bottom: 20px; }
.steps-header h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -1px; color: var(--white); line-height: 1.05; margin-bottom: 20px; }
.steps-header p { font-size: 15px; font-weight: 300; color: rgba(214,226,204,0.78); max-width: 620px; line-height: 1.78; }
.pilot-owner { margin-top: .65rem; }
.hero-sub a, .pilot-owner a { color: inherit; text-underline-offset: .2em; }
.steps-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.steps-bottom { max-width: 1200px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.step-card { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(168,188,158,0.16); min-height: 290px; transition: transform 0.4s ease, border-color 0.4s; isolation: isolate; }
.step-card:hover { transform: translateY(-5px); border-color: rgba(168,188,158,0.4); }
.step-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transition: transform 1.2s ease; }
.step-card:hover .step-bg { transform: scale(1.06); }
.step-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20,32,22,0.78) 0%, rgba(20,32,22,0.62) 55%, rgba(20,32,22,0.82) 100%); z-index: 1; transition: background 0.4s; }
.step-card:hover::before { background: linear-gradient(160deg, rgba(20,32,22,0.7) 0%, rgba(20,32,22,0.55) 55%, rgba(20,32,22,0.78) 100%); }
.step-card .card-content { position: relative; z-index: 2; padding: 34px 30px; display: flex; flex-direction: column; height: 100%; }
.step-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-num { font-family: "Poppins", Arial, sans-serif; font-size: 44px; font-weight: 700; color: var(--sage-light); line-height: 1; letter-spacing: -1.5px; }
.step-icon { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(168,188,158,0.55); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.4s, border-color 0.4s; }
.step-card:hover .step-icon { background: rgba(168,188,158,0.18); border-color: var(--sage-light); }
.step-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--sage-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; letter-spacing: -0.3px; color: var(--white); margin-bottom: 12px; line-height: 1.18; }
.step-card p { font-size: 14.5px; font-weight: 300; color: rgba(232,240,222,0.92); line-height: 1.7; }
.step-card p strong { color: var(--sage-light); font-weight: 500; }
@media(max-width:900px){ .steps-grid { grid-template-columns: 1fr; } .steps-bottom { grid-template-columns: 1fr; } .step-card { min-height: 240px; } .step-card h3 { font-size: 23px; } }

/* ===== NATURE QUOTE ===== */
.sec-quote { height: auto; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; text-align: center; padding: 100px 8vw; }
.sec-quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sec-quote::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,43,30,0.45), rgba(27,43,30,0.58)); }
.quote-content { position: relative; z-index: 2; color: white; max-width: 820px; }
.quote-mark { font-family: var(--font-serif); font-size: 110px; font-weight: 400; color: rgba(168,188,158,0.42); line-height: 0.5; margin-bottom: 12px; display: block; }
.quote-text { font-family: var(--font-hand); font-size: clamp(26px, 3.8vw, 42px); font-weight: 600; line-height: 1.28; margin-bottom: 18px; }
.quote-author { font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; opacity: 0.65; margin-bottom: 32px; }
.quote-sub { font-size: 15px; font-weight: 300; line-height: 1.85; opacity: 0.9; max-width: 640px; margin: 0 auto; }
@media(max-width:900px){ .quote-text { font-size: 26px; } .sec-quote { padding: 80px 6vw; } .quote-mark { font-size: 80px; } }

/* ===== POUR QUI ===== */
.sec-who { background: var(--parchment); padding: 120px 8vw; }
.who-header { max-width: 1200px; margin: 0 auto 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.who-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.who-header h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; letter-spacing: -1px; color: var(--forest); line-height: 1.08; }
.who-header p { font-size: 15px; line-height: 1.82; color: #4a5a45; font-weight: 300; }
.who-cards { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.who-card { position: relative; overflow: hidden; border-radius: 60px 18px 60px 18px; min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px 44px; color: white; cursor: none; transition: border-radius 0.7s ease, transform 0.5s ease; }
.who-card:hover { border-radius: 28px; transform: translateY(-7px); }
.who-card.young { background: url("/.netlify/images?url=/ancrage/assets/ancrage-pourqui-youngadulte.jpg&w=1600") center/cover; }
.who-card.org { background: url("/.netlify/images?url=/ancrage/assets/ancrage-pourqui-institution.jpg&w=1600") center/cover; }

/* Darker overlay so text reads cleanly over the bright photos */
.who-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,43,30,0.92) 0%,
    rgba(27,43,30,0.65) 50%,
    rgba(27,43,30,0.45) 100%
  );
  z-index: 0; transition: background 0.5s;
}
.who-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(27,43,30,0.85) 0%,
    rgba(27,43,30,0.55) 50%,
    rgba(27,43,30,0.35) 100%
  );
}

.who-card-inner { position: relative; z-index: 2; }
.who-badge { display: inline-block; font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; padding: 7px 16px; border-radius: 22px; background: rgba(168,188,158,0.22); backdrop-filter: blur(10px); margin-bottom: 16px; }
.who-card h3 { font-family: var(--font-serif); font-size: clamp(24px, 2.8vw, 34px); font-weight: 500; letter-spacing: -0.3px; line-height: 1.18; margin-bottom: 18px; }
.who-card p { font-size: 14px; font-weight: 300; line-height: 1.78; opacity: 0.92; margin-bottom: 26px; }
.who-card p strong { color: var(--sage-light); font-weight: 500; }
.who-list { list-style: none; margin: 14px 0 22px; }
.who-list li { padding: 6px 0 6px 22px; position: relative; font-size: 14px; line-height: 1.7; opacity: 0.9; font-weight: 300; }
.who-list li::before { content: '→'; position: absolute; left: 0; top: 6px; color: var(--sage-light); font-weight: 500; }
.who-list li strong { color: var(--sage-light); font-weight: 500; }
.who-card-btn { display: inline-block; font-family: "Poppins", Arial, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 11px 26px; border-radius: 26px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.24); text-decoration: none; color: white; transition: all 0.4s; }
.who-card:hover .who-card-btn { background: white; color: var(--forest); border-color: transparent; }
@media(max-width:900px){ .who-header { grid-template-columns: 1fr; } .who-cards { grid-template-columns: 1fr; } .who-card { border-radius: 38px 12px 38px 12px; padding: 34px 26px; min-height: 460px; } }

/* ===== POPUPS ===== */
.popup { position: fixed; inset: 0; background: rgba(27,43,30,0.68); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; z-index: 9999; padding: 80px 0 30px; box-sizing: border-box; overflow-y: auto; }
.popup[aria-hidden="false"] { display: flex; }
.popup-content { background: var(--parchment); width: 92%; max-width: 1100px; border-radius: 46px 14px 46px 14px; padding: 54px 50px; position: relative; max-height: calc(100vh - 110px); overflow-y: auto; }
.popup-close { position: absolute; top: 22px; right: 26px; font-size: 20px; cursor: none; color: var(--sage); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(110,122,104,0.3); background: transparent; transition: all 0.3s; }
.popup-close:hover { background: var(--forest); color: white; border-color: transparent; }
.popup-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.popup-content h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.8px; color: var(--forest); margin-bottom: 12px; }
.popup-intro { font-size: 15px; font-weight: 300; color: #4a5a45; line-height: 1.68; margin-bottom: 26px; }
.scroll-hint { font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); text-align: right; margin-bottom: 18px; opacity: 0.7; }
.carousel { overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.carousel::-webkit-scrollbar { height: 3px; }
.carousel::-webkit-scrollbar-track { background: rgba(110,122,104,0.1); border-radius: 2px; }
.carousel::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 2px; }
.track { display: flex; gap: 20px; }
.pop-card { width: 300px; min-width: 300px; height: 420px; border-radius: 48% 14px 48% 14px; position: relative; flex: 0 0 300px; scroll-snap-align: start; display: flex; align-items: flex-end; padding: 22px; box-sizing: border-box; color: white; overflow: hidden; transition: border-radius 0.6s ease; }
.pop-card:hover { border-radius: 28px; }
.pop-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,43,30,0.82) 0%, rgba(27,43,30,0.08) 60%); border-radius: inherit; }
.pop-card .card-content { position: relative; z-index: 2; }
.pop-card .card-pre { font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; opacity: 0.85; margin-bottom: 8px; }
.pop-card h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; letter-spacing: -0.2px; margin-bottom: 8px; line-height: 1.2; }
.pop-card p { font-size: 13px; font-weight: 300; line-height: 1.6; margin-bottom: 14px; opacity: 0.88; }
.pop-card .card-btn { display: inline-block; font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; padding: 7px 16px; border-radius: 18px; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s; }
.pop-card:hover .card-btn { background: white; color: var(--forest); }
@media(max-width:900px){ .popup { padding-top: 60px; } .popup-content { padding: 34px 22px; border-radius: 30px 10px 30px 10px; max-height: calc(100vh - 80px); } .pop-card { width: 220px; min-width: 220px; flex: 0 0 220px; height: 360px; } .popup-content h2 { font-size: 24px; } }

/* ===== FUNDING READINESS ===== */
.position-note { background: var(--forest); color: white; padding: 86px 8vw; }
.position-inner { max-width: 1100px; margin: 0 auto; }
.position-note .work-label { color: var(--sage-light); }
.position-note h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(28px, 4vw, 50px); line-height: 1.1; letter-spacing: -1px; margin: 14px 0 22px; max-width: 850px; }
.position-note p { max-width: 850px; font-size: 15px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.82); margin-bottom: 14px; }
.dossier-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.dossier-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(42,61,46,0.28); border-radius: 28px; background: var(--forest); color: white; padding: 13px 22px; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .3s, background .3s, color .3s; }
.dossier-button:hover { transform: translateY(-3px); background: var(--sage); }
.position-note .dossier-button { background: var(--mist); color: var(--forest); border-color: transparent; }
.position-note .dossier-button:hover { background: white; }
.dossier-button.secondary { background: transparent; color: var(--forest); border-color: rgba(42,61,46,0.28); }
.dossier-button.secondary:hover { background: var(--forest); color: white; }
.evaluation-section { background: var(--parchment); padding: 96px 8vw; }
.evaluation-inner { max-width: 1100px; margin: 0 auto; }
.evaluation-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.evaluation-inner h2 { font-family: "Poppins", Arial, sans-serif; color: var(--forest); font-size: clamp(28px, 4vw, 48px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
.evaluation-intro { max-width: 740px; color: #4a5a45; font-size: 15px; font-weight: 300; line-height: 1.8; }
.evaluation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.evaluation-card { border: 1px solid rgba(42,61,46,0.13); background: rgba(255,255,255,0.48); padding: 24px 20px; min-height: 180px; border-radius: 26px 8px 26px 8px; }
.evaluation-card strong { display: block; color: var(--forest); font-family: "Poppins", Arial, sans-serif; font-size: 14px; margin-bottom: 10px; }
.evaluation-card p { color: #4a5a45; font-size: 13px; line-height: 1.65; font-weight: 300; }
.dossier-popup .popup-content { max-width: 1160px; }
.dossier-popup .popup-intro { max-width: 850px; }
.dossier-language-note { color: var(--sage); font-size: 11px; letter-spacing: .4px; margin: -12px 0 24px; }
.dossier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dossier-block { border: 1px solid rgba(42,61,46,0.12); background: rgba(255,255,255,0.48); border-radius: 22px 7px 22px 7px; padding: 22px 22px 20px; }
.dossier-block.wide { grid-column: 1 / -1; }
.dossier-block h3 { color: var(--forest); font-family: "Poppins", Arial, sans-serif; font-size: 15px; margin-bottom: 10px; }
.dossier-block p, .dossier-block li { color: #4a5a45; font-size: 13px; font-weight: 300; line-height: 1.7; }
.dossier-block ul { padding-left: 18px; margin: 0; }
.dossier-block li + li { margin-top: 5px; }
.dossier-callout { border-left: 3px solid var(--sage-light); padding-left: 14px; margin-top: 12px; }
.evaluation-note { color: var(--sage) !important; font-size: 11px !important; font-style: italic; margin-top: 14px; }
@media(max-width:900px){ .evaluation-grid { grid-template-columns: repeat(2, 1fr); } .dossier-grid { grid-template-columns: 1fr; } .dossier-block.wide { grid-column: auto; } }
@media(max-width:560px){ .position-note, .evaluation-section { padding: 68px 7vw; } .evaluation-grid { grid-template-columns: 1fr; } .dossier-actions { flex-direction: column; align-items: stretch; } .dossier-button { text-align: center; } }

/* ===== TEAM ===== */
.sec-team { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); padding: 120px 8vw; color: white; overflow: hidden; }
.sec-team img { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; z-index: 0; transform: translateY(var(--team-parallax, 0px)); will-change: transform; }
.sec-team::after { content: ''; position: absolute; inset: 0; background: rgba(27,43,30,0.62); z-index: 1; }
.team-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; text-align: center; }
.team-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage-light); opacity: 0.9; margin-bottom: 14px; }
.team-inner h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(30px, 4.2vw, 54px); font-weight: 700; letter-spacing: -1px; margin-bottom: 66px; line-height: 1.1; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.team-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(12px); border: 1px solid rgba(168,188,158,0.16); border-radius: 38px 10px 38px 10px; padding: 38px 32px; text-align: left; transition: all 0.5s ease; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; }
.team-card:hover { transform: translateY(-7px); background: rgba(255,255,255,0.1); border-color: rgba(168,188,158,0.32); border-radius: 28px; }
.team-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; letter-spacing: -0.2px; margin-bottom: 12px; line-height: 1.2; }
.team-card p { font-size: 14px; font-weight: 300; line-height: 1.7; opacity: 0.88; }
.team-link { display: inline-block; margin-top: 20px; font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; padding: 9px 18px; border-radius: 18px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); text-decoration: none; color: var(--sage-light); opacity: 0; transform: translateY(7px); transition: all 0.32s ease; }
.team-card:hover .team-link { opacity: 1; transform: translateY(0); }
.team-link:hover { background: white; color: var(--forest); }
@media(max-width:900px){ .team-grid { grid-template-columns: 1fr; } .team-inner h2 { font-size: 28px; } .team-card { min-height: auto; border-radius: 28px 8px 28px 8px; } .team-link { opacity: 1; transform: none; } }

/* ===== CONTACT ===== */
.sec-contact { background: var(--warm); padding: 120px 8vw; text-align: center; position: relative; overflow: hidden; }
.sec-contact::before { content: ''; position: absolute; bottom: -100px; right: -100px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(110,122,104,0.09) 0%, transparent 65%); pointer-events: none; }
.contact-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.contact-eyebrow { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); margin-bottom: 22px; }
.contact-inner h2 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(32px, 4.8vw, 58px); font-weight: 700; letter-spacing: -1.5px; color: var(--forest); line-height: 1.1; margin-bottom: 26px; }
.contact-inner p { font-size: 15px; font-weight: 300; color: #4a5a45; line-height: 1.82; margin-bottom: 50px; }
.contact-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 38px; }
.contact-path { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.contact-path-label { font-family: "Poppins", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); }
.contact-link { display: inline-block; font-family: "Poppins", Arial, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 1px; padding: 15px 38px; border-radius: 40px; background: transparent; border: 1.5px solid rgba(42,61,46,0.22); color: var(--forest); text-decoration: none; min-width: 230px; transition: all 0.48s cubic-bezier(0.34, 1.56, 0.64, 1); }
.contact-link:hover { background: var(--forest); color: var(--mist); border-color: var(--forest); transform: translateY(-3px) scale(1.03); }
.contact-email { font-family: var(--font-serif); font-size: 15px; color: var(--sage); font-weight: 400; }
@media(max-width:900px){ .contact-paths { grid-template-columns: 1fr; } .contact-link { min-width: auto; width: 100%; max-width: 270px; } }

/* ===== FOOTER ===== */
.footer { background: var(--deep); padding: 86px 8vw 52px; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(110,122,104,0.38), transparent); }
.footer::after { content: 'WILD RESPONSE'; position: absolute; right: -4vw; bottom: 18px; color: rgba(214,226,204,0.035); font-size: clamp(62px, 12vw, 170px); font-weight: 800; line-height: .8; pointer-events: none; }
.footer-links { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mist); font-weight: 500; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--sage); }
.footer-links a:hover { color: white; text-decoration-color: currentColor; }
.footer-bottom { max-width: 1320px; margin: 44px auto 0; position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: rgba(214,226,204,.76); font-size: 12px; line-height: 1.5; }
.footer-bottom a { text-underline-offset: .25em; }
@media(max-width:720px){ .footer { padding: 54px 7vw 40px; } .footer-links { align-items: flex-start; flex-direction: column; gap: 0; } }
.art-ancrage-step1 { background-image:url("/.netlify/images?url=/ancrage/assets/ancrage-step1.png&w=492"); }
.art-ancrage-step2 { background-image:url("/.netlify/images?url=/ancrage/assets/ancrage-step2.png&w=492"); }
.art-ancrage-step3 { background-image:url("/.netlify/images?url=/ancrage/assets/ancrage-step3.png&w=492"); }
.art-ancrage-step4 { background-image:url("/.netlify/images?url=/ancrage/assets/ancrage-step4.png&w=492"); }
.art-ancrage-step5 { background-image:url("/.netlify/images?url=/ancrage/assets/ancrage-step5.png&w=492"); }
.pop-card.art-ancrage-immersion { background:url("/.netlify/images?url=/ancrage/assets/ancrage-immersion.jpg&w=1600") center/cover; }
.pop-card.art-ancrage-nature { background:url("/.netlify/images?url=/ancrage/assets/ancrage-nature.jpg&w=1600") center/cover; }
.pop-card.art-ancrage-group { background:url("/.netlify/images?url=/ancrage/assets/ancrage-group.jpg&w=1500") center/cover; }
.pop-card.art-nature-1 { background:url("/.netlify/images?url=/ancrage/assets/nature-1.jpg&w=1600") center/cover; }
.pop-card.art-ancrage-journey { background:url("/.netlify/images?url=/ancrage/assets/ancrage-journey.jpg&w=1600") center/cover; }
.pop-card.art-ancrage-step3 { background:url("/.netlify/images?url=/ancrage/assets/ancrage-step3.png&w=492") center/cover; }
.pop-card.art-ancrage-step5 { background:url("/.netlify/images?url=/ancrage/assets/ancrage-step5.png&w=492") center/cover; }

/* The film, photographic panels and type scale follow the original ANCRAGE page. */
.hero { background: #243828 url("/.netlify/images?url=/ancrage/film-poster.jpg&w=1280") center/cover; }
.hero h1 .accent { max-width: 21em; line-height: 1.12; }
.hero::after { background: linear-gradient(100deg,rgba(16,29,21,.52),rgba(16,29,21,.14) 70%,rgba(16,29,21,.32)); }
.film-toggle { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: transparent; color: white; }
.hero video[hidden], .film-toggle[hidden] { display: none; }
.film-toggle span { position: absolute; left: 24px; bottom: 12px; padding: .4em .8em; background: #243828; border-radius: 2em; opacity: 0; }
.film-toggle:focus-visible { outline-offset: -5px; }
.film-toggle:focus-visible span { opacity: 1; }
.lang-toggle a { display: grid; place-items: center; min-width: 36px; min-height: 32px; padding: 0 .5rem; color: #314338; border-radius: 2rem; text-decoration: none; font-weight: 700; font-size: 12px; }
.lang-toggle a[aria-current] { background: #465f41; color: white; }
.header:not(.scrolled) .logo { color: white; text-shadow: 0 1px 5px #192820; }
.header:not(.scrolled) .logo-text { color: inherit; }
.header:not(.scrolled) .menu-btn span { background: white; }
:focus-visible { outline: 3px solid #c9852c; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: .7rem 1rem; background: white; color: #223528; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
#partenariat, #contact-jeunes, #contact-institutions, #cadre { scroll-margin-top: 90px; }
html:not(.reveal-ready) :is(.reveal,.reveal-left), .reveal:focus-within, .reveal-left:focus-within { opacity: 1; transform: none; }
dialog:not([open]) { display: none; }
dialog[open] { width: 100%; max-width: none; height: 100%; max-height: none; border: 0; margin: 0; }
dialog::backdrop { background: transparent; }
dialog.popup[open], dialog.nav-overlay[open] { display: flex; }
dialog.nav-overlay[open], dialog.nav-overlay[open] a { transform: none; opacity: 1; }
dialog.nav-overlay[open] { padding-block: 60px; overflow: auto; }
.nav-close { position: absolute; right: 5vw; top: 18px; background: transparent; border: 1px solid currentColor; border-radius: 50%; width: 44px; height: 44px; color: white; font: 28px/1 sans-serif; }
.dialog-open { overflow: hidden; }
.popup-content { overscroll-behavior: contain; }
.popup-content h2 { padding-right: 36px; }
.dossier-block p + p { margin-top: .65rem; }
.pop-card .card-btn { color: white; text-decoration: none; }
.pop-card:hover .card-btn, .pop-card .card-btn:focus { color: var(--forest); background: white; }
.photo-note { position: absolute; bottom: 1rem; left: 1rem; z-index: 3; padding: .25rem .65rem; background: rgba(30,45,33,.78); color: white; border-radius: 1rem; font-size: 11px; }
body, .who-card, .door-main, .door-small { cursor: auto; }
a, button, .menu-btn, .btn-primary, .btn-glass, .door-btn, .popup-close { cursor: pointer; }
.cursor, .cursor-ring { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .custom-pointer body:not(.dialog-open), .custom-pointer body:not(.dialog-open) :is(a,button) { cursor: none; }
  .custom-pointer body:not(.dialog-open) :is(.cursor,.cursor-ring) { display: block; }
  .cursor-ring.over-link { transform: translate(-50%,-50%) scale(1.55); }
}
@media (max-width: 720px) {
  .hero { height: auto; min-height: min(90svh,760px); padding: 105px 24px 75px; }
  .hero-buttons { gap: 9px; }
  .hero-sub { margin-bottom: 22px; }
  .who-header > *, .doors-header > *, .steps-header > *, .special-inner > *, .work-grid > *, .footer-col { min-width: 0; }
  .door-main, .door-small { height: auto; min-height: 290px; padding: 30px 22px; }
  .door-tags { flex-wrap: wrap; }
  .nav-overlay a { font-size: clamp(26px,6vw,40px); }
  .special-ribbon { max-width: 90%; }
}
@media (max-width: 540px) { .header .logo-text { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .hero-brand, .hero h1, .hero-sub, .hero-buttons, .reveal, .reveal-left { opacity: 1; transform: none; }
  .sec-team img { transform: none; }
}
.team-card:focus-within .team-link { opacity: 1; transform: none; }

/* Immersion photograph and its day-by-day programme. */
.immersion-feature .door-content { position: static; max-width: 38rem; }
.immersion-feature h2 { margin-bottom: 12px; font: 500 clamp(32px, 5vw, 58px)/1.08 var(--font-serif); }
.immersion-feature .door-desc { margin-bottom: 22px; font-size: 16px; }
.immersion-feature .door-btn { backdrop-filter: none; }
.immersion-feature .door-btn::after { content: ""; position: absolute; inset: 0; }
.immersion-feature:focus-within { outline: 3px solid #c9852c; outline-offset: 4px; }
.immersion-popup .popup-content { max-width: 850px; }
.immersion-days { padding: 0; margin: 0; list-style: none; }
.immersion-days li { padding: 18px 0; border-top: 1px solid rgba(42,61,46,.18); }
.immersion-popup h3 { margin: 0 0 7px; color: var(--forest); font: 500 clamp(20px,3vw,26px)/1.2 var(--font-serif); }
.immersion-days p, .shorter-immersion p { color: #43523f; font-size: 15px; line-height: 1.65; }
.shorter-immersion { padding: 18px 22px; margin-top: 10px; background: var(--mist); border-radius: 20px 6px; }
