/* Synapse Digital — système de design
   Palette à trois rôles, deux neutres dérivés, une police, deux graisses,
   espacements sur base 8 px. Aucune autre valeur n'entre dans le système. */

:root {
  /* Rôles */
  --encre: #1C1F1D;
  --fond: #FAF8F4;
  --accent: #1F3A55;
  /* États de l'accent : assombri de 10 % et de 18 % */
  --accent-survol: #1C344D;
  --accent-actif: #193046;
  /* Neutres dérivés de l'encre */
  --texte-2: #5A5F5B;
  --filet: #E4E0D8;

  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Échelle 8 px */
  --e1: 8px;  --e2: 16px; --e3: 24px; --e4: 32px;
  --e6: 48px; --e8: 64px; --e12: 96px; --e16: 128px;

  /* Typographie, valeurs mobiles par défaut */
  --t1: 2rem;     --l1: 1.15;
  --t2: 1.5rem;   --l2: 1.25;
  --t3: 1.125rem; --l3: 1.35;
  --t4: 1rem;     --l4: 1.6;
  --t5: 0.875rem; --l5: 1.5;

  --marge: var(--e3);
  --section: 80px;
  --entete: 64px;
  --largeur: 1120px;
  --mesure: 68ch;
  --rayon: 8px;
  --transition: 120ms ease;

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --marge: var(--e6); }
}

@media (min-width: 1024px) {
  :root {
    --t1: 2.5rem; --t2: 1.75rem; --t3: 1.25rem; --t4: 1.0625rem;
    --section: var(--e16);
    --entete: 72px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--entete) + var(--e3));
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: var(--t4);
  line-height: var(--l4);
  font-weight: 400;
}

h1, h2, h3 { font-weight: 600; margin: 0; color: var(--encre); }
h1 { font-size: var(--t1); line-height: var(--l1); }
h2 { font-size: var(--t2); line-height: var(--l2); }
h3 { font-size: var(--t3); line-height: var(--l3); }
p { margin: 0; }
p + p { margin-top: 20px; }

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
.prose a, .formule-texte a, .entete-page a, .bloc-contact a { text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }

/* Focus : contour de 2 px décalé de 2 px, sur tout élément interactif */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.visuellement-masque {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.evitement {
  position: absolute; left: var(--e2); top: -100px; z-index: 20;
  background: var(--fond); color: var(--encre); padding: var(--e2) var(--e3);
  border: 1px solid var(--encre); border-radius: var(--rayon);
}
.evitement:focus { top: var(--e2); }

/* Grille : 1 colonne mobile, 6 tablette, 12 desktop, gouttière 24 px */
.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--marge));
  margin: 0 auto;
  padding: 0 var(--marge);
}
.grille { display: grid; grid-template-columns: 1fr; gap: var(--e3); }
@media (min-width: 768px) { .grille { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1024px) { .grille { grid-template-columns: repeat(12, 1fr); } }

/* Bloc de contenu : 8 colonnes sur 12, aligné à gauche, mesure plafonnée */
.prose { max-width: min(var(--mesure), 100%); }
@media (min-width: 1024px) {
  .prose { max-width: min(var(--mesure), calc((var(--largeur) - 11 * 24px) / 12 * 8 + 7 * 24px)); }
}
.prose h2 + p, .prose h2 + .tableau, .prose h2 + .liste, .prose h3 + p { margin-top: var(--e3); }
.prose p + h3, .prose .tableau + h3, .prose .tableau + p, .prose p + .tableau { margin-top: var(--e4); }

/* En-tête collant, filet de 1 px */
.entete {
  position: sticky; top: 0; z-index: 10;
  background: var(--fond);
  border-bottom: 1px solid var(--filet);
}
.entete-in {
  min-height: var(--entete);
  display: flex; align-items: center; justify-content: space-between; gap: var(--e3);
  flex-wrap: wrap;
}
.marque {
  color: var(--encre); font-weight: 600; font-size: var(--t4);
  display: inline-flex; align-items: center; min-height: 44px;
}
.marque:hover { text-decoration: none; }
.marque { gap: 10px; letter-spacing: -0.01em; }
.marque img { display: block; height: 48px; width: auto; }
@media (min-width: 1024px) { .marque img { height: 56px; } }

/* Hero : le logo en grand, à droite, sur desktop seulement */
.hero-illu { display: none; }
@media (min-width: 1024px) {
  .hero-grille { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--e3); align-items: center; }
  .hero-texte { grid-column: span 7; }
  .hero-illu { display: block; grid-column: 8 / span 5; }
  .hero-illu img { width: 100%; height: auto; }
}
.marque-point { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 3px; align-self: flex-end; margin-bottom: 14px; }
.nav { display: flex; align-items: center; gap: var(--e3); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--e1); flex-wrap: wrap; }
.nav li a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--e1);
  color: var(--encre);
  border-bottom: 2px solid transparent;
}
.nav li a:hover { text-decoration: underline; }
.nav li a[aria-current="page"] { border-bottom-color: var(--accent); }
.menu-bouton.bouton { display: none; padding: var(--e1) var(--e2); }

@media (max-width: 1023px) {
  .js .menu-bouton.bouton { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.ouvert { display: flex; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; padding-bottom: var(--e2); gap: var(--e2); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { width: 100%; padding: 0; }
  .nav .bouton { align-self: flex-start; }
}

/* Boutons : 44 px minimum, padding 16 × 24, rayon 8 px */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: var(--e2) var(--e3);
  border-radius: var(--rayon); border: 1px solid transparent;
  font: inherit; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.bouton:hover { text-decoration: none; }
.bouton-principal { background: var(--accent); color: var(--fond); }
.bouton-principal:hover { background: var(--accent-survol); }
.bouton-principal:active { background: var(--accent-actif); }
.bouton-secondaire { background: transparent; color: var(--encre); border-color: var(--encre); }
.bouton-secondaire:hover { background: rgba(28, 31, 29, 0.06); }
.bouton-secondaire:active { background: rgba(28, 31, 29, 0.12); }
/* CTA d'en-tête : en accent, à contour, pour laisser un seul bouton plein par écran */
.bouton-entete { background: transparent; color: var(--accent); border-color: var(--accent); padding: var(--e1) var(--e2); }
.bouton-entete:hover { background: rgba(31, 58, 85, 0.06); }
.bouton-entete:active { background: rgba(31, 58, 85, 0.12); }
.bouton:disabled, .bouton[aria-disabled="true"] { opacity: 0.5; cursor: default; pointer-events: none; }

/* Hero : fond clair, pas d'image, hauteur libre */
.hero { padding: 80px 0 var(--e8); }
@media (min-width: 1024px) { .hero { padding: var(--e12) 0 var(--e8); } }
.hero h1 { max-width: 26ch; }
.hero .sous-titre { margin-top: var(--e3); max-width: 56ch; }
.hero .actions { margin-top: var(--e4); display: flex; flex-wrap: wrap; gap: var(--e2); }
.hero .mention-prix { margin-top: var(--e2); font-size: var(--t5); line-height: var(--l5); color: var(--texte-2); }

/* En-tête des pages internes */
.entete-page { padding: var(--e6) 0 0; }
@media (min-width: 1024px) { .entete-page { padding-top: var(--e8); } }
.entete-page h1 { margin-top: var(--e3); max-width: 24ch; }
.entete-page .chapo { margin-top: var(--e3); }

/* Fil d'Ariane */
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--t5); line-height: var(--l5); color: var(--texte-2); }
.ariane li { display: inline-flex; align-items: center; }
.ariane li + li::before { content: "/"; margin: 0 var(--e1); color: var(--texte-2); }
.ariane a { color: var(--texte-2); text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
.ariane [aria-current="page"] { color: var(--encre); }

/* Sections : 96 px desktop, 64 px mobile, filet d'ouverture */
.section { padding-top: var(--section); }
.section > .conteneur > .prose > h2,
.section > .conteneur > h2 { padding-top: var(--e3); border-top: 1px solid var(--filet); }
main > .section:last-child { padding-bottom: var(--section); }

/* Bandeau de réassurance : filets haut et bas, items factuels */
.reassurance { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.reassurance .grille { padding: var(--e6) 0; row-gap: var(--e4); }
.reassurance-item { font-size: var(--t5); line-height: var(--l5); }
.reassurance-item h2, .reassurance-item p.titre { font-size: var(--t5); line-height: var(--l5); font-weight: 600; margin: 0 0 var(--e1); border: 0; padding: 0; }
@media (max-width: 767px) { .reassurance .grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .reassurance-item { grid-column: span 3; } }

/* Carte de formule : filet 1 px, rayon 8, padding 32 */
.formule-ligne { margin-top: var(--e4); }
.carte-formule {
  border: 1px solid var(--filet); border-radius: var(--rayon); padding: var(--e4);
  background: var(--fond);
  display: flex; flex-direction: column; gap: var(--e2);
  transition: border-color var(--transition);
}
.carte-formule:hover { border-color: var(--encre); }
.carte-formule.en-avant { border: 2px solid var(--encre); padding: calc(var(--e4) - 1px); }
.carte-formule h3 { font-size: var(--t3); }
.carte-formule .prix { font-size: var(--t2); line-height: var(--l2); font-weight: 600; }
.carte-formule .prix span { font-size: var(--t4); font-weight: 400; color: var(--texte-2); }
.carte-formule .inclusions p { margin: 0; padding: var(--e1) 0; border-top: 1px solid var(--filet); }
.carte-formule .bouton { align-self: flex-start; margin-top: var(--e1); }
@media (min-width: 768px) {
  .formule-ligne .carte-formule { grid-column: span 3; }
  .formule-ligne .formule-texte { grid-column: span 3; }
}
@media (min-width: 1024px) {
  .formule-ligne .carte-formule { grid-column: span 4; }
  .formule-ligne .formule-texte { grid-column: span 8; }
}
.formule-texte { max-width: var(--mesure); }

/* Duo « compris / pas compris » : même poids visuel */
.duo { display: grid; grid-template-columns: 1fr; column-gap: var(--e3); }
@media (min-width: 768px) { .duo { grid-template-columns: repeat(6, 1fr); } .duo > .section { grid-column: span 3; } }
@media (min-width: 1024px) { .duo { grid-template-columns: repeat(12, 1fr); } .duo > .section { grid-column: span 6; } }
.duo > .section > .conteneur { padding: 0; }
.duo-enveloppe { max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }

/* Tableaux */
.tableau { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--t5); line-height: var(--l5); }
caption { text-align: left; color: var(--texte-2); padding-bottom: var(--e1); }
th, td { text-align: left; vertical-align: top; padding: var(--e1) var(--e2) var(--e1) 0; border-bottom: 1px solid var(--filet); }
th { font-weight: 600; border-bottom-color: var(--encre); }

/* FAQ accordéon : réponses dans le HTML initial */
.faq { margin-top: var(--e3); border-top: 1px solid var(--filet); }
.faq-item { border-bottom: 1px solid var(--filet); }
.faq-item h3 { font-size: var(--t4); line-height: var(--l4); }
.faq-q {
  width: 100%; min-height: 44px; padding: var(--e2) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--e2);
  background: none; border: 0; color: var(--encre); cursor: pointer; text-align: left;
  font: inherit; font-weight: 600;
}
.faq-q:hover { text-decoration: underline; }
.faq-chevron { flex: none; width: 16px; height: 16px; transition: transform var(--transition); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-r { padding: 0 0 var(--e2); }
.faq-r[hidden] { display: none; }
.no-js .faq-chevron { display: none; }

/* Formulaire */
.formulaire { margin-top: var(--e3); display: grid; gap: var(--e3); max-width: 48ch; }
.champ label { display: block; font-weight: 600; margin-bottom: var(--e1); }
.champ .aide { display: block; font-size: var(--t5); line-height: var(--l5); color: var(--texte-2); margin-bottom: var(--e1); }
.champ input, .champ textarea {
  width: 100%; min-height: 44px; padding: var(--e1) var(--e2);
  font: inherit; color: var(--encre); background: var(--fond);
  border: 1px solid var(--texte-2); border-radius: var(--rayon);
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus-visible, .champ textarea:focus-visible { outline-offset: 0; border-color: var(--accent); }
.champ input:disabled, .champ textarea:disabled { opacity: 0.5; cursor: default; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mention-form { font-size: var(--t5); line-height: var(--l5); color: var(--texte-2); }
.formulaire .bouton { justify-self: start; }

/* Bloc contact final, identique partout */
.bloc-contact .coordonnees { margin-top: var(--e2); }
.bloc-contact .coordonnees a { display: inline-flex; align-items: center; min-height: 44px; }

/* Donnée manquante, volontairement visible */
.a-completer { background: #FFF3B0; color: var(--encre); outline: 1px dashed var(--encre); padding: 0 4px; }

/* Pied de page : encre profonde, texte clair */
.pied { background: var(--encre); color: var(--fond); }
.pied .grille { padding: var(--e8) 0 var(--e6); }
.pied h2 { font-size: var(--t5); line-height: var(--l5); color: var(--fond); margin-bottom: var(--e2); }
.pied p, .pied li { font-size: var(--t5); line-height: var(--l5); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied a { color: var(--fond); text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
.pied a:hover { text-decoration-thickness: 2px; }
/* Sur fond sombre, l'accent ne passe pas 3:1 : le contour prend la couleur du fond clair */
.pied :focus-visible { outline-color: var(--fond); }
.pied .bas { border-top: 1px solid rgba(250, 248, 244, 0.24); padding: var(--e3) 0 var(--e4); }
@media (min-width: 768px) { .pied .col { grid-column: span 2; } }
@media (min-width: 1024px) { .pied .col { grid-column: span 4; } }

/* Listes éditoriales */
.liste { margin: var(--e3) 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.liste li { position: relative; padding-left: 28px; }
.liste li::before {
  content: ""; position: absolute; left: 6px; top: 0.7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.liste-coche li::before, .liste-non li::before {
  left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 0; background: none;
  background-repeat: no-repeat; background-size: 18px 18px;
}
.liste-coche li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A55' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.liste-non li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5F5B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.prose p + .liste, .prose .liste + p, .formule-texte .liste + p, .formule-texte p + .liste { margin-top: var(--e2); }
.formule-texte > .liste:first-child { margin-top: 0; }
.prose .liste + h3 { margin-top: var(--e4); }

/* Icônes */
.icone { width: 28px; height: 28px; color: var(--accent); flex: none; }
.reassurance-item .icone { width: 24px; height: 24px; margin-bottom: var(--e1); }

/* Cartes (profils, étapes) */
.cartes { margin-top: var(--e6); row-gap: var(--e4); }
.carte {
  border: 1px solid var(--filet); border-radius: 12px; padding: var(--e4);
  display: flex; flex-direction: column; gap: 12px; background: #FFFFFF;
}
.carte .icone { margin-bottom: var(--e1); }
.carte h3 { font-size: var(--t3); }
.carte p, .carte li { font-size: var(--t4); }
.carte .liste { margin-top: var(--e1); }
.etape-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: var(--e1);
  background: var(--accent); color: var(--fond); font-weight: 600;
}
@media (min-width: 768px) { .cartes .carte { grid-column: span 3; } }
@media (min-width: 1024px) { .cartes .carte { grid-column: span 4; } }
.apres-cartes { margin-top: var(--e4); }

/* Réalisations */
.realisations { margin-top: var(--e6); row-gap: var(--e6); column-gap: var(--e6); }
.realisation { display: flex; flex-direction: column; gap: var(--e1); }
.realisation h3 { margin-top: var(--e2); }
.realisation h3 a { text-decoration: underline; text-decoration-thickness: 1px; }
@media (min-width: 768px) { .realisation { grid-column: span 3; } .realisation:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .realisation:last-child { grid-column: span 4; } }
@media (min-width: 1024px) { .realisation { grid-column: span 4; } }
.navigateur { border: 1px solid var(--filet); border-radius: var(--rayon); overflow: hidden; background: var(--fond); }
.navigateur-barre { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--filet); }
.navigateur-barre span { width: 10px; height: 10px; border-radius: 50%; background: var(--filet); }
.navigateur-barre p { margin: 0 0 0 var(--e1); font-size: var(--t5); color: var(--texte-2); }
.navigateur-ecran { aspect-ratio: 16 / 8; padding: var(--e4); display: flex; flex-direction: column; justify-content: center; gap: var(--e1); }
.ecran-nom { font-size: var(--t2); line-height: var(--l2); font-weight: 600; }
.ecran-accroche { opacity: 0.85; max-width: 28ch; }

/* Images des réalisations */
.navigateur img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }
.navigateur { box-shadow: 0 12px 32px rgba(28, 31, 29, 0.10); border-radius: 12px; }

/* Photos */
.photo { margin: var(--e4) 0 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 32px rgba(28, 31, 29, 0.10); }
.photo figcaption { margin-top: var(--e1); font-size: var(--t5); line-height: var(--l5); color: var(--texte-2); }

/* Hero : éventail de réalisations */
.eventail { position: relative; aspect-ratio: 5 / 4; }
.eventail .ev { position: absolute; width: 78%; height: auto; border-radius: 10px; border: 1px solid var(--filet);
  box-shadow: 0 18px 40px rgba(28, 31, 29, 0.18); background: #fff; }
.ev-1 { top: 0; left: 0; transform: rotate(-4deg); }
.ev-2 { top: 22%; right: 0; transform: rotate(3deg); }
.ev-3 { bottom: 0; left: 8%; transform: rotate(-1deg); z-index: 2; }

/* Arbre « Par où commencer » */
.arbre { margin-top: var(--e6); text-align: center; }
.racine { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--accent); color: var(--fond); font-weight: 600; }
.branches { list-style: none; margin: var(--e4) 0 0; padding: var(--e4) 0 0; display: grid; gap: var(--e4); position: relative; }
.branche { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--e2);
  background: #FFFFFF; border: 1px solid var(--filet); border-radius: 12px; padding: var(--e4) var(--e3); }
.besoin { display: flex; flex-direction: column; align-items: center; gap: var(--e1); font-weight: 600; font-size: var(--t3); line-height: var(--l3); }
.fleche-bas { width: 2px; height: 28px; background: var(--filet); position: relative; }
.fleche-bas::after { content: ""; position: absolute; left: -5px; bottom: -2px; border: 6px solid transparent; border-top-color: var(--filet); border-bottom: 0; }
.reponse { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.reponse-nom { font-size: var(--t2); line-height: var(--l2); font-weight: 600; color: var(--accent); }
.reponse-prix { color: var(--texte-2); margin-bottom: var(--e2); }
@media (min-width: 1024px) {
  .branches { grid-template-columns: repeat(3, 1fr); }
  .branches::before { content: ""; position: absolute; top: 0; left: 16.66%; right: 16.66%; height: 2px; background: var(--filet); }
  .branche::before { content: ""; position: absolute; top: calc(-1 * var(--e4)); left: 50%; width: 2px; height: var(--e4); background: var(--filet); }
  .branches { margin-top: 0; }
  .arbre .racine { position: relative; margin-bottom: var(--e4); }
  .arbre .racine::after { content: ""; position: absolute; left: 50%; bottom: calc(-1 * var(--e4)); width: 2px; height: var(--e4); background: var(--filet); }
}

/* Comparatif achat / abonnement */
.comparatif { margin-top: var(--e6); display: grid; gap: var(--e3); }
@media (min-width: 768px) { .comparatif { grid-template-columns: 1fr 1fr; } }
.comp-col { border-radius: 12px; padding: var(--e4); border: 1px solid var(--filet); background: #FFFFFF; }
.comp-abo { border: 2px solid var(--accent); }
.comp-titre { font-weight: 600; font-size: var(--t3); margin-bottom: var(--e3); }
.comp-abo .comp-titre { color: var(--accent); }
.comp-etapes { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--filet); display: grid; gap: var(--e3); }
.comp-abo .comp-etapes { border-left-color: var(--accent); }
.comp-etapes li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.comp-etapes li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--filet); }
.comp-abo .comp-etapes li::before { background: var(--accent); }
.comp-quand { font-size: var(--t5); color: var(--texte-2); text-transform: uppercase; letter-spacing: 0.04em; }
.comp-quoi { font-weight: 600; }

/* Captures dans le texte */
.capture { margin: var(--e4) 0; }
.capture .navigateur img { aspect-ratio: auto; }
.capture figcaption { margin-top: var(--e1); font-size: var(--t5); line-height: var(--l5); color: var(--texte-2); }

/* Avis clients */
.avis-grille { margin-top: var(--e6); row-gap: var(--e4); }
.avis {
  margin: 0; padding: var(--e4); background: #FFFFFF; border: 1px solid var(--filet); border-radius: 12px;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--e3);
}
.avis blockquote { margin: 0; position: relative; padding-top: var(--e4); }
.avis blockquote::before {
  content: "\201C"; position: absolute; top: -14px; left: -4px;
  font-size: 64px; line-height: 1; color: var(--accent); font-family: Georgia, serif;
}
.avis blockquote p { font-size: var(--t4); }
.avis figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--filet); padding-top: var(--e2); }
.avis-nom { font-weight: 600; }
.avis-contexte { font-size: var(--t5); color: var(--texte-2); }
@media (min-width: 768px) { .avis { grid-column: span 3; } .avis:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .avis, .avis:last-child { grid-column: span 4; } }

/* Carrousel d'avis */
.carrousel { margin-top: var(--e6); }
.carrousel-commandes { display: flex; justify-content: flex-end; gap: var(--e1); margin-bottom: var(--e2); }
.carrousel-btn { min-width: 44px; min-height: 44px; border: 1px solid var(--encre); border-radius: 50%; background: transparent; color: var(--encre); font: inherit; cursor: pointer; }
.carrousel-btn:hover { background: rgba(28, 31, 29, 0.06); }
.carrousel-piste { list-style: none; margin: 0; padding: 0 0 var(--e2); display: grid; grid-auto-flow: column;
  grid-auto-columns: 100%; gap: var(--e3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; }
@media (min-width: 768px) { .carrousel-piste { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 1024px) { .carrousel-piste { grid-auto-columns: calc((100% - 48px) / 3); } }
.avis-slide { scroll-snap-align: start; display: flex; }
.avis-slide .avis { width: 100%; }
.avis-etoiles { display: inline-flex; gap: 2px; color: #E0A800; }
.avis blockquote { padding-top: var(--e3); }
.avis blockquote::before { top: -18px; }

/* Fiches métier */
@media (min-width: 768px) { .fiches .carte { grid-column: span 6; } }
@media (min-width: 1024px) { .fiches .carte { grid-column: span 6; } }
.fiches .carte .liste + .liste { margin-top: var(--e1); }
.fiches .carte > p:last-child { margin-top: auto; padding: var(--e2); border-radius: var(--rayon); background: #EEF2F6; font-size: var(--t5); line-height: var(--l5); }

/* Offres Synapse OS */
.offres-os { margin-top: var(--e6); row-gap: var(--e4); align-items: stretch; }
.offre-os { position: relative; background: #FFFFFF; }
.offre-os .liste { margin-top: 0; }
.offre-os .bouton { margin-top: auto; }
.offre-os .prix span { display: block; margin-top: 4px; font-size: var(--t5); line-height: var(--l5); }
.badge { position: absolute; top: -14px; left: var(--e4); margin: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: var(--fond); font-size: var(--t5); font-weight: 600; }
@media (min-width: 768px) { .offre-os { grid-column: span 3; } .offre-os:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .offre-os, .offre-os:last-child { grid-column: span 4; } }

/* Portrait */
.portrait { margin: var(--e3) 0; display: flex; align-items: center; gap: var(--e3); }
.portrait img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 4px var(--fond), 0 0 0 5px var(--filet); }
.portrait figcaption { font-weight: 600; }
@media (min-width: 1024px) { .portrait img { width: 160px; height: 160px; } }

/* Bandeau de consentement */
.consentement { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #FFFFFF;
  border-top: 1px solid var(--filet); box-shadow: 0 -8px 24px rgba(28, 31, 29, 0.10);
  padding-bottom: env(safe-area-inset-bottom, 0px); }
.consentement[hidden] { display: none; }
.consentement-in { padding-top: var(--e3); padding-bottom: var(--e3); display: grid; gap: var(--e2); }
.consentement-titre { font-weight: 600; }
.consentement p { font-size: var(--t5); line-height: var(--l5); max-width: 72ch; }
.consentement a { text-decoration: underline; }
.consentement-actions { display: flex; flex-wrap: wrap; gap: var(--e2); }
@media (min-width: 1024px) { .consentement-in { grid-template-columns: 1fr auto; align-items: center; } .consentement-titre { grid-column: 1 / -1; margin-bottom: -8px; } }
.lien-cookies { background: none; border: 0; padding: 0; color: var(--fond); font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }
.pied .lien-cookies:focus-visible { outline: 2px solid var(--fond); outline-offset: 2px; }

/* Page 404 */
.page-404 .actions { margin-top: var(--e4); display: flex; flex-wrap: wrap; gap: var(--e2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .entete, .pied, .bloc-contact .bouton, .menu-bouton.bouton { display: none; padding: var(--e1) var(--e2); }
  .faq-r[hidden] { display: block; }
}
