@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

/* ==========================================================================
   Circlesqr — Design tokens (design system v2 : flat, panneaux navy arrondis)
   ========================================================================== */
:root {
  /* Brand core */
  --indigo-500: #5B54F1; --indigo-600: #4a43e0; --indigo-700: #3a34c4;
  --indigo-100: #e8e7fd; --indigo-50: #f4f3fe;
  --violet-500: #8B2FE0;
  --cyan-400: #45E3F2; --cyan-300: #7cecf7; --cyan-100: #d9f9fc; --cyan-600: #17c4d6;
  --navy-950: #0A0E33; --navy-900: #131B4D; --navy-800: #1c2560; --navy-700: #2a3378;

  /* Support accents */
  --amber-400: #F9C846; --amber-100: #fdf0cd;
  --coral-500: #F26B4E; --green-500: #2E9E5B;

  /* Neutrals */
  --white: #ffffff; --gray-25: #fafafc; --gray-50: #f4f5f8; --gray-100: #e9ebf0;
  --gray-200: #d9dce4; --gray-300: #b8bcc9; --gray-400: #8a8fa3;
  --gray-500: #666c82; --gray-600: #4a5065;

  /* Semantic */
  --surface-page: var(--white); --surface-subtle: var(--gray-50);
  --text-heading: var(--navy-900); --text-body: var(--gray-600);
  --text-muted: var(--gray-400); --text-link: var(--indigo-500);
  --border-default: var(--gray-100); --border-strong: var(--gray-200);

  /* Type */
  --font-display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --text-hero: clamp(46px, 5.2vw, 74px);
  --text-display: clamp(34px, 4vw, 48px);
  --leading-tight: 1.08; --leading-body: 1.65;
  --tracking-tight: -0.025em; --tracking-caps: 0.1em;

  /* Space */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --container-max: 1240px; --container-pad: 32px;

  /* Effects — flat : aucun dégradé, aucune transparence décorative */
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 28px;
  --radius-panel: 44px; --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(19,27,77,.08);
  --shadow-md: 0 6px 20px rgba(19,27,77,.10);
  --shadow-lg: 0 16px 48px rgba(19,27,77,.14);
  --shadow-premium: 0 2px 4px rgba(19,27,77,.06), 0 12px 32px rgba(19,27,77,.10), 0 32px 80px rgba(19,27,77,.08);
  --shadow-focus: 0 0 0 3px rgba(91,84,241,.25);
  --ease-brand: cubic-bezier(.22,.9,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.44,1);
  --dur-fast: 150ms; --dur-med: 250ms;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--leading-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 700;
  margin: 0;
}

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

a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-brand); }
a:hover { color: var(--indigo-600); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

.section { padding: var(--space-9) 0; }
.section--subtle { background: var(--gray-25); }

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--navy-900); margin-bottom: var(--space-4);
}
.kicker::before {
  content: ''; width: 14px; height: 14px; flex: none;
  background: var(--cyan-400); border-radius: 50%;
  transition: border-radius .45s var(--ease-spring), transform .45s var(--ease-spring);
}
.kicker--square::before { background: var(--amber-400); border-radius: 0; }
.kicker--inverse { color: #fff; }
.section:hover .kicker::before { border-radius: 0; transform: rotate(90deg); }
.section:hover .kicker--square::before { border-radius: 50%; }

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head h2 { font-size: var(--text-display); margin-bottom: var(--space-4); }
.section-head p { font-size: 17px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--indigo-500); color: #fff; padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-md) 0; z-index: 200; font-weight: 500;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   Boutons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 28px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-brand),
              color var(--dur-fast) var(--ease-brand),
              border-color var(--dur-fast) var(--ease-brand),
              box-shadow var(--dur-med) var(--ease-brand),
              transform var(--dur-fast) var(--ease-brand);
}
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--sm { padding: 11px 22px; font-size: 14px; }

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: scale(.98); }

.btn--primary { background: var(--indigo-500); color: #fff; }
.btn--primary:hover { background: var(--indigo-600); color: #fff; }
.btn--primary:active { background: var(--indigo-700); }

.btn--secondary { background: var(--navy-900); color: #fff; }
.btn--secondary:hover { background: var(--navy-800); color: #fff; }

.btn--accent { background: var(--cyan-400); color: var(--navy-900); }
.btn--accent:hover { background: var(--cyan-300); color: var(--navy-900); }
.btn--accent:active { background: var(--cyan-600); }

.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--gray-50); color: var(--navy-900); }

.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--gray-200); }
.btn--outline:hover { border-color: var(--indigo-500); color: var(--indigo-500); }

.btn .arrow { transition: transform var(--dur-med) var(--ease-spring); }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  transition: box-shadow var(--dur-med) var(--ease-brand);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); height: 84px;
}
.site-header__logo img { height: 26px; width: auto; }

.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav a {
  font-size: 15px; font-weight: 600; color: var(--navy-900);
  position: relative; padding: 4px 0;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 8px; width: 8px;
  border-radius: 50%; background: var(--indigo-500);
  opacity: 0; transform: translateY(4px) scale(.4);
  transition: opacity var(--dur-med) var(--ease-spring), transform var(--dur-med) var(--ease-spring);
}
.site-nav a:hover { color: var(--indigo-500); }
.site-nav a:hover::after { opacity: 1; transform: none; }
.site-nav .btn { display: none; }
.site-nav .btn::after { display: none; }

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: var(--space-2); width: 44px; height: 44px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px;
  margin: 4px auto; transition: transform var(--dur-med) var(--ease-brand),
                                opacity var(--dur-fast) var(--ease-brand);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero — panneau navy arrondi + mosaïque bord à bord
   ========================================================================== */
.hero { background: #fff; padding: var(--space-5) 0 var(--space-9); }
.hero__panel {
  display: flex; border-radius: var(--radius-panel); overflow: hidden;
  background: var(--navy-900);
}
.hero__content {
  flex: 1; min-width: 0; padding: 88px 72px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero__deco {
  position: absolute; left: -44px; bottom: -44px; width: 180px; height: 180px;
  border-radius: 50%; background: var(--indigo-500);
}
.hero__eyebrow {
  position: relative; font-size: 14px; font-weight: 600;
  color: var(--cyan-400); margin-bottom: var(--space-5);
}
.hero h1 {
  position: relative; color: #fff;
  font-size: var(--text-hero); font-weight: 800;
  margin-bottom: var(--space-5);
}
.hero h1 .dot { color: var(--cyan-400); }
.hero__lead {
  position: relative; font-size: 17px; max-width: 420px;
  color: rgba(255,255,255,.65); margin-bottom: var(--space-6);
}
.hero__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* Mosaïque : tuiles pleines sans espacement */
.mosaic {
  flex: none; display: grid;
  grid-template-columns: repeat(3, 112px); grid-auto-rows: 112px; gap: 0;
  align-self: stretch; align-content: center;
}
.mosaic i {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-style: normal;
  opacity: 0; transform: scale(.6);
  animation: tile-in .55s var(--ease-spring) forwards;
}
.mosaic i b { display: block; }
.mosaic i:nth-child(1) { animation-delay: .05s; } .mosaic i:nth-child(2) { animation-delay: .12s; }
.mosaic i:nth-child(3) { animation-delay: .19s; } .mosaic i:nth-child(4) { animation-delay: .26s; }
.mosaic i:nth-child(5) { animation-delay: .33s; } .mosaic i:nth-child(6) { animation-delay: .4s; }
.mosaic i:nth-child(7) { animation-delay: .47s; } .mosaic i:nth-child(8) { animation-delay: .54s; }
.mosaic i:nth-child(9) { animation-delay: .61s; } .mosaic i:nth-child(10) { animation-delay: .68s; }
.mosaic i:nth-child(11) { animation-delay: .75s; } .mosaic i:nth-child(12) { animation-delay: .82s; }

@keyframes tile-in { to { opacity: 1; transform: none; } }

/* Tuile ronde qui se carre au survol de la mosaïque (morph de marque) */
.mosaic b { transition: border-radius .5s var(--ease-spring); }

/* ==========================================================================
   Ruban défilant
   ========================================================================== */
.marquee {
  background: var(--indigo-500); padding: 18px 0;
  overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 32px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: #fff; padding-right: 32px;
}
.marquee__item b {
  width: 12px; height: 12px; display: inline-block;
  background: var(--amber-400); border-radius: 50%;
}
.marquee__item:nth-child(even) b { background: var(--cyan-400); border-radius: 0; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Cartes services
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); position: relative;
  transition: box-shadow var(--dur-med) var(--ease-brand),
              transform var(--dur-med) var(--ease-brand);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--gray-500); }

.card__num {
  position: absolute; top: 24px; right: 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--gray-200);
  transition: color var(--dur-med) var(--ease-brand);
}
.card:hover .card__num { color: var(--indigo-500); }

/* Formes qui morphent au survol de la carte */
.card__shape {
  width: 56px; height: 56px; margin-bottom: 22px;
  transition: border-radius .45s var(--ease-spring), transform .45s var(--ease-spring);
}
.shape--indigo { background: var(--indigo-500); border-radius: 50%; }
.card:hover .shape--indigo { border-radius: 28%; transform: rotate(45deg); }
.shape--cyan { background: var(--cyan-400); border-radius: 0; }
.card:hover .shape--cyan { border-radius: 50%; }
.shape--amber { background: var(--amber-400); border-radius: 50% 50% 0 0; }
.card:hover .shape--amber { border-radius: 0 0 50% 50%; }
.shape--coral { background: var(--coral-500); border-radius: 0 50% 50% 50%; }
.card:hover .shape--coral { border-radius: 50% 0 50% 50%; transform: rotate(-90deg); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }

/* ==========================================================================
   Chiffres
   ========================================================================== */
.stats {
  border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
  padding: 56px 0; background: #fff;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-display); font-weight: 800; font-size: 46px;
  letter-spacing: -0.03em; line-height: 1;
}
.stat__value--indigo { color: var(--indigo-500); }
.stat__value--cyan { color: var(--cyan-600); }
.stat__value--coral { color: var(--coral-500); }
.stat__value--navy { color: var(--navy-900); }
.stat__label { font-size: 14px; color: var(--gray-500); margin-top: 8px; }

/* ==========================================================================
   Expertises
   ========================================================================== */
.exp-card { cursor: default; overflow: hidden; padding: 0; }
.exp-card__visual {
  height: 170px; margin: 16px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  transition: border-radius .5s var(--ease-spring);
}
.exp-card:hover .exp-card__visual { border-radius: var(--radius-md); }
.exp-card__visual b {
  width: 74px; height: 74px; display: block;
  transition: border-radius .5s var(--ease-spring), transform .5s var(--ease-spring);
}
.exp-card:hover .exp-card__visual b { transform: scale(1.15) rotate(90deg); }
.exp-card__body { padding: 4px 24px 24px; }
.exp-card__body h3 { font-size: 17px; margin-bottom: 6px; }
.exp-card__body p { font-size: 14px; }

/* ==========================================================================
   Méthode
   ========================================================================== */
.step {
  display: flex; gap: var(--space-5); align-items: flex-start;
  padding: var(--space-5); border-radius: var(--radius-lg);
  transition: background var(--dur-med) var(--ease-brand);
}
.step:hover { background: var(--gray-25); }
.step__num {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--indigo-50); color: var(--indigo-500);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: border-radius .45s var(--ease-spring),
              background var(--dur-med) var(--ease-brand),
              color var(--dur-med) var(--ease-brand);
}
.step:hover .step__num { border-radius: 28%; background: var(--indigo-500); color: #fff; }
.step h3 { font-size: 18px; margin-bottom: var(--space-2); }
.step p { font-size: 15px; color: var(--gray-500); }

/* ==========================================================================
   Manifeste
   ========================================================================== */
.manifesto { text-align: center; max-width: 780px; margin: 0 auto; }
.manifesto__shapes {
  display: flex; justify-content: center; align-items: center; gap: 0;
  margin-bottom: var(--space-6); height: 88px;
}
.manifesto__shapes b { display: block; transition: transform .6s var(--ease-spring), border-radius .6s var(--ease-spring); }
.manifesto__shapes b:nth-child(1) {
  width: 88px; height: 88px; border-radius: 50%; background: var(--indigo-500);
  margin-right: -22px; position: relative; z-index: 1;
}
.manifesto__shapes b:nth-child(2) { width: 76px; height: 76px; background: var(--cyan-400); }
.manifesto:hover .manifesto__shapes b:nth-child(1) { border-radius: 24%; transform: rotate(45deg); }
.manifesto:hover .manifesto__shapes b:nth-child(2) { border-radius: 50%; transform: scale(1.08); }
.manifesto h2 { font-size: var(--text-display); margin-bottom: var(--space-5); }
.manifesto p { font-size: 18px; max-width: 620px; margin: 0 auto; }

/* ==========================================================================
   Contact — panneau navy arrondi
   ========================================================================== */
.contact { padding: 0 0 var(--space-9); background: #fff; }
.contact__panel {
  background: var(--navy-900); border-radius: var(--radius-panel);
  padding: 80px 72px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center;
}
.contact__deco-1 {
  position: absolute; right: 42%; top: -50px; width: 120px; height: 120px;
  background: var(--violet-500); border-radius: 0 0 50% 50%;
}
.contact__deco-2 {
  position: absolute; left: -50px; bottom: -50px; width: 170px; height: 170px;
  border-radius: 50%; background: var(--indigo-500);
}
.contact__intro { position: relative; }
.contact h2 {
  color: #fff; font-size: clamp(34px, 4vw, 50px);
  margin-bottom: var(--space-5);
}
.contact h2 .mark { color: var(--cyan-400); }
.contact__lead { color: rgba(255,255,255,.65); font-size: 16.5px; max-width: 380px; }
.contact__points { list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.contact__points li {
  color: rgba(255,255,255,.75); font-size: 15px; padding-left: 26px;
  position: relative; margin-bottom: var(--space-3);
}
.contact__points li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-400);
}
.contact__points li:nth-child(even)::before { border-radius: 0; background: var(--amber-400); }

.form-card {
  background: #fff; border-radius: var(--radius-xl); padding: 36px;
  display: flex; flex-direction: column; gap: var(--space-4); position: relative;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy-900); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--navy-900);
  padding: 13px 18px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); background: #fff;
  transition: border-color var(--dur-fast) var(--ease-brand), box-shadow var(--dur-fast) var(--ease-brand);
}
.field textarea { border-radius: var(--radius-lg); resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo-500); box-shadow: var(--shadow-focus);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-300); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.checkbox { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 14px; color: var(--gray-500); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--indigo-500); margin-top: 2px; flex: none; }

.form-status { font-size: 14px; border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.form-status--ok { background: #eaf7ef; color: #1c6b3d; }
.form-status--error { background: #fdeee9; color: #a83b21; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ==========================================================================
   Footer — blanc, logo complet centré
   ========================================================================== */
.site-footer { background: #fff; border-top: 1px solid var(--gray-100); padding: 64px 0 40px; }
.site-footer__logo { display: block; margin: 0 auto; max-width: 280px; width: 50%; height: auto; }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-5); flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--gray-100);
}
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer nav a { font-size: 14px; font-weight: 500; color: var(--gray-500); }
.site-footer nav a:hover { color: var(--indigo-500); }
.site-footer__copy { font-size: 13px; color: var(--gray-400); }

/* ==========================================================================
   Bannière cookies
   ========================================================================== */
.cookie-bar {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 100; width: min(680px, calc(100% - 32px));
  background: var(--navy-900); color: rgba(255,255,255,.8);
  border-radius: var(--radius-lg); padding: 20px 24px;
  box-shadow: var(--shadow-premium);
  display: flex; align-items: center; gap: var(--space-5);
  opacity: 0; transform: translate(-50%, 24px); pointer-events: none;
  transition: opacity .45s var(--ease-brand), transform .45s var(--ease-spring);
}
.cookie-bar.is-visible { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.cookie-bar__dot {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--amber-400);
  animation: cookie-morph 3s var(--ease-spring) infinite alternate;
}
@keyframes cookie-morph { from { border-radius: 50%; } to { border-radius: 22%; transform: rotate(90deg); } }
.cookie-bar__text { font-size: 13.5px; line-height: 1.5; flex: 1; }
.cookie-bar__text a { color: var(--cyan-400); }
.cookie-bar__actions { display: flex; gap: 10px; flex: none; }

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal { padding: var(--space-8) 0 var(--space-9); max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: var(--space-5); }
.legal h2 { font-size: 22px; margin: var(--space-7) 0 var(--space-3); }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: var(--space-5); }
.legal li { margin-bottom: var(--space-2); }
.legal .updated { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-7); }

/* ==========================================================================
   Apparitions au scroll
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-brand), transform .6s var(--ease-brand);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(3, 96px); grid-auto-rows: 96px; }
  .hero__content { padding: 64px 48px; }
  .contact__panel { padding: 64px 48px; gap: 48px; }
}

@media (max-width: 900px) {
  .hero__panel { flex-direction: column; }
  .mosaic {
    grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto;
    width: 100%; align-content: stretch;
  }
  .mosaic i { aspect-ratio: 1; }
  .mosaic i:nth-child(n+7) { display: none; }
  .contact__panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --container-pad: 20px; --radius-panel: 32px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-3) var(--container-pad) var(--space-5);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--gray-50); }
  .site-nav a::after { display: none; }
  .site-nav .btn {
    display: inline-flex; margin-top: var(--space-4);
    justify-content: center; border-bottom: 0;
  }
  .site-header__cta { display: none; }

  .hero__content { padding: 56px 32px; }
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-6); }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: var(--space-8) 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .contact__deco-1 { display: none; }
  .cookie-bar { flex-wrap: wrap; gap: var(--space-3); }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .marquee__item { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .mosaic i { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
