/* TidyWren, site v2 (12/11/2026) : la feuille commune des pages produit et des pages légales.
   HTML et CSS simples, aucun cadre, aucune ressource d'un autre site.
   Reprise de la maquette relue du 11/11 : couleurs cocon, rythme par parties, carrousel en CSS seul. */

/* Figtree, licence SIL Open Font License 1.1 : /assets/polices/figtree/OFL.txt */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/polices/figtree/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/polices/figtree/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --creme: #FBF6EE;
  --creme-2: #F5EDE1;
  --sable: #EFE4D3;
  --carte: #FFFCF8;
  --encre: #2B2118;
  --texte: #4F4136;
  --doux: #6E5F52;
  --trait: rgba(43, 33, 24, .10);
  --trait-fort: rgba(43, 33, 24, .18);
  --brique: #B4472E;
  --brique-fonce: #953822;
  --lien: #A3561B;
  --ombre: 0 1px 2px rgba(43, 33, 24, .04), 0 14px 34px -22px rgba(74, 48, 26, .30);
  --ombre-forte: 0 2px 6px rgba(43, 33, 24, .05), 0 28px 56px -28px rgba(74, 48, 26, .42);
  --rayon: 24px;
  --largeur: 1200px;
  --gouttiere: 24px;
  --vide-partie: 128px;
  --doux-courbe: cubic-bezier(.2, .8, .2, 1);
  --t-lueur: #F3CD94;
  --t-pale: #FBEBD2;
  --t-fonce: #8A5314;
  color-scheme: light;
}

/* Une teinte par partie : en lueur et en étiquette, jamais en aplat. Le miel ne sert jamais au texte. */
.teinte-miel     { --t-lueur: #F3CD94; --t-pale: #FBEBD2; --t-fonce: #8A5314; }
.teinte-sauge    { --t-lueur: #C6DCBE; --t-pale: #E8F1E3; --t-fonce: #3B6845; }
.teinte-rose     { --t-lueur: #F2C6C4; --t-pale: #FBE7E5; --t-fonce: #983C4B; }
.teinte-myrtille { --t-lueur: #CBD1F0; --t-pale: #EBEDF9; --t-fonce: #3D4A92; }
.teinte-lavande  { --t-lueur: #DECDEC; --t-pale: #F3EBF8; --t-fonce: #68478A; }
.teinte-peche    { --t-lueur: #F6CBAD; --t-pale: #FCEADD; --t-fonce: #A0452A; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--creme);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--lien); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--encre);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
}

p, ul, ol { margin: 0; }

:focus-visible { outline: 2px solid var(--brique); outline-offset: 3px; border-radius: 6px; }

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

.ico {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.conteneur { width: min(var(--largeur), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.etroite { width: min(760px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }

.evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--encre); color: #fff; text-decoration: none; font-weight: 600;
}
.evitement:focus { top: 12px; color: #fff; }

/* ---------- Le menu du haut ---------- */

.entete { position: sticky; top: 0; z-index: 50; }
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 246, 238, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(22px);
  backdrop-filter: saturate(1.4) blur(22px);
  border-bottom: 1px solid var(--trait);
}
.entete .conteneur {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.logo { justify-self: start; display: flex; align-items: center; border-radius: 10px; }
.logo img { width: auto; height: 32px; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.menu > li > a,
.menu > li > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--texte);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.menu > li > a:hover,
.menu > li > button:hover,
.deroulant:focus-within > button { background: rgba(43, 33, 24, .06); color: var(--encre); }
.menu > li > a[aria-current="page"] { background: rgba(43, 33, 24, .07); color: var(--encre); font-weight: 600; }
.menu .ico { width: 16px; height: 16px; transition: rotate .25s var(--doux-courbe); }
.deroulant:hover > button .ico,
.deroulant:focus-within > button .ico { rotate: 180deg; }

.deroulant { position: relative; }
.panneau-ress {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 560px;
  padding: 18px 8px;
  background: rgba(255, 252, 248, .98);
  border: 1px solid var(--trait);
  border-radius: 20px;
  box-shadow: var(--ombre-forte);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.98);
  transform-origin: top center;
  transition: opacity .25s var(--doux-courbe), transform .25s var(--doux-courbe), visibility .25s;
}
.panneau-ress::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.deroulant:hover .panneau-ress,
.deroulant:focus-within .panneau-ress { opacity: 1; visibility: visible; transform: none; }
.col-ress { padding: 4px 14px; border-left: 1px solid var(--trait); }
.col-ress:first-child { border-left: 0; }
.titre-ress { margin: 0 0 8px 10px; color: var(--doux); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.col-ress ul { list-style: none; padding: 0; }
.col-ress a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--encre);
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
}
.col-ress a:hover { background: rgba(43, 33, 24, .05); }
.col-ress .ico { width: 20px; height: 20px; color: var(--lien); }

.actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.bouton-entete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--brique);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(180, 71, 46, .7), inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: background .2s;
}
.bouton-entete:hover { background: var(--brique-fonce); color: #fff; }
.bouton-entete .ico { width: 18px; height: 18px; }

/* Menu de téléphone : un <details>, sans script. */
.menu-tel { display: none; }
.menu-tel > summary {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
}
.menu-tel > summary::-webkit-details-marker { display: none; }
.menu-tel > summary:hover { background: rgba(43, 33, 24, .06); }
.menu-tel .trait { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .4s var(--doux-courbe); }
.menu-tel[open] .trait:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-tel[open] .trait:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.menu-tel[open] > summary::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(43, 33, 24, .16);
  cursor: default;
}
.panneau-tel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 2;
  width: min(320px, 100vw - 2 * var(--gouttiere));
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  padding: 8px;
  background: var(--carte);
  border: 1px solid var(--trait);
  border-radius: 18px;
  box-shadow: var(--ombre-forte);
}
.panneau-tel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--encre);
  font-weight: 500;
  text-decoration: none;
}
.panneau-tel a:hover { background: rgba(43, 33, 24, .05); }
.panneau-tel a[aria-current="page"] { background: rgba(43, 33, 24, .07); font-weight: 600; }
.panneau-tel .sous { padding: 2px 0 6px 12px; border-top: 1px solid var(--trait); margin-top: 4px; }
.panneau-tel .sous a { min-height: 44px; color: var(--texte); font-weight: 400; }
.panneau-tel .bouton-entete { justify-content: center; margin: 8px 4px 4px; min-height: 48px; color: #fff; }

/* ---------- Le fil d'Ariane ---------- */

.fil-ariane { padding-top: 18px; color: var(--doux); font-size: .9375rem; }
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; }
.fil-ariane li + li::before { content: "›"; margin: 0 8px; color: var(--doux); }
.fil-ariane a { color: var(--doux); }
.fil-ariane a:hover { color: var(--encre); }
.fil-ariane [aria-current="page"] { color: var(--encre); }

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

.boutons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }

.bouton-principal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 30px;
  border: 0;
  border-radius: 16px;
  background: var(--brique);
  color: #fff;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(180, 71, 46, .75), 0 2px 4px rgba(120, 50, 30, .12);
  transition: transform .25s var(--doux-courbe), box-shadow .25s;
}
.bouton-principal::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #BA4C31, #A63F28);
}
.bouton-principal:hover { color: #fff; transform: translateY(-1px); }
.bouton-principal .ico { width: 22px; height: 22px; }
.bouton-principal[disabled],
.bouton-principal[aria-disabled="true"] {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: #E7DCCD;
  color: var(--encre);
}
.bouton-principal[disabled]::after,
.bouton-principal[aria-disabled="true"]::after { display: none; }

.bouton-doux {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 26px;
  border: 1px solid var(--trait-fort);
  border-radius: 16px;
  background: rgba(255, 252, 248, .8);
  color: var(--encre);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.bouton-doux:hover { background: var(--carte); border-color: rgba(43, 33, 24, .3); color: var(--encre); }
.bouton-doux .ico { width: 20px; height: 20px; }
.bouton-doux.bientot { cursor: default; color: var(--doux); border-style: dashed; background: transparent; }
.bouton-doux.bientot:hover { background: transparent; border-color: var(--trait-fort); color: var(--doux); }
.bientot .marque-bientot { padding: 2px 10px; border-radius: 999px; background: var(--sable); color: var(--encre); font-size: .875rem; font-weight: 600; }

.info-version {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin-top: 18px;
  color: var(--doux);
  font-size: .9375rem;
}
.info-version span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 12px;
  background: var(--trait-fort);
  vertical-align: -1px;
}
/* Relecture du 12/11 : sur un téléphone, la ligne passe à la ligne et un trait restait seul en tête de
   la deuxième ligne. Sous 640 px, pas de traits, un simple écart entre les mentions. */
@media (max-width: 640px) {
  .info-version { gap: 6px 18px; }
  .info-version span + span::before { display: none; }
}

.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.lien-fleche .ico { width: 18px; height: 18px; transition: translate .25s var(--doux-courbe); }
.lien-fleche:hover .ico { translate: 3px 0; }

/* ---------- L'ouverture ---------- */

.ouverture {
  position: relative;
  isolation: isolate;
  padding-top: 56px;
  overflow-x: clip;
  text-align: center;
}
.ouverture::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: 1400px;
  height: 820px;
  translate: -50% 0;
  background:
    radial-gradient(30% 36% at 34% 30%, rgba(243, 205, 148, .55), transparent 70%),
    radial-gradient(28% 34% at 66% 36%, rgba(242, 198, 196, .45), transparent 72%),
    radial-gradient(40% 30% at 50% 80%, rgba(246, 203, 173, .35), transparent 70%);
  pointer-events: none;
}
.ouverture.courte { padding-top: 40px; }

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid rgba(180, 71, 46, .22);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(251, 227, 199, .9), rgba(249, 225, 220, .9));
  box-shadow: 0 0 0 5px rgba(243, 205, 148, .22);
  color: var(--encre);
  font-size: .9375rem;
  font-weight: 500;
}

.titre-ouverture {
  max-width: 1000px;
  margin: 24px auto 0;
  font-size: clamp(2.25rem, 1.15rem + 3.4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -.028em;
  text-wrap: balance;
  background: linear-gradient(95deg, #2B2118 15%, #6B3A20 60%, #A9502A 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}

.chapo {
  max-width: 48rem;
  margin: 22px auto 0;
  color: var(--texte);
  font-size: 1.25rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.promesses { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.promesses li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: rgba(255, 252, 248, .85);
  color: var(--encre);
  font-size: 1rem;
  font-weight: 500;
}
.promesses .ico { width: 18px; height: 18px; color: #3B6845; stroke-width: 2.25; }

.ouverture .boutons { margin-top: 34px; }
.garantie { margin-top: 14px; color: var(--encre); font-size: 1rem; font-weight: 500; }
.essai { max-width: 40rem; margin: 10px auto 0; color: var(--doux); font-size: 1rem; }

/* ---------- Le carrousel des captures (CSS seul, il ne défile jamais tout seul) ---------- */

.carrousel { position: relative; margin-top: 56px; }
.carrousel > input { position: fixed; top: 0; left: 0; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.diapos { display: grid; }
.diapo { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.cadre-diapo { position: relative; }
.cadre-capture {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  max-width: 1050px;
  margin-inline: auto;
  border-radius: 16px;
  background: var(--carte);
  box-shadow: 0 0 0 1px rgba(43, 33, 24, .10), 0 50px 90px -46px rgba(74, 48, 26, .55), 0 18px 36px -24px rgba(74, 48, 26, .3);
}
.cadre-capture img { width: 100%; height: 100%; object-fit: cover; }
.diapo figcaption { max-width: 44rem; margin: 18px auto 0; color: var(--doux); font-size: 1rem; text-align: center; text-wrap: balance; }
.fleche {
  position: absolute;
  top: calc(50% - 24px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--trait);
  border-radius: 50%;
  background: var(--carte);
  box-shadow: var(--ombre);
  color: var(--encre);
  cursor: pointer;
}
.fleche:hover { background: #fff; }
.fleche.prec { left: 0; }
.fleche.suiv { right: 0; }
.vignettes { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.vignette {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 128px;
  color: var(--doux);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.vignette img { width: 124px; height: 83px; object-fit: cover; border: 2px solid transparent; border-radius: 12px; box-shadow: 0 0 0 1px var(--trait); opacity: .85; }
.vignette:hover img { opacity: 1; }
.carrousel > input:nth-of-type(1):checked ~ .diapos .diapo:nth-child(1),
.carrousel > input:nth-of-type(2):checked ~ .diapos .diapo:nth-child(2),
.carrousel > input:nth-of-type(3):checked ~ .diapos .diapo:nth-child(3),
.carrousel > input:nth-of-type(4):checked ~ .diapos .diapo:nth-child(4) { opacity: 1; visibility: visible; }
.carrousel > input:nth-of-type(1):checked ~ .vignettes .vignette:nth-child(1) img,
.carrousel > input:nth-of-type(2):checked ~ .vignettes .vignette:nth-child(2) img,
.carrousel > input:nth-of-type(3):checked ~ .vignettes .vignette:nth-child(3) img,
.carrousel > input:nth-of-type(4):checked ~ .vignettes .vignette:nth-child(4) img { border-color: var(--brique); opacity: 1; }
.carrousel > input:nth-of-type(1):checked ~ .vignettes .vignette:nth-child(1),
.carrousel > input:nth-of-type(2):checked ~ .vignettes .vignette:nth-child(2),
.carrousel > input:nth-of-type(3):checked ~ .vignettes .vignette:nth-child(3),
.carrousel > input:nth-of-type(4):checked ~ .vignettes .vignette:nth-child(4) { color: var(--encre); }
.carrousel > input:nth-of-type(1):focus-visible ~ .vignettes .vignette:nth-child(1),
.carrousel > input:nth-of-type(2):focus-visible ~ .vignettes .vignette:nth-child(2),
.carrousel > input:nth-of-type(3):focus-visible ~ .vignettes .vignette:nth-child(3),
.carrousel > input:nth-of-type(4):focus-visible ~ .vignettes .vignette:nth-child(4) { outline: 2px solid var(--brique); outline-offset: 4px; border-radius: 12px; }

/* ---------- Les parties : un seul moule ---------- */

.partie { position: relative; isolation: isolate; padding-top: var(--vide-partie); overflow-x: clip; }
.partie::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 60px;
  width: 1600px;
  height: 900px;
  translate: -50% 0;
  background:
    radial-gradient(32% 38% at 26% 34%, var(--t-lueur), transparent 72%),
    radial-gradient(30% 36% at 76% 58%, var(--t-pale), transparent 74%);
  opacity: .7;
  pointer-events: none;
}
.partie.proche { padding-top: 64px; }
.tete-partie { max-width: 840px; margin: 0 auto 44px; text-align: center; }
.etiquette { display: inline-flex; align-items: center; gap: 10px; color: var(--t-fonce); font-size: 1.125rem; font-weight: 600; }
.etiquette .ico { width: 24px; height: 24px; }
.titre-partie {
  margin-top: 12px;
  font-size: clamp(2rem, 1.1rem + 2.8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.026em;
  text-wrap: balance;
  background: linear-gradient(95deg, var(--encre) 30%, var(--t-fonce) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}
.tete-partie .chapo { margin-top: 18px; }
.suite-partie { margin-top: 32px; text-align: center; }

/* ---------- Grille et cartes ---------- */

.grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grille.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pleine { grid-column: 1 / -1; }

.carte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  overflow: hidden;
  background: var(--carte);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  color: var(--texte);
  text-decoration: none;
  transition: transform .3s var(--doux-courbe), box-shadow .3s, border-color .3s;
}
a.carte:hover { color: var(--texte); transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.carte h3 { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; line-height: 1.25; }
.carte h3 .ico { width: 18px; height: 18px; color: var(--t-fonce); }
.carte p { font-size: 1.0625rem; }
.carte .note { color: var(--doux); font-size: 1rem; }
.carte .question { color: var(--encre); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.rond { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 15px; background: var(--t-pale); color: var(--t-fonce); }
.rond .ico { width: 24px; height: 24px; }
.apercu {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: auto -28px -28px;
  padding: 24px 24px 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--t-pale) 85%, transparent) 38%);
}
.apercu img { width: auto; max-height: 280px; border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px rgba(43, 33, 24, .10), 0 18px 34px -16px rgba(74, 48, 26, .4); }
.apercu.entiere { padding-bottom: 24px; }
.apercu.entiere img { border-radius: 12px; }

/* Grande carte : texte d'un côté, capture de l'autre. */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0; padding: 0; }
.duo.inverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.duo.inverse .cote-texte { order: 2; }
.cote-texte { display: flex; flex-direction: column; gap: 12px; padding: 36px; }
.cote-texte h3 { font-size: 1.5rem; }
.cote-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: radial-gradient(80% 90% at 70% 30%, color-mix(in srgb, var(--t-lueur) 70%, transparent), transparent 70%), var(--t-pale);
}
.cote-image img { border-radius: 12px; box-shadow: 0 0 0 1px rgba(43, 33, 24, .10), 0 26px 50px -24px rgba(74, 48, 26, .5); }
.cote-image figure { margin: 0; }
.cote-image figcaption { margin-top: 12px; color: var(--doux); font-size: .9375rem; text-align: center; }

.liste { display: flex; flex-direction: column; gap: 8px; padding: 0; list-style: none; }
.liste li { position: relative; padding-left: 22px; }
.liste li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--t-fonce); opacity: .7; }

.coches { display: flex; flex-direction: column; gap: 14px; padding: 0; list-style: none; }
.coches li { display: flex; align-items: flex-start; gap: 14px; color: var(--encre); }
.coches .coche { display: grid; flex: none; place-items: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: #E3EEDD; color: #3B6845; }
.coches .coche .ico { width: 16px; height: 16px; stroke-width: 2.25; }
.coches small { display: block; color: var(--doux); font-size: 1rem; }

.encadre { padding: 18px 20px; border: 1px solid var(--trait); border-radius: 16px; background: rgba(255, 252, 248, .7); }
.encadre h3 { font-size: 1.125rem; margin-bottom: 8px; }

/* Les questions : la réponse courte est toujours visible. */
.questions { display: flex; flex-direction: column; gap: 14px; max-width: 840px; margin: 0 auto; padding: 0; list-style: none; }
.questions li { padding: 22px 26px; background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; box-shadow: var(--ombre); }
.questions h3 { font-size: 1.1875rem; line-height: 1.35; }
.questions p { margin-top: 8px; }

/* ---------- Une partie de la page Fonctions ---------- */

.fonction { padding-top: 96px; }
.fonction .tete-partie { margin-bottom: 32px; }
.fonction .duo { min-height: 0; }
.fonction p + p { margin-top: 10px; }
.sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; margin: 30px auto 0; list-style: none; padding: 0; }
.sommaire a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: rgba(255, 252, 248, .75);
  color: var(--texte);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.sommaire a:hover { background: var(--carte); border-color: var(--trait-fort); color: var(--encre); }

/* ---------- Le prix ---------- */

.offre { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); max-width: 980px; margin: 0 auto; padding: 0; overflow: visible; }
.offre .compris { padding: 44px; }
.offre .compris h2 { margin-bottom: 24px; font-size: 1.5rem; }
.offre .prix {
  display: flex;
  flex-direction: column;
  padding: 44px;
  border-left: 1px solid var(--trait);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  background: linear-gradient(180deg, #FFF7EC, #FCEFE0);
}
.prix .nom { color: var(--doux); font-size: 1rem; font-weight: 600; }
.montant { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 8px; color: var(--encre); }
.montant strong { font-size: 4.5rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.montant span { color: var(--doux); font-size: 1.0625rem; line-height: 1.3; }
.lancement { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(180, 71, 46, .22); border-radius: 16px; background: rgba(251, 227, 199, .7); color: var(--encre); font-size: 1rem; line-height: 1.5; }
.zone { margin-top: 12px; color: var(--doux); font-size: 1rem; }
.ligne-accord { margin-top: 22px; color: var(--texte); font-size: .9375rem; line-height: 1.5; }
.prix .bouton-principal { width: 100%; margin-top: 12px; }
.date-vente { margin-top: 10px; color: var(--encre); font-size: 1rem; font-weight: 500; text-align: center; }
.prix .garantie { text-align: center; }
.qui-vend { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--trait); color: var(--doux); font-size: .9375rem; line-height: 1.5; }
.prix-ligne { max-width: 46rem; margin: 0 auto; text-align: center; color: var(--encre); font-size: 1.125rem; }
.prix-ligne strong { font-weight: 600; }

/* ---------- Faits (TidyWren en bref) et fiches ---------- */

.faits { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.faits th, .faits td { padding: 14px 0; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
.faits th { width: 30%; padding-right: 18px; color: var(--doux); font-weight: 500; }
.faits td { color: var(--encre); }
.faits td p + p { margin-top: 6px; }
.mis-a-jour { margin-top: 40px; color: var(--doux); font-size: .9375rem; text-align: center; }

/* ---------- Les pages légales : le texte, simplement ---------- */

.legal { padding-top: 32px; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.legal h2 { margin-top: 44px; margin-bottom: 12px; font-size: 1.5rem; }
.legal h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1.1875rem; }
.legal p, .legal ul, .legal ol, .legal blockquote, .legal .tableau { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 1.4em; }
.legal li + li { margin-top: 6px; }
.legal blockquote { margin-left: 0; margin-right: 0; padding: 14px 20px; border-left: 4px solid var(--sable); background: rgba(255, 252, 248, .7); border-radius: 0 12px 12px 0; }
.legal blockquote p:first-child { margin-top: 0; }
.legal .tableau { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid var(--trait-fort); text-align: left; vertical-align: top; }
.legal th { background: var(--creme-2); color: var(--encre); font-weight: 600; }
.legal code { font-size: .9375em; overflow-wrap: anywhere; }
.legal a { overflow-wrap: anywhere; }
.legal .version-texte { color: var(--doux); }

/* ---------- L'appel final ---------- */

.appel { position: relative; isolation: isolate; padding-top: var(--vide-partie); text-align: center; }
.icone-respire { position: relative; width: 96px; height: 96px; margin: 0 auto 30px; }
.icone-respire::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 205, 148, .9), rgba(246, 203, 173, .45) 55%, transparent);
  animation: respire 6s ease-in-out infinite;
}
.icone-respire img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 24px 44px -18px rgba(74, 48, 26, .55); }
@keyframes respire {
  0%, 100% { transform: scale(.85); opacity: .95; }
  50% { transform: scale(1.12); opacity: .55; }
}
.appel .titre-partie { max-width: 900px; margin-inline: auto; background: linear-gradient(95deg, #2B2118 15%, #6B3A20 60%, #A9502A 95%); -webkit-background-clip: text; background-clip: text; }
.appel .boutons { margin-top: 32px; }
.appel .mac { margin-top: 24px; font-size: 1rem; }

/* ---------- Le pied de page ---------- */

.pied { position: relative; margin-top: 120px; border-top: 1px solid var(--trait); background: linear-gradient(180deg, rgba(245, 237, 225, 0), var(--creme-2) 60%); font-size: 1rem; }
.colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 52px 0 40px; }
.colonnes h2 { margin-bottom: 10px; font-size: 1.0625rem; letter-spacing: 0; }
.colonnes ul { list-style: none; padding: 0; }
.colonnes a { display: inline-block; padding: 6px 0; color: var(--doux); line-height: 1.45; text-decoration: none; }
.colonnes a:hover { color: var(--encre); text-decoration: underline; }
.contact-pied { padding: 22px 0; border-top: 1px solid var(--trait); color: var(--texte); }
.contact-pied strong { color: var(--encre); font-weight: 600; }
.barre-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 18px 0; border-top: 1px solid var(--trait); color: var(--doux); font-size: .9375rem; }
.barre-bas img { width: auto; height: 26px; }
.barre-bas .editeur { flex: 1 1 380px; }
.langues { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; padding: 0; }
.langues a { display: inline-block; padding: 6px 0; color: var(--doux); text-decoration: none; }
.langues a:hover { color: var(--encre); text-decoration: underline; }
.langues a[aria-current="true"] { color: var(--encre); font-weight: 600; }
.marques { padding: 0 0 36px; color: var(--doux); font-size: .875rem; line-height: 1.5; }
.pied .note { margin-top: 6px; color: var(--doux); font-size: .9375rem; }
.icone-page { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 20px 40px -18px rgba(74, 48, 26, .5); }
.apercu-seul { margin: 0; align-items: center; }

/* ---------- Petit ordinateur et tablette ---------- */

@media (max-width: 1259px) {
  :root { --largeur: 1080px; }
  .cote-texte { padding: 30px; }
}

@media (max-width: 959px) {
  :root { --vide-partie: 96px; --gouttiere: 28px; }
  .entete .conteneur { grid-template-columns: 1fr auto auto; }
  .menu { display: none; }
  .menu-tel { display: block; }
  .chapo { font-size: 1.125rem; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo, .duo.inverse { grid-template-columns: minmax(0, 1fr); }
  .duo.inverse .cote-texte { order: 0; }
  .colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .offre { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  /* Sur un petit écran, le prix et le bouton passent avant la liste. */
  .offre .prix { order: -1; border-left: 0; border-bottom: 1px solid var(--trait); border-radius: var(--rayon) var(--rayon) 0 0; }
  .fleche.prec { left: 10px; }
  .fleche.suiv { right: 10px; }
}

/* ---------- Téléphone (côté de 16 px, aucun défilement de côté) ---------- */

@media (max-width: 640px) {
  :root { --vide-partie: 72px; --gouttiere: 16px; --rayon: 20px; }
  body { font-size: 1.0625rem; }
  .entete .conteneur { height: 62px; gap: 10px; }
  .logo img { height: 28px; }
  .actions .bouton-entete { padding: 0 14px; }
  .actions .bouton-entete .ico { display: none; }
  .ouverture { padding-top: 32px; }
  .chapo { font-size: 1.0625rem; }
  .ouverture .boutons, .appel .boutons { flex-direction: column; align-items: stretch; }
  .bouton-principal, .bouton-doux { min-height: 56px; padding: 0 18px; font-size: 1.0625rem; }
  .carrousel { margin-top: 40px; }
  .carrousel .diapos {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gouttiere));
    padding: 0 var(--gouttiere) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gouttiere);
    scrollbar-width: none;
  }
  .carrousel .diapos::-webkit-scrollbar { display: none; }
  .carrousel .diapo { flex: 0 0 88%; opacity: 1; visibility: visible; scroll-snap-align: start; }
  .carrousel .fleche, .carrousel .vignettes { display: none; }
  .cadre-capture { border-radius: 12px; }
  .diapo figcaption { margin-top: 10px; font-size: .9375rem; text-align: left; }
  .tete-partie { margin-bottom: 28px; }
  .grille, .grille.deux { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .carte { padding: 22px; }
  .apercu { margin: auto -22px -22px; padding: 18px 18px 0; }
  .apercu.entiere { padding-bottom: 18px; }
  .cote-texte { padding: 24px 22px; }
  .cote-image { padding: 18px; }
  .questions li { padding: 18px 20px; }
  .colonnes { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0 28px; }
  .barre-bas { flex-direction: column; align-items: flex-start; }
  .barre-bas .editeur { flex: none; }
  .offre .compris, .offre .prix { padding: 26px 22px; }
  .montant strong { font-size: 3.75rem; }
  .faits th, .faits td { display: block; width: 100%; padding: 4px 0; border-bottom: 0; }
  .faits tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--trait); }
  .fonction { padding-top: 72px; }
  .legal h2 { margin-top: 36px; font-size: 1.3125rem; }
}

@media (hover: none) {
  a.carte:hover { transform: none; box-shadow: var(--ombre); }
}

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

@media print {
  .entete, .pied, .fil-ariane, .evitement { display: none; }
  body { background: #fff; font-size: 12pt; }
}
