/* Licane : feuille de style principale */

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bleu: #3a5f85;
  --bleu-clair: #5e7f9c;
  --bleu-fonce: #2e4a68;
  --blanc-casse: #e8eef5;
  --fond: #ffffff;

  --police-titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --police-texte: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;

  --rayon: 4px;
  --largeur: 1120px;
  --gouttiere: 16px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--fond);
  color: var(--bleu-fonce);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

main {
  flex: 1;
}

h1,
h2,
h3 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--bleu-fonce);
}

h1 {
  font-size: clamp(2.4rem, 8vw, 3.8rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 2.75rem);
}

h3 {
  font-size: 1.6rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--bleu);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--bleu-fonce);
}

:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 2px;
}

.icone {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  left: var(--gouttiere);
  top: -100px;
  z-index: 100;
  background: var(--bleu-fonce);
  color: var(--fond);
  padding: 0.6rem 1rem;
  border-radius: var(--rayon);
}

.lien-evitement:focus {
  top: 8px;
  color: var(--fond);
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

/* Repères de contenu à compléter */
.a-completer {
  display: inline-block;
  border: 2px dashed var(--bleu-clair);
  border-radius: var(--rayon);
  padding: 0.1em 0.4em;
  background: var(--blanc-casse);
  color: var(--bleu-fonce);
  font-weight: 600;
}

/* Boutons */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--bleu);
  border-radius: var(--rayon);
  background: var(--bleu);
  color: var(--fond);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bouton:hover {
  background: var(--bleu-fonce);
  border-color: var(--bleu-fonce);
  color: var(--fond);
}

.bouton-petit {
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* En-tête */
.entete {
  background: var(--fond);
  border-bottom: 1px solid var(--blanc-casse);
}

.entete-interieur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.entete-logo {
  display: flex;
  align-items: center;
  width: 132px;
  min-height: 44px;
}

.entete-logo img {
  width: 100%;
  height: auto;
}

.navigation {
  order: 3;
  width: 100%;
}

.navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation a {
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--bleu-fonce);
  font-weight: 600;
  text-decoration: none;
}

.navigation a:hover {
  color: var(--bleu);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .entete {
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .entete-logo {
    width: 150px;
  }

  .navigation {
    order: 0;
    width: auto;
    margin-left: auto;
  }

  .navigation ul {
    gap: 0 1.75rem;
  }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--blanc-casse);
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  html {
    scroll-padding-top: 80px;
  }
}

/* Accroche */
.accroche {
  padding: 2.5rem 0 3.5rem;
}

.accroche-grille {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.accroche-texte p {
  font-size: 1.2rem;
  max-width: 36rem;
}

.accroche-reperes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.accroche-reperes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bleu-fonce);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.accroche-reperes .icone {
  color: var(--bleu);
}

.accroche-visuel {
  display: none;
}

.accroche-visuel {
  margin: 0;
}

.accroche-visuel .realisation-capture {
  margin: 0;
}

.accroche-visuel figcaption {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .accroche {
    padding: 5rem 0;
  }
  .accroche-visuel {
    display: block;
  }
  .accroche-grille {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}

/* Offres */
.offres-grille {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .offres-grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

.carte {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--fond);
  border: 1px solid var(--bleu-clair);
  border-radius: var(--rayon);
}

.carte-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: var(--rayon);
  background: var(--bleu);
  color: var(--fond);
}

.carte h3 {
  margin-bottom: 0.4rem;
}

.carte-prix {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.carte-prix strong {
  display: block;
  font-family: var(--police-titre);
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--bleu-fonce);
}

.liste-avantages {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.liste-avantages li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.liste-avantages .icone {
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  color: var(--bleu);
}

.carte-note {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--blanc-casse);
  font-size: 1rem;
}

/* Titres, prix et notes alignés d'une carte à l'autre */
@media (min-width: 768px) {
  .carte-note {
    min-height: calc(4.8rem + 1rem);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .carte h3 {
    min-height: 2.2em;
  }
}

.mention-tva {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

.offres-bouton {
  margin-top: 1.5rem;
}

/* Réalisations */
.realisations-grille {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .realisations-grille {
    grid-template-columns: repeat(2, 1fr);
  }
}

.realisation {
  display: flex;
  flex-direction: column;
  background: var(--fond);
  border: 1px solid var(--bleu-clair);
  border-radius: var(--rayon);
  overflow: hidden;
}

.realisation-capture {
  display: flex;
  flex-direction: column;
  margin: 1rem 1rem 0;
  border: 1px solid var(--bleu-clair);
  border-radius: var(--rayon);
  overflow: hidden;
}

.navigateur-barre {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  background: var(--blanc-casse);
  border-bottom: 1px solid var(--bleu-clair);
}

.navigateur-barre span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bleu-clair);
}

.realisation-ecran {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 1rem;
  background: var(--fond);
  text-align: center;
}

.realisation-ecran--image {
  padding: 0;
}

.realisation-ecran img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realisation-corps {
  padding: 1.25rem 1.5rem 1.5rem;
}

.etiquette {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--rayon);
  background: var(--bleu-fonce);
  color: var(--fond);
  font-size: 0.875rem;
  font-weight: 600;
}

.etiquette-client {
  background: var(--fond);
  color: var(--bleu-fonce);
  border: 1px solid var(--bleu-fonce);
}

.realisation-type {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bleu);
}

.realisation-offre {
  margin: 0;
  font-size: 1rem;
}

.realisation-lien {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  color: var(--bleu-fonce);
  font-weight: 600;
}

.realisation-lien:hover .icone {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: no-preference) {
  .realisation-lien .icone {
    transition: transform 0.15s;
  }
}

/* Une seule réalisation : capture et texte côte à côte */
@media (min-width: 768px) {
  .realisations-grille--seule {
    grid-template-columns: 1fr;
  }
  .realisations-grille--seule .realisation {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
  .realisations-grille--seule .realisation-capture {
    margin: 1rem;
  }
}

/* Méthode */
.etapes {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}

@media (min-width: 768px) {
  .etapes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .etapes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.etape {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--fond);
  border: 1px solid var(--bleu-clair);
  border-radius: var(--rayon);
  counter-increment: etape;
}

.etape-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--rayon);
  background: var(--bleu);
  color: var(--fond);
  font-family: var(--police-titre);
  font-size: 1.5rem;
}

.etape-numero::before {
  content: counter(etape);
}

.etape h3 {
  margin-bottom: 0.25rem;
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .etape {
    flex-direction: row;
    gap: 1rem;
  }
}

.etape p {
  margin: 0;
}

/* À propos */
.apropos {
  max-width: 44rem;
}

/* Contact */
.contact-grille {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grille {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
  }
}

.lien-coordonnee {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.apres-titre {
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
}

.apres-demande {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: apres;
}

.apres-demande li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  counter-increment: apres;
}

.apres-demande li::before {
  content: counter(apres);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--rayon);
  background: var(--bleu);
  color: var(--fond);
  font-family: var(--police-titre);
  font-size: 1.1rem;
}

.coordonnees {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.coordonnees li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.coordonnees .icone {
  margin-top: 0.15em;
  color: var(--bleu);
}

.coordonnees strong {
  display: block;
}

.formulaire {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--fond);
  border: 1px solid var(--bleu-clair);
  border-radius: var(--rayon);
}

.champ {
  display: grid;
  gap: 0.35rem;
}

.champ label {
  font-weight: 600;
}

.facultatif {
  font-weight: 400;
}

.champ input,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--bleu-clair);
  border-radius: var(--rayon);
  background: var(--fond);
  color: var(--bleu-fonce);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.4;
}

.champ textarea {
  min-height: 150px;
  resize: vertical;
}

.champ input:focus-visible,
.champ textarea:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 1px;
  border-color: var(--bleu);
}

.champ [aria-invalid="true"] {
  border: 2px solid var(--bleu-fonce);
}

.erreur {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bleu-fonce);
}

.erreur:empty {
  display: none;
}

.erreur .icone {
  width: 20px;
  height: 20px;
  margin-top: 0.1em;
}

.champ-case {
  display: grid;
  gap: 0.35rem;
}

.champ-case-ligne {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.champ-case input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0.15em 0 0;
  accent-color: var(--bleu);
}

.champ-case label {
  font-weight: 400;
}

.mention-obligatoire {
  margin: 0;
  font-size: 1rem;
}

.formulaire .bouton {
  justify-self: start;
}

.piege {
  display: none;
}

/* Pied de page */
.pied {
  padding: 2.5rem 0;
  background: var(--fond);
  border-top: 1px solid var(--bleu-clair);
  color: var(--bleu-fonce);
}

.pied-grille {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.pied-marque {
  display: grid;
  gap: 0.5rem;
}

.pied-logo {
  width: 160px;
  height: auto;
}

.pied p {
  margin: 0;
}

.pied a {
  color: var(--bleu);
}

.pied a:hover {
  color: var(--bleu-fonce);
}

.pied ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

.pied ul a {
  display: inline-block;
  padding: 0.6rem 0;
}

@media (min-width: 768px) {
  .pied-grille {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 2rem;
  }
  .pied-grille > div:last-child {
    text-align: right;
  }
  .pied ul {
    justify-content: flex-end;
  }
}

/* Pages de texte (mentions légales, confidentialité, merci) */
.page-texte {
  padding: 2.5rem 0 4rem;
}

.page-texte .conteneur {
  max-width: 48rem;
}

.page-texte h2 {
  margin-top: 2rem;
  font-size: 1.9rem;
}

.page-texte ul {
  padding-left: 1.25rem;
}

.page-texte ul li {
  margin-bottom: 0.4rem;
}

.page-texte ul li::marker {
  content: "\2022\00a0\00a0";
}

.merci-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: var(--rayon);
  background: var(--bleu);
  color: var(--fond);
}

.merci-icone .icone {
  width: 28px;
  height: 28px;
}

.retour {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.retour .icone {
  width: 20px;
  height: 20px;
}

/* Longueur de ligne confortable pour les textes longs */
.page-texte p,
.apropos p {
  max-width: 65ch;
}

/* =====================================================================
   Mise en page éditoriale (octobre 2026) : lignes cassées, chevauchements
   ===================================================================== */

/* Accueil */
.accroche {
  overflow-x: clip;
}

.accroche-grille {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 12px;
}

.accroche-grille > * {
  grid-column: 1 / -1;
}

.accroche-titre {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(2.9rem, 13vw, 6.6rem);
  line-height: 0.95;
}

.ligne {
  display: block;
  width: fit-content;
  padding: 0 0.12em 0.04em;
  background: var(--fond);
}

.ligne--bande {
  margin: 0.06em 0 0.06em 0.55em;
  padding: 0.02em 0.22em 0.06em;
  background: var(--bleu);
  color: var(--blanc-casse);
}

.ligne--decale {
  margin-left: 0.25em;
}

.ligne--decale + .ligne--decale {
  margin-left: 0.6em;
}

.accroche-visuel {
  display: block;
  position: relative;
  grid-column: 2 / -1;
  margin-top: 2.5rem;
}

.accroche-visuel .realisation-capture {
  background: var(--fond);
  box-shadow: 0 24px 50px -24px rgba(46, 74, 104, 0.45);
}

.accroche-visuel figcaption {
  font-size: 0.95rem;
}

.pastille {
  position: absolute;
  right: -6px;
  bottom: 6px;
  z-index: 3;
  display: grid;
  place-content: center;
  width: 108px;
  height: 108px;
  margin: 0;
  border-radius: var(--rayon);
  background: var(--bleu-fonce);
  color: var(--blanc-casse);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  rotate: -7deg;
}

.pastille strong {
  display: block;
  font-family: var(--police-titre);
  font-size: 1.7rem;
  line-height: 1;
}

.accroche-texte {
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .accroche-grille {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 24px;
  }
  .accroche-titre {
    grid-column: 1 / 10;
    grid-row: 1;
    font-size: clamp(4rem, 7.4vw, 7rem);
  }
  .ligne--bande {
    margin-left: 1.4em;
  }
  .ligne--decale {
    margin-left: 0.7em;
  }
  .ligne--decale + .ligne--decale {
    margin-left: 1.1em;
  }
  .accroche-visuel {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    margin-top: 4.5rem;
  }
  .accroche-texte {
    grid-column: 1 / 6;
    grid-row: 2;
    margin-top: 2.5rem;
  }
  .pastille {
    right: -40px;
    bottom: -8px;
    width: 132px;
    height: 132px;
  }
  .pastille strong {
    font-size: 2rem;
  }
}

/* Mot géant en contour, coupé par le bord de l'écran */
.mot-geant {
  position: relative;
  z-index: 0;
  overflow: hidden;
  margin: 0 0 -0.16em;
  font: 700 clamp(5rem, 26vw, 19rem)/0.8 var(--police-titre);
  pointer-events: none;
  user-select: none;
}

.mot-geant span::before {
  content: attr(data-mot) / "";
}

.mot-geant span {
  display: block;
  padding-left: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2 + var(--gouttiere)));
  white-space: nowrap;
  color: var(--blanc-casse);
}

.mot-geant + .section {
  position: relative;
  z-index: 1;
}

/* Grand numéro de section en contour, derrière le titre */
.section-intro {
  position: relative;
  isolation: isolate;
}

.section-intro h2[data-numero]::before,
.apropos h2[data-numero]::before,
.contact-grille h2[data-numero]::before {
  content: attr(data-numero) / "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  top: -0.86em;
  font-size: 2.2em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bleu-clair);
  opacity: 0.5;
  pointer-events: none;
}

.section-intro h2,
.apropos h2,
.contact-grille h2 {
  position: relative;
  isolation: isolate;
  margin-top: 1.6em;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
}

/* Offres : cartes décalées en hauteur, celle du milieu en bleu */
@media (min-width: 768px) {
  .offres-grille {
    align-items: start;
    padding-top: 2rem;
  }
  .offres-grille .carte:nth-child(2) {
    margin-top: -2rem;
  }
  .offres-grille .carte:nth-child(3) {
    margin-top: 1.75rem;
  }
}

.carte {
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}

.carte:hover {
  translate: 0 -4px;
  box-shadow: 0 18px 34px -22px rgba(46, 74, 104, 0.6);
}

.carte--forte {
  background: var(--bleu-fonce);
  border-color: var(--bleu-fonce);
  color: var(--blanc-casse);
}

.carte--forte h3,
.carte--forte .carte-prix strong {
  color: var(--fond);
}

.carte--forte .carte-icone {
  background: var(--blanc-casse);
  color: var(--bleu-fonce);
}

.carte--forte .liste-avantages .icone {
  color: var(--blanc-casse);
}

.carte--forte .carte-note {
  border-top-color: rgba(232, 238, 245, 0.3);
}

/* Réalisations : capture inclinée, fiche par-dessus */
.realisations-grille--seule .realisation {
  overflow: visible;
  border: 0;
  background: none;
}

.realisations-grille--seule .realisation-capture {
  margin: 0;
  background: var(--fond);
  box-shadow: 0 28px 56px -28px rgba(46, 74, 104, 0.5);
}

.realisations-grille--seule .realisation-corps {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  background: var(--fond);
  border: 1px solid var(--bleu-clair);
  border-radius: var(--rayon);
  box-shadow: 0 20px 40px -26px rgba(46, 74, 104, 0.5);
}

@media (min-width: 768px) {
  .realisations-grille--seule .realisation {
    grid-template-columns: 1.85fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .realisations-grille--seule .realisation-capture {
    margin: 0;
  }
  .realisations-grille--seule .realisation-corps {
    margin: 5rem 0 0;
  }
}

.realisation-lien:hover .icone,
.bouton:hover .icone {
  transform: translateX(3px);
}

/* Méthode : étapes en escalier, grands numéros */
.etape-numero {
  width: auto;
  height: auto;
  background: none;
  color: var(--bleu);
  font-size: 2.8rem;
  line-height: 0.9;
  justify-content: flex-start;
}

.etape-numero::before {
  content: counter(etape, decimal-leading-zero);
}

.etape {
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}

.etape:hover {
  translate: 0 -4px;
  box-shadow: 0 18px 34px -22px rgba(46, 74, 104, 0.6);
}

@media (max-width: 767px) {
  .etape:nth-child(even) {
    margin-left: 1.5rem;
  }
  .etape:nth-child(odd) {
    margin-right: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .etapes {
    align-items: start;
  }
  .etape:nth-child(even) {
    margin-top: 2.5rem;
  }
}

@media (min-width: 1100px) {
  .etapes {
    align-items: start;
    row-gap: 1.5rem;
  }
  .etape:nth-child(3n + 2) {
    margin-top: 2.25rem;
  }
  .etape:nth-child(3n) {
    margin-top: 4.5rem;
  }
}

/* À propos : grande phrase à gauche, texte décalé à droite */
.apropos {
  max-width: none;
  display: grid;
  gap: 0 3rem;
}

.apropos-citation {
  margin: 0.5rem 0 1.75rem;
  padding-left: 1rem;
  border-left: 6px solid var(--bleu);
  font: 700 clamp(1.9rem, 6vw, 3.2rem)/1.05 var(--police-titre);
  color: var(--bleu);
}

@media (min-width: 900px) {
  .apropos {
    grid-template-columns: 1fr 1fr;
  }
  .apropos h2 {
    grid-column: 1 / -1;
  }
  .apropos-citation {
    grid-column: 1;
    margin-top: 1rem;
  }
  .apropos-texte {
    grid-column: 2;
    padding-top: 6rem;
  }
}

/* Contact : le formulaire chevauche le haut de la section */
#contact {
  position: relative;
}

@media (min-width: 900px) {
  .formulaire {
    position: relative;
    z-index: 1;
    margin-top: -8.5rem;
    box-shadow: 0 28px 56px -30px rgba(46, 74, 104, 0.5);
  }
}

/* ===== Animations : seulement sans demande de réduction des mouvements ===== */
@media (prefers-reduced-motion: no-preference) {
  .bouton .icone,
  .realisation-lien .icone {
    transition: transform 0.15s ease;
  }

  /* À l'ouverture : les lignes du titre glissent, la capture se pose, la pastille apparaît */
  .accroche-titre .ligne {
    animation: licane-glisser 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .accroche-titre .ligne:nth-child(2) {
    animation-delay: 0.06s;
  }
  .accroche-titre .ligne:nth-child(3) {
    animation-delay: 0.12s;
  }
  .accroche-titre .ligne:nth-child(4) {
    animation-delay: 0.18s;
  }
  .accroche-texte {
    animation: licane-monter 0.75s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .accroche-visuel {
    animation: licane-poser 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .pastille {
    animation: licane-tampon 0.5s 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  }

  /* Au défilement : les blocs glissent en place */
  @supports (animation-timeline: view()) {
    .section-intro,
    .carte,
    .realisation-capture,
    .realisation-corps,
    .etape,
    .apropos-citation,
    .apropos-texte {
      animation: licane-monter linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 40%;
    }
    .mot-geant span {
      animation: licane-defiler linear both;
      animation-timeline: view();
      animation-range: cover 40% cover 100%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .carte:hover,
  .etape:hover {
    translate: none;
  }
}

@keyframes licane-glisser {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: none; }
}

@keyframes licane-monter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes licane-poser {
  from { opacity: 0; transform: translate(40px, 24px); }
  to { opacity: 1; transform: none; }
}

@keyframes licane-tampon {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

@keyframes licane-defiler {
  from { transform: none; }
  to { transform: translateX(-10vw); }
}
