/* Faire Savoir Studio, page de vente.
   Direction validée par Camille le 22 septembre 2026 : sombre, cuir rouge et velours moutarde,
   grain argentique, Montserrat ExtraBold en minuscules et Playfair Display italique doré.
   Mobile d'abord, mise en page ordinateur à partir de 1024 px. */

:root {
  --noir: #0B0706;
  --noir-pied: #070404;
  --creme: #F3E6CC;
  --creme-85: rgba(243, 230, 204, 0.85);
  --creme-75: rgba(243, 230, 204, 0.75);
  --creme-60: rgba(243, 230, 204, 0.6);
  --creme-25: rgba(243, 230, 204, 0.25);
  --creme-18: rgba(243, 230, 204, 0.18);
  --or: #E3A614;
  --or-clair: #FFE39A;
  --rouge: #4A0606;
  --rouge-sombre: #2A0404;
  --gouttiere: 22px;
  --rail: 0px;
  --sans: 'Montserrat', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--noir); color: var(--creme);
  font-family: var(--sans); font-size: 14px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--or); text-decoration: none; }
a:hover { color: var(--creme); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  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: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--or); color: var(--noir); font-weight: 800; }
.lien-evitement:focus { top: 12px; color: var(--noir); }

/* ---------- Lueurs et éclat ---------- */


/* Boutons « verre liquide », demandés par Camille le 23 septembre : une plaque d'or translucide qui
   laisse voir la texture derrière, un biseau clair en haut, une ombre portée sous la pastille.
   Le flou d'arrière-plan n'est calculé que sur la surface du bouton, jamais sur tout l'écran. */

.lueur { text-shadow: 0 0 12px rgba(255,236,200,.5), 0 0 34px rgba(255,190,90,.26); }
.or { color: var(--or); font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; text-shadow: 0 0 12px rgba(255,200,60,.5), 0 0 34px rgba(227,166,20,.32); }
/* Demande de Camille, 23 septembre : les lueurs ne clignotent plus, elles brillent en continu,
   un peu moins fort qu'avant. Les règles .lueur et .or ci-dessus suffisent, .vivant ne sert plus
   qu'à marquer les mots dans le HTML. */


/* ---------- Typographie récurrente ---------- */

.surtitre { display: flex; align-items: baseline; gap: 7px; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.surtitre .or { font-size: 21px; }
.titre { font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.035em; }
.titre .or { font-weight: 500; }
.texte { color: var(--creme-85); line-height: 1.75; }
.deux-colonnes { display: flex; flex-direction: column; gap: 30px; }
.entete-section { position: relative; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Boutons ---------- */

.fleche { flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.fleche svg { width: 16px; height: 16px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 26px; border: 1px solid var(--or); border-radius: 999px;
  background-color: transparent; color: var(--creme); cursor: pointer;
  font: inherit; text-align: left;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.bouton:hover { color: var(--creme); transform: translateY(-1px);
  background-color: rgba(227,166,20,.12); box-shadow: 0 0 26px rgba(227,166,20,.25); }
.bouton:focus-visible { outline: 2px solid var(--creme); outline-offset: 5px; }
.bouton .libelle { display: flex; align-items: baseline; gap: 7px; }
.bouton .libelle b { font-weight: 800; font-size: 13px; letter-spacing: -0.01em; }
.bouton .libelle i { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--or-clair); }
.bouton .fleche { width: 46px; height: 46px; background: transparent; border: 1px solid rgba(227,166,20,.7); }
.bouton .fleche path { stroke: var(--or); }
.bouton[disabled] { opacity: .7; cursor: progress; }

.pastille {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 16px; border-radius: 999px;
  border: 1px solid rgba(227,166,20,.75); background: rgba(11,7,6,.55);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,252,240,.28), inset 0 0 12px rgba(227,166,20,.14),
              0 8px 22px rgba(0,0,0,.45), 0 0 18px rgba(227,166,20,.22);
}
.pastille .libelle { display: flex; align-items: baseline; gap: 5px; }
.pastille b { font-weight: 800; font-size: 12px; color: var(--creme); }
.pastille i { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--or); }
.pastille .fleche { width: 30px; height: 30px; background: var(--or); }
.pastille .fleche path { stroke: var(--noir); }

.lien-souligne { display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--or); }
.lien-souligne b { font-weight: 700; font-size: 15px; color: var(--creme); }
.lien-souligne .or { font-size: 21px; }

/* ---------- Textures, jeu 1 par défaut, jeu 2 via <html data-textures="2"> ---------- */

.tex { background-color: var(--noir); background-position: center; background-size: cover; background-repeat: no-repeat; }
.tex-ouverture { background-image: url(../img/rideau-m.webp); background-position: center 30%; }
.tex-conviction { background-image: url(../img/chesterfield-m.webp); background-color: #2A0505; }
.tex-studio { background-image: url(../img/satin-m.webp); background-color: var(--rouge); }
.tex-formules { background-image: url(../img/velours-moutarde-m.webp); background-color: #C98F10; }
.tex-projet { background-image: url(../img/cuir-rouge-m.webp); background-color: var(--rouge); }
[data-textures="2"] .tex-ouverture { background-image: url(../img/salle-m.webp); background-position: center; }
[data-textures="2"] .tex-conviction { background-image: url(../img/satin-m.webp); }
[data-textures="2"] .tex-studio { background-image: url(../img/chesterfield-m.webp); }
[data-textures="2"] .tex-formules { background-image: url(../img/rideau-moutarde-m.webp); }
[data-textures="2"] .tex-projet { background-image: url(../img/fauteuil-m.webp); }
@media (min-width: 900px) {
  .tex-ouverture { background-image: url(../img/rideau.webp); }
  .tex-conviction { background-image: url(../img/chesterfield.webp); }
  .tex-studio { background-image: url(../img/satin.webp); }
  .tex-formules { background-image: url(../img/velours-moutarde.webp); }
  .tex-projet { background-image: url(../img/cuir-rouge.webp); }
  [data-textures="2"] .tex-ouverture { background-image: url(../img/salle.webp); }
  [data-textures="2"] .tex-conviction { background-image: url(../img/satin.webp); }
  [data-textures="2"] .tex-studio { background-image: url(../img/chesterfield.webp); }
  [data-textures="2"] .tex-formules { background-image: url(../img/rideau-moutarde.webp); }
  [data-textures="2"] .tex-projet { background-image: url(../img/fauteuil.webp); }
}

.voile { position: absolute; inset: 0; pointer-events: none; }
.section { position: relative; padding: 100px var(--gouttiere); display: flex; flex-direction: column; gap: 30px; }
.section > * { position: relative; }
.section > .voile { position: absolute; }
.rail { display: none; }

/* Grain argentique, par-dessus tout, sans capter les clics.
   Sur téléphone : une image fixe, en mélange normal. Le filtre SVG calculé en direct et mélangé en
   « overlay » sur tout l'écran se recalculait à chaque image du défilement et faisait saccader la page.
   Sur ordinateur, où il ne coûte rien, on garde le filtre d'origine. */
body::after { content: ''; position: fixed; inset: 0; z-index: 40; pointer-events: none; background: url(../img/grain.png) repeat; background-size: 96px; opacity: .26; }
/* Grain immobile, demandé par Camille le 23 septembre : une image fixe, fine et légère.
   Ne jamais l'animer, ni en position ni en opacité : c'est ce qui faisait saccader le défilement. */
@media (min-width: 900px) { body::after { display: none; } }

/* Badge « Powered by Netlify » injecté par l'hébergeur : masqué. */
#nl-badge-frame, #nl-hud-frame { display: none !important; }

.grain { display: none; position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 40; opacity: .22; mix-blend-mode: overlay; }

/* ---------- En-tête ---------- */

.entete { position: relative; z-index: 5; height: 72px; padding: 0 var(--gouttiere); display: flex; align-items: center; justify-content: space-between; background: var(--noir); }
.marque { display: flex; align-items: baseline; gap: 6px; color: var(--creme); }
.marque:hover { color: var(--creme); }
.marque b { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.marque .or { font-size: 17px; }
.nav-liens { display: none; }

/* ---------- Ouverture ---------- */

.ouverture { position: relative; min-height: min(780px, calc(100svh - 72px)); padding: 120px var(--gouttiere) 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.ouverture .voile { background: linear-gradient(180deg, rgba(11,7,6,.2) 0%, rgba(11,7,6,.1) 35%, rgba(11,7,6,.85) 75%, var(--noir) 100%); }
.ouverture-contenu { position: relative; display: flex; flex-direction: column; gap: 18px; }
.ouverture h1 { display: flex; flex-direction: column; }
.ouverture h1 .l1 { font-weight: 800; font-size: 60px; line-height: .95; letter-spacing: -0.035em; }
.ouverture h1 .l2 { font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.ouverture h1 .l3 { font-size: 64px; line-height: 1; }
.ouverture .accroche { color: var(--creme-85); }
.ouverture .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 8px; }
.reassurance { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; font-weight: 500; color: var(--creme-75); }
.reassurance span::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--or); box-shadow: 0 0 8px rgba(227,166,20,.9); }

/* ---------- Preuve chiffrée ---------- */

.preuve { background: radial-gradient(ellipse at 0% 100%, #5A0909 0%, #1E0303 45%, var(--noir) 85%); gap: 40px; }
.preuve .titre { font-size: 34px; line-height: 1.02; letter-spacing: -0.03em; }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; margin: 0; }
.chiffres div { display: flex; flex-direction: column-reverse; gap: 6px; }
.chiffres dt { font-size: 12px; font-weight: 500; color: var(--creme-75); }
.chiffres dd { white-space: nowrap; margin: 0; font-family: var(--sans); font-style: normal; font-weight: 900; font-size: 36px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.preuve .note { font-size: 11px; color: var(--creme-60); }

/* ---------- Conviction ---------- */

.conviction { padding-block: 110px; gap: 26px; }
.conviction .voile { background: linear-gradient(180deg, var(--noir) 0%, rgba(40,4,4,.82) 30%, rgba(40,4,4,.82) 70%, var(--noir) 100%); }
.conviction blockquote { margin: 0; display: flex; flex-direction: column; }
.conviction .c1 { font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -0.03em; }
.conviction .c2 { font-size: 60px; line-height: 1.05; }

/* ---------- Savoir-faire ---------- */

.studio .voile { background: linear-gradient(180deg, var(--noir) 0%, rgba(20,2,2,.86) 18%, rgba(20,2,2,.9) 82%, var(--noir) 100%); }
.metiers { display: flex; flex-direction: column; gap: 30px; }
.metier { padding-top: 22px; border-top: 1px solid rgba(227,166,20,.4); display: flex; flex-direction: column; gap: 10px; }
.metier h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.metier h3 .or { font-size: 32px; }
.metier p { color: var(--creme-75); line-height: 1.7; }

/* ---------- Formules ---------- */

.formules { color: var(--creme); padding-block: 96px 80px; gap: 36px; }
.formules .voile { background: linear-gradient(180deg, rgba(60,35,0,.62) 0%, rgba(40,22,0,.72) 100%); }
.formules .surtitre .rouge, .formules .titre .rouge { font-family: var(--serif); font-style: italic; color: var(--or-clair); }
.formules .surtitre .rouge { font-weight: 500; font-size: 21px; }
.formules .titre { font-weight: 900; font-size: 44px; line-height: .98; letter-spacing: -0.04em; }
.formules .titre .rouge { font-weight: 600; letter-spacing: 0; }
/* Une seule colonne tant qu'une carte ne peut pas faire 320 px : en dessous, le titre vient
   heurter le chiffre romain posé à sa droite. */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.carte-haut .num { flex-shrink: 0; }
.carte { padding: 24px 22px; border-radius: 24px; background: var(--noir); color: var(--creme); display: flex; flex-direction: column; gap: 10px; }
.carte-haut { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.carte h3 { overflow-wrap: break-word; font-weight: 800; font-size: 23px; line-height: 1.1; letter-spacing: -0.02em; }
.carte .num { font-size: 22px; }
.carte p { font-size: 13px; color: rgba(243,230,204,.78); }
.carte .en-parler { align-self: flex-start; display: inline-flex; align-items: baseline; gap: 5px; margin-top: 4px; padding: 10px 0 4px; border-bottom: 1px solid rgba(227,166,20,.6); font-size: 13px; font-weight: 700; color: var(--creme); }
.carte .en-parler .or { font-size: 17px; }
.formules-entete { display: flex; flex-direction: column; gap: 14px; }
.formules .mention { font-size: 12px; font-weight: 700; color: rgba(243,230,204,.8); }

/* ---------- Méthode ---------- */

.methode { background: radial-gradient(ellipse at 100% 0%, #3A0707 0%, var(--noir) 60%); gap: 44px; }
.etapes { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; display: flex; flex-direction: column; gap: 34px; }
.etapes::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--or) 0%, rgba(227,166,20,.15) 100%); }
.etapes li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.etapes li::before { content: ''; position: absolute; left: -30px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--or); box-shadow: 0 0 14px rgba(227,166,20,.9); }
.etapes .num { display: none; }
.etapes h3 { font-weight: 800; font-size: 19px; }
.etapes p { font-size: 13px; color: var(--creme-75); }

/* ---------- Réalisations ---------- */

.realisations { background: var(--noir); padding-inline: 0; }
.realisations .entete-section, .realisations .texte { padding-inline: var(--gouttiere); }
.films { display: flex; gap: 12px; padding: 0 var(--gouttiere); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.films::-webkit-scrollbar { display: none; }
.film { flex-shrink: 0; width: 210px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; scroll-snap-align: start; border: 1px solid rgba(227,166,20,.35); box-shadow: 0 0 30px rgba(122,11,11,.45); background: radial-gradient(ellipse at 50% 35%, #3A1C14 0%, #120A08 80%); }
.film video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- La critique ---------- */

.critiques { background: radial-gradient(ellipse at 50% 0%, #2E0505 0%, var(--noir) 70%); gap: 44px; }
.avis-liste { display: flex; flex-direction: column; gap: 22px; }
.avis { margin: 0; padding: 34px 26px 28px; border-radius: 28px; border: 1px solid rgba(227,166,20,.3); background: rgba(11,7,6,.55); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.avis .etoiles { color: var(--or); font-size: 18px; letter-spacing: .3em; text-shadow: 0 0 12px rgba(227,166,20,.7); }
.avis blockquote { margin: 0; flex: 1; display: flex; align-items: center; }
.avis blockquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.3; color: var(--creme); }
.avis blockquote p::before { content: '« '; color: var(--or); }
.avis blockquote p::after { content: ' »'; color: var(--or); }
.avis figcaption { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--creme-18); width: 100%; }
/* Tous les logos passent dans la même teinte crème, quelle que soit leur couleur d'origine. */
.avis .logo { height: 64px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(.92) sepia(.25); opacity: .9; }
.avis figcaption span { font-size: 12px; color: var(--creme-60); }

/* ---------- Équipe de tournage ---------- */

.equipe { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; padding-top: 34px; border-top: 1px solid var(--creme-18); }
.equipe-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.equipe-liste li { display: flex; align-items: center; gap: 16px; }
.equipe-liste img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(227,166,20,.5); filter: grayscale(1) contrast(1.05); }
.equipe-liste li > span { display: flex; flex-direction: column; }
.equipe-liste b { font-weight: 800; font-size: 17px; }
.equipe-liste li > span > span { font-size: 13px; color: var(--creme-75); }

/* ---------- La maison ---------- */

.maison { background: var(--noir); }
.fondateurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fondateur { position: relative; margin: 0; height: 250px; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0 8px 20px; text-align: center; background: radial-gradient(ellipse at 50% 35%, #3A1C14 0%, #120A08 80%); }
.fondateur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: sepia(.28) contrast(1.06) brightness(.94); }
.fondateur.sans-photo { background: #2A0505 url(../img/chesterfield-m.webp) center/cover; }
.fondateur::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(11,7,6,0) 0%, rgba(11,7,6,.92) 100%); }
.fondateur figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; }
.fondateur b { font-weight: 800; font-size: 15px; line-height: 1.2; }
.fondateur span { font-size: 11px; color: rgba(243,230,204,.8); }
.credit-photo { grid-column: 1 / -1; margin: 2px 0 0; font-size: 11px; color: var(--creme-60); text-align: right; }
.credit-photo a { color: var(--creme-75); }
.credit-photo a:hover { color: var(--or); }
.maison .citation { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.35; }

/* ---------- Questions ---------- */

.questions { background: linear-gradient(180deg, var(--noir) 0%, #140303 100%); gap: 34px; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--creme-18); }
.faq details { border-bottom: 1px solid var(--creme-18); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 800; font-size: 16px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(227,166,20,.6); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 18px; color: var(--or); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--creme-75); line-height: 1.75; }

/* ---------- Formulaire ---------- */

.projet { gap: 34px; scroll-margin-top: 0; }
.projet .voile { background: linear-gradient(180deg, var(--noir) 0%, rgba(30,3,3,.78) 18%, rgba(30,3,3,.84) 100%); }
.projet .texte { margin-top: 4px; }
.formulaire { display: flex; flex-direction: column; gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label, .champ legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; padding: 0; font-weight: 800; font-size: 14px; color: var(--creme); }
.champ label .or, .champ legend .or { font-size: 19px; }
.facultatif { font-weight: 500; font-size: 11px; color: var(--creme-60); }
.champ input, .champ textarea {
  width: 100%; height: 50px; border: 1px solid var(--creme-25); border-radius: 16px; background: rgba(11,7,6,.55);
  font: 400 16px/1.5 var(--sans); color: var(--creme); padding: 0 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.champ textarea { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(243,230,204,.38); }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(227,166,20,.18); }
.champ.en-erreur input, .champ.en-erreur textarea { border-color: #E0624A; }
.erreur { min-height: 0; font-size: 12px; font-weight: 600; color: #F08A74; }
.erreur:empty { display: none; }
fieldset.champ { border: 0; margin: 0; padding: 0; min-width: 0; gap: 10px; }
fieldset.champ legend { margin-bottom: 12px; }
.budgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.budget { position: relative; }
.budget input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.budget span {
  display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 10px; border-radius: 999px; text-align: center;
  border: 1px solid var(--creme-25); background: rgba(11,7,6,.55); font-size: 12px; font-weight: 700; color: var(--creme); transition: all .25s ease;
}
.budget input:checked + span { border-color: var(--or); background: var(--or); color: var(--noir); box-shadow: 0 0 22px rgba(227,166,20,.55); }
.budget input:focus-visible + span { outline: 2px solid var(--creme); outline-offset: 3px; }
.formule-choisie { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; border: 1px dashed rgba(227,166,20,.6); font-size: 13px; }
.formule-choisie[hidden] { display: none; }
.formule-choisie b { color: var(--or); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 17px; }
.formule-choisie button { flex-shrink: 0; min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--creme-75); font-size: 20px; cursor: pointer; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.envoi { margin-top: 14px; width: 100%; }
.envoi .libelle b { font-size: 14px; }
.envoi .libelle i { font-size: 21px; }
.envoi .fleche { width: 48px; height: 48px; }
.rassurance-envoi { font-size: 12px; line-height: 1.6; color: var(--creme-60); }
.rassurance-envoi a { color: var(--creme-75); text-decoration: underline; text-underline-offset: 2px; }
.alerte-envoi { padding: 14px 16px; border-radius: 16px; border: 1px solid #E0624A; background: rgba(90,9,9,.6); font-size: 14px; }
.alerte-envoi[hidden] { display: none; }
.merci { display: flex; flex-direction: column; gap: 16px; padding: 30px 24px; border-radius: 28px; border: 1px solid rgba(227,166,20,.5); background: rgba(11,7,6,.72); box-shadow: 0 0 40px rgba(227,166,20,.18); }
.merci[hidden] { display: none; }
.merci .titre { font-size: 34px; }

/* ---------- Barre d'appel mobile ---------- */

.barre-appel {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30;
  display: flex; transform: translate3d(0, 160%, 0); transition: transform .35s ease; will-change: transform;
}
.barre-appel.visible { transform: none; }
.barre-appel .bouton { width: 100%; outline-offset: 3px; }

/* ---------- Pied de page ---------- */

.pied { position: relative; padding: 60px var(--gouttiere) 110px; display: flex; flex-direction: column; gap: 22px; background: var(--noir-pied); }
.pied .marque b { font-size: 26px; }
.pied .marque .or { font-size: 21px; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.pied-liens a { font-size: 12px; color: var(--creme-60); padding: 12px 0; }
.pied .courriel { font-size: 14px; font-weight: 500; padding: 8px 0; }
.pied .legal { font-size: 11px; line-height: 1.7; color: rgba(243,230,204,.45); }

/* ---------- Pages secondaires ---------- */

.page-texte { max-width: 760px; margin: 0 auto; padding: 60px var(--gouttiere) 100px; display: flex; flex-direction: column; gap: 22px; }
.page-texte h1 { font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.035em; }
.page-texte h2 { margin-top: 18px; font-weight: 800; font-size: 20px; }
.page-texte p, .page-texte li { color: var(--creme-85); line-height: 1.75; }
.page-texte ul { margin: 0; padding-left: 20px; }
.a-completer { color: #F08A74; font-weight: 700; }

/* ---------- Apparition au défilement ---------- */

.js .revele { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
@media (min-width: 900px) { .js .revele { transform: translate3d(0, 26px, 0); transition-duration: .9s; } }
.js .revele.vu { opacity: 1; transform: none; }

/* ---------- Tablette et petite fenêtre : 620 à 899 px ----------
   La mise en page reste celle du téléphone, mais on borne la longueur des lignes : une phrase qui
   court sur 760 px se lit mal, l'œil perd la ligne suivante. */
@media (min-width: 620px) and (max-width: 899px) {
  .section > :not(.voile):not(.rail), .pied > * { max-width: 700px; margin-inline: auto; width: 100%; }
  .ouverture-contenu { max-width: 700px; margin-inline: auto; }
}

/* ---------- Ordinateur ---------- */

@media (min-width: 900px) {
  /* Marges et rail fluides : un écran de 900 px et un écran de 1600 px ne peuvent pas porter
     les mêmes marges. Tout est calculé à partir de la largeur réelle de la fenêtre. */
  :root { --gouttiere: clamp(28px, 4.5vw, 72px); --rail: clamp(40px, 12vw, 180px); }
  .grain { display: block; }
  body { font-size: 16px; }
  .section { padding: 130px var(--gouttiere) 130px var(--rail); gap: 56px; }
  .rail { display: block; position: absolute; left: clamp(20px, 6.5vw, 96px); top: 0; bottom: 0; width: 1px; background: var(--creme-18); pointer-events: none; }
  .rail.point::after { content: ''; position: absolute; left: -6px; top: var(--point, 50%); width: 13px; height: 13px; border-radius: 50%; background: var(--or); box-shadow: 0 0 18px rgba(227,166,20,.95); }
  .surtitre { font-size: 18px; }
  .surtitre .or { font-size: 26px; }
  .titre { font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -0.04em; }
  .deux-colonnes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .deux-colonnes > :first-child { grid-column: span 7; }
  .deux-colonnes > :last-child { grid-column: 9 / span 4; }

  .entete { height: 92px; }
  .marque b { font-size: 28px; }
  .marque .or { font-size: 23px; }
  /* En-tête : rien ne doit passer à la ligne entre 900 et 1200 px de large. */
  .marque, .nav-liens > a, .pastille .libelle { white-space: nowrap; }
  .nav-liens { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); }
  .nav-liens > a:not(.pastille) { font-size: 14px; font-weight: 500; color: var(--creme-85); padding: 12px 0; }
  .nav-liens > a:not(.pastille):hover { color: var(--or); }
  .pastille b { font-size: 13px; }
  .pastille i { font-size: 18px; }
  .pastille .fleche { width: 34px; height: 34px; }

  .ouverture { min-height: clamp(620px, 78vh, 880px); padding: 0 var(--gouttiere) 90px var(--rail); }
  .ouverture .voile { background: linear-gradient(90deg, rgba(11,7,6,.92) 0%, rgba(11,7,6,.55) 45%, rgba(11,7,6,.15) 100%), linear-gradient(180deg, rgba(11,7,6,0) 60%, var(--noir) 100%); }
  .ouverture-contenu { gap: 26px; max-width: 1000px; }
  .ouverture h1 .l1 { font-size: clamp(72px, 9vw, 132px); line-height: .92; letter-spacing: -0.045em; }
  .ouverture h1 .ligne { display: flex; align-items: baseline; gap: 22px; }
  .ouverture h1 .l2 { white-space: nowrap; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -0.03em; }
  .ouverture h1 .l3 { font-size: clamp(66px, 8.3vw, 120px); }
  .ouverture .accroche { max-width: 540px; font-size: 18px; }
  .bouton { padding-left: 26px; }
  .bouton .libelle b { font-size: 15px; }
  .bouton .libelle i { font-size: 23px; }
  .bouton .fleche { width: 54px; height: 54px; }
  .reassurance { font-size: 13px; }

  .preuve .titre { font-size: 58px; line-height: 1; }
  .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 60px; }
  .chiffres dd { font-size: clamp(34px, 3.8vw, 54px); letter-spacing: -0.03em; }
  .chiffres dt { font-size: 15px; }

  .conviction { min-height: 700px; justify-content: center; }
  .conviction .voile { background: linear-gradient(90deg, rgba(20,2,2,.94) 0%, rgba(40,4,4,.8) 55%, rgba(40,4,4,.35) 100%), linear-gradient(180deg, var(--noir) 0%, rgba(11,7,6,0) 18%, rgba(11,7,6,0) 82%, var(--noir) 100%); }
  .conviction blockquote { display: block; max-width: 1100px; }
  .conviction .c1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
  .conviction .c2 { font-size: clamp(54px, 6.4vw, 92px); }
  .conviction .texte { max-width: 600px; font-size: 18px; }

  .studio { padding-block: 140px; gap: 70px; }
  .studio .titre { font-size: clamp(44px, 5.5vw, 80px); line-height: .97; }
  .metiers { flex-direction: row; gap: clamp(24px, 3.4vw, 48px); }
  .metier { flex: 1; padding-top: 30px; gap: 18px; border-top-color: var(--or); }
  .metier h3 { flex-direction: column; font-size: 34px; line-height: 1.05; }
  .metier h3 .or { font-size: 52px; line-height: 1.05; }

  .formules { padding-block: 130px 120px; gap: 56px; }
  .formules .rail { background: rgba(11,7,6,.3); }
  .formules .titre { font-size: clamp(46px, 5.8vw, 84px); line-height: .95; letter-spacing: -0.045em; }
  .formules .surtitre .rouge { font-size: 26px; }
  .formules-entete { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .formules .mention { font-size: 14px; padding-bottom: 14px; }
  /* Deux colonnes sur un écran de 900 px, quatre sur un grand écran : le nombre de colonnes se
     déduit de la place disponible, jamais d'un chiffre fixe. Une carte trop étroite coupait
     le mot « accompagnement » en deux. */
  .cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
  .carte { min-height: 400px; padding: 34px 30px; border-radius: 32px; justify-content: space-between; }
  /* Le chiffre en haut, le titre en bas de son bloc, comme à l'origine. La hauteur du bloc est
     fixée pour que les quatre titres tombent à la même ligne, même quand l'un passe sur deux
     lignes : c'était le seul défaut, le titre qui redescendait d'une carte à l'autre. */
  .carte-haut { flex-direction: column-reverse; align-items: flex-start; flex: 0 0 150px; justify-content: space-between; }
  .carte h3 { display: flex; align-items: flex-end; min-height: 2.16em; }
  .carte .num { font-size: 40px; }
  .carte h3 { font-size: 24px; line-height: 1.08; }
  .carte p { font-size: 14px; }

  .methode { gap: 70px; }
  .etapes { flex-direction: row; gap: 40px; padding: 34px 0 0; }
  .etapes::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--or) 0%, rgba(227,166,20,.15) 100%); }
  .etapes li { flex: 1; gap: 12px; }
  .etapes li::before { left: 0; top: -35px; width: 13px; height: 13px; }
  .etapes .num { display: block; font-size: 30px; }
  .etapes h3 { font-size: 24px; }
  .etapes p { font-size: 15px; line-height: 1.7; }

  .realisations { padding: 120px var(--gouttiere) 120px var(--rail); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .realisations .entete-section, .realisations .texte { padding: 0; grid-column: span 4; }
  .films { grid-column: 5 / span 8; justify-content: flex-end; gap: 22px; padding: 0; overflow: visible; }
  .film { width: 250px; border-radius: 32px; }
  .film:nth-child(2) { margin-top: 70px; }

  .maison { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .maison .fondateurs { grid-column: span 6; grid-row: 1 / span 4; gap: 20px; }
  .maison > :not(.fondateurs):not(.rail) { grid-column: 8 / span 5; }
  .fondateur { height: clamp(380px, 38vw, 520px); border-radius: 36px; padding-bottom: 28px; }
  .fondateur:nth-child(2) { margin-top: 80px; }
  .fondateur.sans-photo { background-image: url(../img/chesterfield.webp); }
  .fondateur::after { height: 170px; }
  .fondateur b { font-size: 24px; }
  .fondateur span { font-size: 13px; }
  .maison .titre { font-size: 62px; }
  .maison .citation { font-size: 28px; }

  .avis-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .avis { padding: 44px 34px 34px; }
  .avis blockquote p { font-size: 28px; }
  .maison .equipe { grid-column: 1 / -1; margin-top: 90px; }
  .equipe-liste { flex-direction: row; gap: 48px; }
  .equipe-liste img { width: 88px; height: 88px; }

  .questions .deux-colonnes { align-items: start; }
  .questions .deux-colonnes > :first-child { grid-column: span 4; }
  .questions .deux-colonnes > :last-child { grid-column: 6 / span 7; }
  .faq summary { font-size: 19px; padding: 26px 0; }
  .faq details p { font-size: 16px; }

  .projet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .projet .entete-section { grid-column: span 5; gap: 22px; position: sticky; top: 40px; }
  .projet .titre { font-size: clamp(42px, 5vw, 72px); line-height: .96; }
  .projet .texte { font-size: 18px; }
  .projet .zone-formulaire { grid-column: 7 / span 6; }
  .formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: end; }
  .formulaire > .large { grid-column: span 2; }
  .champ input { height: 56px; border-radius: 18px; padding: 0 18px; }
  .champ textarea { border-radius: 18px; padding: 16px 18px; }
  .champ label, .champ legend { font-size: 15px; }
  .champ label .or, .champ legend .or { font-size: 21px; }
  .budgets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .budget span { height: 56px; font-size: 13px; }
  .envoi { width: auto; justify-self: start; }

  .barre-appel { display: none; }

  .pied { padding: 64px var(--gouttiere) 64px var(--rail); flex-direction: row; align-items: center; justify-content: space-between; }
  .pied-gauche { display: flex; flex-direction: column; gap: 10px; }
  .pied .marque b { font-size: 32px; }
  .pied .marque .or { font-size: 26px; }
  .pied-droite { display: flex; align-items: center; gap: 36px; }
  .pied .courriel { font-size: 15px; }
  .pied-liens a { font-size: 13px; }
  .page-texte { padding-top: 90px; }
  .page-texte h1 { font-size: 64px; }
}

/* Personne ne doit subir des lueurs clignotantes ou des glissements s'il les a désactivés. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele { opacity: 1; transform: none; }
}
