/* =========================================================
   Textuelle — feuille de style du site public
   ========================================================= */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/site/polices/nunito-sans-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: url('/site/polices/nunito-sans-latin-300-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/site/polices/nunito-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/site/polices/nunito-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/site/polices/nunito-sans-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/site/polices/nunito-sans-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/site/polices/lato-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('/site/polices/lato-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/site/polices/lato-latin-700-normal.woff2') format('woff2');
}

:root {
  --ivoire: #fbf9f6;
  --blanc: #ffffff;
  --anthracite: #3a3a40;
  --gris-doux: #66656f;
  --lilas-pale: #eeebf7;
  --lilas: #dcd5f2;
  --lavande: #b8a7e6;
  --violet: #655aa3;
  --violet-fonce: #4a4185;
  --aubergine: #2e2a45;

  --titres: 'Nunito Sans', 'Avenir Next', system-ui, sans-serif;
  --texte: 'Lato', system-ui, sans-serif;

  --largeur: 1180px;
  --largeur-etroite: 780px;
  --rayon: 18px;
  --ombre: 0 18px 40px rgba(74, 65, 133, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--anthracite);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--violet);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--violet-fonce);
}
h1,
h2,
h3 {
  font-family: var(--titres);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
p {
  margin: 0 0 1.1em;
}
[hidden] {
  display: none !important;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: 24px;
}
.conteneur--etroit {
  max-width: var(--largeur-etroite);
}

/* ---------- Sections ---------- */
.bloc {
  padding-block: 90px;
}
.fond-lilas {
  background: var(--lilas-pale);
}
.fond-blanc {
  background: var(--blanc);
}
.fond-lilas + .fond-lilas,
.fond-blanc + .fond-blanc {
  padding-top: 0;
}
.bloc--serre {
  padding-block: 0 90px;
}
/* Premier bloc sous la grande photo : l'arrondi fait déjà la séparation */
.hero + .bloc,
.entete-page + .bloc,
.entete-page + .contact {
  padding-top: 40px;
}
/* Section qui suit le formulaire de contact : sa marge basse suffit */
.contact + .bloc {
  padding-top: 0;
}

/* ---------- Boutons et petits éléments ---------- */
.bouton {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  font: 700 1rem var(--titres);
  padding: 0.85em 1.8em;
  border-radius: 99px;
  text-decoration: none;
  border: 2px solid var(--violet);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(101, 90, 163, 0.25);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.bouton:hover {
  background: var(--violet-fonce);
  border-color: var(--violet-fonce);
  color: #fff;
  transform: translateY(-2px);
}
.bouton--contour {
  background: transparent;
  color: var(--violet);
  box-shadow: none;
}
.bouton--contour:hover {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}
.bouton--blanc {
  background: #fff;
  color: var(--violet);
  border-color: #fff;
}
.bouton--blanc:hover {
  background: var(--lilas-pale);
  border-color: var(--lilas-pale);
  color: var(--violet-fonce);
}
.bouton--petit {
  padding: 0.55em 1.2em;
  font-size: 0.9rem;
  box-shadow: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.2em;
}
.actions--centre {
  justify-content: center;
}

.lien-fleche {
  font: 700 0.95rem var(--titres);
  color: var(--violet);
}
.lien-fleche::after {
  content: ' →';
}

.surtitre {
  font: 800 0.8rem var(--titres);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.8em;
}
.surtitre--clair {
  color: var(--lavande);
}
.titre-section {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--aubergine);
}
.titre-section::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--lavande);
  margin-top: 0.45em;
}
.titre-section--centre {
  text-align: center;
}
.titre-section--centre::after {
  margin-inline: auto;
}
.bloc .conteneur > .surtitre {
  text-align: center;
}

.etiquettes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.etiquettes li {
  font: 700 0.82rem var(--titres);
  color: var(--violet);
  background: var(--lilas-pale);
  border-radius: 99px;
  padding: 5px 14px;
}

.icone {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icone__plein {
  fill: var(--blanc);
}

/* ---------- En-tête : grand logo centré ---------- */
.entete {
  text-align: center;
  padding: 36px 24px 18px;
}
.entete__logo img {
  width: min(380px, 80vw);
  margin: 0 auto;
}
.entete__metier {
  margin: 6px 0 0;
  font: 600 0.85rem var(--titres);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gris-doux);
}

/* ---------- Barre de menu (collante) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  border-block: 1px solid var(--lilas);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  position: relative;
}
.nav__mini-logo {
  position: absolute;
  left: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav__mini-logo img {
  width: 130px;
}
.logo-cache .nav__mini-logo {
  opacity: 1;
  pointer-events: auto;
}
.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu ul a {
  font: 600 0.98rem var(--titres);
  color: var(--anthracite);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.menu ul a:hover,
.menu ul a[aria-current='page'] {
  color: var(--violet);
  border-bottom-color: var(--violet);
}
.nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--anthracite);
  margin: 5px 0;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

/* ---------- Vague et trait (courbe du logo) ---------- */
.vague {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
}
.vague__fond {
  fill: var(--ivoire);
}
.vague__trait {
  fill: var(--lavande);
}
.trait {
  display: block;
  width: min(420px, 70%);
  height: 20px;
  margin: 18px auto 30px;
  fill: var(--lavande);
}

/* ---------- Grande photo d'en-tête ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__fond {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ivoire) 0%,
      rgba(251, 249, 246, 0.92) 34%,
      rgba(251, 249, 246, 0.35) 62%,
      rgba(251, 249, 246, 0) 80%
    ),
    var(--photo, none) center right / cover no-repeat;
}
.hero__inner {
  position: relative;
  padding-block: 80px 110px;
}
.hero__surtitre {
  font: 800 0.82rem var(--titres);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1.4em;
}
.hero__slogan {
  font-family: var(--titres);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--aubergine);
  max-width: 12em;
}
.hero__mot {
  color: var(--violet);
}
.hero__verbes {
  font: 600 1.15rem var(--titres);
  color: var(--gris-doux);
  margin-bottom: 0.4em;
}
.hero__verbes i {
  color: var(--lavande);
  font-style: normal;
  margin: 0 0.5em;
}
.hero__zone {
  color: var(--gris-doux);
  font-style: italic;
  margin-bottom: 1em;
}

/* La correction animée : le mot barré, puis le mot juste qui apparaît */
.correction {
  white-space: nowrap;
}
.correction__faux {
  position: relative;
  display: inline-block;
  animation: palir 0.5s ease 1.6s forwards;
}
.correction__faux::after {
  content: '';
  position: absolute;
  left: -3%;
  top: 52%;
  height: 0.09em;
  width: 0;
  background: var(--violet);
  border-radius: 2px;
  transform: rotate(-6deg);
  animation: barrer 0.5s ease-out 1s forwards;
}
.correction__juste {
  display: inline-block;
  color: var(--violet);
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  vertical-align: bottom;
  animation: inserer 0.7s ease-out 1.9s forwards;
}
@keyframes barrer {
  to {
    width: 106%;
  }
}
@keyframes palir {
  to {
    color: #b9b6c6;
    font-size: 0.5em;
    font-weight: 400;
  }
}
@keyframes inserer {
  to {
    max-width: 5em;
    opacity: 1;
    margin-left: 0.2em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .correction__faux {
    display: none;
  }
  .correction__juste {
    max-width: none;
    opacity: 1;
    animation: none;
  }
}

/* ---------- En-tête de page ---------- */
.entete-page {
  position: relative;
  overflow: hidden;
  padding: 110px 0 150px;
}
.entete-page__fond {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ivoire) 0%,
      rgba(251, 249, 246, 0.95) 48%,
      rgba(251, 249, 246, 0.55) 75%,
      rgba(251, 249, 246, 0.2) 100%
    ),
    var(--photo, none) center / cover no-repeat;
}
.entete-page__inner {
  position: relative;
}
.entete-page__titre {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  color: var(--aubergine);
  max-width: 14em;
  line-height: 1.1;
  margin-bottom: 0.45em;
}
.entete-page__intro {
  font-size: 1.25rem;
  color: var(--gris-doux);
  max-width: 34em;
  margin: 0;
}

/* ---------- Texte ---------- */
.texte-seul {
  text-align: center;
}
.texte-seul__chapo {
  font: 600 1.35rem/1.5 var(--titres);
  color: var(--aubergine);
}
.texte-seul__texte {
  color: var(--gris-doux);
  font-size: 1.1rem;
}
.accroche {
  font-family: var(--titres);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  margin: 0;
}
.accroche strong {
  color: var(--violet);
}
.bloc + .texte-seul,
.texte-seul + .bloc:not([class*='fond-']),
.texte-seul + .fond-clair {
  padding-top: 30px;
}

/* ---------- Texte + photo ---------- */
.duo {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  isolation: isolate;
}
.duo--inverse .duo__image {
  order: 2;
}
.duo__image {
  margin: 0;
  position: relative;
}
.duo__image img {
  border-radius: var(--rayon);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--ombre);
}
.duo--portrait .duo__image img {
  aspect-ratio: 4 / 5;
}
.duo__image::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  background: var(--lilas);
  border-radius: var(--rayon);
}
.duo--inverse .duo__image::before {
  inset: 22px 22px -22px -22px;
}
.fond-lilas .duo__image::before {
  background: var(--lavande);
  opacity: 0.55;
}
.duo__chapo {
  font-family: var(--titres);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--aubergine);
}

/* ---------- Cartes ---------- */
.cartes {
  --gap: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
.cartes--3 > * {
  flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
}
.cartes--4 > * {
  flex: 0 1 calc((100% - 3 * var(--gap)) / 4);
}
.cartes--centrees {
  justify-content: center;
}
.carte {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 40px 26px 32px;
  text-decoration: none;
  color: inherit;
  border-top: 4px solid var(--lavande);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.carte--lien:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(74, 65, 133, 0.2);
  border-top-color: var(--violet);
  color: inherit;
}
.carte__rond {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--lilas-pale);
  color: var(--violet);
  margin-bottom: 20px;
  transition:
    background 0.25s,
    color 0.25s;
}
.carte--lien:hover .carte__rond {
  background: var(--violet);
  color: #fff;
}
.carte__titre {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--aubergine);
  line-height: 1.3;
}
.carte__titre--capitales {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.carte p {
  font-size: 0.98rem;
  color: var(--gris-doux);
  flex: 1;
  margin-bottom: 0.8em;
}

/* ---------- Bloc foncé ---------- */
.bloc-fonce {
  color: #f1eefa;
  padding-block: 110px;
  background:
    linear-gradient(rgba(54, 46, 104, 0.9), rgba(54, 46, 104, 0.93)),
    var(--photo, none) center / cover no-repeat,
    #362e68;
}
.bloc-fonce .titre-section {
  color: #fff;
}
.bloc-fonce a {
  color: #fff;
}
.bloc-fonce__tete {
  max-width: var(--largeur-etroite);
  margin-inline: auto;
}
.bloc-fonce__tete--centre {
  text-align: center;
  margin-bottom: 48px;
}
.bloc-fonce__citation {
  margin: 2.2em 0 0;
  padding: 4px 0 4px 30px;
  border-left: 4px solid var(--lavande);
  font-family: var(--titres);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.45;
  font-weight: 700;
  color: #fff;
}
.colonnes__titre {
  text-align: center;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 auto 24px;
}
.colonnes {
  display: grid;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.colonnes--2 {
  grid-template-columns: 1fr 1fr;
}
.colonnes--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
}
.colonne {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(184, 167, 230, 0.35);
  border-radius: var(--rayon);
  padding: 36px 34px;
}
.colonne .icone {
  width: 44px;
  height: 44px;
  color: var(--lavande);
  margin-bottom: 16px;
}
.colonne .icone .icone__plein {
  fill: #3d3570;
}
.colonne h3 {
  color: #fff;
  font-size: 1.3rem;
}
.colonne p {
  margin: 0;
}
.etiquettes--claires {
  justify-content: center;
  margin-top: 44px;
}
.etiquettes--claires li {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  padding: 7px 18px;
}

/* ---------- Chiffres clés ---------- */
.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.chiffres div {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--ombre);
}
.chiffres strong {
  display: block;
  font: 800 2.4rem var(--titres);
  color: var(--violet);
  line-height: 1.1;
}
.chiffres div > span {
  color: var(--gris-doux);
  font-size: 0.95rem;
}

/* ---------- Logos ---------- */
.references {
  text-align: center;
}
.logos {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.logos li {
  display: grid;
  place-items: center;
  height: 130px;
  padding: 18px 22px;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: 0 6px 18px rgba(74, 65, 133, 0.08);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.logos li:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre);
}
.logos img {
  max-height: 82px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.35);
  opacity: 0.9;
  mix-blend-mode: multiply;
  transition:
    filter 0.3s,
    opacity 0.3s;
}
.logos li:hover img {
  filter: none;
  opacity: 1;
}
.logos__texte span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font: 800 1.15rem var(--titres);
  color: var(--gris-doux);
  transition: color 0.3s;
}
.logos__texte small {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}
.logos li.logos__texte:hover span {
  color: var(--violet);
}
.logos__note {
  margin-top: 1.8em;
  color: var(--gris-doux);
  font-style: italic;
}

/* ---------- Citation ---------- */
.citation {
  position: relative;
  text-align: center;
  padding: 110px 24px 90px;
  background: linear-gradient(180deg, var(--ivoire), var(--lilas-pale));
}
.citation__courbe {
  position: absolute;
  top: 30px;
  left: 5%;
  width: 90%;
  height: 90px;
  fill: var(--lavande);
  opacity: 0.7;
}
.citation__texte {
  position: relative;
  margin: 0;
  font: italic 300 clamp(1.6rem, 3.6vw, 2.6rem) var(--titres);
  color: var(--violet-fonce);
}

/* ---------- Exemple de correction ---------- */
.exemple {
  padding-top: 30px;
}
.exemple__carte {
  max-width: 900px;
  margin: 0 auto;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 40px 48px;
  border-left: 6px solid var(--lavande);
}
.exemple__entete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin-bottom: 18px;
}
.exemple__entete .surtitre {
  margin: 0;
}
.exemple__titre {
  font: 700 1.2rem var(--titres);
  color: var(--aubergine);
  margin: 0;
  flex: 1;
}
.exemple__bascule {
  font: 700 0.85rem var(--titres);
  color: var(--violet);
  background: var(--lilas-pale);
  border: 0;
  border-radius: 99px;
  padding: 8px 16px;
  cursor: pointer;
}
.exemple__bascule:hover {
  background: var(--lilas);
}
.exemple__texte {
  font:
    400 1.4rem/2.4 Georgia,
    'Times New Roman',
    serif;
  color: var(--anthracite);
  margin: 0;
}
.c {
  position: relative;
  white-space: nowrap;
  cursor: help;
}
.c del {
  color: #a9a5b8;
  text-decoration: line-through 2px var(--violet);
}
.c ins {
  color: var(--violet);
  text-decoration: none;
  font-weight: 700;
  margin-left: 0.25em;
}
.c__note {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, 4px);
  background: var(--aubergine);
  color: #fff;
  font: 600 0.78rem/1.3 var(--titres);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.c:hover .c__note,
.c:focus .c__note {
  opacity: 1;
  transform: translate(-50%, -2px);
}
.exemple__texte[data-etat='propre'] del,
.exemple__texte[data-etat='propre'] .c__note {
  display: none;
}
.exemple__texte[data-etat='propre'] ins {
  color: inherit;
  font-weight: 400;
  margin: 0;
}
.exemple__texte[data-etat='propre'] .c {
  cursor: auto;
}
.exemple__legende {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--gris-doux);
  font-style: italic;
}

/* ---------- Liste de prestations ---------- */
.prestation {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto 22px;
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 36px 40px;
  box-shadow: var(--ombre);
}
.prestation:last-child {
  margin-bottom: 0;
}
.prestation__numero {
  font: 300 4rem/1 var(--titres);
  color: var(--lavande);
}
.prestation h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--aubergine);
  margin-bottom: 0.4em;
}
.prestation p {
  color: var(--gris-doux);
}

/* ---------- Étapes ---------- */
.etapes {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: etape;
  display: grid;
  grid-template-columns: repeat(var(--nombre, 4), 1fr);
  gap: 28px;
  position: relative;
}
.etapes::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--lavande) 0 8px, transparent 8px 16px);
}
.etapes li {
  position: relative;
  text-align: center;
  counter-increment: etape;
}
.etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font: 800 1.5rem var(--titres);
  box-shadow: 0 0 0 8px var(--ivoire);
  position: relative;
}
.etapes h3 {
  font-size: 1.15rem;
  color: var(--aubergine);
  margin-bottom: 0.4em;
}
.etapes p {
  font-size: 0.98rem;
  color: var(--gris-doux);
  margin: 0;
}

/* ---------- Questions fréquentes ---------- */
.questions {
  display: grid;
  gap: 14px;
}
.question {
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  border-left: 5px solid var(--lavande);
}
.question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 26px;
  font: 700 1.08rem var(--titres);
  color: var(--aubergine);
  cursor: pointer;
  list-style: none;
}
.question summary::-webkit-details-marker {
  display: none;
}
/* Signe + qui devient − à l'ouverture */
.question summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lilas-pale);
  color: var(--violet);
  font-size: 1.3rem;
  line-height: 1;
}
.question[open] summary::after {
  content: '−';
}
.question summary:hover,
.question summary:focus-visible {
  color: var(--violet);
}
.question__reponse {
  padding: 0 26px 22px;
  color: var(--anthracite);
}
.question__reponse p + p {
  margin-top: 0.7em;
}

/* ---------- Réalisations ---------- */
.realisations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.realisation {
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 30px 34px;
  border-left: 5px solid var(--lavande);
}
.realisation h3 {
  font: 800 0.82rem var(--titres);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.7em;
}
.realisation p {
  margin: 0;
}

/* ---------- Appel au devis ---------- */
.appel {
  padding: 110px 24px;
  background:
    linear-gradient(rgba(46, 42, 69, 0.35), rgba(46, 42, 69, 0.35)),
    var(--photo, none) center / cover no-repeat,
    var(--lilas-pale);
}
.appel__carte {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ivoire);
  border-radius: var(--rayon);
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.appel__question {
  font: 700 1.25rem var(--titres);
  color: var(--aubergine);
  margin: 1.4em 0 0.2em;
}

/* ---------- Formulaire de contact ---------- */
#devis {
  scroll-margin-top: 80px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding-block: 80px 110px;
}
.formulaire {
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 44px 48px;
}
.formulaire .titre-section {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin-bottom: 1.2em;
}
.champs-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.champ {
  margin: 0 0 22px;
  border: 0;
  padding: 0;
  min-width: 0;
}
.champ label,
.champ legend {
  display: block;
  font: 700 0.95rem var(--titres);
  color: var(--aubergine);
  margin-bottom: 8px;
  padding: 0;
}
.requis {
  color: var(--violet);
}
.facultatif {
  font-weight: 400;
  color: var(--gris-doux);
}
.champ input,
.champ textarea {
  width: 100%;
  font: 1rem var(--texte);
  color: var(--anthracite);
  background: var(--ivoire);
  border: 1.5px solid var(--lilas);
  border-radius: 10px;
  padding: 12px 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.champ textarea {
  resize: vertical;
  min-height: 150px;
}
.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(101, 90, 163, 0.15);
}
.verifie .champ input:invalid,
.verifie .champ textarea:invalid {
  border-color: #c2416b;
  background: #fdf3f6;
}
.pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pastilles label {
  margin: 0;
  cursor: pointer;
  font: inherit;
  position: relative;
}
.pastilles input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pastilles span {
  display: inline-block;
  font: 600 0.92rem var(--titres);
  color: var(--violet);
  border: 1.5px solid var(--lavande);
  border-radius: 99px;
  padding: 8px 16px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.pastilles label:hover span {
  background: var(--lilas-pale);
}
.pastilles input:checked + span {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.pastilles input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(101, 90, 163, 0.25);
}
.piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consentement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--gris-doux);
  cursor: pointer;
}
.consentement input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--violet);
  flex: none;
}
.verifie .consentement input:invalid + span {
  color: #c2416b;
}
.formulaire__note {
  font-size: 0.85rem;
  color: var(--gris-doux);
  margin: 12px 0 22px;
}
.formulaire__erreur {
  color: #a8325a;
  background: #fdf3f6;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.95rem;
}
.formulaire button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.confirmation {
  text-align: center;
  padding: 40px 10px;
}
.confirmation svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 14px;
}
.confirmation h3 {
  font-size: 1.4rem;
  color: var(--aubergine);
}
.confirmation p {
  color: var(--gris-doux);
  margin: 0;
}
.coordonnees {
  position: sticky;
  top: 90px;
}
.coordonnees__carte {
  background: var(--aubergine);
  color: #e6e2f3;
  border-radius: var(--rayon);
  padding: 34px 30px;
  box-shadow: var(--ombre);
}
.coordonnees__carte h2 {
  color: #fff;
  font-size: 1.3rem;
}
.coordonnees__carte ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.coordonnees__carte li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}
.coordonnees__carte li:first-child {
  border-top: 0;
}
.coordonnees__carte svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: var(--lavande);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}
.coordonnees__carte a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.coordonnees__carte a:hover {
  color: var(--lavande);
}
.rappels {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.rappels li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 0.95rem;
  color: var(--gris-doux);
}
.rappels li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lilas);
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 800;
}
.rappels strong {
  color: var(--aubergine);
}

/* ---------- Texte long (mentions légales…) ---------- */
.texte-long h2 {
  font-size: 1.5rem;
  color: var(--aubergine);
  margin-top: 1.6em;
}
.texte-long h3 {
  font-size: 1.15rem;
  color: var(--aubergine);
  margin-top: 1.4em;
}

/* ---------- Pied de page ---------- */
.pied {
  background: var(--aubergine);
  color: #cfcae3;
  font-size: 0.95rem;
  padding-top: 64px;
}
.pied a {
  color: #fff;
  text-decoration: none;
}
.pied a:hover {
  color: var(--lavande);
}
.pied strong {
  color: #fff;
}
.pied__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.pied__logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 14px;
  width: 220px;
}
.pied p {
  margin: 0 0 0.3em;
}
.pied address {
  font-style: normal;
  line-height: 1.8;
}
.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2;
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  font-size: 0.85rem;
  color: #a39ebb;
}
.pied__bas a {
  color: #a39ebb;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__mini-logo {
    display: none;
  }
}
@media (max-width: 980px) {
  .cartes--3 > *,
  .cartes--4 > * {
    flex-basis: calc((100% - var(--gap)) / 2);
  }
  .duo {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .duo--inverse .duo__image {
    order: 0;
  }
  .duo__image {
    max-width: 600px;
  }
  .duo--portrait .duo__image img {
    aspect-ratio: 4 / 3;
  }
  .hero__fond {
    background:
      linear-gradient(
        90deg,
        var(--ivoire) 0%,
        rgba(251, 249, 246, 0.88) 55%,
        rgba(251, 249, 246, 0.5) 100%
      ),
      var(--photo, none) center right / cover no-repeat;
  }
  .colonnes--3 {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .coordonnees {
    position: static;
    order: -1;
  }
  .logos {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .nav__inner {
    justify-content: flex-end;
  }
  .nav__mini-logo {
    display: block;
  }
  .nav__burger {
    display: block;
  }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: var(--ivoire);
    border-bottom: 1px solid var(--lilas);
    padding: 8px 24px 24px;
  }
  .menu ul {
    flex-direction: column;
    gap: 0;
  }
  .menu ul a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--lilas-pale);
  }
  .menu .bouton {
    text-align: center;
  }
  .menu-ouvert .menu {
    display: flex;
  }
  .menu-ouvert .nav__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-ouvert .nav__burger span:nth-child(2) {
    opacity: 0;
  }
  .menu-ouvert .nav__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .colonnes--2 {
    grid-template-columns: 1fr;
  }
  .etapes {
    grid-template-columns: 1fr 1fr;
  }
  .etapes::before {
    display: none;
  }
  .realisations {
    grid-template-columns: 1fr;
  }
  .pied__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 560px) {
  .conteneur {
    padding-inline: 16px;
  }
  .nav__mini-logo {
    left: 16px;
  }
  .bloc {
    padding-block: 64px;
  }
  .hero {
    min-height: 520px;
  }
  .entete-page {
    padding: 72px 0 120px;
  }
  .cartes--3 > *,
  .cartes--4 > * {
    flex-basis: 100%;
  }
  .duo__image::before {
    display: none;
  }
  .appel {
    padding: 64px 16px;
  }
  .appel__carte {
    padding: 40px 22px;
  }
  .bloc-fonce__citation {
    padding-left: 18px;
  }
  .logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .logos li {
    height: 104px;
  }
  .exemple__carte {
    padding: 28px 22px;
  }
  .exemple__texte {
    font-size: 1.15rem;
    line-height: 2.2;
  }
  .c {
    white-space: normal;
  }
  .prestation {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 28px 22px;
  }
  .prestation__numero {
    font-size: 2.6rem;
  }
  .etapes {
    grid-template-columns: 1fr;
  }
  .formulaire {
    padding: 30px 20px;
  }
  .champs-2 {
    grid-template-columns: 1fr;
  }
}
