/*! Modèle Sycie – © 2026 Sycie, www.sycie.fr – reproduction interdite sans autorisation */
/* =========================================================================
   Sycie – Modèles de sites : structure commune + 5 styles × jour / nuit
   -------------------------------------------------------------------------
   1. Polices            4. Structure (rangées, colonnes)   7. Mode « zones »
   2. Jetons par défaut  5. Blocs                           8. Barre Sycie
   3. Les 5 styles       6. Particularités des styles
   Le style est choisi par  <html data-style="1…5" data-mode="jour|nuit">.
   Un style ne change que des jetons (couleurs, polices, formes) et quelques
   règles de présentation : jamais le contenu ni son ordre.
   ========================================================================= */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-normal.woff2?v=b4295101") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-normal.woff2?v=57fd1acf") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-normal.woff2?v=48642176") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2?v=b58654dd") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-normal.woff2?v=f11d729b") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-normal.woff2?v=11f6ab2d") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/spacegrotesk-normal.woff2?v=c0781ea2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-normal.woff2?v=4f27206c") format("woff2"); font-weight: 100 800; font-display: swap; }

/* ---------- 2. Jetons par défaut ---------- */
:root {
  --marque: #2f6fed;              /* couleur de l'entreprise (fichier de contenu) */
  --appui: #c8963e;               /* couleur secondaire */
  --sur-appui: #111;              /* texte posé sur un aplat de couleur secondaire (calculé par le générateur) */
  --h-barre: 52px;
  --largeur: 1160px;
  --marge: clamp(18px, 4vw, 40px);
  --secours: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html { --teinte: var(--marque); --teinte-2: var(--appui); --sur-teinte-2: var(--sur-appui); }
/* La couleur secondaire a un vrai rôle dans chaque style : surtitres, coches, pictogrammes, bouton du bandeau
   d'appel, décor des photos. Dans le style Signature les rôles sont inversés (voir plus bas). */
html[data-mode="jour"] {
  --accent: var(--teinte);
  --sur-accent: #fff;
  --accent-pale: color-mix(in srgb, var(--teinte) 10%, var(--fond));
  --accent-2: var(--teinte-2);
  --sur-accent-2: var(--sur-teinte-2);
  --accent-2-texte: color-mix(in oklab, var(--teinte-2) 82%, black);
  --accent-2-pale: color-mix(in srgb, var(--teinte-2) 14%, var(--fond));
}
html[data-mode="nuit"] {
  --accent: color-mix(in oklab, var(--teinte) 58%, white);
  --sur-accent: #111;
  --accent-pale: color-mix(in srgb, var(--teinte) 22%, var(--fond));
  --accent-2: color-mix(in oklab, var(--teinte-2) 60%, white);
  --sur-accent-2: #111;
  --accent-2-texte: color-mix(in oklab, var(--teinte-2) 60%, white);
  --accent-2-pale: color-mix(in srgb, var(--teinte-2) 26%, var(--fond));
  color-scheme: dark;
}

/* ---------- 3. Les 5 styles ---------- */
/* 1 – Épuré : blanc, net, ombres douces */
html[data-style="1"] {
  --f-titre: "Manrope", var(--secours); --f-texte: "Manrope", var(--secours);
  --graisse-titre: 700; --suivi-titre: -.03em; --hauteur-titre: 1.08;
  --rayon: 16px; --rayon-bouton: 12px; --rayon-image: 20px;
  --bord: 1px solid var(--ligne); --ombre: 0 1px 2px rgba(15, 20, 30, .05), 0 14px 34px -18px rgba(15, 20, 30, .22);
}
html[data-style="1"][data-mode="jour"] { --fond: #fff; --fond-2: color-mix(in srgb, var(--marque) 4%, #f4f6f9); --surface: #fff; --texte: #14171c; --doux: #5a6270; --ligne: #e4e7ec; }
html[data-style="1"][data-mode="nuit"] { --fond: #0e1116; --fond-2: #151920; --surface: #1a1f28; --texte: #eef1f5; --doux: #a2abb9; --ligne: #272e3a; }

/* 2 – Atelier : chaleureux, tons crème, titres à empattements, formes rondes */
html[data-style="2"] {
  --f-titre: "Fraunces", Georgia, serif; --f-texte: "Figtree", var(--secours);
  --graisse-titre: 600; --suivi-titre: -.02em; --hauteur-titre: 1.1;
  --rayon: 28px; --rayon-bouton: 999px; --rayon-image: 200px 200px 28px 28px;
  --bord: 1px solid var(--ligne); --ombre: 0 18px 40px -24px rgba(70, 45, 20, .35);
}
html[data-style="2"][data-mode="jour"] { --fond: #fbf6ee; --fond-2: #f3e9da; --surface: #fffdf9; --texte: #2b2118; --doux: #6e6051; --ligne: #e6d9c6; }
html[data-style="2"][data-mode="nuit"] { --fond: #1a1511; --fond-2: #231c16; --surface: #2a221b; --texte: #f4eadb; --doux: #baab97; --ligne: #3b3027; }

/* 3 – Signature : élégant, grande photo plein écran, italiques fines, lignes ; fond gris légèrement teinté par la couleur principale */
html[data-style="3"] {
  --teinte: var(--appui); --teinte-2: var(--marque); --sur-teinte-2: #fff;   /* rôles inversés : la secondaire mène, la principale accompagne */
  --f-titre: "Fraunces", Georgia, serif; --f-texte: "Inter", var(--secours);
  --graisse-titre: 300; --suivi-titre: -.015em; --hauteur-titre: 1.05;
  --rayon: 0px; --rayon-bouton: 0px; --rayon-image: 0px;
  --bord: 1px solid var(--ligne); --ombre: none;
}
html[data-style="3"][data-mode="jour"] { --fond: color-mix(in srgb, var(--marque) 5%, #f7f7f8); --fond-2: color-mix(in srgb, var(--marque) 11%, #ececee); --surface: #fff; --texte: #191918; --doux: #5f5f62; --ligne: color-mix(in srgb, var(--marque) 14%, #d6d6d9); --accent: color-mix(in oklab, var(--teinte) 78%, black); }
html[data-style="3"][data-mode="nuit"] { --fond: color-mix(in srgb, var(--marque) 7%, #0f0f10); --fond-2: color-mix(in srgb, var(--marque) 12%, #171718); --surface: color-mix(in srgb, var(--marque) 10%, #1c1c1d); --texte: #f1f0ee; --doux: #a8a7a4; --ligne: #303032; }

/* 4 – Pop : vif, grands aplats de couleur, très arrondi */
html[data-style="4"] {
  --f-titre: "Bricolage", var(--secours); --f-texte: "Figtree", var(--secours);
  --graisse-titre: 800; --suivi-titre: -.035em; --hauteur-titre: 1;
  --rayon: 32px; --rayon-bouton: 999px; --rayon-image: 40px;
  --bord: 0 solid transparent; --ombre: 0 24px 50px -28px color-mix(in srgb, var(--teinte) 70%, black);
}
html[data-style="4"][data-mode="jour"] { --fond: #fff; --fond-2: color-mix(in srgb, var(--teinte) 9%, #fff); --surface: #fff; --texte: #18121d; --doux: #5f5568; --ligne: color-mix(in srgb, var(--teinte) 18%, #fff); }
html[data-style="4"][data-mode="nuit"] { --fond: #141018; --fond-2: color-mix(in srgb, var(--teinte) 16%, #141018); --surface: #1e1824; --texte: #f5f0f8; --doux: #b3a8bd; --ligne: #32283a; }

/* 5 – Graphique : contrasté, traits épais, angles droits, barres de couleur (pas d'ombre) */
html[data-style="5"] {
  --f-titre: "Space Grotesk", var(--secours); --f-texte: "Space Grotesk", var(--secours);
  --graisse-titre: 700; --suivi-titre: -.03em; --hauteur-titre: 1;
  --rayon: 0px; --rayon-bouton: 0px; --rayon-image: 0px;
  --bord: 2px solid var(--texte); --ombre: none;
}
html[data-style="5"][data-mode="jour"] { --fond: #f2f3f5; --fond-2: color-mix(in srgb, var(--marque) 10%, #e3e5e9); --surface: #fff; --texte: #111; --doux: #4d4a44; --ligne: #111; }
html[data-style="5"][data-mode="nuit"] { --fond: #0c0c0d; --fond-2: color-mix(in srgb, var(--marque) 12%, #18181a); --surface: #111112; --texte: #f2f3f5; --doux: #b1b3b8; --ligne: #f2f3f5; }

/* ---------- 4. Structure ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--h-barre) + 84px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--fond); }
img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-focus:focus { position: fixed !important; z-index: 100; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: #111; color: #fff; padding: 10px 14px; }
.icon { flex: none; }

.site[data-r] { --r: "f0974a8b4a64"; }
.site {
  background: var(--fond); color: var(--texte);
  font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background .3s, color .3s;
}
.site a { color: inherit; }
.site ul, .site ol, .site dl, .site dd, .site figure, .site blockquote { margin: 0; padding: 0; list-style: none; }
.site p { margin: 0 0 .9em; }
.site p:last-child { margin-bottom: 0; }
.site :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* En-tête */
.en-tete { position: sticky; top: var(--h-barre); z-index: 20; background: color-mix(in srgb, var(--fond) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ligne); }
.en-tete-int { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); min-height: 70px; display: flex; align-items: center; gap: 28px; }
.logo { font-family: var(--f-titre); font-weight: var(--graisse-titre); font-size: 1.45rem; letter-spacing: var(--suivi-titre); text-decoration: none; white-space: nowrap; }
.logo em { font-style: normal; color: var(--accent); }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: clamp(14px, 1.7vw, 26px); }
.menu a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.menu a:hover { border-color: var(--accent); }
.en-tete-action .bouton { min-height: 44px; padding: 0 18px; font-size: .95rem; white-space: nowrap; }
.menu-bascule { display: none; width: 44px; height: 44px; border: var(--bord); border-radius: var(--rayon-bouton); background: var(--surface); color: var(--texte); align-items: center; justify-content: center; cursor: pointer; }

/* Menu replié (bouton « hamburger ») : appliqué par modele.js dès que le menu ne tient plus sur une ligne,
   quelle que soit la largeur de l'écran. Un menu long ne déborde donc jamais. */
.en-tete.compact .menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--fond); border-bottom: 1px solid var(--ligne); padding: 8px var(--marge) 18px; display: none; margin: 0; }
.en-tete.compact.menu-ouvert .menu { display: block; }
.en-tete.compact .menu ul { flex-direction: column; gap: 0; }
.en-tete.compact .menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--ligne); }
.en-tete.compact .menu-bascule { display: inline-flex; }
.en-tete.compact .en-tete-action { margin-left: auto; }

/* Rangées et colonnes */
.rangee { padding: clamp(44px, 6.5vw, 88px) 0; }
.fond-teinte { background: var(--fond-2); }
.fond-accent { background: var(--accent); color: var(--sur-accent); --doux: color-mix(in srgb, var(--sur-accent) 82%, transparent); --ligne: color-mix(in srgb, var(--sur-accent) 30%, transparent); }
.rangee-grille { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: minmax(0, 1fr); align-items: start; }
[data-disposition="1-1"] > .rangee-grille, .rangee-grille[data-disposition="1-1"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-disposition="1-1-1"] > .rangee-grille, .rangee-grille[data-disposition="1-1-1"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-disposition="1-1-1-1"] > .rangee-grille, .rangee-grille[data-disposition="1-1-1-1"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[data-disposition="2-1"] > .rangee-grille, .rangee-grille[data-disposition="2-1"] { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
[data-disposition="1-2"] > .rangee-grille, .rangee-grille[data-disposition="1-2"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.colonne { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.colonne > * { margin: 0; }
.colonne-pleine { grid-column: 1 / -1; max-width: 760px; }
.colonne-pleine.aligne-centre { margin-inline: auto; text-align: center; align-items: center; }
.aligne-milieu { align-self: center; }
.colonne-carte { background: var(--surface); border: var(--bord); border-radius: var(--rayon); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--ombre); height: 100%; color: var(--texte); }
.fond-accent .colonne-carte { --doux: color-mix(in srgb, var(--texte) 70%, transparent); }

/* ---------- 5. Blocs ---------- */
.titre { font-family: var(--f-titre); font-weight: var(--graisse-titre); letter-spacing: var(--suivi-titre); line-height: var(--hauteur-titre); text-wrap: balance; }
.titre em { font-style: normal; color: var(--accent); }
.fond-accent .titre em { color: inherit; }
.titre-1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.titre-2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.titre-3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }
.surtitre { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2-texte); }
.fond-accent .surtitre { color: inherit; opacity: .85; }
.texte { color: var(--doux); }
.texte-grand { font-size: clamp(1.1rem, 1.6vw, 1.25rem); }
.texte strong { color: var(--texte); font-weight: 600; }
.fond-accent .texte strong { color: inherit; }

.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: var(--rayon-bouton); border: 2px solid var(--accent); font: 600 1rem/1 var(--f-texte);
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.bouton:hover { transform: translateY(-2px); }
.site .bouton-plein { background: var(--accent); color: var(--sur-accent); }
.site .bouton-contour { background: transparent; color: var(--texte); border-color: var(--ligne); }
.site .bouton-contour:hover { border-color: var(--accent); }
.site .fond-accent .bouton-plein { background: var(--accent-2); color: var(--sur-accent-2); border-color: var(--accent-2); }
/* Bouton principal de la rangée d'accueil : en couleur secondaire, pour attirer l'œil dès l'arrivée */
.site .rangee-hero .bouton-plein { background: var(--accent-2); color: var(--sur-accent-2); border-color: var(--accent-2); }
.site .fond-accent .bouton-contour { color: inherit; border-color: currentColor; }

.image { border-radius: var(--rayon-image); overflow: hidden; border: var(--bord); box-shadow: var(--ombre); background: var(--fond-2); }
.image img { width: 100%; height: 100%; object-fit: cover; }
.format-paysage { aspect-ratio: 4 / 3; }
.format-portrait { aspect-ratio: 4 / 5; }
.format-carre { aspect-ratio: 1; }
.format-large { aspect-ratio: 16 / 9; }

.liste { display: grid; gap: 10px; }
.liste li { display: flex; gap: 10px; align-items: flex-start; }
.liste .icon { color: var(--accent-2); margin-top: 5px; }
.fond-accent .liste .icon { color: inherit; }
.icone { width: 54px; height: 54px; border-radius: calc(var(--rayon) * .6); background: var(--accent-pale); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; border: var(--bord); border-color: transparent; }

.colonne-carte:nth-child(3n) .icone { background: var(--accent-2-pale); color: var(--accent-2-texte); }
.colonne:nth-child(even) > .chiffre strong { color: var(--accent-2-texte); }
.fond-accent .colonne:nth-child(even) > .chiffre strong { color: inherit; }

.tarifs-titre { font-family: var(--f-titre); font-weight: var(--graisse-titre); font-size: 1.35rem; letter-spacing: var(--suivi-titre); margin: 0 0 14px; }
.tarifs li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ligne); }
.tarifs li:last-child { border-bottom: 0; }
.tarif-nom { font-weight: 500; }
.tarif-nom small { display: block; font-weight: 400; font-size: .88rem; color: var(--doux); }
.tarif-points { flex: 1; border-bottom: 1px dotted var(--doux); opacity: .5; min-width: 16px; transform: translateY(-4px); }
.tarif-prix { font-weight: 700; white-space: nowrap; color: var(--accent); }
.tarifs-note { margin-top: 12px !important; font-size: .88rem; color: var(--doux); }

.horaires { display: grid; }
.horaires div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--ligne); }
.horaires div:last-child { border-bottom: 0; }
.horaires dt { font-weight: 500; }
.horaires dd { color: var(--doux); text-align: right; }

.coordonnees { display: grid; gap: 12px; }
.coordonnees li { display: flex; gap: 12px; align-items: flex-start; }
.coordonnees .icon { color: var(--accent-2); margin-top: 4px; }
.coordonnees a { text-decoration: none; font-weight: 600; }

.avis { display: grid; gap: 12px; }
.avis-note { display: flex; gap: 2px; color: #e2a735; }   /* étoiles toujours dorées, quelle que soit la palette */
.avis-note svg { fill: currentColor; }
.avis blockquote p { font-size: 1.05rem; color: var(--texte); }
.avis figcaption { font-size: .92rem; color: var(--doux); font-weight: 600; }

.chiffre { display: grid; gap: 2px; }
.chiffre strong { font-family: var(--f-titre); font-weight: var(--graisse-titre); font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1; letter-spacing: var(--suivi-titre); color: var(--accent); }
.fond-accent .chiffre strong { color: inherit; }
.chiffre span { color: var(--doux); }

.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { margin: 0 !important; display: grid; gap: 6px; }
.champ-large, .formulaire .bouton { grid-column: 1 / -1; }
.champ label { font-size: .9rem; font-weight: 600; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--texte); background: var(--fond); border: 1.5px solid var(--ligne); border-radius: calc(var(--rayon-bouton) * .0 + min(var(--rayon), 12px)); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-pale); }

.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--accent-2); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--doux); padding-bottom: 16px; }

/* Rangée d'accueil : colonne 1 = texte, colonne 2 = photo */
.rangee-hero { padding-top: clamp(36px, 5vw, 72px); }
.rangee-hero > .rangee-grille { align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); }
.rangee-hero .colonne { gap: 20px; }

/* Pied de page */
.pied { background: var(--fond-2); border-top: 1px solid var(--ligne); padding: clamp(40px, 5vw, 64px) 0 28px; font-size: .97rem; }
.pied .titre-3 { font-size: 1.05rem; }
.pied-bas { max-width: var(--largeur); margin: 36px auto 0; padding: 22px var(--marge) 0; border-top: 1px solid var(--ligne); color: var(--doux); font-size: .84rem; }
.credits ul { display: grid; gap: 2px; margin: 4px 0 14px; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
.credits p { margin-bottom: 4px; }

/* ---------- 6. Particularités des styles ---------- */
/* 2 – Atelier : photo en arche, surtitre manuscrit */
html[data-style="2"] .surtitre { font-family: var(--f-titre); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
html[data-style="2"] .titre em { font-style: italic; }
html[data-style="2"] .rangee:not(.rangee-hero) .image { border-radius: var(--rayon); }

/* 3 – Signature : photo d'accueil plein écran, texte par-dessus */
html[data-style="3"] .titre em { font-style: italic; color: inherit; }
html[data-style="3"] .titre-1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
html[data-style="3"] .surtitre { font-weight: 500; letter-spacing: .26em; font-size: .74rem; }
html[data-style="3"] .bouton { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; border-width: 1px; }
html[data-style="3"] .logo { text-transform: uppercase; letter-spacing: .12em; font-size: .98rem; font-weight: 500; font-family: var(--f-texte); }
html[data-style="3"] .menu a { text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
html[data-style="3"] .rangee-hero { padding: 0; }
html[data-style="3"] .rangee-hero > .rangee-grille { max-width: none; padding: 0; grid-template-columns: minmax(0, 1fr); }
html[data-style="3"] .rangee-hero .colonne { grid-area: 1 / 1; }
html[data-style="3"] .rangee-hero .colonne:nth-child(2) { position: relative; }
html[data-style="3"] .rangee-hero .colonne:nth-child(2)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .68)); }
html[data-style="3"] .rangee-hero { background: #141413; }
html[data-style="3"] .rangee-hero .colonne:nth-child(2) { align-self: stretch; }
html[data-style="3"] .rangee-hero .image { position: relative; flex: 1; aspect-ratio: auto; min-height: min(84vh, 760px); border: 0; }
html[data-style="3"] .rangee-hero .image img { position: absolute; inset: 0; }
html[data-style="3"] .rangee-hero .colonne:first-child { z-index: 1; align-self: end; width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 120px var(--marge) clamp(36px, 6vw, 72px); color: #fff; --texte: #fff; --doux: rgba(255, 255, 255, .86); --ligne: rgba(255, 255, 255, .5); --accent: #fff; --sur-accent: #111; --accent-2: #fff; --accent-2-texte: #fff; --sur-accent-2: #111; }
html[data-style="3"] .rangee-hero .colonne:first-child > * { max-width: 720px; }
html[data-style="3"] .rangee-hero .liste .icon { color: #fff; }
html[data-style="3"] .colonne-carte { box-shadow: none; }
html[data-style="3"] .colonne-carte:nth-child(3n) .icone { background: none; }
html[data-style="3"] .icone { background: none; border: 1px solid var(--ligne); border-radius: 50%; }

/* 4 – Pop : accueil sur aplat de couleur, photo penchée */
html[data-style="4"] .rangee-hero { background: var(--accent); color: var(--sur-accent); --doux: color-mix(in srgb, var(--sur-accent) 86%, transparent); --ligne: color-mix(in srgb, var(--sur-accent) 35%, transparent); border-radius: 0 0 48px 48px; }
html[data-style="4"] .rangee-hero .titre em, html[data-style="4"] .rangee-hero .surtitre, html[data-style="4"] .rangee-hero .liste .icon { color: inherit; }
html[data-style="4"] .rangee-hero .titre em { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
html[data-style="4"] .site .rangee-hero .bouton-plein { background: var(--accent-2); color: var(--sur-accent-2); border-color: var(--accent-2); }
html[data-style="4"] .site .rangee-hero .bouton-contour { color: inherit; border-color: currentColor; }
html[data-style="4"] .rangee-hero .image { transform: rotate(2.5deg); border: 6px solid var(--sur-accent); }
html[data-style="4"] .colonne-carte { background: var(--fond-2); box-shadow: none; }
html[data-style="4"] .fond-teinte .colonne-carte { background: var(--surface); }
html[data-style="4"] .icone { border-radius: 50%; background: var(--accent); color: var(--sur-accent); }
html[data-style="4"] .surtitre { background: var(--accent-2-pale); padding: 6px 14px; border-radius: 999px; letter-spacing: .06em; align-self: flex-start; }
html[data-style="4"] .aligne-centre .surtitre { align-self: center; }
html[data-style="4"] .rangee-hero .surtitre, html[data-style="4"] .fond-accent .surtitre { background: color-mix(in srgb, var(--sur-accent) 18%, transparent); }

/* 5 – Graphique : majuscules, traits épais, ombres dures */
html[data-style="5"] .titre-1, html[data-style="5"] .titre-2 { text-transform: uppercase; }
html[data-style="5"] .titre em { background: var(--accent); color: var(--sur-accent); padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
html[data-style="5"] .surtitre { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; letter-spacing: .04em; color: var(--texte); }
html[data-style="5"] .fond-accent .surtitre { color: inherit; }
html[data-style="5"] .logo { text-transform: uppercase; }
html[data-style="5"] .en-tete { border-bottom: 2px solid var(--texte); background: var(--fond); }
html[data-style="5"] .bouton { border: 2px solid var(--texte); text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
html[data-style="5"] .site .bouton:hover { transform: none; background: var(--texte); color: var(--fond); border-color: var(--texte); }
html[data-style="5"] .site .bouton-contour { background: var(--surface); border-color: var(--texte); }
html[data-style="5"] .site .rangee-hero .bouton-plein { border-color: var(--texte); }
html[data-style="5"] .site .fond-accent .bouton { border-color: currentColor; }
html[data-style="5"] .site .fond-accent .bouton-plein { border-color: var(--sur-accent); }
html[data-style="5"] .site .fond-accent .bouton-contour { background: transparent; }
html[data-style="5"] .rangee { border-bottom: 2px solid var(--texte); }
html[data-style="5"] .icone { background: var(--accent); color: var(--sur-accent); border: 2px solid var(--texte); }
html[data-style="5"] .tarif-prix, html[data-style="5"] .chiffre strong { font-family: "JetBrains Mono", ui-monospace, monospace; }
html[data-style="5"] .pied { border-top: 0; }

/* ---------- 6 bis. Rangées courantes : ce qui change d'un style à l'autre ----------
   Titres de rangée, cartes, tarifs, avis, chiffres clés, photos et bandeau d'appel. */

/* 2 – Atelier : cartes centrées sans bord, filet sous les titres, avis en italique, bandeau en médaillon */
html[data-style="2"] .colonne-pleine.aligne-centre .titre-2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--accent-2); margin: 18px auto 0; }
html[data-style="2"] .fond-accent .titre-2::after { background: currentColor; opacity: .6; }
html[data-style="2"] .colonne-carte { border-color: transparent; }
html[data-style="2"] .colonne-carte:has(> .icone) { text-align: center; align-items: center; }
html[data-style="2"] .icone { border-radius: 50%; width: 62px; height: 62px; }
html[data-style="2"] .tarifs-titre { text-align: center; font-style: italic; }
html[data-style="2"] .tarif-prix, html[data-style="2"] .chiffre strong { font-family: var(--f-titre); font-style: italic; font-weight: 500; }
html[data-style="2"] .tarif-prix { font-size: 1.1rem; }
html[data-style="2"] .avis blockquote p { font-family: var(--f-titre); font-style: italic; font-size: 1.12rem; line-height: 1.5; }
html[data-style="2"] .avis blockquote::before { content: "“"; display: block; font: 600 3.4rem/.6 "Fraunces", Georgia, serif; color: var(--accent-2); margin: 12px 0 4px; }
html[data-style="2"] .chiffre { text-align: center; }
html[data-style="2"] .rangee:not(.rangee-hero) .image { box-shadow: 14px 14px 0 var(--accent-2-pale); border-color: transparent; }
html[data-style="2"] .rangee.fond-accent { background: var(--fond); padding-inline: var(--marge); }
html[data-style="2"] .fond-accent > .rangee-grille { background: var(--accent); border-radius: 200px; padding: clamp(40px, 6vw, 72px) clamp(28px, 8vw, 120px); }

/* 3 – Signature : mise en page de magazine, titres à gauche sur un filet, colonnes sans cadre, bandeau inversé */
html[data-style="3"] .rangee:not(.rangee-hero):not(.fond-accent) .colonne-pleine.aligne-centre { margin-inline: 0; max-width: none; text-align: left; align-items: flex-start; border-top: 1px solid var(--texte); padding-top: 22px; }
html[data-style="3"] .rangee:not(.fond-accent) .colonne-pleine.aligne-centre .texte { max-width: 620px; }
html[data-style="3"] .titre-2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
html[data-style="3"] .colonne-carte { background: none; border: 0; border-top: 1px solid var(--ligne); padding: 26px 0 0; }
html[data-style="3"] .colonne-carte:has(.formulaire) { border: 1px solid var(--ligne); padding: clamp(22px, 2.6vw, 30px); background: var(--surface); }
html[data-style="3"] .tarifs-titre { font-family: var(--f-texte); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
html[data-style="3"] .tarif-points { display: none; }
html[data-style="3"] .tarifs li { justify-content: space-between; }
html[data-style="3"] .tarif-prix { font-family: var(--f-titre); font-weight: 400; font-size: 1.15rem; color: var(--texte); }
html[data-style="3"] .avis blockquote p { font-family: var(--f-titre); font-weight: 300; font-style: italic; font-size: 1.3rem; line-height: 1.4; }
html[data-style="3"] .avis figcaption { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
html[data-style="3"] .chiffre { border-left: 1px solid var(--texte); padding-left: 20px; }
html[data-style="3"] .colonne > .chiffre strong { color: var(--texte); }
html[data-style="3"] .rangee.fond-accent { background: var(--texte); color: var(--fond); --sur-accent: var(--fond); --doux: color-mix(in srgb, var(--fond) 78%, transparent); }
html[data-style="3"] .site .fond-accent .bouton-plein { background: var(--accent); color: var(--texte); border-color: var(--accent); }
html[data-style="3"][data-mode="jour"] .site .fond-accent .bouton-plein { background: var(--teinte); border-color: var(--teinte); color: #111; }
html[data-style="3"] .rangee:not(.rangee-hero) .format-paysage { aspect-ratio: 5 / 4; }

/* 4 – Pop : bandes arrondies, cartes de couleurs alternées, photos penchées, prix en pastilles */
html[data-style="4"] .rangee.fond-teinte { border-radius: 48px; margin-inline: clamp(8px, 1.6vw, 24px); }
html[data-style="4"] .colonne-carte:nth-child(3n) { background: color-mix(in srgb, var(--appui) 16%, var(--fond)); }
html[data-style="4"] .fond-teinte .colonne-carte:nth-child(3n) { background: color-mix(in srgb, var(--appui) 22%, var(--surface)); }
html[data-style="4"] .colonne-carte:nth-child(3n) .icone { background: var(--accent-2); color: var(--sur-accent-2); }
html[data-style="4"] .colonne-carte { transition: transform .25s; }
html[data-style="4"] .colonne-carte:hover { transform: translateY(-6px) rotate(-1deg); }
html[data-style="4"] .tarif-points { display: none; }
html[data-style="4"] .tarifs li { justify-content: space-between; border-bottom-style: dashed; }
html[data-style="4"] .tarif-prix { background: var(--accent); color: var(--sur-accent); padding: 3px 12px; border-radius: 999px; font-size: .9rem; }
html[data-style="4"] .colonne-carte:has(.avis) { border-radius: 32px 32px 32px 6px; }
html[data-style="4"] .colonne-carte:has(.avis):nth-child(3n) { background: var(--accent); color: var(--sur-accent); --texte: var(--sur-accent); --doux: color-mix(in srgb, var(--sur-accent) 85%, transparent); }
html[data-style="4"] .chiffre { background: var(--accent); color: var(--sur-accent); padding: 22px 24px; border-radius: 28px; }
html[data-style="4"] .colonne:nth-child(even) > .chiffre { background: var(--accent-2); color: var(--sur-accent-2); }
html[data-style="4"] .colonne > .chiffre strong { color: inherit; }
html[data-style="4"] .chiffre strong, html[data-style="4"] .chiffre span { color: inherit; }
html[data-style="4"] .rangee:not(.rangee-hero) .image { transform: rotate(-1.6deg); }
html[data-style="4"] .rangee:not(.rangee-hero) .colonne:nth-child(odd) > .image { transform: rotate(1.6deg); }
html[data-style="4"] .rangee.fond-accent { background: var(--fond); padding-inline: var(--marge); }
html[data-style="4"] .fond-accent > .rangee-grille { background: var(--accent); border-radius: 48px; padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px); box-shadow: 0 30px 60px -30px var(--accent); }

/* 5 – Graphique : rangées numérotées, titres à gauche, tableaux à traits pleins, hachures */
html[data-style="5"] .site { counter-reset: rangee; }
html[data-style="5"] .rangee:has(.surtitre):not(.rangee-hero) { counter-increment: rangee; }
html[data-style="5"] .rangee:not(.rangee-hero) .surtitre::after { content: " / 0" counter(rangee); color: var(--accent-2-texte); }
html[data-style="5"] .rangee:not(.fond-accent) .colonne-pleine.aligne-centre { margin-inline: 0; max-width: 900px; text-align: left; align-items: flex-start; }
html[data-style="5"] .tarifs-titre { display: inline-block; background: var(--texte); color: var(--fond); padding: 4px 12px; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; }
html[data-style="5"] .tarif-points { display: none; }
html[data-style="5"] .tarifs li { justify-content: space-between; border-bottom: 2px solid var(--texte); }
html[data-style="5"] .tarifs li:last-child { border-bottom: 0; }
html[data-style="5"] .horaires div { border-bottom: 2px solid var(--texte); }
html[data-style="5"] .horaires div:last-child { border-bottom: 0; }
html[data-style="5"] .avis figcaption { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; font-size: .8rem; text-transform: uppercase; }
html[data-style="5"] .avis blockquote { border-left: 4px solid var(--accent-2); padding-left: 14px; }
html[data-style="5"] .chiffre { background: var(--surface); border: 2px solid var(--texte); border-left: 10px solid var(--accent); padding: 18px 20px; }
html[data-style="5"] .colonne:nth-child(even) > .chiffre { border-left-color: var(--accent-2); }
html[data-style="5"] .chiffre strong { font-size: clamp(1.7rem, 2.6vw, 2.3rem); white-space: nowrap; letter-spacing: -.06em; }
html[data-style="5"] .rangee.fond-accent { background-image: repeating-linear-gradient(135deg, transparent 0 16px, rgba(0, 0, 0, .1) 16px 19px); }
html[data-style="5"] .colonne-carte:nth-child(3n) .icone { background: var(--accent-2); color: var(--sur-accent-2); }
html[data-style="5"] .colonne-carte { border-top: 8px solid var(--accent); transition: transform .2s; }
html[data-style="5"] .colonne-carte:nth-child(3n) { border-top-color: var(--accent-2); }
html[data-style="5"] .colonne-carte:hover { transform: translateY(-4px); }
html[data-style="5"] .rangee:not(.rangee-hero) .image { border-bottom: 8px solid var(--accent-2); }

@media (max-width: 820px) {
  html[data-style="2"] .fond-accent > .rangee-grille { border-radius: 60px; }
  html[data-style="4"] .rangee.fond-teinte { border-radius: 28px; }
  html[data-style="4"] .fond-accent > .rangee-grille { border-radius: 32px; }
}

/* ---------- Adaptation aux petits écrans ---------- */
@media (max-width: 1000px) {
  [data-disposition="1-1-1-1"] > .rangee-grille, .rangee-grille[data-disposition="1-1-1-1"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--fond); border-bottom: 1px solid var(--ligne); padding: 8px var(--marge) 18px; display: none; }
  .menu-ouvert .menu { display: block; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--ligne); }
  .menu-bascule { display: inline-flex; }
  .en-tete-action { margin-left: auto; }
  .en-tete-int { gap: 12px; }
}
@media (max-width: 820px) {
  .rangee-grille, [data-disposition] > .rangee-grille, .rangee-grille[data-disposition], .rangee-hero > .rangee-grille { grid-template-columns: minmax(0, 1fr) !important; }
  .formulaire { grid-template-columns: 1fr; }
  html[data-style="3"] .rangee-hero .image { min-height: 480px; }
  html[data-style="3"] .rangee-hero .colonne:first-child { padding-top: 56px; }
  [data-disposition="1-1-1-1"] > .rangee-grille { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html[data-style="4"] .rangee-hero { border-radius: 0 0 28px 28px; }
}
@media (max-width: 520px) {
  .en-tete-action { display: none; }
  .menu-bascule { margin-left: auto; }
  .bouton { width: 100%; }
  .en-tete-action .bouton { width: auto; }
}

/* ---------- 7. Mode « zones » (?zones=1) : affiche le nom de chaque zone ---------- */
html[data-zones] [data-zone] { outline: 1px dashed #d70f73; outline-offset: -1px; position: relative; }
html[data-zones] [data-zone]::before {
  content: attr(data-zone); position: absolute; top: 0; left: 0; z-index: 6; background: #d70f73; color: #fff;
  font: 600 10.5px/1.6 ui-monospace, Consolas, monospace; letter-spacing: 0; text-transform: none; padding: 0 6px; white-space: nowrap; pointer-events: none;
}
html[data-zones] .rangee[data-zone]::before, html[data-zones] .pied[data-zone]::before, html[data-zones] .en-tete[data-zone]::before { background: #241a24; font-size: 12px; left: auto; right: 0; }
html[data-zones] .colonne[data-zone]::before { background: #7a3fb8; top: -17px; }
html[data-zones] .site[data-zone]::before, html[data-zones] main[data-zone]::before { display: none; }
html[data-zones] .site[data-zone], html[data-zones] main[data-zone] { outline: 0; }
html[data-zones] .colonne { padding-top: 4px; }

/* ---------- 8. Barre Sycie (hors du site de démonstration) ---------- */
.sy-barre, .sy-fin, .sy-message { font-family: "Figtree", var(--secours); -webkit-font-smoothing: antialiased; }
.sy-barre {
  position: sticky; top: 0; z-index: 50; height: var(--h-barre); background: #241a24; color: #fff;
  display: flex; align-items: center; gap: 14px; padding: 0 clamp(10px, 2vw, 20px); font-size: .9rem;
}
.sy-barre a, .sy-barre button { font: inherit; color: inherit; }
.sy-retour { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; opacity: .9; white-space: nowrap; }
.sy-retour:hover { opacity: 1; }
.sy-fleche { transform: rotate(180deg); }
.sy-titre { margin: 0 auto 0 6px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.sy-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }
.sy-demo { background: #d70f73; border-radius: 6px; padding: 2px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sy-styles { display: flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 4px; }
.sy-invite { margin: 0; color: #ff5fa8; font-weight: 700; white-space: nowrap; }
.sy-invite-court { display: none; }
.sy-invite-fleche { display: inline-block; animation: sy-pousse 1.6s ease-in-out infinite; }
@keyframes sy-pousse { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
.sy-styles button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; white-space: nowrap; transition: background .2s; }
.sy-styles button b { display: none; font-weight: 700; }
.sy-styles button:hover { background: rgba(255, 255, 255, .12); }
.sy-styles button[aria-pressed="true"] { background: #fff; color: #241a24; font-weight: 700; }
.sy-couleurs { position: relative; display: flex; align-items: center; }
.sy-couleurs-liste { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 0 9px; height: 42px; }
.sy-couleurs-liste button, .sy-couleurs-bascule i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); padding: 0; cursor: pointer; background: linear-gradient(135deg, var(--c1) 0 50%, var(--c2) 50% 100%); transition: transform .15s, border-color .15s; }
.sy-couleurs-liste button:hover { transform: scale(1.15); }
.sy-couleurs-liste button[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px #241a24, 0 0 0 4px #fff; }
.sy-couleurs-bascule { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); cursor: pointer; align-items: center; justify-content: center; }
.sy-couleurs-bascule i { display: block; --c1: var(--marque); --c2: var(--appui); border-color: #fff; }
@media (max-width: 1000px) {
  .sy-couleurs-bascule { display: inline-flex; }
  .sy-couleurs-liste { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 55; background: #241a24; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); gap: 12px; padding: 0 14px; height: 52px; border-radius: 14px; }
  .sy-couleurs-liste button { width: 30px; height: 30px; }
  .sy-couleurs.ouvert .sy-couleurs-liste { display: flex; }
}
.sy-mode { width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sy-mode:hover { background: rgba(255, 255, 255, .16); }
html[data-mode="jour"] .sy-mode .i-jour, html[data-mode="nuit"] .sy-mode .i-nuit { display: none; }
.sy-cta { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #d70f73; color: #fff; font: 700 .9rem/1 "Figtree", var(--secours); white-space: nowrap; }
a.sy-cta { display: inline-flex; align-items: center; text-decoration: none; }
.sy-cta:hover { background: #b90c62; }
.sy-barre :focus-visible, .sy-fin :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 1100px) { .sy-styles button span, .sy-nom { display: none; } .sy-styles button b { display: inline; } .sy-styles button { width: 34px; justify-content: center; padding: 0; } }
@media (max-width: 620px) { .sy-barre { gap: 8px; } .sy-barre .sy-cta, .sy-retour span, .sy-invite-long { display: none; } .sy-invite-court { display: inline; } .sy-invite { font-size: .82rem; } .sy-titre { margin-left: 0; } .sy-styles { padding: 3px; gap: 2px; } .sy-styles button { width: 30px; } }
html[data-capture] .sy-barre, html[data-capture] .sy-fin { display: none; }
html[data-capture] { --h-barre: 0px; }

.sy-fin { background: #241a24; color: #fff; text-align: center; padding: 44px 20px 48px; }
.sy-fin p { margin: 0 auto 10px; max-width: 560px; opacity: .88; }
.sy-fin .sy-fin-titre { font-size: 1.6rem; font-weight: 800; opacity: 1; }
.sy-fin-actions { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 20px !important; opacity: 1 !important; }
.sy-fin a { color: #fff; }
.sy-fin .sy-apropos-titre { font-size: 1.05rem; font-weight: 700; margin: 40px auto 8px; max-width: 640px; color: #fff; }
.sy-fin .sy-apropos { font-size: .92rem; line-height: 1.6; max-width: 640px; opacity: .8; }
.sy-fin .sy-droits { font-size: .8rem; line-height: 1.5; max-width: 640px; margin: 26px auto 0; opacity: .65; }

.sy-message { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; max-width: min(92vw, 520px); background: #241a24; color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); font-size: .95rem; line-height: 1.45; border-left: 4px solid #d70f73; }
.sy-message[hidden] { display: none; }
@media (max-width: 620px) { .sy-demo { display: none; } }
@media (max-width: 370px) { .sy-styles button { width: 27px; } .sy-barre { gap: 6px; } }
