/* ============================================================
   Durko Im Solutions — feuille de style unique

   Reprise de la maquette « Site Web ». Les valeurs de couleur,
   de corps et de rayon sont celles de la maquette ; elles ont
   seulement été sorties des attributs style vers ici.

   Sommaire
     1.  @font-face
     2.  Tokens
     3.  Reset et base
     4.  Halos d'ambiance
     5.  Apparitions au défilement
     6.  En-tête et navigation
     7.  Boutons et pastilles
     8.  Hero
     9.  L'entreprise
     10. Les pôles
     11. Contact
     12. Pied de page
     13. Pages légales
     14. Media queries
   ============================================================ */


/* ==========================================================
   1. @font-face
   ========================================================== */

/* Les deux familles sont servies depuis ce domaine. La maquette
   les chargeait depuis Google Fonts : aucune requête ne doit
   partir vers un tiers, les pages légales l'affirment. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================
   2. Tokens
   ========================================================== */

:root {
  /* fonds */
  --fond: #060C18;
  --fond-pied: rgba(4, 8, 16, 0.6);
  --fond-barre: rgba(6, 12, 24, 0.62);
  --carte: rgba(255, 255, 255, 0.028);
  --carte-douce: rgba(255, 255, 255, 0.025);
  --champ: rgba(8, 16, 30, 0.6);

  /* textes */
  --titre: #F2F7FD;
  --texte: #EAF1FB;
  --texte-doux: #DCE8F6;
  --para: #A9B9CF;
  --para-clair: #B3C2D6;
  --para-carte: #9FB0C8;
  --para-mini: #94A6BD;
  --para-pied: #8194AD;
  --etiquette: #6E83A0;

  /* accent */
  --accent: #8FC2F2;
  --accent-clair: #BBE0FF;
  --accent-doux: #9FC8F0;
  --sur-accent: #06101F;

  /* traits */
  --trait: rgba(255, 255, 255, 0.07);
  --trait-carte: rgba(255, 255, 255, 0.08);
  --trait-fort: rgba(255, 255, 255, 0.14);
  --trait-accent: rgba(143, 194, 242, 0.3);

  /* mesures */
  --largeur: 1200px;
  --gouttiere: 32px;
  --barre-h: 92px;   /* hauteur réelle de l'en-tête fixe */
}


/* ==========================================================
   3. Reset et base
   ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--barre-h);
  -webkit-text-size-adjust: 100%;
  /* clip et non hidden : hidden ferait de la racine un conteneur de
     défilement, ce qui perturbe les éléments fixes. */
  overflow-x: clip;
  /* La gouttière de barre de défilement est réservée en permanence :
     sans cela, la page se décale latéralement dès qu'elle apparaît. */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, blockquote, table {
  margin: 0;
}

ul, ol { padding-left: 1.25rem; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }

::selection { background: rgba(143, 194, 242, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Le premier élément focalisable de la page. Il est masqué par
   découpe, et non repoussé à -100vw : l'unité vw inclut la largeur
   de la barre de défilement, ce qui rendait la page scrollable de
   quelques pixels sur le côté et faisait glisser la barre fixe. */
.evitement {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 80;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--sur-accent);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.evitement:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

.bande {
  position: relative;
  z-index: 1;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* Sur-titre en capitales espacées, tel que la maquette le pose. */
.surtitre {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--accent);
}


/* ==========================================================
   4. Halos d'ambiance
   ========================================================== */

/* Trois halos fixes derrière la page. Purement décoratifs, donc
   masqués aux technologies d'assistance et sans interaction. */
.halos {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.halo {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}

.halo-1 {
  top: -12%;
  left: 50%;
  width: 1100px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(44, 104, 176, 0.55), rgba(44, 104, 176, 0) 62%);
  animation: flotter 18s ease-in-out infinite;
}

.halo-2 {
  top: 42%;
  left: -8%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle at center, rgba(91, 214, 230, 0.30), rgba(91, 214, 230, 0) 60%);
  animation: flotter 24s ease-in-out infinite reverse;
}

.halo-3 {
  bottom: -6%;
  right: -6%;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle at center, rgba(120, 150, 210, 0.28), rgba(120, 150, 210, 0) 62%);
  animation: flotter 18s ease-in-out infinite;
}

@keyframes flotter {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Le halo central est centré par transform : son animation doit
   conserver ce recentrage. */
.halo-1 { animation-name: flotter-centre; }

@keyframes flotter-centre {
  0%   { transform: translateX(-50%) scale(1); }
  50%  { transform: translateX(-50%) translate3d(2%, -3%, 0) scale(1.08); }
  100% { transform: translateX(-50%) scale(1); }
}


/* ==========================================================
   5. Apparitions au défilement
   ========================================================== */

/* L'état masqué n'est posé que si le script tourne : sans
   JavaScript, la page reste entièrement lisible. */
.js-anime [data-anime] {
  opacity: 0;
  transform: translateY(18px);
}

/* La transition n'est branchée qu'une image plus tard : sinon,
   poser l'état masqué après le premier rendu ferait disparaître
   en fondu tout ce qui est sous la ligne de flottaison. */
.js-anime.anime-prete [data-anime] {
  transition:
    opacity 620ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--retard, 0ms);
}

.js-anime [data-anime][data-vu] {
  opacity: 1;
  transform: none;
}


/* ==========================================================
   6. En-tête et navigation
   ========================================================== */

.barre {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--fond-barre);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--trait);
}

.barre-interieur {
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 16px var(--gouttiere);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marque {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-decoration: none;
}

.marque img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 10px rgba(143, 194, 242, 0.35));
}

.marque-nom {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.marque-haut {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: var(--titre);
}

.marque-bas {
  font-weight: 500;
  letter-spacing: 0.34em;
  font-size: 9.5px;
  color: var(--accent);
}

.nav-large {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-lien {
  position: relative;
  text-decoration: none;
  color: #C4D2E6;
  font-size: 14.5px;
  font-weight: 500;
}

/* Le soulignement pousse depuis la gauche au survol. */
.nav-lien::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-lien:hover::after,
.nav-lien[aria-current]::after { width: 100%; }

.nav-lien[aria-current] { color: var(--texte); }

/* Bouton du menu mobile : deux traits qui deviennent une croix. */
.barre-bouton {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--texte);
  cursor: pointer;
}

.barre-signe {
  position: relative;
  width: 18px;
  height: 12px;
}

.barre-signe::before,
.barre-signe::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.barre-signe::before { top: 1px; }
.barre-signe::after  { bottom: 1px; }

.barre-bouton[aria-expanded="true"] .barre-signe::before {
  transform: translateY(4.25px) rotate(45deg);
}

.barre-bouton[aria-expanded="true"] .barre-signe::after {
  transform: translateY(-4.25px) rotate(-45deg);
}

.panneau {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.panneau[hidden] { display: none; }

.panneau-interieur {
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 8px var(--gouttiere) 20px;
  display: flex;
  flex-direction: column;
}

.panneau-interieur a {
  padding: 12px 0;
  text-decoration: none;
  color: #C4D2E6;
  font-size: 16px;
  font-weight: 500;
}

.panneau-interieur a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* ==========================================================
   7. Boutons et pastilles
   ========================================================== */

.bouton {
  display: inline-block;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.3s ease,
              background 0.3s ease, border-color 0.3s ease;
}

.bouton:hover { transform: translateY(-2px); }

.bouton-plein {
  color: var(--sur-accent);
  background: linear-gradient(180deg, var(--accent-clair), var(--accent));
  box-shadow: 0 14px 40px rgba(143, 194, 242, 0.32);
}

.bouton-nu {
  color: var(--texte-doux);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--trait-fort);
}

.bouton-grand { font-size: 15px; padding: 15px 30px; }

.bouton-petit {
  font-size: 13.5px;
  padding: 10px 20px;
  box-shadow: 0 8px 26px rgba(143, 194, 242, 0.28);
}

/* Pastille du hero. */
.pastille {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 34px;
  border: 1px solid rgba(143, 194, 242, 0.22);
  background: rgba(143, 194, 242, 0.06);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--accent-doux);
}

.pastille-point {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}


/* ==========================================================
   8. Hero
   ========================================================== */

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 188px var(--gouttiere) 120px;
  text-align: center;
}

/* Le signe tourne lentement, très en retrait, derrière le titre. */
.hero-signe {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  /* 100 % et non 96vw : l'unité vw inclut la largeur de la barre de
     défilement, ce qui faisait déborder d'un pixel sur les fenêtres
     étroites à barre classique. */
  max-width: 100%;
  pointer-events: none;
}

.hero-signe img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.07;
  animation: tourner 90s linear infinite;
}

@keyframes tourner { to { transform: rotate(360deg); } }

.hero-titre {
  position: relative;
  margin: 0 auto 28px;
  max-width: 14ch;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 28%, #A9C6E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-chapo {
  position: relative;
  max-width: 60ch;
  margin: 0 auto 40px;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--para);
}

.hero-liens {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* --- page d'erreur ------------------------------------------- */

/* La page 404 réemploie le hero. Elle est un peu moins haute :
   il n'y a rien à lire en dessous. */
.erreur {
  padding-top: 160px;
  padding-bottom: 90px;
}

.erreur-secours {
  position: relative;
  margin-top: 40px;
  font-size: 14.5px;
  color: var(--para-carte);
}

.erreur-secours a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 194, 242, 0.4);
  overflow-wrap: anywhere;
}

.erreur-secours a:hover { border-bottom-color: var(--accent); }


/* ==========================================================
   9. L'entreprise
   ========================================================== */

.section {
  position: relative;
  z-index: 1;
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 90px var(--gouttiere);
}

.entreprise-grille {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.section-titre {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--titre);
  text-wrap: balance;
}

.entreprise-texte p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--para-clair);
}

.entreprise-texte p + p { margin-top: 22px; }

.entreprise-texte strong { color: var(--texte); font-weight: 600; }

.adn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.adn-carte {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--trait-carte);
  background: var(--carte-douce);
}

.adn-titre {
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  /* Deux lignes réservées, même si le titre n'en occupe qu'une :
     les paragraphes des trois cartes restent alignés quelle que
     soit la longueur des intitulés. */
  line-height: 1.3;
  min-height: 2.6em;
  color: var(--accent-doux);
}

.adn-carte p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--para-mini);
}


/* ==========================================================
   10. Les pôles
   ========================================================== */

.poles-tete {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 56px;
}

.poles-titre {
  margin: 0 0 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--titre);
  text-wrap: balance;
}

.poles-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--para);
}

.poles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Chaque pôle porte sa teinte, posée en variable sur la carte.
   Les six sont calées sur une même densité chromatique : l'écart
   entre canal fort et canal faible reste compris entre 104 et 147,
   sans quoi une carte paraît délavée à côté de ses voisines.
   Toutes tiennent le AA en texte courant sur le fond. */
.pole-saas     { --marque: #A87FFF; --marque-rvb: 168, 127, 255; }  /* violet */
.pole-web      { --marque: #6FB4FF; --marque-rvb: 111, 180, 255; }  /* bleu   */
.pole-apport   { --marque: #57CB9C; --marque-rvb:  87, 203, 156; }  /* vert   */
.pole-reseaux  { --marque: #F78F94; --marque-rvb: 247, 143, 148; }  /* rouge  */
.pole-commerce { --marque: #E2B94F; --marque-rvb: 226, 185,  79; }  /* jaune  */
.pole-edition  { --marque: #F09A62; --marque-rvb: 240, 154,  98; }  /* orange */

.pole {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 32px 28px;
  border-radius: 22px;
  border: 1px solid var(--trait-carte);
  background: var(--carte);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.4s ease, background 0.4s ease;
}

/* Un filet de la teinte court en haut de carte : c'est le marqueur
   visible sans survol, et il ne dépend pas de la couleur seule
   puisque chaque carte porte aussi son titre. */
.pole::before {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  background: var(--marque, var(--accent));
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.pole:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--marque-rvb, 143, 194, 242), 0.34);
  background: rgba(var(--marque-rvb, 143, 194, 242), 0.05);
}

.pole:hover::before { opacity: 1; }

/* Le grand chiffre fantôme en fond de carte. */
.pole-fantome {
  position: absolute;
  top: -30px;
  right: -10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 120px;
  line-height: 1;
  color: rgba(var(--marque-rvb, 143, 194, 242), 0.07);
}

.pole-numero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  border: 1px solid rgba(var(--marque-rvb, 143, 194, 242), 0.34);
  background: rgba(var(--marque-rvb, 143, 194, 242), 0.1);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--marque, var(--accent-doux));
}

.pole-titre {
  position: relative;
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  color: var(--titre);
}

.pole-texte {
  position: relative;
  flex: 1;
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--para-carte);
}

.pole-etiquettes {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pole-etiquettes li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11.5px;
  font-weight: 500;
  color: #A9C0DC;
}


/* ==========================================================
   11. Nos marques
   ========================================================== */

.marques-tete {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 48px;
}

.marques-titre {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--titre);
  text-wrap: balance;
}

/* Une liste, pas une grille de cartes : la section suit dejà six
   cartes, en aligner d'autres juste en dessous ferait répétition.
   Elle peut s'allonger sans rien déformer. */
.marques {
  list-style: none;
  max-width: 820px;
  margin-inline: auto;
  padding: 0;
}

.marques-ligne {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0 24px 22px;
  border-top: 1px solid var(--trait);
}

.marques .marques-ligne:last-child { border-bottom: 1px solid var(--trait); }

/* Le filet reprend la teinte du pôle auquel la marque se rattache :
   Icystone au bleu des sites web, InatSugan au vert de l'apport
   d'affaires. La section se relie ainsi aux pôles sans les répéter. */
.marques-ligne::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 2px;
  background: var(--marque);
}

.marques-nom {
  min-width: 9.5em;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--titre);
}

.marques-dit {
  flex: 1;
  font-size: 15.5px;
  color: var(--para);
}

.marques-lien {
  font-size: 14.5px;
  color: var(--para);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(var(--marque-rvb), 0.45);
}

.marques-lien:hover {
  color: var(--marque);
  border-bottom-color: var(--marque);
}


/* ==========================================================
   11. Contact
   ========================================================== */

.contact-grille {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.contact-dit {
  /* Le titre de section n'a pas de marge basse : c'est au
     paragraphe de poser sa propre respiration. */
  margin: 22px 0 36px;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--para);
}

.contact-liste {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-ligne {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--trait);
}

.contact-ligne:last-child { border-bottom: 1px solid var(--trait); }

.contact-cle {
  width: 96px;
  flex-shrink: 0;
  padding-top: 3px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--etiquette);
}

.contact-valeur {
  color: var(--texte-doux);
  font-size: 15.5px;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
}

a.contact-valeur { text-decoration: none; }

a.contact-valeur:hover { color: var(--accent); }

/* Le panneau de droite remplace le formulaire de la maquette :
   l'adresse, en grand, et rien à remplir. */
.contact-panneau {
  padding: 44px 38px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  text-align: center;
}

.contact-panneau-cle {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--etiquette);
}

.contact-adresse {
  display: inline-block;
  margin: 18px 0 26px;
  max-width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  /* L'adresse ne se coupe jamais : elle reste sur une ligne et son
     corps rétrécit avec la fenêtre. Le coefficient vw est calibré
     sur la largeur réelle du texte dans cette police, panneau et
     gouttières déduits. */
  white-space: nowrap;
  font-size: clamp(11px, 4.3vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--titre);
  text-decoration: none;
  overflow-wrap: break-word;
  border-bottom: 2px solid rgba(143, 194, 242, 0.4);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-adresse:hover {
  color: var(--accent-clair);
  border-bottom-color: var(--accent);
}

.contact-note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--para-carte);
}


/* ==========================================================
   12. Pied de page
   ========================================================== */

.pied {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--trait);
  background: var(--fond-pied);
}

.pied-interieur {
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 64px var(--gouttiere) 32px;
}

.pied-colonnes {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.pied .marque { margin-bottom: 18px; }

.pied .marque img { width: 36px; height: 36px; }

.pied .marque-haut { font-size: 14px; }

.pied .marque-bas { font-size: 9px; }

.pied-baseline {
  font-size: 14px;
  line-height: 1.65;
  color: var(--para-pied);
  max-width: 36ch;
}


.pied-cle {
  margin-bottom: 16px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--etiquette);
  font-weight: 600;
}

.pied-liste {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pied-liste a {
  text-decoration: none;
  color: var(--para);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.pied-liste a:hover { color: var(--accent); }

.pied-liste span { color: var(--para-pied); font-size: 14px; }

.pied-bas {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--trait);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--para-pied);
}


/* ==========================================================
   13. Pages légales
   ========================================================== */

.legal {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  padding: 150px var(--gouttiere) 90px;
}

.legal-retour {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 13.5px;
  color: var(--para);
  text-decoration: none;
  border-bottom: 1px solid var(--trait-fort);
}

.legal-retour:hover { color: var(--accent); border-bottom-color: var(--accent); }

.legal-titre {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--titre);
  text-wrap: balance;
}

.legal-date {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--etiquette);
}

.legal-corps { margin-top: 44px; }

.legal-corps h2 {
  margin-top: 46px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--titre);
}

.legal-corps h3 {
  margin-top: 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.3;
  color: var(--accent-doux);
}

.legal-corps p,
.legal-corps ul,
.legal-corps ol,
.legal-corps blockquote,
.legal-corps .legal-tableau {
  margin-top: 16px;
}

.legal-corps p,
.legal-corps li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--para-clair);
}

.legal-corps li + li { margin-top: 7px; }

.legal-corps strong { color: var(--texte); font-weight: 600; }

.legal-corps a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 194, 242, 0.4);
  overflow-wrap: anywhere;
}

.legal-corps a:hover { border-bottom-color: var(--accent); }

.legal-corps blockquote {
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--trait-carte);
  background: var(--carte-douce);
}

.legal-corps blockquote p { margin-top: 0; }

/* Le tableau défile seul si la place manque : la page, elle, ne
   défile jamais horizontalement. */
.legal-tableau {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--trait-carte);
}

.legal-corps table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}

.legal-corps th,
.legal-corps td {
  padding: 13px 18px;
  vertical-align: top;
}

.legal-corps th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--titre);
  background: rgba(255, 255, 255, 0.03);
}

.legal-corps tbody tr + tr td { border-top: 1px solid var(--trait); }

.legal-corps td { color: var(--para-clair); }


/* ==========================================================
   14. Media queries
   ========================================================== */

@media (max-width: 1080px) {
  .poles { grid-template-columns: repeat(2, 1fr); }
  .hero-titre { font-size: 52px; }
}

@media (max-width: 880px) {
  .nav-large { display: none; }
  .barre-bouton { display: inline-flex; }

  .poles { grid-template-columns: 1fr; }
  .entreprise-grille,
  .contact-grille { grid-template-columns: 1fr; gap: 40px; }

  /* En une colonne, les têtes de ces deux sections se centrent,
     comme celles des pôles et des marques. Seuls le sur-titre et le
     titre bougent : un paragraphe long centré se lit mal. */
  .entreprise-grille .surtitre,
  .contact-grille .surtitre { display: block; text-align: center; }
  .entreprise-grille .section-titre,
  .contact-grille .section-titre { text-align: center; }
  /* Dès que le pied quitte ses quatre colonnes, il se centre :
     aligné à gauche, le quadrillage de tablette paraît de travers. */
  .pied-colonnes { grid-template-columns: 1fr 1fr; text-align: center; }
  .pied .marque { justify-content: center; }
  .pied-baseline { margin-inline: auto; }
  .pied-liste { align-items: center; }
  .pied-bas { justify-content: center; text-align: center; }
  .adn { grid-template-columns: 1fr; }

  .hero { padding-top: 150px; padding-bottom: 90px; }
  .erreur { padding-top: 130px; padding-bottom: 70px; }
  .hero-titre { font-size: 40px; max-width: 18ch; }
  .hero-chapo { font-size: 17px; }
  .section { padding-block: 70px; }
  .poles-titre,
  .marques-titre { font-size: 32px; }
  .section-titre { font-size: 30px; }
  .legal { padding-top: 130px; }
  .legal-titre { font-size: 32px; }
}

@media (max-width: 720px) {
  /* En dessous, le nom, le métier et l'adresse s'empilent. */
  .marques-ligne { flex-direction: column; align-items: flex-start; gap: 7px; }
  .marques-nom { min-width: 0; }
}

@media (max-width: 560px) {
  :root { --gouttiere: 22px; }

  .hero-titre { font-size: 34px; }
  .pastille { font-size: 10.5px; letter-spacing: 0.16em; padding: 8px 14px; }
  .hero-liens .bouton { flex: 1 1 100%; text-align: center; }
  /* Une seule colonne ; le centrage est hérité de la tablette. */
  .pied-colonnes { grid-template-columns: 1fr; gap: 32px; }
  .contact-panneau { padding: 32px 24px; }
  .contact-ligne { flex-direction: column; gap: 6px; }
  .contact-cle { width: auto; padding-top: 0; }
  .legal-corps th, .legal-corps td { padding: 11px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .halo,
  .hero-signe img { animation: none; }

  .js-anime [data-anime] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bouton,
  .pole,
  .nav-lien::after,
  .barre-signe::before,
  .barre-signe::after,
  .contact-adresse {
    transition: none;
  }

  .bouton:hover,
  .pole:hover { transform: none; }
}
