:root {
  --blue: #1e88e5;
  --blue-dark: #1565c0;
  --blue-soft: #e8f2fd;
  --yellow: #f6b21b;
  --dark: #141414;
  --dark-2: #1f1f1f;
  --text: #2b2f36;
  --muted: #6b7280;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(20, 40, 80, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.15; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.center { text-align: center; }
.muted { color: var(--muted); font-style: italic; }
.accent { color: var(--blue); }
.accent-light { color: var(--yellow); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow.light { color: var(--yellow); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; margin-bottom: 22px; }
.section-title.light { color: var(--white); }
.section-head { margin-bottom: 60px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem 'Poppins', sans-serif;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 30px -10px rgba(30, 136, 229, .7); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 18px 40px -12px rgba(30, 136, 229, .9); }
.btn-ghost { color: var(--dark); border: 2px solid rgba(20, 20, 20, .15); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-block { width: 100%; }
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* ---------- Préchargeur ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--white);
  display: grid; place-content: center; justify-items: center; gap: 26px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo { width: 200px; animation: pulse 1.4s var(--ease) infinite alternate; }
.loader-bar { width: 180px; height: 4px; background: var(--blue-soft); border-radius: 4px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--blue); border-radius: 4px; animation: load 1.1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes pulse { from { transform: scale(.96); opacity: .7; } to { transform: scale(1); opacity: 1; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform-origin: left; transform: scaleX(0);
}

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 20px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.header.scrolled {
  padding: 10px 0; background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); box-shadow: 0 6px 30px -12px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand img { height: 48px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .brand img { height: 40px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a { font: 500 .95rem 'Poppins', sans-serif; position: relative; padding: 6px 0; }
.nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.nav-cta):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--blue); }
.nav-cta { background: var(--dark); color: var(--white); padding: 10px 22px !important; border-radius: 999px; transition: background .3s; }
.nav-cta:hover { background: var(--blue); }
.lang-toggle {
  border: 2px solid var(--blue); background: transparent; color: var(--blue);
  font: 700 .8rem 'Poppins', sans-serif; border-radius: 999px; padding: 6px 12px; cursor: pointer;
  transition: background .3s, color .3s;
}
.lang-toggle:hover { background: var(--blue); color: var(--white); }
.burger { display: none; background: none; border: 0; width: 34px; height: 26px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; height: 3px; width: 100%; background: var(--dark); border-radius: 3px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { top: 22px; }
.burger.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 14s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; background: #bcdcfb; top: -120px; right: -100px; }
.blob-2 { width: 380px; height: 380px; background: #ffe7b0; bottom: -80px; left: -120px; animation-delay: -6s; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.1); } 100% { transform: translate(30px,-20px) scale(.95); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(30,136,229,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; margin-bottom: 24px; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .15s; }
.ready .hero-title .line > span { transform: none; }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-wrap: wrap; align-items: baseline; max-width: 140px; }
.hero-stats strong { font: 800 2.2rem 'Poppins', sans-serif; color: var(--blue); }
.hero-stats span { width: 100%; font-size: .88rem; color: var(--muted); }

.hero-visual { position: relative; height: 560px; }
.hero-card { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); opacity: 0; transform: scale(.85); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.ready .hero-card { opacity: 1; transform: none; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-card:hover img { transform: scale(1.08); }
.hero-card-main { width: 62%; height: 82%; left: 0; top: 6%; border: 6px solid var(--white); }
.hero-card-small { width: 56%; height: 34%; right: 0; top: 0; transition-delay: .25s; border: 6px solid var(--white); }
.hero-card-tall { width: 34%; height: 50%; right: 4%; bottom: 0; transition-delay: .4s; border: 6px solid var(--white); }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(20,20,20,.3); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Bandeau ---------- */
.ticker { background: var(--blue); color: var(--white); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); }
.ticker-track { display: flex; gap: 36px; width: max-content; animation: marquee 30s linear infinite; font: 600 1.15rem 'Poppins', sans-serif; white-space: nowrap; }
.ticker i { color: var(--yellow); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/4.4; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-exp {
  position: absolute; right: -30px; bottom: 40px;
  background: var(--blue); color: var(--white); padding: 24px 28px; border-radius: 18px; box-shadow: var(--shadow);
}
.about-exp strong { display: block; font: 800 2.4rem 'Poppins', sans-serif; line-height: 1; }
.about-text p { margin-bottom: 16px; color: #4b5563; }
.pillars { display: grid; gap: 16px; margin-top: 30px; }
.pillar { display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: var(--blue-soft); border-radius: 16px; transition: transform .4s var(--ease), background .3s; }
.pillar:hover { transform: translateX(8px); background: #d9eafc; }
.pillar-letter { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: var(--white); font: 700 1.3rem 'Poppins', sans-serif; }
.pillar strong { font-family: 'Poppins', sans-serif; color: var(--dark); font-weight: 600; }

/* ---------- Mission ---------- */
.mission { background: var(--dark); color: #c9ccd2; overflow: hidden; }
.mission::before {
  content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(30,136,229,.35), transparent 65%);
}
.mission-head { max-width: 760px; margin-bottom: 64px; position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 36px 30px; position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.step::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--yellow)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.step:hover { transform: translateY(-8px); border-color: rgba(30,136,229,.5); }
.step:hover::after { transform: scaleX(1); }
.step-num { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; border: 3px solid var(--yellow); color: var(--white); font: 800 1.3rem 'Poppins', sans-serif; margin-bottom: 22px; }
.step h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 10px; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, #f6f9fd, var(--white)); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px;
  border: 1px solid #e6edf6; box-shadow: 0 10px 30px -18px rgba(20,40,80,.25);
  transition: box-shadow .4s, border-color .4s; transform-style: preserve-3d; will-change: transform;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  opacity: 0; transition: opacity .5s var(--ease); z-index: 0;
}
.service-card > * { position: relative; z-index: 1; transition: color .4s; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { box-shadow: 0 30px 60px -25px rgba(30,136,229,.7); border-color: transparent; }
.service-card:hover h3, .service-card:hover li { color: var(--white); }
.service-icon { width: 66px; height: 66px; border-radius: 18px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 24px; transition: background .4s, transform .6s var(--ease); }
.service-card:hover .service-icon { background: rgba(255,255,255,.18); transform: rotate(-8deg) scale(1.08); }
.service-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.service-card:hover .service-icon svg { stroke: var(--white); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.service-card ul { list-style: none; display: grid; gap: 8px; }
.service-card li { padding-left: 22px; position: relative; color: var(--muted); font-size: .94rem; }
.service-card li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ---------- Projet ---------- */
.project-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; margin-bottom: 80px; }
.project-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.project-tag { position: absolute; left: 24px; bottom: 24px; background: var(--blue); color: var(--white); font: 700 1.1rem 'Poppins', sans-serif; padding: 12px 24px; border-radius: 12px; text-transform: uppercase; letter-spacing: .05em; }
.project-text p { color: #4b5563; margin-bottom: 22px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--dark); }
.checks li::before { content: '✓'; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: #f0f4f9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.12) rotate(1deg); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: var(--white);
  font: 600 .95rem 'Poppins', sans-serif; background: linear-gradient(transparent, rgba(10,30,60,.85));
  transform: translateY(30%); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.gallery-item:hover figcaption { transform: none; opacity: 1; }

/* ---------- Éducation ---------- */
.education { background: var(--blue); padding: 90px 0 0; overflow: hidden; }
.education-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.education blockquote { color: var(--white); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.6; padding-bottom: 90px; position: relative; }
.quote-mark { font: 800 7rem/0.6 'Poppins', sans-serif; color: var(--yellow); display: block; margin-bottom: 10px; }
.education-kid { max-height: 380px; margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }

/* ---------- Partenaires ---------- */
.marquee { overflow: hidden; padding: 20px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s, transform .4s var(--ease); mix-blend-mode: multiply; }
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.1); }

/* ---------- CTA ---------- */
.cta { background: var(--dark); padding: 100px 0; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(30,136,229,.35); animation: spin 30s linear infinite; }
.cta::before { width: 500px; height: 500px; left: -150px; top: -250px; border-style: dashed; }
.cta::after { width: 360px; height: 360px; right: -100px; bottom: -180px; border-color: rgba(246,178,27,.4); border-style: dashed; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); max-width: 820px; margin: 0 auto 18px; }
.cta p { color: #b8bcc4; margin-bottom: 34px; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-line { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-weight: 500; color: var(--dark); transition: color .3s; }
a.contact-line:hover { color: var(--blue); }
.contact-ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: transform .4s var(--ease); }
.contact-line:hover .contact-ic { transform: scale(1.1) rotate(-10deg); }
.contact-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--dark); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: var(--dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover svg { stroke: var(--white); }
.handle { margin-left: 8px; font-weight: 600; color: var(--muted); }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: 0 30px 70px -30px rgba(20,40,80,.35); border: 1px solid #e6edf6; }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 10px; border: 2px solid #e3e8ef; border-radius: 14px;
  font: 1rem 'Inter', sans-serif; background: #fafcff; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s; appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,136,229,.12); }
.field label { position: absolute; left: 18px; top: 17px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-12px) scale(.78); color: var(--blue); }
.form-note { margin-top: 14px; text-align: center; font-weight: 500; color: var(--blue); min-height: 1.5em; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #9ca3af; padding: 60px 0 40px; text-align: center; }
.footer-logo { height: 60px; width: auto; margin: 0 auto 18px; filter: brightness(0) invert(1); }
.footer p { margin-bottom: 8px; font-style: italic; }
.footer .copy { font-style: normal; font-size: .88rem; opacity: .7; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--dark); }

/* ---------- Animations d'apparition ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-up {
  opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-up { transform: translateY(120px); }
.in { opacity: 1; transform: none; }
.service-card.in { transition: transform .25s ease-out, box-shadow .4s, border-color .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner, .about-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { height: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-exp { right: 16px; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .lang-toggle { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; background: var(--white); flex-direction: column; justify-content: center; gap: 28px;
    clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); z-index: -1;
  }
  .nav.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav a { font-size: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .education-inner { grid-template-columns: 1fr; }
  .education blockquote { padding-bottom: 0; }
  .education-kid { max-height: 300px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .hero-stats { gap: 24px; }
  .contact-form { padding: 26px 20px; }
  .marquee-track { gap: 50px; }
  .marquee-track img { height: 50px; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-up, .hero-card, .hero-title .line > span { opacity: 1; transform: none; }
}

/* ---------- Méthode ---------- */
.method { background: var(--white); }
.method-track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.method-line { position: absolute; left: 8%; right: 8%; top: 29px; height: 4px; border-radius: 4px; background: var(--blue-soft); }
.method-line span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow)); transition: width .2s linear; }
.method-step { text-align: center; position: relative; }
.method-dot {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 3px solid var(--blue); color: var(--blue); font: 800 1.3rem 'Poppins', sans-serif;
  position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease);
}
.method-step.lit .method-dot { background: var(--blue); color: var(--white); transform: scale(1.08); box-shadow: 0 10px 25px -8px rgba(30,136,229,.7); }
.method-step:hover .method-dot { transform: scale(1.15) rotate(-8deg); }
.method-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.method-step p { font-size: .9rem; color: var(--muted); }

/* ---------- Filtres de la galerie ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.filters button {
  padding: 10px 20px; border-radius: 999px; border: 2px solid #e3e8ef; background: var(--white);
  font: 500 .92rem 'Poppins', sans-serif; color: var(--text); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.filters button:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.filters button.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.gallery-item.in { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: 0s; }
.gallery-item.out { opacity: 0; transform: scale(.85); }
.gallery-item.hide { display: none; }

/* ---------- FAQ ---------- */
.faq { background: #f6f9fd; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.faq-intro p { color: var(--muted); }
.faq-img { margin-top: 30px; border-radius: var(--radius); height: 320px; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border-radius: 18px; border: 1px solid #e6edf6; box-shadow: 0 10px 30px -20px rgba(20,40,80,.25); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.faq-item.open { border-color: var(--blue); box-shadow: 0 20px 40px -22px rgba(30,136,229,.55); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; background: none; border: 0; cursor: pointer; text-align: left; font: 600 1.02rem 'Poppins', sans-serif; color: var(--dark); }
.faq-q i { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--blue-soft); position: relative; transition: transform .5s var(--ease), background .3s; }
.faq-q i::before, .faq-q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: background .3s; }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { transform: rotate(135deg); background: var(--blue); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: var(--white); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Carte ---------- */
.map { margin-top: 60px; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; left: 24px; bottom: 24px; z-index: 90; height: 56px; padding: 0 16px; border-radius: 999px;
  display: flex; align-items: center; gap: 0; background: #25d366; color: var(--white); font: 600 .95rem 'Poppins', sans-serif;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); overflow: hidden; transition: gap .4s var(--ease), padding .4s var(--ease);
  animation: waPulse 2.5s infinite;
}
.whatsapp svg { width: 26px; height: 26px; fill: var(--white); flex-shrink: 0; }
.whatsapp span { max-width: 0; white-space: nowrap; overflow: hidden; transition: max-width .5s var(--ease); }
.whatsapp:hover { gap: 10px; padding: 0 22px 0 16px; }
.whatsapp:hover span { max-width: 160px; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.7), 0 0 0 14px rgba(37,211,102,0); } }

@media (max-width: 1024px) {
  .method-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .method-line { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-img { display: none; }
}
@media (max-width: 600px) {
  .method-track { grid-template-columns: 1fr 1fr; }
  .map iframe { height: 280px; }
  .whatsapp { left: 16px; bottom: 16px; }
}

/* ---------- Agroalimentaire & industries connexes ---------- */
.agro { background: linear-gradient(135deg, #0b3d91 0%, #1565c0 55%, #1e88e5 100%); color: #dce9fb; overflow: hidden; }
.agro::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.agro::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -220px; border-radius: 50%; border: 2px dashed rgba(246,178,27,.4); animation: spin 40s linear infinite; }
.agro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.agro-text > p { font-size: 1.05rem; margin-bottom: 26px; }
.agro-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 34px; }
.agro-chain span { padding: 9px 18px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: var(--white); font: 600 .92rem 'Poppins', sans-serif; }
.agro-chain i { color: var(--yellow); font-style: normal; font-weight: 700; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.agro-sub { color: var(--white); font-size: 1.2rem; margin-bottom: 14px; }
.agro-goals { list-style: none; display: grid; gap: 10px; }
.agro-goals li { display: flex; gap: 12px; align-items: flex-start; }
.agro-goals li::before { content: '✓'; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--dark); font-size: .8rem; font-weight: 800; margin-top: 1px; }

.agro-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 24px 14px;
  text-align: center; backdrop-filter: blur(6px); cursor: default;
}
.product.in { transition: transform .4s var(--ease), background .4s, box-shadow .4s, opacity 1s var(--ease); transition-delay: 0s; }
.product:hover { background: var(--white); transform: translateY(-8px) scale(1.03); box-shadow: 0 25px 45px -20px rgba(0,0,0,.45); }
.product svg { width: 40px; height: 40px; margin: 0 auto 12px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .6s var(--ease); }
.product:hover svg { stroke: var(--blue); transform: rotate(-10deg) scale(1.15); }
.product h4 { font: 600 .9rem/1.3 'Poppins', sans-serif; color: var(--white); transition: color .4s; }
.product:hover h4 { color: var(--dark); }

@media (max-width: 1024px) {
  .agro-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 600px) {
  .agro-products { grid-template-columns: repeat(2, 1fr); }
}

/* Encart d'appel de la FAQ */
.faq-call {
  display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 16px 20px; border-radius: 18px;
  background: var(--white); border: 1px solid #e6edf6; box-shadow: 0 14px 34px -22px rgba(20,40,80,.35);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.faq-call:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 22px 40px -20px rgba(30,136,229,.55); }
.faq-call-ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: var(--blue); display: grid; place-items: center; animation: ring 2.8s ease-in-out infinite; }
.faq-call-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(6deg); } }
.faq-call-text { display: flex; flex-direction: column; min-width: 0; }
.faq-call-text small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.faq-call-text strong { font: 700 1.25rem 'Poppins', sans-serif; color: var(--dark); white-space: nowrap; transition: color .3s; }
.faq-call:hover strong { color: var(--blue); }
.faq-call-arrow { margin-left: auto; font-size: 1.3rem; color: var(--blue); transition: transform .4s var(--ease); }
.faq-call:hover .faq-call-arrow { transform: translateX(6px); }
