@font-face {
  font-family: "Inclusive Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/inclusive-sans-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;
}

:root {
  --jaune: #f2d315;
  --violet: #a00a9b;
  --vert: #0be052;
  --marine: #071338;
  --grille: #8c909b;
  --cell: 200px;
  --decal: calc(var(--cell) * 0.5);
  --gouttiere: clamp(16px, 4vw, 40px);
  --police: "Inclusive Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (max-width: 1099px) {
  :root { --cell: 150px; }
}
@media (max-width: 900px) {
  :root { --cell: 120px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--police);
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--marine);
  background: #fff;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--marine); outline-offset: 3px; }
.duo--violet :focus-visible, .manifeste :focus-visible { outline-color: #fff; }

.lien-evitement {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: #fff; padding: 12px 16px; font-weight: 700;
}
.lien-evitement:focus { left: 16px; top: 16px; }

.conteneur { width: min(100% - 2 * var(--gouttiere), 1240px); margin-inline: auto; }
.pas-de-coupure { white-space: nowrap; }

/* ---------- Grille de fond (cadre ouvert) ---------- */
.grille {
  background-color: #fff;
  background-image:
    linear-gradient(to right, var(--grille) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grille) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: 50% var(--decal);
}

/* Blocs centrés, largeur en nombre impair de cellules pour que leurs bords tombent sur la grille */
.cadre, .duo, .carte-blanche {
  --n: 5;
  width: calc(100% - 2 * var(--gouttiere));
  max-width: calc(var(--cell) * var(--n));
  margin-inline: auto;
}
@supports (width: round(down, 10px, 3px)) {
  .cadre, .duo, .carte-blanche {
    --panneau: min(
      calc(round(down, calc(100% - 32px - var(--cell)), calc(var(--cell) * 2)) + var(--cell)),
      calc(var(--cell) * var(--n))
    );
    width: var(--panneau);
    max-width: none;
  }
}
@media (max-width: 900px) {
  .cadre, .duo, .carte-blanche { width: auto; max-width: none; margin-inline: var(--gouttiere); }
}

.cadre {
  display: flex; flex-direction: column; justify-content: center;
  background: #fff;
  box-shadow: inset 1px 1px 0 var(--grille);
  padding: clamp(24px, 4vw, 56px) clamp(22px, 4.4vw, 64px);
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--grille);
}
.entete__interieur {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 32px;
  max-width: 1400px; margin-inline: auto;
  padding: 10px var(--gouttiere);
}
.entete__logo img { width: auto; height: 54px; }
.entete nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
.entete nav a { font-weight: 700; text-decoration: none; }
.entete nav a:not(.ruban):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

@media (max-width: 600px) {
  .entete { position: static; }
  .entete nav ul { gap: 6px 18px; font-size: 0.95rem; }
  .entete__logo img { height: 44px; }
  html { scroll-padding-top: 16px; }
}

/* ---------- Rubans « tissu » ---------- */
.ruban, .surlignage {
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--marine);
  font-weight: 700;
}
.ruban { display: inline-block; padding: 0.3em 1em; line-height: 1.25; text-decoration: none; }
.surlignage {
  padding: 0.02em 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ruban--vert, .surlignage--vert { background-image: url("assets/img/ruban-vert.png"); }
.ruban--rose { background-image: url("assets/img/ruban-rose.png"); color: #fff; text-shadow: 0 0 3px rgba(7, 19, 56, 0.35); }
.ruban--jaune, .surlignage--jaune { background-image: url("assets/img/ruban-jaune.png"); }
.ruban--bleu { background-image: url("assets/img/ruban-bleu.png"); }
a.ruban:hover { filter: brightness(0.95); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Boutons d'appel à l'action (encadré) ---------- */
.bouton {
  display: inline-block;
  padding: 0.6em 1.25em;
  border: 2px solid var(--violet);
  color: var(--violet);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}
.bouton::after { content: "\00a0\2192"; }
.bouton:hover { background: rgba(160, 10, 155, 0.08); }

/* ---------- Titres ---------- */
.titre-section { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); }

/* ---------- Hero (écran partagé) ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; }
.hero__photo { position: relative; min-height: 360px; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero__texte { display: flex; align-items: center; padding-block: var(--decal); }
.cadre--hero { padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px); }
.cadre--hero h1 { font-size: clamp(1.9rem, 0.6rem + 2.2vw, 3rem); line-height: 1.12; }
.rubans { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.rubans .ruban, .hero__cta .bouton { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem); white-space: nowrap; }
.hero__cta { margin-top: 44px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .hero__texte { display: block; }
}

/* ---------- Manifeste ---------- */
.manifeste { background: var(--violet); padding-block: clamp(40px, 7vw, 100px); }
.manifeste__bloc {
  width: min(100% - 2 * var(--gouttiere), 880px);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 72px);
  background: #fff;
}
.manifeste__bloc > * + * { margin-top: 1em; }
.manifeste__bloc > h2 { margin-top: 1.8em; font-size: inherit; font-weight: 700; line-height: 1.55; text-wrap: wrap; }
.manifeste__bloc > h2:first-child { margin-top: 0; }
.manifeste__bloc > h2 + h2 { margin-top: 0.4em; }
.manifeste__bloc > .manifeste__source { margin-top: 2.4em; font-size: 0.8em; }

/* ---------- Offres ---------- */
.offres, .transition-bloc, .bloc-grille { padding-block: var(--decal); }
.cadre.cadre--transition { align-items: center; padding-block: 16px; }
.transition { text-align: center; font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.6rem); line-height: 1.15; text-wrap: balance; }
.transition > span { display: block; }
.transition .surlignage { font-weight: 600; }
.offres__liste {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(20px, 3vw, 36px);
}
.offre { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.offre__titre { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); font-weight: 500; }
.offre__sous-titre { font-size: 0.62em; }
.offre__accroche { font-weight: 700; }
.offre__points, .liste-puces { display: grid; gap: 8px; }
.offre__points li, .liste-puces li { position: relative; padding-left: 1.3em; }
.offre__points li::before, .liste-puces li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.55em; height: 0.55em; background: var(--violet);
}
.offre__conclusion { font-size: 1.1em; }
.offre > :nth-last-child(2) { margin-bottom: 12px; }
.offre .bouton { margin-top: auto; }
@media (max-width: 900px) { .offres__liste { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.clients { background: var(--vert); padding-block: clamp(48px, 8vw, 112px); }
.clients__intro { margin-top: 16px; }
@media (min-width: 1200px) {
  .clients__intro { white-space: nowrap; font-size: clamp(0.85rem, 1.12vw, 1rem); }
}
.avis-liste {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(28px, 4vw, 48px);
}
.avis {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.6vw, 32px);
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 19, 56, 0.22);
}
.avis p { font-size: 1.1em; line-height: 1.5; }
.avis figcaption { font-size: 0.88em; line-height: 1.4; }

.logos {
  display: flex; overflow: hidden;
  padding-block: 28px;
  background: #fff;
  border-top: 1px solid var(--grille);
}
.logos__piste {
  display: flex; flex-shrink: 0; align-items: center; justify-content: space-around;
  min-width: 100%;
  animation: defilement 50s linear infinite;
}
.logos li { padding-inline: clamp(24px, 3vw, 48px); }
.logos img { width: auto; height: clamp(44px, 5vw, 62px); }
.logos:hover .logos__piste { animation-play-state: paused; }
@keyframes defilement { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .logos { flex-wrap: wrap; }
  .logos__piste { animation: none; flex-wrap: wrap; justify-content: center; gap: 16px 0; }
  .logos__piste[aria-hidden="true"] { display: none; }
}

/* ---------- Duo texte + photo (À propos, Contact) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__texte {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1em;
  padding: clamp(28px, 4.4vw, 64px);
}
.duo__texte .titre-section { margin-bottom: 0.2em; }
.duo__cta { margin-top: 1.4em; }
.duo--clair .duo__texte { background: #fff; }
.duo--violet .duo__texte { background: var(--violet); color: #fff; }
.duo__photo { position: relative; min-height: 340px; }
.duo__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo--violet .duo__photo img { object-position: 92% 40%; }
.pourquoi .duo__photo img { object-position: 40% 50%; }
.apropos .duo__photo img { object-position: 85% 50%; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .duo__photo { min-height: 0; aspect-ratio: 4 / 3; }
}

.apropos { background: var(--jaune); padding-block: clamp(40px, 7vw, 100px); }
.pourquoi { background: var(--vert); padding-block: clamp(40px, 7vw, 100px); }
@media (min-width: 901px) {
  .duo--inverse .duo__photo { order: -1; }
}

.contact { padding-block: var(--decal); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 6px; }
.picto-linkedin { display: inline-flex; width: 1.85em; height: 1.85em; color: #fff; }
.picto-linkedin svg { width: 100%; height: 100%; fill: currentColor; }
.picto-linkedin:hover { opacity: 0.8; }

/* ---------- Pages offres ---------- */
.retour {
  align-self: flex-start; margin-bottom: 20px;
  font-size: 0.9rem; font-weight: 700; color: var(--violet); text-decoration: none;
}
.retour:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.titre-offre {
  display: block; width: fit-content; max-width: 100%;
  padding: 0.15em 0.5em;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 500; line-height: 1.1;
}
.titre-offre .offre__sous-titre { font-size: 0.5em; }
.accroche-page { margin-top: 28px; max-width: 34ch; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); font-weight: 700; line-height: 1.3; }
.intro-page { margin-top: 16px; max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.cadre .rubans { margin-top: 24px; }
.sous-titre-section { margin-top: 12px; max-width: 62ch; }

.etapes { counter-reset: etape; display: grid; gap: 24px 32px; margin-top: clamp(20px, 3vw, 36px); }
.etapes > li { counter-increment: etape; }
.etapes > li::before { content: counter(etape); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--violet); }
.etapes h3 { font-size: 1.15rem; }
.etapes--3 { grid-template-columns: repeat(3, 1fr); }
.etapes--3 > li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.etapes--liste { gap: 0; }
.etapes--liste > li {
  display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 20px; row-gap: 4px; align-items: start;
  padding-block: 20px; border-top: 1px solid var(--grille);
}
.etapes--liste > li::before { grid-row: 1 / span 2; }
.etapes--liste h3 { font-weight: 700; }

.carte-blanche { padding: clamp(28px, 4.4vw, 64px); background: #fff; }
.format { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(20px, 3vw, 32px); align-items: start; }
.prix { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.prix__montant { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.1; }
.champs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(20px, 3vw, 40px); margin-top: clamp(20px, 3vw, 32px); }
.champ { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.champ h3 { font-size: 1.1rem; }
.suite {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: clamp(24px, 3vw, 36px); padding-top: 24px; border-top: 1px solid var(--grille);
}

.oui-non, .moments { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(20px, 3vw, 32px); }
.moments { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.oui-non h3, .moments h3 { margin-bottom: 16px; font-size: 1.1rem; }
.moments p { max-width: 42ch; }
.moments h3 { padding-inline: 0.75em; font-size: 0.95rem; white-space: nowrap; }
.moments__cta { margin-top: 20px; }
@media (max-width: 1099px) { .moments { grid-template-columns: 1fr; } }
.note-relais { margin-top: 24px; max-width: 62ch; }


@media (max-width: 900px) {
  .etapes--3, .format, .champs, .oui-non, .moments { grid-template-columns: 1fr; }
  .suite { justify-content: flex-start; }
}

.texte-legal { align-items: flex-start; justify-content: flex-start; }
.texte-legal h1 { margin-bottom: 8px; }
.texte-legal h2 { margin-top: 1.6em; font-size: 1.25rem; font-weight: 700; }
.texte-legal h2 + p, .texte-legal p + p { margin-top: 0.6em; }
.texte-legal a:not(.retour) { color: var(--violet); text-underline-offset: 4px; }

/* ---------- Pied de page ---------- */
.pied {
  padding: 28px var(--gouttiere);
  border-top: 1px solid var(--grille);
  text-align: center;
  font-size: 0.9rem;
}
.pied a { text-underline-offset: 3px; }
