/* =========================================================
   DERICE — v5 « MODERNE AUDACIEUX »
   Teal vif / dégradés / formes organiques / mouvement
   ========================================================= */

:root {
  --teal: #21a6a5;
  --teal-bright: #2dd4cf;
  --teal-deep: #167a79;
  --ink: #0e1b1a;
  --ink-soft: #13231f;
  --lime: #d9f441;
  --paper: #f4fbfa;
  --white: #ffffff;
  --grey: #5d6f6d;
  --line: rgba(33, 166, 165, 0.16);

  --grad-teal: linear-gradient(120deg, #21a6a5 0%, #2dd4cf 100%);
  --grad-mesh: radial-gradient(circle at 12% 18%, rgba(45, 212, 207, 0.35), transparent 45%),
    radial-gradient(circle at 88% 8%, rgba(33, 166, 165, 0.28), transparent 40%),
    radial-gradient(circle at 70% 90%, rgba(217, 244, 65, 0.16), transparent 45%);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 48px;

  --shadow-teal: 0 24px 60px -22px rgba(33, 166, 165, 0.55);
  --shadow-soft: 0 18px 50px -28px rgba(14, 27, 26, 0.45);

  --font: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- Typo ---------- */
h1, h2, h3 { line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-teal);
}
.eyebrow.on-dark { color: var(--teal-bright); }

.grad-text {
  background: var(--grad-teal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: 0.97rem; cursor: pointer;
  border: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--grad-teal); color: #042524; box-shadow: var(--shadow-teal); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -20px rgba(45, 212, 207, 0.7); }
.btn-lime { background: var(--lime); color: #1b260b; box-shadow: 0 18px 44px -18px rgba(217, 244, 65, 0.8); }
.btn-lime:hover { transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost.on-dark { color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-3px); }
.btn-ghost.on-dark:hover { color: var(--teal-bright); border-color: var(--teal-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 250, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 40px -28px rgba(14, 27, 26, 0.4);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  font-weight: 600; font-size: 0.95rem; padding: 0.5rem 0.9rem;
  border-radius: 999px; color: var(--ink); transition: background 0.25s, color 0.25s;
}
.nav-links a:hover { background: rgba(33, 166, 165, 0.1); color: var(--teal-deep); }
.nav-links a.active { background: var(--ink); color: var(--white); }
.nav-cta { margin-left: 0.4rem; }

.burger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 8px;
}
.burger span {
  width: 26px; height: 2.5px; background: var(--ink); border-radius: 3px;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 49;
  background: var(--paper); border-bottom: 1px solid var(--line);
  display: grid; gap: 0.3rem; padding: 1.2rem 6vw 1.8rem;
  transform: translateY(-120%); transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: 0.9rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(33, 166, 165, 0.12); color: var(--teal-deep); }
.mobile-menu .btn { justify-content: center; margin-top: 0.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--grad-mesh), var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); margin: 1.2rem 0; }
.hero-lead { font-size: 1.15rem; color: var(--grey); max-width: 46ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-mini {
  display: flex; gap: 2rem; margin-top: 2.6rem; flex-wrap: wrap;
}
.hero-mini .num { font-size: 1.7rem; font-weight: 800; color: var(--teal-deep); }
.hero-mini .lbl { font-size: 0.82rem; color: var(--grey); }

/* Hero visual blob + duotone */
.hero-visual { position: relative; }
.blob {
  position: relative; aspect-ratio: 1 / 1.08;
  border-radius: 46% 54% 58% 42% / 48% 40% 60% 52%;
  overflow: hidden;
  box-shadow: var(--shadow-teal);
  animation: morph 14s ease-in-out infinite;
}
.blob img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: luminosity;
}
.blob::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(150deg, rgba(33, 166, 165, 0.85), rgba(45, 212, 207, 0.55), rgba(14, 27, 26, 0.5));
  mix-blend-mode: color;
}
.blob::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, transparent 40%, rgba(14, 27, 26, 0.4));
}
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 48% 40% 60% 52%; }
  50% { border-radius: 58% 42% 44% 56% / 56% 58% 42% 44%; }
}
.blob-badge {
  position: absolute; z-index: 3; bottom: 6%; left: -6%;
  background: var(--white); border-radius: var(--r-md);
  padding: 0.9rem 1.2rem; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 0.8rem;
}
.blob-badge img { height: 38px; width: auto; border-radius: 8px; }
.blob-badge b { display: block; font-size: 0.95rem; }
.blob-badge span { font-size: 0.78rem; color: var(--grey); }
.float-chip {
  position: absolute; z-index: 3; top: 4%; right: -2%;
  background: var(--lime); color: #1b260b; font-weight: 700;
  padding: 0.55rem 1.1rem; border-radius: 999px; font-size: 0.85rem;
  box-shadow: 0 14px 36px -16px rgba(217, 244, 65, 0.9);
}

/* deco floating shapes */
.deco { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; z-index: 0; pointer-events: none; }
.deco-1 { width: 80px; height: 80px; background: var(--grad-teal); top: 10%; left: 4%; }
.deco-2 { width: 40px; height: 40px; background: var(--lime); bottom: 14%; left: 38%; opacity: 0.7; }

/* ---------- Section shells ---------- */
section { position: relative; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-teal { background: var(--grad-teal); color: #042524; }
.sec-head { max-width: 60ch; margin-bottom: 3rem; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 1rem 0 1rem; }
.sec-head p { color: var(--grey); font-size: 1.08rem; }
.section-dark .sec-head p { color: rgba(244, 251, 250, 0.72); }

/* ---------- Métiers cards ---------- */
.metiers {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}
.metier-card {
  position: relative; background: var(--white); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  overflow: hidden;
}
.metier-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 70%; height: 70%;
  background: var(--grad-teal); opacity: 0; border-radius: 50%;
  filter: blur(40px); transition: opacity 0.4s; z-index: 0;
}
.metier-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-teal); border-color: transparent; }
.metier-card:hover::after { opacity: 0.18; }
.metier-card > * { position: relative; z-index: 1; }
.metier-ico {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(33, 166, 165, 0.1); margin-bottom: 1.2rem;
  transition: transform 0.4s var(--ease);
}
.metier-ico img { width: 38px; height: 38px; }
.metier-card:hover .metier-ico { transform: rotate(-6deg) scale(1.06); }
.metier-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.metier-card p { color: var(--grey); font-size: 0.95rem; }
.metier-num {
  position: absolute; top: 1.3rem; right: 1.5rem; font-weight: 800;
  font-size: 0.85rem; color: var(--teal); opacity: 0.6;
}

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stat .num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; }
.stat .num .suf { color: var(--lime); }
.stat .lbl { font-size: 0.92rem; opacity: 0.8; margin-top: 0.3rem; }

/* ---------- Atouts ---------- */
.atouts { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.atout-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.atout-item {
  display: flex; gap: 1.1rem; padding: 1.3rem 1.5rem; background: var(--white);
  border-radius: var(--r-md); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.atout-item:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.atout-item .ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-teal);
  display: grid; place-items: center; color: #042524; font-weight: 800;
}
.atout-item h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.atout-item p { font-size: 0.92rem; color: var(--grey); }
.atout-visual .blob { aspect-ratio: 1 / 1; box-shadow: var(--shadow-soft); }

/* ---------- Réalisations preview / gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.gal-tile {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; background: var(--ink-soft);
  border: 1px solid var(--line);
}
.gal-tile.span-2 { grid-column: span 2; aspect-ratio: 16 / 9; }
.gal-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.85);
}
.gal-tile.placeholder { background: var(--grad-teal); }
.gal-tile.placeholder .ph-ico {
  position: absolute; top: 1.3rem; right: 1.3rem; width: 50px; height: 50px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.25); display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.gal-tile.placeholder .ph-ico img { width: 30px; height: 30px; filter: none; }
.gal-tile .gal-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; z-index: 2;
  background: linear-gradient(to top, rgba(14, 27, 26, 0.85), transparent 65%);
  transition: background 0.4s;
}
.gal-tile.placeholder .gal-overlay { background: linear-gradient(to top, rgba(14, 27, 26, 0.55), transparent 70%); }
.gal-tile .gal-cat { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-bright); font-weight: 700; }
.gal-tile .gal-title { color: var(--white); font-size: 1.25rem; font-weight: 800; margin-top: 0.2rem; }
.gal-tile:hover img { transform: scale(1.08); filter: saturate(1.1); }
.gal-tile:hover .gal-overlay { background: linear-gradient(to top, rgba(14, 27, 26, 0.9), rgba(33, 166, 165, 0.25) 60%, transparent); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.filter-btn {
  padding: 0.6rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: all 0.3s var(--ease); color: var(--ink);
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal-deep); }
.filter-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Recrutement CTA ---------- */
.recrut {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(3rem, 6vw, 5rem);
  background: var(--ink); color: var(--paper);
}
.recrut::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 140%;
  background: var(--grad-teal); opacity: 0.18; filter: blur(60px); border-radius: 50%;
}
.recrut::after {
  content: ""; position: absolute; inset: auto auto -30% -10%; width: 45%; height: 90%;
  background: var(--lime); opacity: 0.1; filter: blur(60px); border-radius: 50%;
}
.recrut-inner { position: relative; z-index: 1; max-width: 720px; }
.recrut h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); margin: 1rem 0 1.2rem; }
.recrut p { color: rgba(244, 251, 250, 0.78); font-size: 1.1rem; margin-bottom: 2rem; max-width: 56ch; }
.recrut-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.recrut-tags span {
  padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: rgba(45, 212, 207, 0.14); color: var(--teal-bright); border: 1px solid rgba(45, 212, 207, 0.3);
}

/* ---------- Contact band CTA ---------- */
.cta-band {
  border-radius: var(--r-xl); padding: clamp(2.6rem, 5vw, 4rem);
  background: var(--grad-teal); color: #042524; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta-band p { font-size: 1.1rem; margin-bottom: 1.8rem; opacity: 0.85; }
.cta-band .btn-group { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.field { margin-bottom: 1.2rem; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 0; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.95rem 1.1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--paper); font-family: inherit;
  font-size: 0.97rem; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 4px rgba(33, 166, 165, 0.12);
}
.form-success {
  display: none; align-items: center; gap: 0.9rem; margin-top: 1.2rem;
  padding: 1.1rem 1.3rem; border-radius: var(--r-md);
  background: rgba(33, 166, 165, 0.1); border: 1px solid var(--teal);
  color: var(--teal-deep); font-weight: 600;
}
.form-success.show { display: flex; animation: pop 0.5s var(--ease); }
.form-success .ck {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-teal);
  display: grid; place-items: center; color: #042524; font-weight: 800;
}
@keyframes pop { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { display: grid; gap: 1rem; }
.info-item {
  display: flex; gap: 1rem; padding: 1.3rem 1.5rem; background: var(--white);
  border-radius: var(--r-md); border: 1px solid var(--line);
}
.info-item .ic { flex: none; width: 44px; height: 44px; border-radius: 13px; background: rgba(33, 166, 165, 0.1); display: grid; place-items: center; font-size: 1.2rem; }
.info-item h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 0.2rem; }
.info-item p, .info-item a { font-size: 1.05rem; font-weight: 600; }
.info-item a:hover { color: var(--teal-deep); }
.map-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); min-height: 240px; }
.map-card iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }

/* ---------- About ---------- */
.about-hero-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-soft); }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.value-card {
  background: var(--white); border-radius: var(--r-lg); padding: 2rem; border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-teal); }
.value-card .vn { font-size: 2rem; font-weight: 800; color: var(--teal); margin-bottom: 0.6rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--grey); font-size: 0.95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split p { color: var(--grey); margin-bottom: 1rem; }
.section-dark .split p { color: rgba(244, 251, 250, 0.78); }
.split h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 1.2rem; }

/* page hero (interior) */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem); background: var(--grad-mesh), var(--paper); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 1rem 0 1rem; }
.page-hero p { font-size: 1.15rem; color: var(--grey); max-width: 56ch; }
.breadcrumb { font-size: 0.85rem; color: var(--grey); }
.breadcrumb a:hover { color: var(--teal-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(244, 251, 250, 0.7); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.site-footer .brand-f img { height: 40px; background: var(--white); padding: 8px 12px; border-radius: 12px; }
.site-footer p.tagline { margin-top: 1rem; max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.04em; }
.footer-col a, .footer-col p { display: block; font-size: 0.93rem; margin-bottom: 0.55rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--teal-bright); }
.qualibat-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.6rem;
  padding: 0.5rem 0.9rem; border-radius: 999px; background: rgba(45, 212, 207, 0.12);
  border: 1px solid rgba(45, 212, 207, 0.3); color: var(--teal-bright); font-weight: 700; font-size: 0.82rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--teal-bright); font-weight: 600; }

/* ---------- Sticky floating CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.sticky-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sticky-cta .btn { box-shadow: 0 20px 50px -16px rgba(45, 212, 207, 0.75); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .atouts, .contact-grid, .split, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .gal-tile.span-2 { grid-column: span 1; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta.desktop { display: none; }
  .burger { display: flex; }
  .field.row { grid-template-columns: 1fr; gap: 0; }
  .field.row .field { margin-bottom: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
