/* Mise en page : une colonne de lecture sur fond encre, ponctuée d'un bandeau vidéo pleine largeur et d'une grille de cartes violettes. */
@font-face { font-family: "Basteleur"; src: url("fonts/basteleur-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Basteleur"; src: url("fonts/basteleur-moonlight.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Birthstone"; src: url("fonts/birthstone.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --encre: #110319;
  --violet: #650c9b;
  --citron: #d4f24a;
  --rose: #f5308c;
  --blanc: #f7f5fa;
  --gris-mauve: #bdb4c6;
  --filet: rgba(247, 245, 250, .35);

  --titre: "Basteleur", Georgia, serif;
  --texte: "Jost", "Futura", system-ui, sans-serif;
  --manuscrite: "Birthstone", "Segoe Script", cursive;

  --largeur: 880px;
  --radius-carte: 36px;
  --gouttiere: max(16px, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--encre);
  color: var(--blanc);
  font: 400 1.125rem/1.6 var(--texte);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--citron); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: calc(var(--largeur) + 2 * 16px);
  margin-inline: auto;
  padding-left: var(--gouttiere);
  padding-right: var(--gouttiere-d);
}

/* ---------- En-tête ---------- */
.entete { border-bottom: 1px solid var(--filet); }
.entete .wrap { max-width: 1200px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.entete .symbole { display: block; line-height: 0; flex: none; }
.entete .symbole img { height: 34px; width: auto; }
.menu { display: flex; gap: clamp(18px, 5.5vw, 64px); list-style: none; margin: 0; padding: 14px 0; }
.menu a {
  font: 400 .8125rem/1 var(--texte); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--gris-mauve); padding-block: 6px; display: inline-block;
}
.menu a:hover { color: var(--blanc); }
.menu a[aria-current="page"] { color: var(--citron); }

/* ---------- Ouverture ---------- */
.ouverture { padding-block: clamp(24px, 4vw, 40px) clamp(56px, 8vw, 96px); }
.ouverture .logo { width: 104px; height: 104px; border-radius: 10px; display: block; }
.surtitre { color: var(--citron); font-weight: 300; font-size: 1.125rem; margin: 18px 0 0; }
h1 {
  font: 700 clamp(2.125rem, 5vw, 3rem)/1.15 var(--titre);
  margin: clamp(48px, 8vw, 80px) 0 0; max-width: 16ch; text-wrap: balance;
}
.chapo { margin: clamp(36px, 6vw, 64px) 0 0; max-width: 46rem; font-size: 1.1875rem; }

/* ---------- Bandeau vidéo ---------- */
.bandeau { position: relative; background: var(--encre); }
.bandeau video { display: block; width: 100%; aspect-ratio: 1920 / 630; height: auto; object-fit: cover; }
@media (max-width: 720px) { .bandeau video { aspect-ratio: auto; height: 300px; } }
.pause {
  position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: 12px;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--filet);
  background: rgba(17, 3, 25, .72); color: var(--blanc); cursor: pointer;
  display: grid; place-items: center;
}
.pause svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--filet { border-top: 1px solid var(--filet); }
h2 {
  font: 300 clamp(1.875rem, 4.4vw, 2.625rem)/1.2 var(--titre);
  margin: 0; text-wrap: balance;
}
.texte { max-width: 34rem; display: grid; gap: 1.1em; }
.texte p { margin: 0; }
.intro { margin-top: clamp(40px, 6vw, 64px); }
.c-citron { color: var(--citron); }
.c-rose { color: var(--rose); }

/* Cartes des cibles */
.cibles {
  list-style: none; margin: clamp(64px, 9vw, 112px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px);
  max-width: 820px;
}
@media (max-width: 640px) { .cibles { grid-template-columns: minmax(0, 1fr); } }
.carte {
  position: relative; background: var(--violet); border-radius: var(--radius-carte);
  padding: clamp(56px, 7vw, 72px) clamp(28px, 4vw, 40px) clamp(32px, 4.5vw, 44px);
  display: grid; align-content: start; gap: 18px; min-width: 0;
}
.carte img { position: absolute; top: 22px; right: 24px; height: 60px; width: auto; }
.carte h3 { font: 300 clamp(1.25rem, 5.4vw, 1.4375rem)/1.25 var(--titre); margin: 0; }
.carte h3 span { display: block; white-space: nowrap; }
@media (max-width: 340px) { .carte h3 span { white-space: normal; } }
.carte p { margin: 0; font-size: 1.0625rem; line-height: 1.55; }

/* Vous vous reconnaissez ? */
.question { font: 600 1.375rem/1.3 var(--texte); margin: 0; }
.reconnaissance { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: .55em; max-width: 40rem; }

/* Mon rôle */
.role { margin-top: clamp(64px, 9vw, 96px); display: grid; gap: 22px; max-width: 34rem; }
.role p { margin: 0; font-size: 1.1875rem; }

/* Boutons */
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--rose); color: var(--encre); text-decoration: none;
  font: 600 1.125rem/1.2 var(--texte); padding: 15px 34px; border-radius: 999px;
  min-height: 52px; justify-self: start;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(245, 48, 140, .28); }
@media (prefers-reduced-motion: reduce) { .wp-block-button .wp-block-button__link { transition: none; } .wp-block-button .wp-block-button__link:hover { transform: none; } }
.role .wp-block-button .wp-block-button__link { margin-top: 14px; }

/* Parcours */
.parcours {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "signature portrait" "debut portrait" "debut suite" "bouton suite";
  column-gap: clamp(32px, 7vw, 80px); row-gap: 28px; align-items: start;
}
.signature { grid-area: signature; font: 400 clamp(2.5rem, 5vw, 3rem)/1.1 var(--manuscrite); margin: 0; }
.parcours .debut { grid-area: debut; }
.parcours .portrait { grid-area: portrait; }
.parcours .suite { grid-area: suite; margin-top: 12px; }
.parcours .offres-lien { grid-area: bouton; margin-top: 12px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; max-width: 100%; }
@media (max-width: 760px) {
  .parcours { grid-template-columns: minmax(0, 1fr); grid-template-areas: "signature" "portrait" "debut" "suite" "bouton"; }
  .parcours .portrait { max-width: 420px; }
  .parcours .suite { margin-top: 0; }
}

/* Contact */
.contact { border-top: 1px solid var(--filet); }
.contact h2 { margin-bottom: clamp(40px, 6vw, 56px); }
.voies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 32px); row-gap: 0; }
@media (max-width: 760px) { .voies { grid-template-columns: minmax(0, 1fr); } }
.voie {
  border-radius: var(--radius-carte); padding: clamp(40px, 6vw, 60px) clamp(32px, 5vw, 56px);
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 20px; align-items: start; min-width: 0;
  position: relative;
  background: var(--violet);
}
@media (max-width: 760px) { .voies { row-gap: clamp(20px, 3vw, 32px); } }
.voie h3 { font: 300 1.5rem/1.25 var(--titre); margin: 0; padding-right: 76px; }
@media (max-width: 480px) { .voie h3 { padding-right: 64px; } .voie .picto-voie { height: 52px; } }
.voie .picto-voie { position: absolute; top: clamp(36px, 5.4vw, 54px); right: clamp(28px, 4.5vw, 48px); height: 60px; width: auto; }
.voie p { margin: 0; }
.voie .note { color: var(--gris-mauve); font-size: 1rem; margin-top: -4px; }
.voies { align-items: stretch; }
.voie .wp-block-button .wp-block-button__link { margin-top: 8px; }



/* Pied de page */
.pied { border-top: 1px solid var(--filet); padding-block: 28px; font-size: .9375rem; }
.pied .wrap { max-width: 1200px; display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.pied p { margin: 0; color: var(--gris-mauve); }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.pied a { text-underline-offset: 4px; }
.pied .suivre { text-align: center; padding: 0 var(--gouttiere) 28px; margin-bottom: 28px; border-bottom: 1px solid var(--filet); }
.pied .insta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blanc); }
.pied .insta span { text-wrap: balance; }
.pied .insta b { color: var(--citron); font-weight: 600; white-space: nowrap; }
.pied .insta .ig { width: 24px; height: 24px; color: var(--citron); flex: none; }
.pied .insta:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { .pied .insta span { text-align: left; text-wrap: wrap; } .pied .insta b { display: block; } .pied .insta .ig { width: 30px; height: 30px; } }


/* ---------- Page Réalisations ---------- */
.page-titre { padding-block: clamp(40px, 7vw, 72px) clamp(48px, 8vw, 88px); }
.page-titre h1 { margin-top: 0; max-width: 22ch; }
.page-titre .chapo { margin-top: clamp(24px, 4vw, 40px); }
.projets {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 40px);
}
@media (max-width: 860px) { .projets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .projets { grid-template-columns: minmax(0, 1fr); } }
.projet { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; min-width: 0; }
.projet img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; max-width: 100%; transition: transform .25s ease; }
.projet .vignette { overflow: hidden; margin-bottom: 10px; }
.projet:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .projet img { transition: none; } .projet:hover img { transform: none; } }
.projet h2 { font: 300 1.5rem/1.2 var(--titre); color: var(--citron); }
.projet p { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.projet .voir { color: var(--citron); font-weight: 500; text-underline-offset: 4px; justify-self: start; }
.projet .voir a::after { content: ""; position: absolute; inset: 0; }
.projet .voir a:hover { text-decoration-thickness: 2px; }
.suite-cta { padding-block: clamp(56px, 9vw, 96px) clamp(64px, 10vw, 112px); }

/* ---------- Pages projet ---------- */
.projet-hero { position: relative; min-height: clamp(320px, 52vw, 620px); display: grid; place-items: start center; overflow: hidden; }
.projet-hero > img.fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17,3,25,.55), rgba(17,3,25,0) 45%); }
.projet-hero .titre-logo { position: relative; z-index: 1; width: min(78%, 820px); height: auto; margin-top: clamp(40px, 8vw, 96px); }
.projet-hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

.fiche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 5vw, 56px); }
@media (max-width: 760px) { .fiche { grid-template-columns: minmax(0, 1fr); } }
.fiche h2 { font: 300 1.5rem/1.2 var(--titre); color: var(--citron); margin: 0 0 14px; }
.fiche p { margin: 0; font-size: 1.0625rem; }

.reveal { display: flex; justify-content: center; padding-bottom: clamp(56px, 9vw, 104px); }
.reveal video, .reveal img { width: min(100%, 520px); height: auto; aspect-ratio: 1; display: block; }

.clair { background: var(--blanc); color: var(--encre); }
.clair h2 { color: var(--encre); }
.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.galerie figure { margin: 0; min-width: 0; }
.galerie img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: 100%; }
.g-7 { grid-column: span 7; } .g-5 { grid-column: span 5; } .g-12 { grid-column: span 12; } .g-6 { grid-column: span 6; }
.galerie .ratio-carte { aspect-ratio: 1.2; } .galerie .ratio-sv { aspect-ratio: .857; }
.galerie .ratio-large { aspect-ratio: 1.62; } .galerie .ratio-portrait { aspect-ratio: .8; }
@media (max-width: 640px) { .g-7, .g-5, .g-6 { grid-column: span 12; } .galerie .ratio-carte, .galerie .ratio-sv, .galerie .ratio-portrait { aspect-ratio: auto; } }

.da { border-radius: var(--radius-carte); padding: clamp(32px, 5.5vw, 56px) clamp(28px, 5.5vw, 56px); display: grid; gap: 22px; margin-top: clamp(32px, 5vw, 48px); }
.da .da-titre { height: clamp(30px, 5vw, 46px); width: auto; max-width: 100%; display: block; }
.da .colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 56px); margin-top: 14px; }
@media (max-width: 640px) { .da .colonnes { grid-template-columns: minmax(0, 1fr); } }
.da p { margin: 0; }
.da h3 { margin: 0 0 8px; }

.palette-svg { display: block; width: min(100%, 360px); height: auto; margin: clamp(40px, 6vw, 64px) auto 0; }

.declinaisons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 5vw, 48px); }
.declinaisons img { width: 100%; height: auto; display: block; }
.declinaisons .h { grid-column: span 2; }
@media (max-width: 640px) { .declinaisons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.details { list-style: none; padding: 0; margin: clamp(48px, 7vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
@media (max-width: 760px) { .details { grid-template-columns: minmax(0, 1fr); } }
.details > * { display: grid; grid-template-rows: auto auto 1fr; gap: 12px; min-width: 0; }
.details .illus { height: 88px; display: flex; align-items: center; }
.details .illus img { max-height: 88px; width: auto; max-width: 100%; }
.details h3 { font: 600 1.125rem/1.3 var(--texte); margin: 6px 0 0; }
.details p { margin: 0; }

.fin-projet { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.lien-retour { color: var(--rose); font-weight: 500; text-underline-offset: 4px; }
.clair .lien-retour { color: #c41f6d; }
.clair .wp-block-button .wp-block-button__link:hover { box-shadow: 0 6px 0 rgba(245, 48, 140, .22); }

.palette-tourne { transform-box: view-box; transform-origin: 50% 50%; animation: palette-tour 36s linear infinite; }
@keyframes palette-tour { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .palette-tourne { animation: none; } }

/* Cadrage plus serré du visuel d'ouverture sur grand écran (le téléphone garde le cadrage d'origine) */
@media (min-width: 761px) {
  .tlp .projet-hero { place-items: start start; }
  .tlp .projet-hero > img.fond { object-position: 50% 100%; transform: translateX(9%) scale(1.22); transform-origin: 50% 100%; }
  .tlp .projet-hero .titre-logo { margin-top: clamp(36px, 5vw, 64px); margin-left: clamp(24px, 6vw, 88px); width: min(56%, 640px); }
}

/* Détails du logo, version à grandes illustrations */
.details--grand .illus { height: auto; aspect-ratio: 1; display: grid; place-items: center; background: var(--illus-fond, transparent); overflow: hidden; }
.details--grand .illus img, .details--grand .illus video { max-height: none; width: 100%; height: 100%; object-fit: contain; display: block; }
.details--grand .illus video { object-fit: cover; }
.illus-duo { display: grid; gap: 10%; width: 78%; justify-items: center; }
.illus-duo img { width: 100%; height: auto; object-fit: contain; }
.illus-cote { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; width: 86%; align-items: center; }
.illus-cote img { width: 100%; height: auto; }
.details--grand > * { gap: 14px; }
.details--grand .illus { margin-bottom: 10px; }
.illus-duo { width: 70%; gap: 20px; }
@media (max-width: 760px) {
  .details--grand .illus { width: min(100%, 300px); justify-self: center; }
  .details--grand { gap: 56px; }
  .details--grand .illus:not(.illus--nuit) { aspect-ratio: auto; padding-block: 8px; }
}
.details--grand .illus .illus-duo img, .details--grand .illus .illus-cote img { height: auto; max-height: none; object-fit: contain; }
@media (max-width: 760px) { .details--grand .illus:not(.illus--nuit) { overflow: visible; } }
@media (max-width: 760px) {
  .details--grand .illus:not(.illus--nuit) { aspect-ratio: auto !important; height: auto !important; display: block; padding-block: 0; }
  .details--grand .illus .illus-duo, .details--grand .illus .illus-cote { margin-inline: auto; height: auto; }
}

/* Palette superposée à l'encadré de direction artistique, sur grand écran */
.da-bloc { position: relative; }
.palette-svg { background: var(--blanc); border-radius: 50%; }
@media (min-width: 900px) {
  .da-bloc .palette-svg { position: absolute; top: -112px; right: calc(-1 * clamp(0px, (100vw - 100%) / 2 - 24px, 64px)); width: 300px; margin: 0; }
  .da-bloc .da { padding-right: clamp(28px, 5.5vw, 56px); }
  .da-bloc .da .sous-titre, .da-bloc .da .surtitre-da { max-width: calc(100% - 300px); }
  .da-bloc .da .da-titre, .da-bloc .da .da-nom { max-width: calc(100% - 300px); }
  .da-bloc .da .colonnes { margin-top: 64px; }
}
@media (min-width: 761px) {
  .details--grand .illus { place-items: center start; }
  .details--grand .illus .illus-duo { justify-items: start; width: 80%; }
  .details--grand .illus .illus-cote { width: 100%; }
}

/* Détails : grille de quatre logos */
.illus-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; width: 74%; align-items: center; justify-items: center; }
.illus-grille img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.details--grand .illus .illus-grille img { height: auto; }
@media (min-width: 761px) { .details--grand .illus .illus-grille { justify-items: start; } }
.lien-suite { color: var(--rose); font-weight: 500; text-underline-offset: 4px; }
.clair .lien-suite { color: #c41f6d; }
.tuile-creme { background: #fef4eb; display: grid; place-items: center; }
.galerie .tuile-creme img, .galerie .tuile-creme video { object-fit: contain; }
.kit-pages { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 32px); }
.kit-pages img { display: block; width: 100%; height: auto; box-shadow: 0 1px 0 rgba(17,3,25,.06), 0 8px 24px rgba(17,3,25,.08); }
.g-4 { grid-column: span 4; } .g-8 { grid-column: span 8; }
@media (max-width: 640px) { .g-4, .g-8 { grid-column: span 12; } }
.illus-grille { width: 58%; gap: 8% 12%; }
.tuile-video { position: relative; overflow: hidden; }
.tuile-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.details--grand .illus.illus--portrait img { position: static; width: auto; height: 100%; max-width: 100%; }
@media (max-width: 760px) { .details--grand .illus.illus--portrait { aspect-ratio: auto !important; height: 340px !important; display: grid; justify-items: center; } }
.details--grand .illus.illus--portrait { position: relative; }
.details--grand .illus.illus--portrait img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; }
@media (max-width: 760px) { .details--grand .illus.illus--portrait img { left: 50%; transform: translateX(-50%); } }

/* Réalisations sur téléphone : des cartes bien séparées */
@media (max-width: 560px) {
  .projets { gap: 56px; }
  .projet { padding-bottom: 40px; border-bottom: 1px solid var(--filet); gap: 12px; }
  .projet:last-child { border-bottom: 0; padding-bottom: 0; }
  .projet .vignette { margin-bottom: 6px; }
}

/* Pages projets : de l'air et un filet entre chaque section */
.clair + .clair:not(.section-fin) { padding-top: clamp(56px, 8vw, 96px) !important; }
.clair + .clair:not(.section-fin) > .wrap::before { content: ""; display: block; height: 1px; background: rgba(17, 3, 25, .14); margin-bottom: clamp(56px, 8vw, 96px); }
.clair h2 { margin-bottom: clamp(28px, 4vw, 40px); }
@media (max-width: 760px) {
  .section.clair { padding-bottom: 72px; }
  .section-fin { padding-bottom: 88px !important; }
}
/* Tailles des logos sur téléphone : un juste milieu commun aux pages projets */
@media (max-width: 640px) {
  .declinaisons { max-width: 300px; margin-inline: auto; gap: 12px; }
  .details .illus { justify-content: center; }
  .details:not(.details--grand) .illus img { max-height: 72px; }
}
@media (max-width: 760px) {
  .details--grand .illus .illus-grille { width: 86%; margin-inline: auto; gap: 18px 16%; }
}
@media (max-width: 560px) {
  .projets { gap: 88px; }
  .projet { padding-bottom: 64px; }
}

/* ---------- Page Les offres ---------- */
.offres-haut { position: relative; background: var(--blanc); color: var(--encre); overflow: hidden; }
.offres-haut::before { content: ""; position: absolute; inset: 0; background: url("img/offres/motif-fond.webp") center top / 520px auto repeat; opacity: .55; pointer-events: none; }
.offres-haut > .wrap { position: relative; }
.offres-haut h1 { color: var(--encre); margin-top: 0; }
.formules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); margin-top: clamp(40px, 6vw, 64px); }
@media (max-width: 760px) { .formules { grid-template-columns: minmax(0, 1fr); } }
.formule { background: #fff; border-radius: var(--radius-carte); padding: clamp(28px, 4.5vw, 44px); display: grid; align-content: start; gap: 14px; min-width: 0; box-shadow: 0 1px 0 rgba(17,3,25,.05), 0 12px 32px rgba(17,3,25,.06); }
.formule--large { grid-column: 1 / -1; }
.formule h2 { font: 300 clamp(1.75rem, 3.6vw, 2.25rem)/1.15 var(--titre); color: #c41f6d; margin: 0; }
.formule .prix { margin: 0; font: 600 1.25rem/1.3 var(--texte); color: var(--violet); }
.formule .prix small { font-weight: 400; font-size: 1rem; color: #5b4f66; }
.formule .accroche { margin: 0; font-weight: 600; }
.formule ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.formule li { padding-left: 22px; position: relative; }
.formule li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }
.formule .inclus { margin: 6px 0 0; font-style: italic; color: #5b4f66; font-size: 1rem; }
.formule .lien-kits { justify-self: start; color: #c41f6d; font-weight: 500; text-underline-offset: 4px; margin-top: 4px; }
.formule .kits-liste li strong { font-weight: 600; }

.etapes { list-style: none; margin: clamp(40px, 6vw, 56px) 0 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 40px); max-width: 44rem; counter-reset: etape; }
.etapes > * { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; counter-increment: etape; }
.etapes > *::before { content: counter(etape); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--violet); color: var(--citron); display: grid; place-items: center; font: 700 1.25rem/1 var(--titre); }
.etapes h3 { margin: 10px 0 0; font: 300 1.375rem/1.25 var(--titre); color: var(--rose); }
.etapes p { margin: 0; }
.final { text-align: center; }
.final h2 { color: var(--citron); margin-bottom: 28px; }
.final .wp-block-button .wp-block-button__link { justify-self: center; }

/* ---------- Page Kits Instagram ---------- */
.kits { display: grid; gap: clamp(64px, 10vw, 112px); }
.kit-bloc { display: grid; gap: 16px; }
.kit-bloc h2 { font: 300 clamp(1.75rem, 4vw, 2.5rem)/1.15 var(--titre); color: var(--rose); margin: 0; }
.kit-bloc .objectif { margin: 0; font-style: italic; font-size: 1.1875rem; }
.kit-bloc .pour { margin: 0; max-width: 42rem; }
.kit-bloc figure { margin: 18px 0 0; }
.kit-bloc img { display: block; width: 100%; height: auto; border-radius: 6px; }
.kit-tarif { border-radius: var(--radius-carte); background: var(--violet); padding: clamp(28px, 5vw, 44px); display: grid; gap: 14px; justify-items: start; }
.kit-tarif p { margin: 0; }

/* Offres : motif agrandi et discret, encarts détourés d'un filet rose */
.offres-haut::before { background: url("img/offres/motif-fond.webp") center top / max(100%, 1100px) auto repeat-y; opacity: .9; }
.formule { background: transparent; box-shadow: none; border: 2px solid var(--rose); }
.formule .prix, .formule .prix small { color: #c41f6d; }
.formule li::before { background: var(--encre); }

.offres-haut { background-color: #f1eef4; }
.offres-haut::before { background: url("img/offres/motif-tuile.svg") 0 0 / 300px auto repeat; opacity: .5; }

/* ---------- Pages légales ---------- */
.date-maj { color: var(--gris-mauve); font-size: 1rem; }
.page-titre .date-maj { margin-top: 20px; }
.legal { padding-top: 0; }
.legal h2 { font: 300 clamp(1.375rem, 3vw, 1.625rem)/1.25 var(--titre); color: var(--citron); margin: clamp(48px, 7vw, 64px) 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 600 1.0625rem/1.4 var(--texte); margin: 28px 0 8px; }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.65; max-width: 46rem; }
.legal .coord { max-width: 46rem; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; }
.legal li { padding-left: 22px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--citron); }
.legal .coord { padding: 18px 22px; border-left: 2px solid var(--rose); background: rgba(101, 12, 155, .22); border-radius: 0 12px 12px 0; }
.legal a { color: var(--rose); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Accueil : plus d'air entre les sections ---------- */
.ouverture { padding-bottom: clamp(80px, 11vw, 136px); }
.ouverture .surtitre { margin-top: 24px; }
.ouverture ~ .section { padding-block: clamp(96px, 13vw, 168px); }
.ouverture ~ .section .intro { margin-top: clamp(48px, 7vw, 80px); }
.ouverture ~ .section .cibles { margin-top: clamp(80px, 11vw, 136px); }
.ouverture ~ .section .reconnaissance { margin-top: 36px; gap: .8em; }
.ouverture ~ .section .role { margin-top: clamp(96px, 13vw, 160px); gap: 28px; }
.ouverture ~ .section .parcours { margin-top: clamp(64px, 9vw, 104px); row-gap: 40px; }
.ouverture ~ .section .texte { gap: 1.4em; }
.ouverture ~ .contact h2 { margin-bottom: clamp(48px, 7vw, 72px); }
@media (max-width: 760px) { .ouverture ~ .section .parcours { row-gap: 36px; } }
/* « Vous vous reconnaissez ? » répond aux cartes violettes : on le rapproche d'elles */
.ouverture ~ .section:has(.cibles) { padding-bottom: clamp(56px, 7vw, 88px); }
.ouverture ~ .section:has(.reconnaissance) { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Micro-animations ---------- */
/* 2. Étoiles citron devant « Vous vous reconnaissez ? » */
.reconnaissance li { position: relative; padding-left: 34px; }
.reconnaissance li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px;
  background: url("img/picto-etoile-citron.svg") no-repeat center / contain;
}
.anim .reconnaissance li { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .5s ease; }
.anim .reconnaissance li::before { transform: rotate(-90deg) scale(.4); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.anim .reconnaissance.vu li { opacity: 1; transform: none; }
.anim .reconnaissance.vu li::before { transform: none; }
.anim .reconnaissance li:nth-child(2), .anim .reconnaissance li:nth-child(2)::before { transition-delay: .15s; }
.anim .reconnaissance li:nth-child(3), .anim .reconnaissance li:nth-child(3)::before { transition-delay: .3s; }
.anim .reconnaissance li:nth-child(4), .anim .reconnaissance li:nth-child(4)::before { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .anim .reconnaissance li, .anim .reconnaissance li::before { transition: none; }
}
/* La couronne est plus large que les autres pictos : on la réduit et on la recentre sur la même ligne */
.carte img[src*="couronne"] { height: 46px; top: 29px; }

/* ---------- Page Offres (version du 13 novembre) ---------- */
.ouv h1 { max-width: 18ch; }
.ouv .wp-block-button .wp-block-button__link { margin-top: clamp(28px, 4vw, 40px); }
.ouv .ouv-note { margin: 14px 0 0; color: var(--gris-mauve); font-size: 1rem; }
.formule .accroche--grande { font-size: 1.1875rem; }
.formule .accroche--liste { margin-top: 6px; }
.colonne { display: grid; gap: 14px; align-content: start; }
.colonne p { margin: 0; }
.principale { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 760px) { .principale { grid-template-columns: minmax(0, 1fr); } }
.tarif { display: grid; gap: 10px; }
.tarif p { margin: 0; font-size: 1rem; color: #5b4f66; }
.formule .tarif .prix { font: 500 1.0625rem/1.4 var(--texte); color: #c41f6d; }
.formule .tarif .prix small { font-size: 1rem; color: #c41f6d; }
.tarif .wp-block-button .wp-block-button__link { font-size: 1rem; padding: 13px 26px; min-height: 48px; }
.principale .tarif { align-self: end; }
.principale .tarif p:not(.prix) { line-height: 1.45; }
.principale .tarif .inclus { margin: 0 0 18px; }
.principale .tarif .wp-block-button .wp-block-button__link { margin-top: 26px; }
.plus { margin-top: clamp(56px, 8vw, 88px); }
.plus > h2 { color: var(--encre); }
.plus .formules { margin-top: clamp(28px, 4vw, 40px); }
.plus .formule { display: flex; flex-direction: column; gap: 14px; }
.plus .formule p { margin: 0; }
.plus .formule h2 { font-size: clamp(1.5rem, 2.6vw, 1.75rem); }
.plus .formule .tarif { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(17, 3, 25, .12); }
.exemple { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 761px) { .exemple .visuels { margin-top: 68px; } }
@media (min-width: 1024px) { .exemple .visuels { margin-top: 76px; } }
@media (max-width: 760px) { .exemple { grid-template-columns: minmax(0, 1fr); } }
.exemple .visuels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exemple .visuels img { display: block; width: 100%; height: auto; border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.exemple .visuels img.large { grid-column: 1 / -1; aspect-ratio: 1.5; }
.exemple .visuels img.pos-haut { object-position: 50% 0%; }
.exemple h2 { color: var(--citron); }
.exemple p { margin: 0; }
.exemple .texte { max-width: none; }
.exemple .surtitre { margin: 0; }
.exemple .repere { font: 400 1.125rem/1.45 var(--texte); color: inherit; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
.exemple .repere .montant { display: block; margin-top: 2px; font-weight: 600; }
.exemple .precision { font-size: 1rem; }
.exemple .fictif { font-size: .9375rem; color: var(--gris-mauve); font-style: italic; }
.exemple .liens-suite { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.exemple a.suite { color: var(--rose); font-weight: 500; text-underline-offset: 4px; }


/* ---------- Pages projets : polices et couleurs propres ---------- */
/* The Last Page */
/* Typographie propre au projet : Source Code Pro (licence libre). Westmeath n'est jamais chargée en police web : elle n'apparaît que dans les logos et le titre vectorisé. */
@font-face { font-family: "Source Code Pro"; src: url("fonts/tlp/source-code-pro-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Code Pro"; src: url("fonts/tlp/source-code-pro-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Code Pro"; src: url("fonts/tlp/source-code-pro-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
.tlp { --tlp-noir: #1a0f0f; --tlp-creme: #f8ebd3; --tlp-rouge: #8b1a1a; --tlp-moutarde: #c8952a; --tlp-orange: #c45c2a; }
.tlp .da { background: var(--tlp-creme); color: var(--tlp-noir); font: 400 1rem/1.6 "Source Code Pro", ui-monospace, "Courier New", monospace; }
.tlp .da .surtitre-da { margin: 0; font-size: 1.125rem; }
.tlp .da .sous-titre { font-style: italic; max-width: 32rem; }
.tlp .da h3 { font: 600 1rem/1.4 "Source Code Pro", ui-monospace, monospace; }
.tlp .reveal video { background: #1a0f0f; }
/* Yakou */
@font-face { font-family: "Asimovian"; src: url("fonts/yakou/asimovian.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/yakou/nunito-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/yakou/nunito-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/yakou/nunito-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
.yk { --yk-nuit: #25445b; --yk-noir: #0a1e2e; --yk-neon: #73eeff; --yk-orange: #ed4a19; --yk-creme: #ede7d5; }
.yk .projet-hero { place-items: end center; }
.yk .projet-hero::after { background: linear-gradient(to top, rgba(10,30,46,.65), rgba(10,30,46,0) 55%); }
.yk .projet-hero > img.fond { object-position: 50% 100%; transform: scale(1.5); transform-origin: 56% 96%; }
@media (min-width: 761px) { .yk .projet-hero > img.fond { object-position: 50% 62%; transform: scale(1.28); transform-origin: 58% 64%; } }
.yk .projet-hero .titre-logo {
  margin: 0 0 clamp(36px, 6vw, 72px); width: min(70%, 720px);
  filter: drop-shadow(0 0 6px rgba(115,238,255,.85)) drop-shadow(0 0 22px rgba(115,238,255,.45));
}
.yk .reveal video { background: var(--yk-nuit); }
.yk .da { background: var(--yk-creme); color: var(--yk-noir); font: 400 1.0625rem/1.6 "Nunito", system-ui, sans-serif; }
.yk .da .surtitre-da { margin: 0; font-size: 1.1875rem; }
.yk .da .da-nom { margin: 0; font: 400 clamp(2rem, 5vw, 2.75rem)/1.1 "Asimovian", "Audiowide", sans-serif; color: var(--yk-noir); }
.yk .da .sous-titre { font-style: italic; font-weight: 400; }
.yk .da h3 { font: 700 1.0625rem/1.4 "Nunito", system-ui, sans-serif; }
.yk .jp { white-space: nowrap; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
.yk .details--grand { --illus-fond: transparent; }
.yk .details .illus--nuit { background: #0a0a12; }
/* Les Horizons */
@font-face { font-family: "Barlow"; src: url("fonts/hz/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/hz/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/hz/Newsreader-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/hz/Newsreader-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/hz/Newsreader-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
.hz { --hz-corail: #e2726e; --hz-jaune: #f6be14; --hz-vert: #598836; --hz-bleu: #479fb8; --hz-creme: #fef4eb; --hz-brun: #3f230f; }
.hz .projet-hero { place-items: start start; }
.hz .projet-hero > img.fond { object-position: 50% 60%; }
.hz .projet-hero .titre-texte {
  position: relative; z-index: 1; margin: clamp(32px, 6vw, 72px) 0 0 clamp(20px, 6vw, 88px);
  font: 500 clamp(2.75rem, 8vw, 6rem)/1 "Barlow", "Helvetica Neue", Arial, sans-serif; letter-spacing: .01em;
  text-transform: uppercase; color: var(--hz-creme); -webkit-text-stroke: 1.5px var(--hz-brun); paint-order: stroke fill;
}
.hz .projet-hero h1 { position: relative; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
.hz .da { background: var(--hz-brun); color: var(--hz-creme); font: 400 1.0625rem/1.6 "Newsreader", Georgia, serif; }
.hz .da .surtitre-da { margin: 0; font: 400 1.1875rem/1.3 "Barlow", Arial, sans-serif; }
.hz .da .da-nom { margin: 0; font: 400 clamp(2rem, 4.6vw, 2.75rem)/1.15 "Barlow", Arial, sans-serif; }
.hz .da .sous-titre { font-style: italic; }
.hz .da h3 { font: 700 1.0625rem/1.4 "Newsreader", Georgia, serif; }
.hz .reveal video { background: var(--hz-creme); }

/* ---------- Ajustements WordPress ---------- */
/* Les blocs ajoutent leurs propres enveloppes : on neutralise leurs marges et on garde la mise en page du site. */
.wp-site-blocks > * { margin-block: 0; }
.wp-block-post-content > * { margin-block: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: bottom; }
.wp-block-buttons { display: flex; flex-wrap: wrap; margin: 0; }
.wp-block-button .wp-block-button__link { height: auto; word-break: normal; text-align: center; }
.wp-block-button .wp-block-button__link:focus-visible { outline: 3px solid var(--citron); outline-offset: 3px; }

/* Anciens styles en ligne, devenus des classes */
.wrap.wrap--large { max-width: calc(980px + 32px); }
.wrap.wrap--1000 { max-width: calc(1000px + 32px); }
.section.sans-haut { padding-top: 0; }
.grille { display: grid; }
.mt-l { margin-top: clamp(48px, 7vw, 72px); }
.mt-m { margin-top: clamp(40px, 6vw, 64px); }
.chapo.mt-20 { margin-top: 20px; }
.mt-cta { margin-top: clamp(28px, 4vw, 40px); }
.ar-1 { aspect-ratio: 1; } .ar-714 { aspect-ratio: .714; } .ar-1333 { aspect-ratio: 1.333; }
.ar-1426 { aspect-ratio: 1.426; } .ar-145 { aspect-ratio: 1.45; } .ar-16 { aspect-ratio: 1.6; }
.galerie .wp-block-image img { height: 100%; }
.galerie .wp-block-image.h-auto img { height: auto; }
.galerie .contain-creme img { object-fit: contain; background: #f8ebd3; }


/* Paragraphes qui portent un lien seul */
.voir, .lien-retour, .lien-kits, .lien-suite { margin: 0; }
.projet .voir { font-size: 1.125rem; line-height: 1.6; }
.projet .voir a { color: inherit; }
.formule p { margin: 0; }
.final .wp-block-buttons { justify-content: center; }
.fin-projet .wp-block-buttons, .role .wp-block-buttons, .voie .wp-block-buttons { margin: 0; }
.parcours .offres-lien .wp-block-buttons { margin: 0; }
.kit-bloc { margin: 0; }
.kit-pages > * { margin: 0; }
.portrait { margin: 0; }
.texte > * { margin: 0; }
.parcours .signature { margin: 0; }
.pied p { margin: 0; }

/* Menu : page en cours */
.menu a[aria-current="page"] { color: var(--citron); }
