/* =====================================================================
   OREKA — feuille de style
   Palette autorisée (5 couleurs) : voir :root ci-dessous.
   Mobile d'abord ; points de rupture en bas de fichier.
   ===================================================================== */

:root {
  --blanc: #FFFFFF;   /* fond principal / pureté */
  --creme: #EDECE8;   /* fond secondaire (sections alternées) */
  --gris:  #B5BAC0;   /* ingénierie : texte secondaire, filets, tableaux */
  --bleu:  #BACED7;   /* eau : accents, fonds de section douce */
  --noir:  #000000;   /* précision : texte, boutons, sections sombres */

  --police: "Switzer", "Inter", system-ui, sans-serif;
  --rayon: 8px;
  --filet: 1px solid var(--gris);
  --hauteur-entete: 68px;   /* logo 120 px de large sur téléphone */
  --marge: 20px;            /* marge latérale mobile */
  --largeur-max: 1200px;
}

/* ---------- Remise à zéro légère ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hauteur-entete) + 16px); }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.55;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
sup { font-size: 0.65em; line-height: 0; }

:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }

/* ---------- Mise en page ---------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--marge);
}
.conteneur--etroit { max-width: 760px; }

.section { padding-block: 72px; }
.section--creme { background: var(--creme); }
.section--noire { background: var(--noir); color: var(--blanc); }
/* Bleu de la présentation La Ruche (page 5) : un seul dégradé continu (et une seule couche de nuées)
   derrière « Trois modes » et « Installation » — seule exception autorisée à la palette */
.bande-bleue {
  position: relative;
  background: linear-gradient(135deg, #A9CAE7 0%, #76A6D6 100%);
  overflow: hidden;
}
.bande-bleue > section { position: relative; z-index: 1; background: none; margin: 0; border: 0; box-shadow: none; }
/* Mêmes nuées que le héros (deux couches, mêmes mouvements), opacité réduite d'un tiers */
.nuees { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.nuees span {
  position: absolute; inset: -10%;
  background: url("assets/fond-degrade-bleu.webp") center / cover no-repeat;
}
.nuees span:nth-child(1) { opacity: .67; animation: nuees-1 30s ease-in-out infinite alternate; }
.nuees span:nth-child(2) { opacity: .33; transform: scaleX(-1); animation: nuees-2 41s ease-in-out infinite alternate; mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .nuees span { animation: none; } }

/* ---------- Typographie ---------- */
h1 {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin-block: 20px 20px;
}
.titre-section {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 24ch;
  margin-block: 16px 32px;
}
/* Titre de section qui doit tenir sur une ligne : la taille descend juste assez sur téléphone.
   --titre-l = largeur du titre en em (mesurée), propre à chaque titre */
.titre-section--une-ligne { white-space: nowrap; max-width: none; font-size: min(clamp(1.5rem, 4.5vw, 2.5rem), calc((100vw - 2 * var(--marge)) / var(--titre-l))); }
#titre-comparaison { --titre-l: 18; }
#titre-offres { --titre-l: 17.1; }
:lang(en) #titre-comparaison { --titre-l: 15.2; }   /* « What you gain with Oreka » */
:lang(en) #titre-offres { --titre-l: 13.5; }        /* « Two ways to get Oreka » */
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
p, li { max-width: 65ch; }
.accroche {
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 40ch;
  margin-bottom: 40px;
}
/* Accroche en deux phrases : deux lignes sous 900 px (coupure après le premier point), une seule ligne au-delà */
.accroche--deux-temps { max-width: none; --phrase-l: 20.4; font-size: min(1.25rem, calc((100vw - 2 * var(--marge)) / var(--phrase-l))); }
.accroche--deux-temps span { display: block; white-space: nowrap; }
:lang(en) .accroche--deux-temps { --phrase-l: 16.4; }   /* phrase la plus longue en anglais */
@media (min-width: 900px) {
  .accroche--deux-temps { white-space: nowrap; font-size: 1.25rem; }
  .accroche--deux-temps span { display: inline; }
}
.note-source {
  font-size: 0.8rem;
  color: var(--noir);
  opacity: 0.7;
  margin-top: 40px;
  padding-top: 16px;
  border-top: var(--filet);
}

/* Étiquette pilule */
.pilule {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

/* Texte de remplacement à confirmer : reste jaune dans les deux modes,
   jusqu'à ce que le texte soit remplacé et les crochets [[ ]] retirés dans index.html */
.a-confirmer {
  background: #FFE95C;
  color: var(--noir);
  padding: 0 4px;
  border-radius: 3px;
}

/* Contenu réservé aux lecteurs d'écran */
.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: 0; padding: 0;
}

/* ---------- Animations d'apparition (fondu + glissement) ---------- */
html.js .apparition {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.2,.6,.2,1), transform 0.7s cubic-bezier(.2,.6,.2,1);
}
html.js .apparition.est-visible { opacity: 1; transform: none; }

/* Boutons, formulaire, pilule du héros et texte de la campagne dépendent de l'heure (prélancement, ouverture de La Ruche, campagne) :
   invisibles tant que script.js n'a pas tranché (classe « etat-pret »), pour qu'aucun visiteur ne voie l'ancien état clignoter.
   Filet de sécurité : si le script ne se charge pas, ils réapparaissent d'eux-mêmes après 5 s. */
html.js:not(.etat-pret) :is([data-cta], [data-bloc-formulaire], [data-pilule-campagne], [data-texte-campagne]) { visibility: hidden; animation: etat-filet 0s 5s forwards; }
@keyframes etat-filet { to { visibility: visible; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--rayon);
  border: 1px solid var(--noir);
  background: var(--noir);
  color: var(--blanc);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--blanc); color: var(--noir); }
.btn--petit { padding: 12px 16px; font-size: 12px; }
.btn--secondaire { background: transparent; color: var(--noir); }
.btn--secondaire:hover, .btn--secondaire:focus-visible { background: var(--noir); color: var(--blanc); }

/* Bouton sur fond noir */
.btn--inverse { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn--inverse:hover, .btn--inverse:focus-visible { background: var(--noir); color: var(--blanc); }

.lien-fleche {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--noir);
  padding-bottom: 2px;
}
.lien-fleche:hover { border-bottom-color: transparent; }
.lien-fleche { position: relative; }
.lien-fleche::before { content: ""; position: absolute; inset: -16px -6px; }   /* zone cliquable de 44 px et plus : le soulignement est une bordure, on agrandit la zone par-dessus */

/* ---------- En-tête (fixe) ---------- */
.entete {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  height: var(--hauteur-entete);
  background: var(--blanc);
  border-bottom: var(--filet);
}
.entete__ligne {
  height: 100%;
  display: flex;
  flex-wrap: nowrap;                 /* jamais deux lignes */
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.entete__logo { display: block; flex: none; line-height: 0; }
.entete__logo img { width: 120px; height: auto; }   /* cible du vol de l'intro : 120 px sur téléphone */
.entete__nav { display: none; }
.entete .btn--petit { padding: 11px 12px; font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; }
/* Téléphone : logo + FR · EN + bouton sur une seule rangée. Le texte du bouton garde sa taille (11 px)
   et passe sur deux lignes équilibrées si la place manque (« Être averti / du lancement »). */
@media (max-width: 767px) {
  .entete .btn--petit { white-space: normal; text-wrap: balance; text-align: center; line-height: 1.2; padding: 7px 10px; flex: 0 1 auto; }
}
.entete__nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.entete__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Sélecteur de langue FR · EN (entre le menu et le bouton, visible à toutes les largeurs).
   Zone cliquable de 44 × 44 px ; la marge négative la laisse déborder sur l'espace entre les éléments. */
.langues { display: flex; align-items: center; flex: none; margin-left: auto; margin-right: -8px; }
.langues a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; margin-inline: -6px;
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
}
.langues a[aria-current="true"], .langues a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.langues__point { font-size: 14px; font-weight: 500; }

/* Bandeau « English version available » (pages françaises, navigateur sans le français) :
   une ligne sous l'en-tête fixe, qui le suit au défilement ; le contenu descend d'autant. */
.bandeau-langue {
  position: fixed; top: var(--hauteur-entete); left: 0; right: 0; z-index: 9;
  background: var(--creme); border-bottom: var(--filet); font-size: 14px; line-height: 20px;
}
.bandeau-langue__ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; }
.bandeau-langue__lien { font-weight: 500; text-decoration: none; white-space: nowrap; }
.bandeau-langue__lien:hover { text-decoration: underline; text-underline-offset: 4px; }
.bandeau-langue__fermer {
  width: 44px; height: 44px; margin-right: -12px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 22px; line-height: 1; color: var(--noir); cursor: pointer;
}
html.avec-bandeau-langue { scroll-padding-top: calc(var(--hauteur-entete) + 44px + 16px); }
html.avec-bandeau-langue main { margin-top: 44px; }

/* ---------- Héros ---------- */
.heros {
  padding-top: calc(var(--hauteur-entete) + 40px);
  padding-bottom: 40px;
  background: var(--bleu) url("assets/fond-degrade-bleu.webp") center / cover no-repeat;
  overflow: hidden;
}
.heros__grille { display: grid; gap: 24px; }
/* Les cases d'une grille ne doivent jamais dépasser la largeur de l'écran */
.heros__grille > *, .probleme__grille > *, .equipe__grille > *, .pied__grille > *, .stats > *, .cartes > *, .modes > *, .finitions > *, .offres > * { min-width: 0; }
.heros__sous-titre { font-size: 1.1rem; max-width: 52ch; }
.heros__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 32px;
}
/* Le produit, centré sur l'anneau de particules (première des deux utilisations du motif) */
.heros__visuel {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.heros__anneau {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.heros__produit {
  position: relative;
  width: clamp(120px, 34%, 240px); /* rendu basse résolution : 240 px maximum sur téléphone (à remonter avec les rendus haute résolution) */
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.28));
}

/* Bande de 4 preuves */
.preuves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--filet);
}
.preuves li {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 18px var(--marge);
  border-bottom: var(--filet);
  max-width: none;
}
.preuves li:nth-child(odd) { border-right: var(--filet); }
.preuves li:nth-child(n+3) { border-bottom: 0; }

/* ---------- Le problème ---------- */
.stats {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}
.stat { border-top: 1px solid var(--noir); padding-top: 16px; }
.stat__chiffre {
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__legende {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.5;
  max-width: 34ch;
  margin-top: 12px;
}
.probleme__grille { display: grid; gap: 40px; }
.points { counter-reset: point; }
.points li {
  counter-increment: point;
  position: relative;
  padding: 16px 0 16px 44px;
  border-top: var(--filet);
}
.points li:last-child { border-bottom: var(--filet); }
.points li::before {
  content: counter(point, decimal-leading-zero);
  position: absolute;
  left: 0; top: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.probleme__visuel img {
  width: 100%;
  aspect-ratio: 1 / 1;                      /* carré sur téléphone, 4:3 sur bureau (ci-dessous) */
  object-fit: cover;
  object-position: center;
  border-radius: var(--rayon);
}
.probleme__visuel figcaption {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--noir);
  opacity: 0.85;
}

/* ---------- Le produit ---------- */
.cartes {
  display: grid;
  gap: 1px;
  background: var(--gris);          /* filets fins entre les cartes */
  border: var(--filet);
}
.carte {
  background: var(--blanc);
  padding: 28px 24px;
  max-width: none;
}
.carte__icone {
  display: block;
  width: 32px; height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 22px;
}
.carte h3 { margin-bottom: 8px; }

/* Bande « Certifications » : marques NSF et CSA, toujours noires, jamais déformées */
.certifications { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.certifications__etiquette { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.certifications__marques { display: flex; }
.certifications__marque { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-inline: 24px; font-size: 12px; line-height: 1.2; text-align: center; }
.certifications__marque:first-child { padding-left: 0; }
.certifications__marque + .certifications__marque { border-left: 1px solid var(--gris); }
.certifications__marque img { height: 44px; width: auto; opacity: 0.85; }
.carte p { font-size: 1rem; }

.installation { margin-top: 64px; }
.installation__titre {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  margin-bottom: 20px;
}
/* Les trois gestes illustrés, côte à côte sur un panneau crème */
.gestes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--creme);
  border-radius: var(--rayon);
  padding: 24px 12px;
}
.geste { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: none; }
.geste__img {                     /* boîte de hauteur fixe, image calée en bas : les trois dessins partagent la même ligne de base */
  height: 220px; width: 100%;
  object-fit: contain; object-position: center bottom;
  margin-bottom: 16px;
}
.geste p { margin-top: 10px; font-size: 0.9rem; font-weight: 500; line-height: 1.35; }
.gestes__num {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--noir);
  border-radius: 999px;
}
.installation__note {
  margin-top: 24px;
  display: flex;
  flex-direction: column;                  /* deux lignes sur téléphone */
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: none;
}
.installation__point { display: none; }

/* ---------- Installation : adaptateurs inclus (page 6 de la présentation) ---------- */
.adaptateurs { padding-top: 64px; }
.adaptateurs__grille { display: grid; gap: 32px; }
.adaptateurs__intro { max-width: 34ch; }
.adaptateurs__titre {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-block: 20px 12px;
}
.adaptateurs__repere { display: none; }
.adaptateurs__scene {                       /* la vue éclatée sort du cadre par le bas, comme sur la présentation */
  position: relative;
  height: 420px;
  overflow: visible;
  clip-path: inset(0 -100vw);               /* coupe seulement en haut et en bas : l'anneau reste entier sur les côtés */
  margin-inline: calc(-1 * var(--marge));
}
.adaptateurs__anneau {                       /* troisième et dernière utilisation de l'anneau de particules */
  position: absolute;
  width: 300px; height: 300px;
  aspect-ratio: 1;
  object-fit: contain;
  max-width: none;
  left: 50%; top: 40px;
  transform: translateX(-50%);
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}
.adaptateurs__eclatee {
  position: absolute;
  height: 560px; width: auto;
  max-width: none;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.adaptateurs__bloc { padding-bottom: 56px; }
.adaptateurs__liste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 12px;
  text-align: center;
}
.adaptateurs__note { margin-top: 32px; max-width: 40ch; }
/* Astérisque « universelle* » : renvoi vers la question de compatibilité de la FAQ */
.renvoi { position: relative; color: inherit; text-decoration: none; font-weight: 600; padding-inline: 1px; }
.renvoi:hover { text-decoration: underline; text-underline-offset: 3px; }
.renvoi::before { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); }   /* zone cliquable de 24 × 24 px, sans déplacer le texte */
.adaptateurs__item { max-width: none; }
.adaptateurs__item img { height: 64px; width: auto; display: block; margin: 0 auto 10px; }
.adaptateurs__item > span { display: block; font-size: 14px; font-weight: 400; line-height: 1.3; }
.insecable { white-space: nowrap; }

/* ---------- Trois modes (fond bleu) ---------- */
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;               /* les trois rendus ont la même hauteur : bases alignées, quel que soit le texte dessous */
  text-align: center;
}
.mode { max-width: none; }
.mode__img { height: 226px; width: auto; display: block; margin: 0 auto; }   /* douchette ≈ 200 px + son jet dessous */
.mode__nom {
  margin-top: 8px;
  padding-top: 14px;
  border-top: var(--filet);         /* filet repère, comme sur la présentation */
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 767px) { .mode__nom { letter-spacing: 0.02em; } }   /* « FILTRATION » doit tenir dans le tiers de l'écran */
.mode__desc { margin: 8px auto 0; font-size: 1rem; max-width: 22ch; }
.modes__note { margin-top: 40px; font-size: 1rem; }

/* ---------- Trois finitions (fond noir) ---------- */
.finitions {
  display: flex;                    /* téléphone : défilement horizontal, une finition à la fois */
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--marge));
  padding-inline: var(--marge);
  padding-bottom: 8px;
  text-align: center;
}
.finitions::-webkit-scrollbar { display: none; }
.finition { flex: 0 0 auto; scroll-snap-align: center; max-width: none; }
.finition__img { height: 260px; width: auto; display: block; margin: 0 auto; }
.finition__nom {
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Les offres (fond crème) ---------- */
.offres { display: grid; gap: 20px; }
.offre {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: var(--filet);
  border-radius: var(--rayon);
  padding: 32px 24px;
  max-width: none;
}
.offre__scene { position: relative; height: 220px; margin-bottom: 24px; }   /* deux images superposées : fondu croisé au changement de finition */
.offre__visuel {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  height: 220px; width: auto;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.offre__visuel.est-active { opacity: 1; }

/* Sélecteur de finition : de vrais boutons radio, pastilles de matière (les seules couleurs hors palette, réservées à cet usage) */
.choix-finition { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.choix-finition__legende {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0;
  margin-bottom: 10px;
}
.choix-finition__liste { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.choix-finition__option { position: relative; display: inline-flex; cursor: pointer; }
.choix-finition__option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choix-finition__pastille {
  display: block;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gris);
  box-sizing: border-box;
}
.choix-finition__pastille--noir { background: #000000; }
.choix-finition__pastille--chrome { background: linear-gradient(135deg, #F4F4F4 0%, #9A9A9A 50%, #E8E8E8 100%); }
.choix-finition__pastille--nickel-brosse { background: linear-gradient(135deg, #D9D3C8 0%, #A69F93 100%); }
.choix-finition__option input:checked + .choix-finition__pastille { outline: 1.5px solid var(--noir); outline-offset: 3px; }
.choix-finition__option input:focus-visible + .choix-finition__pastille { outline: 2px solid var(--noir); outline-offset: 5px; }
.choix-finition__nom { font-size: 0.95rem; font-weight: 500; margin-left: 4px; }
.choix-finition__note { margin-top: 10px; font-size: 0.8rem; opacity: 0.8; }
.offre__etiquette {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.offre__prix { font-size: 3rem; font-weight: 600; line-height: 1; margin-top: 10px; }
.offre__phrase { margin-top: 16px; font-size: 1rem; }
.offre__inclus { margin-top: 24px; margin-bottom: 28px; }
.offre__inclus li { padding: 12px 0; border-top: var(--filet); font-size: 0.95rem; max-width: none; }
.offre__inclus li:last-child { border-bottom: var(--filet); }
.offre__btn { margin-top: auto; text-align: center; }
.offres__note { margin-top: 24px; font-size: 0.85rem; }
.offres__note + .offres__note { margin-top: 8px; }

/* Encadré secondaire « La cartouche de rechange », sous les deux offres : sans sélecteur de finition */
.offre-cartouche {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  margin-top: 20px; text-align: center;
  background: var(--blanc); border: var(--filet); border-radius: var(--rayon);
  padding: 32px 24px;
}
.offre-cartouche__visuel { height: 180px; width: auto; max-width: none; }
.offre-cartouche__texte { max-width: 52ch; }
.offre-cartouche__prix { font-size: 2.25rem; }   /* 25 % plus petit que les deux offres */
.offre-cartouche__unite { font-size: 1rem; font-weight: 500; }
.offre-cartouche .offre__btn { margin-top: 0; align-self: stretch; }

/* Rappel des prix dans la section campagne */
.campagne__rappel {
  margin-top: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: none;
}
.campagne__rappel a { color: inherit; margin-left: 12px; text-underline-offset: 3px; }
.campagne__rappel span { white-space: nowrap; }   /* un prix ne se sépare jamais de son nom */

/* ---------- Le film (boucle muette + visionneuse du film complet) ---------- */
.film { position: relative; }
.film__media {
  position: relative; width: 100%; aspect-ratio: 4 / 5;   /* hauteur réservée dès le chargement */
  overflow: hidden; cursor: pointer;
  background: var(--bleu) center / cover no-repeat;           /* l'affiche, posée par script.js, sous la vidéo */
}
.film__boucle {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 42% 50%;                /* la douchette est à 42 % de la largeur */
}
html.js .film__boucle { opacity: 0; transition: opacity .4s ease; }   /* invisible jusqu'à la lecture : pas de flash noir */
html.js .film__boucle.est-lue { opacity: 1; }
.film__media::after { content: ""; position: absolute; inset: 0; background: var(--noir); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.film__texte { text-align: center; padding: 32px var(--marge) 56px; }
.film__titre { margin-inline: auto; }
.film__btn span[aria-hidden] { margin-right: 4px; }

/* Bureau : bord à bord en 16:9 (82 vh au plus), texte posé sur la vidéo, à gauche de la douchette :
   aligné sur la marge gauche du conteneur, centré verticalement, 30 % de la largeur au plus,
   et toujours arrêté à 35 % de la largeur (la douchette commence vers 37 %) */
@media (min-width: 768px) {
  .film__media { aspect-ratio: 16 / 9; max-height: 82vh; }
  .film__texte {
    --film-g: max(var(--marge), calc((100% - var(--largeur-max)) / 2 + var(--marge)));   /* marge gauche du conteneur */
    position: absolute; top: 50%; left: var(--film-g); width: min(30%, calc(35% - var(--film-g))); transform: translateY(-50%);
    padding: 0; text-align: left; pointer-events: none;      /* un clic sur le texte agit comme un clic sur la vidéo */
  }
  .film__texte .btn { pointer-events: auto; }
  .film__titre { margin: 16px 0 24px; font-size: clamp(1.25rem, 2.6vw, 2.5rem); }
  .film__btn { font-size: clamp(11px, 1.1vw, 14px); padding: 14px clamp(12px, 1.6vw, 24px); }
}
@media (min-width: 768px) and (hover: hover) {
  .film__media:hover::after, .film:has(.film__texte .btn:hover) .film__media::after { opacity: .04; }
}

.film__visionneuse {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .92); color: var(--blanc);
}
.film__visionneuse[open] { display: grid; place-items: center; animation: filmFondu .25s ease; }
.film__visionneuse::backdrop { background: transparent; }
@keyframes filmFondu { from { opacity: 0; } to { opacity: 1; } }
.film__lecteur { width: min(92vw, 1280px, calc(92vh * 16 / 9)); aspect-ratio: 16 / 9; background: var(--noir); }
.film__lecteur iframe { display: block; width: 100%; height: 100%; border: 0; }
.film__fermer {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 10px;
  border: 0; background: none; color: var(--blanc); cursor: pointer;
}
.film__fermer svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
html.film-ouvert, html.film-ouvert body { overflow: hidden; }

/* ---------- Comparaison ---------- */
.tableau-defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparatif {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparatif th, .comparatif td {
  text-align: left;
  vertical-align: top;
  padding: 16px;
  border-bottom: var(--filet);
}
.comparatif th:first-child, .comparatif td:first-child { padding-left: 0; }
.comparatif thead th {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--noir);
}
.comparatif tbody th { font-weight: 500; }
.comparatif__oreka { font-weight: 600; background: var(--bleu); }
.comparatif thead .comparatif__oreka { border-radius: var(--rayon) var(--rayon) 0 0; }
.comparatif tbody tr:last-child .comparatif__oreka { border-radius: 0 0 var(--rayon) var(--rayon); border-bottom-color: transparent; }

/* Téléphone : chaque ligne devient une fiche (le critère en titre, puis trois réponses côte à côte,
   Oreka en premier). Les trois colonnes tiennent à 375 px sans défilement latéral. */
@media (max-width: 767px) {
  .tableau-defilant { overflow: visible; }
  .comparatif, .comparatif thead, .comparatif tbody { display: block; min-width: 0; }
  .comparatif { font-size: 15px; line-height: 1.35; }
  .comparatif tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comparatif thead th:first-child { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
  .comparatif th, .comparatif td, .comparatif th:first-child, .comparatif td:first-child { padding: 10px 8px; overflow-wrap: break-word; hyphens: auto; }
  .comparatif thead th { font-size: 11px; letter-spacing: 0.04em; }
  .comparatif tbody th { order: -2; grid-column: 1 / -1; padding: 18px 0 8px; border-bottom: 0; font-weight: 600; }
  .comparatif__oreka { order: -1; }
  .comparatif .comparatif__oreka, .comparatif tbody tr:last-child .comparatif__oreka { border-radius: var(--rayon); border-bottom-color: transparent; }
}

/* ---------- L'équipe ---------- */
.equipe__grille { display: grid; gap: 40px; }
.equipe__photo img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--rayon);
}
.equipe__texte p + p { margin-top: 16px; }

/* ---------- La campagne (fond noir) ---------- */
.section--noire { position: relative; overflow: hidden; }
.campagne__anneau {                /* seconde et dernière utilisation du motif signature */
  position: absolute;
  width: 720px; height: 720px;
  max-width: none;
  right: -260px; top: -180px;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.campagne__contenu { position: relative; }
.campagne__texte { font-size: 1.15rem; max-width: 50ch; }
/* Slogan sur deux lignes insécables (héros et campagne), sans gras, « OREKA » remplacé par le mot-symbole */
.slogan .ligne { white-space: nowrap; }
.mot-symbole { height: .6875em; width: auto; margin-left: .08em; vertical-align: baseline; fill: currentColor; overflow: visible; }   /* 0,6875 em = hauteur des capitales Switzer */
.titre-section.slogan { max-width: none; font-weight: 400; --slogan-l: 16.3; font-size: min(calc((100vw - 2 * var(--marge)) / var(--slogan-l)), 2.5rem); }
html:lang(en) .titre-section.slogan { --slogan-l: 12.35; }      /* « It's time for a change. », ligne la plus longue en anglais */
html:lang(en) .heros--edito h1.slogan { --slogan-l: 11.75; }
.compte-a-rebours { margin-top: 32px; }


.campagne__laruche { margin-top: 48px; }

.formulaire {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--blanc);
  max-width: 520px;
}
.formulaire__titre { text-transform: uppercase; letter-spacing: 0.02em; font-size: 1rem; }
.formulaire__intro { margin-top: 12px; font-size: 1rem; }
.formulaire__champs { display: grid; gap: 20px; margin-top: 28px; }
.champ { display: grid; gap: 8px; }
.champ label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.champ input {
  font: inherit;
  font-size: 1rem;
  color: var(--blanc);
  background: transparent;
  border: 1px solid var(--blanc);
  border-radius: var(--rayon);
  padding: 14px 16px;
  width: 100%;
}
.champ input:focus-visible { outline-color: var(--blanc); }
.formulaire .btn { justify-self: start; }
.formulaire__consentement { font-size: 13px; line-height: 1.5; opacity: 0.8; }
.formulaire__consentement a { color: inherit; text-underline-offset: 3px; }

/* Compte à rebours (section noire) */
.compte-a-rebours__titre {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.compte-a-rebours__cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; }   /* quatre cases sur une ligne, même sur téléphone */
.compte-a-rebours__case {
  min-width: 0;
  padding: 14px 6px;
  border: 1px solid var(--blanc);
  border-radius: var(--rayon);
  text-align: center;
}
.compte-a-rebours__nombre {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.compte-a-rebours__unite {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- FAQ ---------- */
.faq details { border-top: var(--filet); }
.faq details:last-child { border-bottom: var(--filet); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 20px 40px 20px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; }
.faq__image { display: block; width: 100%; height: auto; margin: 4px 0 24px; }

/* ---------- Pied de page ---------- */
.pied {
  border-top: var(--filet);
  padding-block: 48px;
  font-size: 0.95rem;
}
.pied__grille { display: grid; gap: 28px; }
.pied__logo { width: 160px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Téléphone : zones tactiles d'au moins 44 px de haut, sans rien changer à l'apparence.
   Le remplissage vertical d'un lien en ligne agrandit la zone cliquable sans déplacer le texte ;
   la marge négative compense celui des liens en bloc. */
@media (max-width: 767px) {
  .pied__legal a, .campagne__rappel a, .offre__inclus a, .adaptateurs__note a { padding-block: 16px; }
  .renvoi::before { width: 44px; height: 44px; }
  /* courriel et site : la zone déborde surtout vers le haut, pour ne pas mordre sur la rangée des réseaux juste dessous */
  .pied__contact p a { padding-top: 18px; padding-bottom: 8px; }
  /* réseaux : la zone déborde vers le bas seulement (44 px), la rangée garde sa hauteur de 20 px */
  .pied__reseaux a { padding-bottom: 24px; margin-bottom: -24px; }
}
.pied p + p { margin-top: 8px; }
.pied__reseaux { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.pied__reseaux a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.pied__icone { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }   /* 1,8 sur 24 = trait de 1,5 px à 20 px */

/* ---------- Pages simples (merci, confidentialité) ---------- */
.page-simple__contenu {
  padding-top: calc(var(--hauteur-entete) + 64px);
  padding-bottom: 96px;
  min-height: 70vh;
}
.page-simple__titre {
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  margin-block: 20px 24px;
}
.page-simple__titre--long { font-size: clamp(1.8rem, 6vw, 3rem); max-width: 18ch; }
.page-simple__texte { font-size: 1.15rem; max-width: 46ch; }
.page-simple__texte + .page-simple__texte { margin-top: 16px; }
.page-simple__action { margin-top: 40px; }
.page-simple__date { font-size: 0.9rem; opacity: 0.7; margin-bottom: 40px; }
.texte-long h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 36px 0 10px;
  padding-top: 20px;
  border-top: var(--filet);
}
.texte-long h2:first-child { margin-top: 0; }

/* =====================================================================
   POINTS DE RUPTURE (du plus petit au plus grand)
   ===================================================================== */

/* Tablette ≥ 768 px */
@media (min-width: 768px) {
  :root { --marge: 32px; --hauteur-entete: 84px; }   /* logo 150 px de large */
  body { font-size: 18px; }
  .section { padding-block: 96px; }

  .entete__ligne { gap: 24px; }
  .entete__logo img { width: 150px; }
  .entete .btn--petit { padding: 12px 16px; font-size: 13px; letter-spacing: 0.06em; }

  .heros { padding-top: calc(var(--hauteur-entete) + 64px); padding-bottom: 64px; }
  .heros__grille { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
  .heros__visuel { width: min(100%, 520px); }
  .heros__produit { width: clamp(140px, 30%, 220px); }

  .preuves { grid-template-columns: repeat(4, 1fr); }
  .preuves li { border-bottom: 0; border-right: var(--filet); text-align: center; }
  .preuves li:last-child { border-right: 0; }

  .stats { grid-template-columns: 1fr 1fr; gap: 48px; }
  .probleme__grille { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
  .probleme__visuel img { aspect-ratio: 4 / 3; }

  .cartes { grid-template-columns: repeat(2, 1fr); }
  .certifications { flex-direction: row; align-items: center; gap: 40px; }
  .certifications__marque { gap: 28px; padding-inline: 32px; font-size: 13px; }
  .certifications__marque:first-child { padding-left: 0; }
  .certifications__marque img { height: 56px; }
  .gestes { gap: 32px; padding: 40px 32px; }
  .geste__img { height: 300px; }
  .installation__note { flex-direction: row; align-items: center; gap: 12px; font-size: 0.9rem; }
  .installation__point { display: inline; }
  .geste p { font-size: 1.05rem; }
  .modes { gap: 32px; }
  .mode__img { height: 475px; }   /* douchette ≈ 420 px + son jet dessous */
  .mode__desc { font-size: 1.1rem; }
  .adaptateurs { padding-top: 0; }
  .adaptateurs__grille { grid-template-columns: 25fr 40fr 35fr; gap: 0 32px; height: 720px; position: relative; align-items: start; }
  .adaptateurs__intro { padding-top: 200px; }
  .adaptateurs__repere {                   /* filet de repère : du texte jusqu'à l'adaptateur du centre, terminé par un point */
    display: block;
    position: absolute;
    left: var(--marge); top: 399px;
    width: calc((100% - 2 * var(--marge)) * 0.45 - 70px);
    height: 1px;
    background: var(--noir);
  }
  .adaptateurs__repere::after {
    content: "";
    position: absolute;
    right: -4px; top: -3.5px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--noir);
  }
  .adaptateurs__scene { height: 720px; margin-inline: 0; }
  .adaptateurs__anneau { width: 520px; height: 520px; top: 139px; }
  .adaptateurs__eclatee { height: 900px; top: 48px; }
  .adaptateurs__bloc { align-self: center; padding-bottom: 0; }
  .adaptateurs__liste { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }   /* rangées resserrées (28 → 12 px) pour loger la note sous la liste dans les 720 px */
  .adaptateurs__item img { height: 84px; }
  .adaptateurs__note { margin-top: 20px; max-width: none; }
  .adaptateurs__item > span { font-size: 16px; }
  .adaptateurs__texte { font-size: 18px; }
  .finitions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .finition__img { height: 520px; }
  .finition__nom { font-size: 0.9rem; }
  .offres { grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .compte-a-rebours__cases { gap: 12px; max-width: 460px; }
  .compte-a-rebours__case { padding: 14px 12px; }
  .compte-a-rebours__nombre { font-size: 2rem; }
  .compte-a-rebours__unite { font-size: 11px; letter-spacing: 0.06em; }
  .offre { padding: 40px 32px; }
  .offre-cartouche { flex-direction: row; gap: 40px; margin-top: 24px; padding: 40px 32px; text-align: left; }
  .offre-cartouche__visuel { height: 220px; flex-shrink: 0; }
  .offre-cartouche__texte { flex: 1 1 auto; }
  .offre-cartouche .offre__btn { align-self: center; flex-shrink: 0; }
  .choix-finition__pastille { width: 28px; height: 28px; }
  .choix-finition__liste { gap: 12px; }

  .equipe__grille { grid-template-columns: 320px 1fr; align-items: center; gap: 56px; }
  .campagne__anneau { width: 960px; height: 960px; right: -300px; top: -240px; }
  .pied__grille { grid-template-columns: auto 1fr auto; align-items: start; }
}

/* Bureau ≥ 1024 px */
@media (min-width: 1024px) {
  .entete__nav { display: flex; flex: 1 1 auto; justify-content: center; gap: 18px; min-width: 0; }
  .entete__nav-secondaire { display: none; }   /* « Pourquoi » et « Équipe » masqués entre 1024 et 1180 px */
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .heros__visuel { width: min(100%, 560px); }
}

/* Bureau large ≥ 1180 px : menu complet */
@media (min-width: 1180px) {
  .entete__nav { gap: 20px; }
  .entete__nav-secondaire { display: inline; }
}

/* Grand écran ≥ 1440 px */
@media (min-width: 1440px) {
  :root { --marge: 48px; }
  .section { padding-block: 120px; }
  .heros { padding-top: calc(var(--hauteur-entete) + 96px); padding-bottom: 96px; }
}

/* Mouvement réduit : aucune animation, tout est visible d'emblée */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js .apparition { opacity: 1; transform: none; }
}

/* Le mot « Oreka » dans les titres : le logo SVG remplace les lettres (hauteur calée sur les capitales du titre) */
.mot-oreka { display: inline-block; height: 0.9em; width: auto; vertical-align: -0.1em; margin: 0 0.04em; }
.comparatif__oreka .mot-oreka { height: 1.05em; vertical-align: -0.2em; margin: 0; }

.film__media::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 60%, #fff 100%); }
