/* fonts.css */
/* Polices hébergées sur le site (Inter et Poppins, licence SIL Open Font License) : aucune requête vers Google. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* variables.css */
/* =====================================================================
   Kentucodia — variables de design
   Toutes les couleurs, tailles et espacements du site sont ici.
   ===================================================================== */
:root {
  /* --- Couleurs de marque --- */
  --navy: #132f5e;            /* bleu marine du logo : titres forts, pied de page, cartes mises en avant */
  --navy-900: #0b1f42;        /* bleu marine profond : fond du hero Dev, dégradés */
  --navy-700: #1b3d78;
  --blue: #1e88e5;            /* bleu vif : barres, icônes actives, bordures de pastilles, éléments décoratifs */
  /*--blue-600: #1976d2; */       /* bleu vif accessible : boutons et liens (contraste 4,6:1 sur blanc) */
  --blue-600: #132f5e;       /* bleu vif accessible : boutons et liens (contraste 4,6:1 sur blanc) */
  --blue-700: #1565c0;        /* survol des boutons */
  --blue-200: #b9d7f6;
  --blue-100: #d6e8fa;        /* bordures légères */
  --blue-50: #eef5fd;         /* sections en bleu très clair */

  /* --- Boutons : dégradé dans le bleu marine du logo --- */
  --btn-gradient: linear-gradient(135deg, #132f5e 0%, #1f4f9a 100%);
  --btn-gradient-hover: linear-gradient(135deg, #0b1f42 0%, #19427f 100%);
  --shadow-btn: 0 10px 24px rgba(19, 47, 94, 0.32);

  /* --- Neutres --- */
  --white: #ffffff;
  --ink: #0f1b2d;             /* titres sur fond blanc */
  --text: #334155;            /* texte courant */
  --muted: #64748b;           /* texte secondaire */
  --border: #e2e8f0;
  --track: #dbe4ef;           /* fond des barres de progression */

  /* --- États --- */
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --success: #16a34a;
  --focus: #1976d2;

  /* --- Typographie --- */
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.875rem;    /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  /*--fs-2xl: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem);*/
  --fs-2xl: 35px;
  --fs-hero: clamp(1.625rem, 1.1rem + 2vw, 2.5rem);
  --lh-tight: 1.2;
  --lh-base: 1.65;

  /* --- Espacements --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --container: 1200px;
  --gutter: 16px;

  /* --- Formes --- */
  /* Angles droits partout ; les éléments ronds (border-radius: 50%) et le logo ne sont pas concernés */
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --radius-pill: 0;
  --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.06), 0 1px 2px rgba(15, 27, 45, 0.04);
  --shadow: 0 6px 24px rgba(15, 27, 45, 0.07);
  --shadow-lg: 0 18px 44px rgba(15, 27, 45, 0.13);
  --shadow-blue: 0 10px 24px rgba(25, 118, 210, 0.28);

  /* --- Composants --- */
  --header-h: 72px;
  --btn-h: 46px;
  --arrow-size: 48px;
  --field-h: 46px;

  /* --- Mouvement --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 150ms;
  --t: 250ms;
  --t-slow: 600ms;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; --arrow-size: 42px; }
}

/* base.css */
/* =====================================================================
   Base : remise à zéro, typographie, composants partagés
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--white);
  padding-top: var(--header-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: var(--lh-tight); margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero :focus-visible, .site-footer :focus-visible, .contact-card :focus-visible, .plan--featured :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: var(--space-4); top: -100px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-3); color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* --- Sections --- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--blue-50); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-7); }
.section-head--split .section-head__intro { max-width: 460px; }
.section-head__intro { color: var(--muted); margin-top: var(--space-3); }
.section-head--split .section-head__intro { margin-top: 0; }
.eyebrow {
  font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-md);
  color: var(--blue-600); margin-bottom: var(--space-2);
}
.section-title { font-size: var(--fs-2xl); letter-spacing: -0.01em; }
.lead { font-size: var(--fs-base); color: var(--text); }

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--btn-h); padding: 0 var(--space-5);
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t-fast);
}
.btn .icon { flex: none; }
.btn--primary { background: var(--btn-gradient); color: var(--white); }
.btn--primary:hover { background: var(--btn-gradient-hover); color: var(--white); box-shadow: var(--shadow-btn); }
/* Bouton contour bleu marine : « Demander un devis » (menu), formules, « Envoyer ma demande » */
.btn--line { background: transparent; color: #132f5e; border: 2px solid #132f5e; border-radius: 30px; min-height: 42px; font-weight: 700; }
.btn--line:hover { background: #132f5e; border-color: #132f5e; color: var(--white); box-shadow: none; }
/* Bouton contour blanc : hero 3D et Dev */
.btn--ghost { background: transparent; color: var(--white); border: 2px solid var(--white); border-radius: 30px; }
.btn--ghost:hover { background: #132f5e; border-color: #132f5e; color: var(--white); box-shadow: none; }
/* Bouton plein bleu marine : « Demander un devis » des tarifs 3D */
.btn--solid { background: #132f5e; border-color: #132f5e; color: var(--white); border-radius: 30px; font-weight: 700; }
.btn--solid:hover { background: #0b1f42; border-color: #0b1f42; color: var(--white); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--btn-gradient); border-color: transparent; color: var(--white); }
/* Sur fond bleu marine, un liseré clair garde le bouton visible */
/* Sur la carte bleu marine, le contour passe en blanc pour rester visible */
.plan--featured .btn--line { color: var(--white); border-color: var(--white); }
.plan--featured .btn--line:hover { background: var(--white); border-color: var(--white); color: #132f5e; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.85); color: var(--white); }
.btn--lg { min-height: 52px; padding-inline: var(--space-6); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }

.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.round-btn, .round-arrow {
  display: inline-grid; place-items: center; flex: none;
  width: var(--arrow-size); height: var(--arrow-size); border-radius: 50%;
  border: 0; background: var(--btn-gradient); color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--t-fast), transform var(--t) var(--ease), opacity var(--t-fast);
}
.round-btn:hover, .round-arrow:hover:not([disabled]) { background: var(--btn-gradient-hover); transform: scale(1.06); }
.round-arrow[disabled] { opacity: .35; cursor: default; }

/* --- Étiquettes et pastilles --- */
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
  padding: .3rem .75rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}

.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-6);
}
.pill {
  min-height: 42px; padding: 0 var(--space-5); border-radius: 30px;
  border: 1px solid #132f5e; background: transparent; color: #132f5e;
  font-weight: 700; font-size: var(--fs-sm); white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.pill:hover { background: rgba(19, 47, 94, .06); }
.pill.is-active, .pill[aria-pressed="true"] { background: #132f5e; border-color: #132f5e; color: var(--white); box-shadow: none; }

@media (max-width: 767px) {
  /* La barre de filtres défile horizontalement sur téléphone */
  .filters {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
    scrollbar-width: none; scroll-snap-type: x proximity;
  }
  .filters::-webkit-scrollbar { display: none; }
  .pill { scroll-snap-align: start; }
}

/* --- Carrousel générique (réalisations, témoignages) --- */
.carousel {
  --per-view: 1;
  --gap: var(--space-5);
  --side: calc(var(--arrow-size) + var(--space-5));
  position: relative;
  padding-inline: var(--side);
  container-type: inline-size;
}
.carousel__viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-block: -24px; padding-block: 24px; /* laisse respirer les ombres */
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline-offset: -2px; }
.carousel__track { display: flex; gap: var(--gap); }
.carousel__track > li {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start; min-width: 0;
}
.carousel__arrow { position: absolute; top: var(--arrow-top, 50%); transform: translateY(-50%); z-index: 2; }
.carousel__arrow:hover:not([disabled]) { transform: translateY(-50%) scale(1.06); }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.carousel__counter { text-align: center; font-weight: 600; color: var(--navy); margin-top: var(--space-4); font-variant-numeric: tabular-nums; }
.carousel__counter:empty { display: none; }
.carousel.is-static .carousel__arrow { visibility: hidden; }
.carousel-empty { text-align: center; color: var(--muted); padding: var(--space-7) var(--space-4); border: 1.5px dashed var(--blue-100); border-radius: var(--radius-lg); background: var(--white); }

@media (max-width: 767px) {
  .carousel { padding-inline: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4) var(--space-3); }
  .carousel__viewport { grid-column: 1 / -1; }
  .carousel__arrow { position: static; transform: none; }
  .carousel__arrow:hover:not([disabled]) { transform: scale(1.06); }
  .carousel__arrow--prev { grid-column: 1; }
  .carousel__counter { grid-column: 2; margin: 0; }
  .carousel__arrow--next { grid-column: 3; }
  .carousel.is-static { display: block; }
}

/* --- Apparition au défilement --- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Changement d'univers : fondu --- */
.universe-content, .about__media, .process__center { transition: opacity var(--t) var(--ease); }
.is-switching .universe-content { opacity: 0; }

/* --- Visionneuse d'images --- */
.lightbox {
  width: min(96vw, 1400px); max-width: none; max-height: 92vh; padding: 0; border: 0;
  background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(11, 31, 66, .88); }
.lightbox__figure { margin: 0; }
.lightbox__img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--radius); background: var(--navy-900); }
.lightbox__caption { color: var(--white); text-align: center; margin-top: var(--space-3); font-weight: 500; }
.lightbox__close { position: absolute; top: -14px; right: -14px; background: var(--white); color: var(--navy); }
.lightbox__close:hover { background: var(--blue-50); }
@media (max-width: 767px) { .lightbox__close { top: -54px; right: 0; } }

/* --- Préférence : moins d'animations --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel__viewport { scroll-behavior: auto; }
}

/* sections/header.css */
/* =====================================================================
   Menu (commun)
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 2px 14px rgba(15, 27, 45, .07);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--space-4); }

/* Logo : icône + texte (bleu marine sur fond clair, blanc sur fond foncé) */
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text {
  /*font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem;
  letter-spacing: .14em; line-height: 1;*/
  
  font-family: var(--font-heading);
  font-weight: 601;
  font-size: 1.15rem;
  letter-spacing: 0.32em;
  line-height: 1;
  margin-left: 9px;
}
.logo--dark .logo__text { color: var(--navy); }
.logo--light .logo__text { color: var(--white); }
.logo--light { --logo-mark-bg: #ffffff; --logo-mark-fg: var(--navy); }

/* Interrupteur d'univers : liens simples, l'univers actif est souligné */
.universe-switch { display: flex; align-items: center; gap: var(--space-5); }
.universe-switch__link,
.site-header__link {
  position: relative; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color var(--t-fast);
}
.universe-switch__link::after,
.site-header__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.universe-switch__link:hover, .site-header__link:hover { color: var(--navy); }
.universe-switch__link[aria-current="page"] { color: var(--navy); }
.universe-switch__link[aria-current="page"]::after { transform: scaleX(1); }
.universe-switch__short { display: none; }

/* Groupe central : univers + Réalisations (séparés par un trait fin) */
.site-header__nav { display: flex; align-items: center; gap: var(--space-5); margin-inline: auto; min-width: 0; }
.site-header__nav .site-header__link { padding-left: var(--space-5); border-left: 1px solid var(--border); }
.site-header__nav .site-header__link::after { left: var(--space-5); }
.site-header__link-icon { display: none; }

.site-header__actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.site-header__cta { min-height: 44px; }
.site-header__cta-icon { display: none; }

/* Langue */
.lang-menu { position: relative; }
.lang-menu__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--blue-100); background: var(--white); color: var(--navy);
  font-weight: 700; font-size: var(--fs-xs); letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.lang-menu__btn:hover, .lang-menu__btn[aria-expanded="true"] { border-color: var(--blue); background: var(--blue-50); }
.lang-menu__list {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px;
  list-style: none; padding: var(--space-2); margin: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.lang-menu__link {
  display: flex; align-items: center; gap: var(--space-3); padding: .55rem .75rem;
  border-radius: var(--radius-sm); color: var(--navy); text-decoration: none; font-weight: 500;
}
.lang-menu__link:hover, .lang-menu__link:focus-visible { background: var(--blue-50); color: var(--navy); }
.lang-menu__link[aria-current="true"] { color: var(--blue-600); font-weight: 600; }
.lang-menu__code { font-size: var(--fs-xs); font-weight: 700; width: 1.8em; color: var(--muted); }

@media (max-width: 1023px) {
  .site-header__link { font-size: .9rem; }
  .logo__text { font-size: 1rem; letter-spacing: .1em; }
  .universe-switch__link { font-size: .9rem; }
}
/* Tablette et téléphone : bouton devis en icône */
@media (max-width: 899px) {
  .site-header__cta { width: 44px; padding: 0; border-radius: 50%; }
  .site-header__cta-label { display: none; }
  .site-header__cta-icon { display: block; }
  /* Réalisations : icône ronde */
  .site-header__nav .site-header__link { padding-left: var(--space-3); }
  .site-header__link::after { display: none; }
  .site-header__link-label { display: none; }
  .site-header__link-icon { display: block; }
}
/* Téléphone : icône du logo seule, univers en version courte */
@media (max-width: 639px) {
  .site-header__inner { gap: var(--space-2); }
  .site-header__nav { gap: var(--space-2); }
  .site-header .logo__text { display: none; }
  .universe-switch__long { display: none; }
  .universe-switch__short { display: inline; }
  .universe-switch { gap: var(--space-4); }
  .universe-switch__link { min-height: 38px; font-size: 1rem; }
  .site-header__actions { gap: var(--space-2); }
  .logo__mark { width: 38px; height: 38px; }
}
@media (min-width: 640px) and (max-width: 767px) {
  .site-header .logo__text { display: none; }
}

/* sections/hero.css */
/* =====================================================================
   Hero : un seul panneau, celui de l'univers sélectionné dans le menu
   ===================================================================== */
.hero { position: relative; background: var(--navy-900); color: var(--white); isolation: isolate; }

.hero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: clamp(520px, calc(100svh - var(--header-h)), 900px);
  padding: clamp(4rem, 3rem + 5vw, 7rem) var(--gutter);
  animation: hero-in var(--t-slow) var(--ease);
}
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
.hero__panel { transition: opacity var(--t) var(--ease); }
.is-switching .hero__panel { opacity: 0; }

/* Mode 3D : vidéo en arrière-plan et voile sombre pour la lisibilité */
.hero__panel--3d { background: var(--navy-900); }
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
.hero__panel--3d::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* voile neutre léger : la vidéo reste visible, le texte lisible */
  background: radial-gradient(60% 50% at 50% 50%, rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, .12) 100%);
}

/* Mode Dev : bleu marine et réseau de points animé */
.hero__panel--dev { background: radial-gradient(120% 90% at 50% 30%, var(--navy-700) 0%, var(--navy-900) 70%); }
.hero__network { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

/* Contenu centré horizontalement et verticalement */
.hero__content {
  max-width: 820px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-5);
}
.hero__title {
  color: var(--white); 
  /*font-size: clamp(1rem, 5.5vw, 2.75rem);*/
  font-size: clamp(1rem, 5.5vw, 2.5rem);
  line-height: 1.2; letter-spacing: -0.01em;
  white-space: nowrap; /* toujours sur une seule ligne */
  text-shadow: 0 2px 6px rgba(0, 0, 0, .45), 0 2px 28px rgba(0, 0, 0, .4);
}
.hero__text {
  max-width: 660px; color: rgba(255, 255, 255, .92);
  font-size: clamp(1rem, .95rem + .45vw, 1.25rem); line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5), 0 1px 16px rgba(0, 0, 0, .4);
}
.hero__cta { margin-top: var(--space-2); }

@media (max-width: 767px) {
  .hero__panel { min-height: clamp(460px, calc(100svh - var(--header-h)), 720px); }
  .hero__content { gap: var(--space-4); }
}

/* sections/about.css */
/* =====================================================================
   À propos : texte et barres à gauche, image à droite
   ===================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.about__text .section-title { margin-bottom: var(--space-4); }
.about__text .lead { color: var(--text); }
.about__text .lead + .lead { margin-top: var(--space-4); }

.skills { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.skill__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-2); }
.skill__label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.skill__value { font-weight: 700; font-size: var(--fs-sm); color: var(--navy); font-variant-numeric: tabular-nums; }
.skill__bar { height: 8px; border-radius: var(--radius-pill); background: var(--track); overflow: hidden; }
.skill__fill {
  display: block; height: 100%; width: var(--value); border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-600), var(--blue));
  transform-origin: left; transition: transform 1.2s var(--ease);
}
/* Animation à l'apparition (la largeur finale reste correcte sans JavaScript) */
.js .skills:not(.is-visible) .skill__fill { transform: scaleX(0); }

.about__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}

@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* sections/services.css */
/* =====================================================================
   Services : cartes blanches, icône bleu marine centrée
   ===================================================================== */
.service-families {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-7) var(--space-5);
}
.service-family { grid-column: span var(--count); display: flex; flex-direction: column; }
.service-family__title {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue-600); margin-bottom: var(--space-4);
}
.service-family__title::after { content: ""; flex: 1; height: 1px; background: var(--blue-100); }
.service-family .service-grid { grid-template-columns: repeat(var(--count), minmax(0, 1fr)); flex: 1; }

.service-grid { display: grid; gap: var(--space-5); }
.service-grid--dev { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card-wrap { display: flex; }

.service-card {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.service-card__icon { color: var(--navy); margin-bottom: var(--space-4); transition: color var(--t); }
.service-card:hover .service-card__icon { color: var(--blue-600); }
.service-card__title { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: var(--space-2); }
.service-card__text { font-size: var(--fs-sm); color: var(--text); line-height: 1.6; }
.service-card__badge {
  margin-top: var(--space-4); padding: .3rem .8rem; border-radius: var(--radius-pill);
  background: var(--blue-50); color: var(--navy); font-weight: 600; font-size: var(--fs-xs);
}
.service-card__more {
  margin-top: auto; padding-top: var(--space-4);
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--blue-600);
}
.service-card__more .icon { transition: transform var(--t) var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

.services__audience {
  margin-top: var(--space-7); text-align: center; font-family: var(--font-heading); font-weight: 500;
  color: var(--navy); font-size: var(--fs-md);
}

@media (max-width: 1099px) {
  .service-families { grid-template-columns: 1fr; }
  .service-family { grid-column: auto; }
  .service-family .service-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .service-grid--dev { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  .service-family .service-grid, .service-grid--dev { grid-template-columns: 1fr; }
  .service-card { padding: var(--space-5); }
}

/* sections/pricing.css */
/* =====================================================================
   Tarifs : 3 cartes (Dev) ou encadré « sur devis » (3D)
   ===================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); align-items: center; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: var(--space-6); 
  /*border: 1.5px solid var(--blue); */
  border: 1.5px solid var(--blue-600);
  
  border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow);
}
.plan__name { font-family: var(--font-heading); font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.plan__text { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--space-1); }
.plan__price { margin: var(--space-6) 0 var(--space-5); text-align: center; }
.plan__billing { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 .6rem; }
.plan__amount { font-family: var(--font-heading); font-weight: 600; font-size: 2.25rem; color: var(--ink); line-height: 1; }
.plan__old { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; color: #9aa3ad; }
.plan__unit { flex-basis: 100%; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--space-2); }
.plan__cta { align-self: center; min-width: 200px; }
.plan__features { display: grid; gap: .7rem; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.plan__feature { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink); }
.plan__feature .icon { flex: none; margin-top: 2px; color: var(--blue-600); }
.plan__feature--off { color: var(--muted); }
.plan__feature--off .icon { color: #a3acb8; }

/* Interrupteur mensuel / annuel (fonctionne sans JavaScript) */
.billing-toggle {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto var(--space-7); padding: 4px;
  border: 0; border-radius: var(--radius-pill); background: var(--blue-50); /*box-shadow: inset 0 0 0 1px var(--blue-100);*/
}
.billing-toggle__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.billing-toggle__option {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 1.4rem;
  border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--navy);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t);
}
.billing-toggle__option:hover { color: var(--blue-600); }
.billing-toggle__input:checked + .billing-toggle__option { background: var(--blue-600); color: var(--white); /*box-shadow: var(--shadow-blue);*/ }
.billing-toggle__input:focus-visible + .billing-toggle__option { outline: 3px solid var(--focus); outline-offset: 3px; }
.billing-toggle__save {
  padding: .15rem .55rem; border-radius: var(--radius-pill); background: var(--blue-100); color: var(--navy);
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
}
.billing-toggle__input:checked + .billing-toggle__option .billing-toggle__save { background: var(--white); color: var(--blue-700); }

/* Prix affiché selon la périodicité choisie */
.pricing [data-billing="yearly"] { display: none; }
.pricing:has(#billing-yearly:checked) [data-billing="yearly"] { display: flex; }
.pricing:has(#billing-yearly:checked) [data-billing="monthly"] { display: none; }

/* Carte mise en avant : bleu marine */
.plan--featured { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); padding-block: var(--space-7); }
.plan--featured .plan__name, .plan--featured .plan__amount, .plan--featured .plan__feature { color: var(--white); }
.plan--featured .plan__text, .plan--featured .plan__unit { color: rgba(255, 255, 255, .7); }
.plan--featured .plan__old { color: rgba(255, 255, 255, .55); }
.plan--featured .plan__features { border-top-color: rgba(255, 255, 255, .15); }
.plan--featured .plan__feature .icon { color: #8ec5ff; }
.plan--featured .plan__feature--off { color: rgba(255, 255, 255, .55); }
.plan--featured .plan__feature--off .icon { color: rgba(255, 255, 255, .45); }
.plan__badge {
  position: absolute; top: var(--space-3); right: var(--space-3);
  background: var(--white); color: var(--navy); font-size: var(--fs-xs); font-weight: 600;
  padding: .4rem .8rem; border-radius: var(--radius-sm);
}

.pricing__note { text-align: center; margin-top: var(--space-7); color: var(--muted); font-size: var(--fs-sm); }
.pricing__note strong { color: var(--navy); font-size: var(--fs-base); font-family: var(--font-heading); font-weight: 600; }

/* Encadré 3D */
.quote-box {
  max-width: 760px; margin-inline: auto; text-align: center;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border: 1.5px solid #132f5e; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow);
}
.quote-box__title { font-size: var(--fs-xl); margin-bottom: var(--space-4); }
.quote-box__text { color: var(--text); margin-bottom: var(--space-6); }

@media (max-width: 399px) {
  .billing-toggle__option { padding: 0 .9rem; }
}
@media (max-width: 1023px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { order: -1; }
}

/* sections/portfolio.css */
/* =====================================================================
   Réalisations : grand cadre (3D) et cartes Problème / Solution / Impact (Dev)
   ===================================================================== */

/* ---------- 3D : un projet à la fois ---------- */
.carousel--showcase {
  /* Flèches centrées sur l'image 16:9 (100cqw = largeur de l'image) */
  --arrow-top: calc(100cqw * 9 / 32);
}
.showcase-slide__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--navy-900); box-shadow: var(--shadow);
}
.showcase-slide__caption { text-align: center; margin-top: var(--space-5); }
.showcase-slide__title { font-size: var(--fs-lg); font-weight: 600; }
.showcase-slide__place { color: var(--muted); margin-top: var(--space-1); }
.carousel--showcase .carousel__counter {
  display: inline-block; margin: var(--space-3) auto 0; padding: .2rem .9rem; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--blue-100); font-size: var(--fs-sm);
}
.carousel--showcase { text-align: center; }
.carousel--showcase .carousel__viewport { text-align: left; }
.showcase__cta { text-align: center; margin-top: var(--space-5); color: var(--muted); }
.showcase__cta a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }

/* Image ouvrable en plein écran */
.zoomable { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.zoomable img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t-slow) var(--ease); }
.zoomable:hover img { transform: scale(1.02); }
.zoomable__icon {
  position: absolute; right: var(--space-4); bottom: var(--space-4);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: var(--shadow);
}

/* Module interactif ou vidéo chargé au clic */
.embed { position: absolute; inset: 0; }
.embed__poster { width: 100%; height: 100%; object-fit: cover; }
.embed__poster--blur { filter: blur(10px) saturate(1.1); transform: scale(1.08); }
.embed__blank {
  display: grid; place-items: center; width: 100%; height: 100%; color: rgba(142, 197, 255, .45);
  background: radial-gradient(120% 90% at 50% 30%, var(--navy-700), var(--navy-900) 75%);
}
.embed__blank .icon { transform: translateY(-64px); }
.embed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at center, rgba(11, 31, 66, .15), rgba(11, 31, 66, .55));
}
.embed__launch { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: var(--shadow-btn); }
.embed__launch:active { transform: translate(-50%, -50%) translateY(1px); }
.embed__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--navy-900); z-index: 3; }
.embed__fullscreen { position: absolute; z-index: 4; top: var(--space-3); right: var(--space-3); background: rgba(255, 255, 255, .92); color: var(--navy); }
.embed__fullscreen:hover { background: var(--white); }
.embed.is-loaded::after, .embed.is-loaded .embed__launch, .embed.is-loaded .embed__loading { display: none; }
.embed__loading {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: var(--white); font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.embed:fullscreen { background: #000; }

/* Curseur avant / après */
.compare { position: absolute; inset: 0; --pos: 50%; user-select: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--navy-900); }
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__label {
  position: absolute; top: var(--space-4); z-index: 2; padding: .3rem .8rem; border-radius: var(--radius-pill);
  background: rgba(11, 31, 66, .75); color: var(--white); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.compare__label--before { left: var(--space-4); }
.compare__label--after { right: var(--space-4); }
.compare__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.compare__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--btn-gradient); color: var(--white); border: 3px solid var(--white); box-shadow: var(--shadow-lg);
}
.compare__range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.compare:has(.compare__range:focus-visible) .compare__handle { outline: 3px solid var(--white); outline-offset: 3px; }

/* ---------- Dev : cartes ---------- */
.cases .carousel { --per-view: 3; }
.case-slide { display: flex; }
.case-card {
  flex: 1; display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-5); background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--blue-100); box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card__top { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; justify-content: space-between; }
.case-card__type {
  padding: .25rem .75rem; border-radius: var(--radius-pill); background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-600); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.case-card__featured {
  display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: var(--radius-pill);
  background: var(--navy); color: var(--white); font-size: var(--fs-xs); font-weight: 600;
}
.case-card__featured .icon { fill: currentColor; }
.case-card__title { font-size: 1.2rem; font-weight: 600; }
.case-card__body { display: grid; gap: var(--space-3); margin: 0; }
.case-card__row dt { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.case-card__row dd { margin: 0; font-size: var(--fs-sm); color: var(--text); line-height: 1.55; }
.case-card__row--solution { padding: var(--space-3) var(--space-4); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--blue-50); }
.case-card__row--solution dt { color: var(--blue-600); }
.case-card__row--solution dd { color: var(--ink); font-weight: 500; }
.case-card__tech { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.case-card__tech li { padding: .15rem .55rem; border-radius: var(--radius-sm); background: #f1f5f9; color: var(--text); font-size: .75rem; font-weight: 500; }
.case-card__link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.case-card__link:hover { text-decoration: underline; }

@media (max-width: 1023px) { .cases .carousel { --per-view: 2; } }
@media (max-width: 639px) { .cases .carousel { --per-view: 1; } }

/* sections/process.css */
/* =====================================================================
   Méthode : photo ronde au centre, 4 étapes autour (sens horaire)
   ===================================================================== */
.process__layout {
  --photo: clamp(220px, 19vw, 270px);
  --ring: calc(var(--photo) * 1.42);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--photo) minmax(0, 1fr);
  align-items: center;
  /* l'écart laisse passer le cercle en pointillés entre la photo et les étapes */
  gap: calc((var(--ring) - var(--photo)) / 2 + 1.75rem) calc((var(--ring) - var(--photo)) / 2 + 2rem);
}
.process__steps { display: contents; }
.process__center { grid-row: 2; grid-column: 2; position: relative; width: var(--photo); aspect-ratio: 1; margin-inline: auto; }
.process__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.process__ring {
  position: absolute; left: 50%; top: 50%; width: var(--ring); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 2px dashed var(--blue); border-radius: 50%; opacity: .6;
}

/* Sens des aiguilles d'une montre : 1 en haut, 2 à droite, 3 en bas, 4 à gauche */
.step { display: flex; align-items: center; gap: var(--space-4); position: relative; z-index: 1; }
.step--1 { grid-row: 1; grid-column: 1 / -1; justify-self: center; }
.step--2 { grid-row: 2; grid-column: 3; justify-self: start; }
.step--3 { grid-row: 3; grid-column: 1 / -1; justify-self: center; }
.step--4 { grid-row: 2; grid-column: 1; justify-self: end; }
.step__icon {
  flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--white); color: var(--navy); box-shadow: var(--shadow);
  border: 1.5px solid var(--blue-100);
}
.step__body { max-width: 290px; }
.step__title { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); margin-bottom: var(--space-2); }
.step__num { color: var(--blue-600); }
.step__text { font-size: var(--fs-sm); color: var(--text); }

/* Tablette et téléphone : photo en haut, étapes en liste */
@media (max-width: 1023px) {
  .process__layout { display: block; }
  .process__center { --photo: 220px; margin-bottom: var(--space-7); }
  .process__ring { width: 125%; }
  .process__steps { display: grid; gap: var(--space-5); max-width: 560px; margin-inline: auto; }
  .step[class*="step--"] { grid-row: auto; grid-column: auto; justify-self: stretch; }
  .step__icon { width: 72px; height: 72px; }
  .step__icon .icon { width: 44px; height: 44px; }
  .step__body { max-width: none; }
}

/* sections/testimonials.css */
/* =====================================================================
   Témoignages : cartes défilantes
   ===================================================================== */
.testimonials .carousel { --per-view: 3; }
.testimonial-slide { display: flex; }
.testimonial {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: var(--space-4); margin: 0;
  padding: var(--space-6) var(--space-5) var(--space-5); background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.testimonial__example {
  position: absolute; top: var(--space-3); right: var(--space-3);
  padding: .2rem .55rem; border-radius: var(--radius-sm); background: #fff4d6; color: #7a4b00;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
}
.testimonial__quote-icon { color: var(--blue); }
.testimonial__text { margin: 0; color: var(--ink); font-size: var(--fs-base); line-height: 1.7; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.testimonial__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.testimonial__photo--initials { display: grid; place-items: center; background: var(--navy); color: var(--white); font-family: var(--font-heading); font-weight: 600; }
.testimonial__who { display: flex; flex-direction: column; line-height: 1.35; }
.testimonial__name { color: var(--navy); font-family: var(--font-heading); font-weight: 600; }
.testimonial__role { font-size: var(--fs-sm); color: var(--muted); }
.testimonial__service { font-size: var(--fs-xs); font-weight: 600; color: var(--blue-600); }

@media (max-width: 1023px) { .testimonials .carousel { --per-view: 2; } }
@media (max-width: 639px) { .testimonials .carousel { --per-view: 1; } }

/* sections/quote.css */
/* =====================================================================
   Demander un devis : carte bleue à gauche, formulaire à droite
   ===================================================================== */
.quote__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-6); align-items: start; }

/* Carte de contact */
.contact-card {
  position: relative; overflow: hidden; color: var(--white);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 45%, var(--blue-600) 100%);
  box-shadow: var(--shadow-lg);
}
.contact-card::before {
  content: ""; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.contact-card__title { color: var(--white); font-size: var(--fs-lg); position: relative; }
.contact-card__text { color: rgba(255, 255, 255, .88); margin-top: var(--space-2); position: relative; }
.contact-card__list { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.contact-card__list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-card__list .icon { flex: none; margin-top: 3px; color: var(--white); }
.contact-card__list div { display: flex; flex-direction: column; font-size: var(--fs-sm); line-height: 1.55; }
.contact-card__label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.contact-card a { color: var(--white); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card__follow { margin-top: var(--space-6); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }

.socials { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.social {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); color: var(--white); transition: background-color var(--t-fast), transform var(--t);
}
.social:hover { background: rgba(255, 255, 255, .3); transform: translateY(-2px); color: var(--white); }

/* Formulaire */
.quote__panel {
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  border: 1.5px solid #132f5e; border-radius: var(--radius-lg); background: var(--white);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.field__req { color: var(--blue-600); }
.field__control {
  width: 100%; min-height: var(--field-h); padding: .65rem .85rem;
  border: 1px solid #cfd8e3; border-radius: var(--radius-sm); background: var(--white);
  font-size: var(--fs-base); color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field__control::placeholder { color: #94a0b0; }
.field__control:hover { border-color: var(--blue-200); }
.field__control:focus { outline: none; border-color: #132f5e; box-shadow: 0 0 0 3px rgba(25, 118, 210, .18); }
.field__control--area { resize: vertical; min-height: 140px; line-height: 1.55; }
.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.field__chevron { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
/* Téléphone : pays + numéro */
.phone-input { display: flex; gap: var(--space-2); }
.phone-input__country { flex: 0 0 118px; }
.phone-input__country select { padding-right: 2rem; text-overflow: ellipsis; }
.phone-input > .field__control { flex: 1; min-width: 0; }
@media (max-width: 359px) {
  .phone-input { flex-wrap: wrap; }
  .phone-input__country { flex-basis: 100%; }
}
.field__meta { display: flex; justify-content: space-between; gap: var(--space-3); }
.field__counter { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.field__counter.is-near { color: #b45309; }
.field__error { display: flex; gap: .35rem; align-items: center; font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }

/* Rouge seulement après une tentative d'envoi */
.was-submitted .field__control:invalid,
.was-submitted .field__control[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.was-submitted .check:invalid { outline: 2px solid var(--danger); outline-offset: 2px; }

/* Cases à cocher */
.field--check { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: var(--space-3); }
.field--check label { flex: 1; font-size: var(--fs-sm); color: var(--text); cursor: pointer; }
.field--check .field__error { flex-basis: 100%; padding-left: calc(20px + var(--space-3)); }
.check {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1.5px solid #b8c4d2; background: var(--white); cursor: pointer;
  display: grid; place-items: center; transition: background-color var(--t-fast), border-color var(--t-fast);
}
.check::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--white); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check:checked { background: var(--blue-600); border-color: var(--blue-600); }
.check:checked::after { opacity: 1; }

/* Pièces jointes */
.dropzone { position: relative; }
.dropzone__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone__area {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1); text-align: center;
  padding: var(--space-5); border: 1.5px dashed var(--blue-200); border-radius: var(--radius);
  background: var(--blue-50); color: var(--text); font-size: var(--fs-sm); cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.dropzone__area:hover, .dropzone.is-dragover .dropzone__area { border-color: var(--blue-600); background: #e3effc; }
.dropzone__input:focus-visible + .dropzone__area { outline: 3px solid var(--focus); outline-offset: 3px; }
.dropzone__icon { color: var(--blue-600); margin-bottom: var(--space-1); }
.dropzone__browse { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dropzone__hint { font-size: var(--fs-xs); color: var(--muted); }
.dropzone__list { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.dropzone__list:empty { display: none; }
.file-chip {
  display: flex; align-items: center; gap: var(--space-3); padding: .5rem .75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: var(--fs-sm);
}
.file-chip .icon { flex: none; color: var(--blue-600); }
.file-chip__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.file-chip__size { color: var(--muted); font-size: var(--fs-xs); }
.file-chip__remove { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.file-chip__remove:hover { background: var(--danger-bg); color: var(--danger); }

/* Champ piège (anti-spam) : invisible pour les humains */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--danger); font-size: var(--fs-sm); font-weight: 500; margin-bottom: var(--space-4); }
.quote-form__submit { width: 100%; max-width: 280px; }
.quote-form__submit.is-loading { cursor: progress; }

/* Confirmation */
.quote-success { text-align: center; padding: var(--space-7) var(--space-4); }
.quote-success:focus { outline: none; }
.quote-success__icon { display: inline-grid; color: var(--success); margin-bottom: var(--space-4); }
.quote-success__title { font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.quote-success p { color: var(--text); max-width: 460px; margin: 0 auto var(--space-6); }

@media (max-width: 899px) {
  .quote__grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .form-grid { grid-template-columns: 1fr; }
  .quote-form__submit { max-width: none; }
}

/* sections/footer.css */
/* =====================================================================
   Pied de page (commun)
   ===================================================================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: var(--fs-sm); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--space-7);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.site-footer__brand p { margin-top: var(--space-4); max-width: 340px; line-height: 1.7; }
.site-footer__title { color: var(--white); font-size: var(--fs-base); font-weight: 600; margin-bottom: var(--space-4); }
.site-footer__col ul { display: grid; gap: var(--space-3); }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .social { color: var(--white); }
.site-footer .social:hover { text-decoration: none; }
.socials--footer { margin-top: var(--space-5); }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); padding-block: var(--space-5); font-size: var(--fs-xs); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-footer .link-button { color: rgba(255, 255, 255, .78); font-size: inherit; }

@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .site-footer__grid > :last-child { grid-column: 1 / -1; }
}

/* sections/legal.css */
/* =====================================================================
   Pages légales
   ===================================================================== */
.legal { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) var(--section-y); background: var(--blue-50); }
.legal__container { max-width: calc(860px + 2 * var(--gutter)); }
.legal__back { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; text-decoration: none; margin-bottom: var(--space-5); }
.legal__article {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}
.legal__title { font-size: var(--fs-2xl); }
.legal__updated { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--space-2); }
.legal__notice {
  margin-top: var(--space-5); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  background: #fff4d6; color: #7a4b00; font-size: var(--fs-sm); font-weight: 500;
}
.legal__article h2 { font-size: var(--fs-lg); margin: var(--space-7) 0 var(--space-3); }
.legal__article h3 { font-size: var(--fs-md); margin: var(--space-5) 0 var(--space-2); }
.legal__article p, .legal__article ul, .legal__article table { margin-bottom: var(--space-4); }
.legal__article ul { padding-left: 1.25rem; }
.legal__article li { margin-bottom: var(--space-1); }
.legal__article table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.legal__article th, .legal__article td { text-align: left; padding: .6rem .75rem; border: 1px solid var(--border); vertical-align: top; }
.legal__article th { background: var(--blue-50); color: var(--navy); }
.todo { background: #fff4d6; color: #7a4b00; padding: 0 .25em; font-weight: 600; }
.legal__others ul { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: center; margin-top: var(--space-6); }
.legal__others a { font-weight: 500; }

/* sections/cookies.css */
/* =====================================================================
   Bandeau cookies (affiché uniquement si la mesure d'audience GA4 est activée)
   ===================================================================== */
.cookie-banner {
  position: fixed; z-index: 200; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--blue-100);
}
.cookie-banner__text { flex: 1 1 320px; font-size: var(--fs-sm); color: var(--text); }
.cookie-banner__actions { display: flex; gap: var(--space-3); }
.cookie-banner .btn { min-height: 40px; padding-inline: var(--space-4); }
