@font-face { font-family: "Cormorant"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/cormorant-400.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/cormorant-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/cormorant-500.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/cormorant-600.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 300 700; font-style: normal; font-display: swap; src: url(fonts/outfit-latin.woff2) format("woff2"); }

:root {
  /* Code couleur Les Fioles Riolacci : beige et vert olivier */
  --creme: #f8f3e8;
  --sable: #efe6d3;
  --pierre: #dfd2b8;
  --encre: #2f3322;        /* texte : olive très sombre */
  --encre-douce: #6a6b55;
  --olive: #5f6b3a;
  --olive-clair: #a3a97f;
  --olive-fonce: #444e27;
  --olive-pale: #e7e9d6;      /* vert très clair : badges, sélection, survols */
  --sur-vert: #f3f1e4;        /* texte sur fond vert */
  --sur-vert-doux: #d6dbbd;
  --rouge: #a3262b;        /* réservé au fil rouge */
  --ligne: rgba(95, 107, 58, .22);
  --grad-olive: linear-gradient(180deg, #6d7a43 0%, #556134 55%, #444e27 100%);
  --grad-bouton: linear-gradient(135deg, #75824a 0%, #5f6b3a 55%, #4b5530 100%);
  --ombre: 0 30px 60px -35px rgba(68, 78, 39, .4);
  --radius: 14px;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans); font-weight: 300; font-size: 1.05rem; line-height: 1.65;
  color: var(--encre); background-color: var(--creme);
  background-image:
    radial-gradient(60% 45% at 85% 0%, rgba(247, 236, 210, .8), transparent 70%),
    radial-gradient(45% 40% at 0% 35%, rgba(225, 228, 200, .5), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h1, h2, .nav__logo, .footer__logo {
  background: var(--grad-olive); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em, h2 em, .nav__logo em, .footer__logo em { font-style: italic; }
h3 { color: var(--encre); }

.eyebrow {
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive); margin-bottom: .9rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.8em; border-radius: 999px; border: 1px solid transparent;
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.btn--olive { background: var(--grad-bouton); color: #fff; box-shadow: 0 14px 30px -16px rgba(68, 78, 39, .7); }
.btn--olive:hover { filter: brightness(1.06); }
.btn--ghost { border-color: var(--olive-clair); color: var(--olive-fonce); background: rgba(255, 255, 255, .4); }
.btn--ghost:hover { background: var(--olive-pale); }
.btn--sm { padding: .75em 1.3em; font-size: .72rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem clamp(16px, 4vw, 56px);
  background: rgba(248, 243, 232, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--ligne); }
.nav__logo { padding: .5rem 0; font: 500 1.5rem/1 var(--serif); text-decoration: none; }
.nav__links { display: flex; gap: 2rem; font-size: .9rem; }
.nav__links a { text-decoration: none; color: var(--encre-douce); transition: color .2s; }
.nav__links a:hover { color: var(--olive-fonce); }

/* ---------- Accueil ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) clamp(16px, 4vw, 56px);
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 1.4rem; }
.hero__lead { font-size: 1.12rem; color: var(--encre-douce); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; font-size: .86rem; color: var(--encre-douce); }
.hero__points li::before { content: "✦"; color: var(--olive); margin-right: .5em; }
.hero__img { position: relative; }
.hero__img img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 45%;
  border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--ombre);
}
.hero__img::after {
  content: ""; position: absolute; inset: -14px; z-index: -1;
  border: 1px solid var(--olive); opacity: .45;
  border-radius: 214px 214px calc(var(--radius) + 14px) calc(var(--radius) + 14px);
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(16px, 4vw, 56px); }
/* Sections vertes (anciennement beige foncé) */
.section--sable { background: var(--olive-fonce); color: var(--sur-vert); }
.section--sable .section__head h2 { background: none; color: var(--sur-vert); -webkit-text-fill-color: var(--sur-vert); }
.section--sable .section__head h2::after { color: var(--sur-vert-doux); -webkit-text-fill-color: var(--sur-vert-doux); }
.section--sable .eyebrow { color: var(--sur-vert-doux); }
.section__head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head h2, .contact h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }

.section__head h2::after, .univers__text h2::after {
  content: "—————  ✤  —————"; display: block; margin-top: .9rem;
  font: 400 .8rem/1 var(--sans); letter-spacing: .05em; color: var(--olive);
  -webkit-text-fill-color: var(--olive);
}
.univers__text h2::after { text-align: left; }

/* ---------- Univers ---------- */
.univers {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1100px; margin: 0 auto;
}
.univers__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--ombre); }
.univers__text { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.univers__text h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.univers__text > p:not(.eyebrow) { color: var(--encre-douce); max-width: 32rem; }

/* ---------- Produits ---------- */
.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem);
  max-width: 1240px; margin: 0 auto;
}
.product {
  display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--ligne); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--ombre); transition: transform .4s var(--ease);
}
.product:hover { transform: translateY(-4px); }
.product__lien { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.product__lien:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: var(--radius); }
.product__lien:hover .btn--ghost { background: var(--olive-pale); }
.product__img { overflow: hidden; background: var(--sable); }
.product__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.04); }
.product__body { display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem 1.3rem 1.5rem; flex: 1; }
.product__body h3 { font-size: 1.65rem; }
.product__price { font: 600 1.4rem/1 var(--serif); color: var(--olive-fonce); }
.product__plante { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); margin-bottom: -.5rem; }
.product__desc { color: var(--encre-douce); font: italic 400 1.1rem/1.45 var(--serif); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.section__intro { text-align: center; color: var(--encre-douce); max-width: 36rem; margin: -1.5rem auto 2.5rem; }

/* Choix : couleur de croix et options */
.choix { border: 0; border-top: 1px solid var(--ligne); padding-top: .8rem; display: grid; gap: .5rem; }
.choix legend { float: left; width: 100%; margin-bottom: .5rem; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
.offert { margin-left: .4em; padding: .15em .55em; border-radius: 999px; background: var(--olive-pale); color: var(--olive-fonce); letter-spacing: .06em; text-transform: none; font-weight: 400; }
.case input { position: absolute; opacity: 0; pointer-events: none; }
.case:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: 2px; }
.choix__erreur { font-size: .8rem; color: var(--rouge); }
.choix__aide { font-size: .82rem; color: var(--encre-douce); margin-top: -.2rem; }
.choix__nom { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--olive-fonce); }
.croix-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: .45rem; }
.croix-tuile { position: relative; display: grid; justify-items: center; gap: .25rem; padding: .3rem .3rem .4rem; border: 1px solid var(--ligne); border-radius: 10px; background: var(--creme); cursor: pointer; font-size: .74rem; transition: border-color .2s, box-shadow .2s; }
.croix-tuile input { position: absolute; opacity: 0; pointer-events: none; }
.croix-tuile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.croix-tuile__rond { width: 100%; aspect-ratio: 1; border-radius: 7px; background: radial-gradient(circle at 50% 50%, var(--teinte) 0 28%, var(--sable) 30%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.croix-tuile:hover { border-color: var(--olive-clair); }
.croix-tuile:has(input:checked) { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); background: var(--olive-pale); }
.croix-tuile:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: 2px; }
.fiche__img .fiche__croix { position: absolute; right: -14px; bottom: -14px; width: 34%; aspect-ratio: 1; cursor: zoom-in; }
.fiche__img .fiche__croix img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--creme); box-shadow: var(--ombre); }
.case { position: relative; display: flex; align-items: center; gap: .55rem; font-size: .88rem; cursor: pointer; }
.case::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; border: 1px solid var(--olive-clair); border-radius: 4px; background: #fffdf8; transition: background .2s; }
.case:has(input:checked)::before { background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--olive); }
.case__vignette { flex: none; width: 3.2rem; height: 3.2rem; }
.case__img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--ligne); }
/* Gros plan au survol : médaillon de la croix choisie et vignettes des options.
   Seule la petite zone d'origine déclenche le gros plan (l'image agrandie ne capte pas la souris) :
   dès que la souris sort de la vignette, le gros plan se referme. */
.fiche__img .fiche__croix img, .case__img { position: relative; pointer-events: none; transition: transform .35s var(--ease), box-shadow .35s; }
.fiche__img .fiche__croix img { transform-origin: 85% 85%; }
.case__img { transform-origin: 0 50%; }
@media (hover: hover) {
  .fiche__img .fiche__croix:hover img { transform: scale(2.2); z-index: 5; box-shadow: 0 30px 60px -20px rgba(47, 51, 34, .55); }
  .case__vignette:hover .case__img { transform: scale(4.5); z-index: 5; box-shadow: 0 20px 40px -12px rgba(47, 51, 34, .5); }
}
/* Sur mobile : un appui sur le médaillon l'agrandit */
.fiche__img .fiche__croix.agrandi img { transform: scale(2.2); z-index: 5; }
.case__prix { margin-left: auto; color: var(--olive-fonce); font-weight: 500; }
.product .btn { margin-top: .3rem; }
.products--trois { grid-template-columns: repeat(3, 1fr); max-width: 960px; }

/* ---------- Fiche produit ---------- */
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; max-width: 1160px; margin: 0 auto; padding: 1.4rem clamp(16px, 4vw, 56px) 0; font-size: .82rem; color: var(--encre-douce); }
.fil a { color: var(--olive-fonce); text-decoration: none; padding: .5rem 0; }
.fil a:hover { text-decoration: underline; }
.fiche {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  max-width: 1160px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) clamp(16px, 4vw, 56px) clamp(3rem, 7vw, 5.5rem);
}
.fiche__img { position: sticky; top: 90px; aspect-ratio: 4 / 5; }
.fiche__img > img { height: 100%; }
.fiche__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--ombre); }
.fiche__info { display: grid; gap: 1.2rem; min-width: 0; }
.fiche__info .eyebrow { margin-bottom: -.6rem; }
.fiche__info h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.fiche__prix { font: 600 1.8rem/1 var(--serif); color: var(--olive-fonce); }
.fiche__accroche { font: italic 400 1.35rem/1.5 var(--serif); color: var(--encre); max-width: 34rem; }
.config { display: grid; gap: 1rem; padding: 1.4rem; background: #fffdf8; border: 1px solid var(--ligne); border-radius: var(--radius); }
.config .choix:first-child { border-top: 0; padding-top: 0; }
.config__achat { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; padding-top: .4rem; }
.config__achat .btn--olive { flex: 1; min-width: 14rem; }
.qte--grand { margin: 0; padding: .35rem .5rem; gap: .8rem; }
.qte--grand output { min-width: 1.2em; text-align: center; font-weight: 500; }
.fiche__assurances { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .85rem; color: var(--encre-douce); }
.fiche__assurances li::before { content: "✦"; color: var(--olive); margin-right: .45em; }
.fiche__bloc { border-top: 1px solid var(--ligne); padding-top: 1.2rem; display: grid; gap: .6rem; }
.fiche__bloc h2 { font-size: 1.7rem; }
.fiche__bloc p { color: var(--encre-douce); max-width: 36rem; }
.fiche__specs { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.4rem; border-top: 1px solid var(--ligne); padding-top: 1.2rem; font-size: .9rem; }
.fiche__specs dt { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding-top: .2em; }
.fiche__specs dd { color: var(--encre-douce); }
.fiche__note { font-size: .82rem; font-style: italic; color: var(--encre-douce); }

/* Badge du panier */
.badge { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; padding: 0 .35em; border-radius: 999px; background: var(--creme); color: var(--olive-fonce); font-size: .9em; letter-spacing: 0; }

/* Panier */
.panier { position: fixed; inset: 0; z-index: 50; }
.panier__fond { position: absolute; inset: 0; background: rgba(47, 51, 34, .35); }
.panier__boite {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  display: flex; flex-direction: column; background: var(--creme); box-shadow: -20px 0 60px -30px rgba(47, 51, 34, .5);
  padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
}
.panier__tete { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--ligne); }
.panier__tete h2 { font-size: 2rem; }
.panier__fermer { border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--encre-douce); cursor: pointer; padding: .2rem .5rem; }
.panier__liste { list-style: none; overflow-y: auto; flex: 1; display: grid; align-content: start; gap: 1rem; padding: 1rem 0; }
.panier__vide { padding: 2rem 0; color: var(--encre-douce); text-align: center; flex: 1; }
.ligne { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: start; }
.ligne img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.ligne__info { min-width: 0; }
.ligne__nom { font: 500 1.2rem/1.2 var(--serif); }
.ligne__detail { font-size: .8rem; color: var(--encre-douce); }
.ligne__prix { font-weight: 500; font-variant-numeric: tabular-nums; }
.qte { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; border: 1px solid var(--ligne); border-radius: 999px; padding: .1rem .3rem; font-variant-numeric: tabular-nums; }
.qte button { border: 0; background: none; width: 2rem; height: 2rem; font-size: 1.05rem; color: var(--olive-fonce); cursor: pointer; border-radius: 50%; }
.qte button:hover { background: var(--olive-pale); }
.panier__pied { border-top: 1px solid var(--ligne); padding-top: 1rem; display: grid; gap: .9rem; }
.panier__totaux { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; font-size: .92rem; font-variant-numeric: tabular-nums; }
.panier__totaux dt { color: var(--encre-douce); }
.panier__totaux dd { text-align: right; }
.panier__totaux .total { font: 600 1.35rem/1.4 var(--serif); color: var(--encre); }
.panier__note { font-size: .8rem; color: var(--olive); text-align: center; }
body.panier-ouvert { overflow: hidden; }
.merci { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 1rem; max-width: 40rem; margin: 0 auto; }

/* ---------- Histoire ---------- */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 1100px; margin: 0 auto; }
.story__item { text-align: center; }
.story__num { display: block; font: italic 400 1.4rem/1 var(--serif); color: var(--olive); margin-bottom: .8rem; }
.story__item h3 { font-size: 2rem; margin-bottom: .7rem; }
.story__item p { color: var(--encre-douce); }
.section--sable .story__num { color: var(--sur-vert-doux); }
.section--sable .story__item h3 { color: var(--sur-vert); }
.section--sable .story__item p { color: var(--sur-vert-doux); }

/* ---------- Fabrication ---------- */
.steps {
  list-style: none; counter-reset: etape;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.steps li { counter-increment: etape; padding-top: 1.2rem; border-top: 1px solid var(--pierre); color: var(--encre-douce); font-size: .95rem; }
.steps li::before { content: "0" counter(etape); display: block; font: 500 .8rem/1 var(--sans); letter-spacing: .15em; color: var(--olive); margin-bottom: .8rem; }
.steps strong { display: block; font: 500 1.5rem/1.2 var(--serif); color: var(--encre); margin-bottom: .4rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--pierre); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; font: 500 1.35rem/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--olive); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--encre-douce); }
.section--sable .faq details { border-bottom-color: rgba(243, 241, 228, .28); }
.section--sable .faq summary { color: var(--sur-vert); }
.section--sable .faq summary::after { color: var(--sur-vert-doux); }
.section--sable .faq details p { color: var(--sur-vert-doux); }
.section--sable .faq a { color: var(--sur-vert); }

/* ---------- Contact & pied de page ---------- */
.contact { text-align: center; }
.contact > p:not(.eyebrow) { color: var(--encre-douce); margin: .8rem 0 1.8rem; }
.footer {
  display: grid; gap: .6rem; justify-items: center; text-align: center;
  padding: 3rem 16px; background: var(--olive-fonce); border-top: 1px solid rgba(243, 241, 228, .18);
  color: var(--sur-vert-doux); font-size: .88rem;
}
.footer__logo { font: 500 1.8rem/1.1 var(--serif); background: none; color: var(--sur-vert); -webkit-text-fill-color: var(--sur-vert); }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; margin-top: .6rem; }
.footer nav a { display: inline-block; padding: .55rem .2rem; text-decoration: none; opacity: .85; }
.footer nav a:hover { opacity: 1; }

/* ---------- Page légale ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 16px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.9rem; margin: 2.8rem 0 .8rem; padding-top: 1rem; border-top: 1px solid var(--ligne); }
.legal h3 { font-size: 1.3rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--encre-douce); margin-bottom: .6rem; }
.legal ul { padding-left: 1.2rem; }
.a-completer { background: #fbe9c8; color: var(--encre); padding: 0 .3em; border-radius: 4px; }

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
}
@media (max-width: 900px) {
  .story, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .fiche { grid-template-columns: 1fr; }
  .fiche__img { position: relative; top: auto; max-width: 420px; width: 100%; margin: 0 auto; }
  .products--trois { grid-template-columns: 1fr; max-width: 420px; }
  .hero, .univers { grid-template-columns: 1fr; }
  .hero__img { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .story, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr; max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Compte client et points de fidélité ---------- */
.nav__actions { display: flex; align-items: center; gap: 1.1rem; }
.nav__compte { padding: .7rem .2rem; font-size: .88rem; color: var(--olive-fonce); text-decoration: none; white-space: nowrap; }
.nav__compte:hover { text-decoration: underline; text-underline-offset: 3px; }

.panier__fidelite { display: grid; gap: .5rem; padding: .8rem; border-radius: 10px; background: var(--olive-pale); font-size: .84rem; color: var(--encre); }
.panier__fidelite a { color: var(--olive-fonce); }
.panier__fidelite:empty { display: none; }

.compte-page { max-width: 1000px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 16px clamp(3.5rem, 8vw, 6rem); }
.compte-page h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.compte-intro { text-align: center; color: var(--encre-douce); max-width: 36rem; margin: 0 auto 2rem; }
.compte-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.compte-carte { display: grid; gap: 1rem; padding: 1.6rem; background: #fffdf8; border: 1px solid var(--ligne); border-radius: var(--radius); min-width: 0; }
.compte-carte h2 { font-size: 1.8rem; }
.compte-carte label:not(.case) { display: grid; gap: .35rem; font-size: .85rem; font-weight: 500; }
.compte-carte label small { font-weight: 300; color: var(--encre-douce); }
.compte-carte input[type="email"], .compte-carte input[type="password"], .compte-carte input[type="text"],
.compte-suppression input[type="password"] {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--pierre); border-radius: 10px;
  font: 400 1rem var(--sans); color: var(--encre); background: #fff;
}
.compte-carte input:focus-visible, .compte-suppression input:focus-visible { outline: 2px solid var(--olive); outline-offset: 1px; border-color: var(--olive); }
.compte-carte .case { font-size: .82rem; align-items: flex-start; }
.compte-carte .case a { color: var(--olive-fonce); }
.compte-erreur { font-size: .85rem; color: var(--rouge); }
.compte-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.compte-tete h2 { font-size: 2rem; }
.compte-points__solde { font: 500 3.6rem/1 var(--serif); color: var(--olive-fonce); }
.compte-points__solde span { font-size: 1.2rem; color: var(--encre-douce); }
.compte-petit { font-size: .82rem; color: var(--encre-douce); }
.jauge { height: .55rem; border-radius: 999px; background: var(--olive-pale); overflow: hidden; }
.jauge span { display: block; height: 100%; border-radius: inherit; background: var(--olive); }
.historique { list-style: none; display: grid; }
.historique li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--ligne); }
.historique li > div:first-child { min-width: 0; }
.historique__date { font-weight: 500; font-size: .9rem; }
.historique__detail { font-size: .8rem; color: var(--encre-douce); }
.historique__chiffres { display: grid; justify-items: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.historique__chiffres span { font-size: .78rem; color: var(--olive); }
.compte-suppression { margin-top: 2rem; font-size: .88rem; color: var(--encre-douce); }
.compte-suppression summary { cursor: pointer; width: fit-content; }
.compte-suppression form { display: grid; gap: .7rem; max-width: 22rem; margin-top: .8rem; }
.compte-suppression label { display: grid; gap: .35rem; }

@media (max-width: 760px) {
  .compte-grille { grid-template-columns: 1fr; }
  .nav__actions { gap: .7rem; }
}

/* ---------- Confort tactile (téléphones et tablettes) ---------- */
@media (pointer: coarse) {
  .btn--sm { padding: .95em 1.1em; }
  .qte--grand button { width: 2.6rem; height: 2.6rem; }
  .faq summary { padding: 1.35rem 0; }
  .panier__fermer { padding: .5rem .8rem; }
}
@media (max-width: 420px) {
  .nav { gap: .6rem; }
  .nav__logo { font-size: 1.25rem; white-space: nowrap; }
  .nav__actions { gap: .5rem; }
}
@media (max-width: 360px) {
  .nav__logo { font-size: 1.1rem; }
  .nav .btn--sm { padding: .9em .9em; letter-spacing: .08em; }
  .nav__compte { font-size: .8rem; }
}

/* ---------- Paiement sécurisé et engagements ---------- */
.cadenas { width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
.confiance {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px) clamp(2.5rem, 6vw, 4rem);
}
.confiance__item { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--ligne); border-radius: var(--radius); background: #fffdf8; min-width: 0; }
.confiance__item > svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--olive); margin-top: .1rem; }
.confiance__item strong { display: block; font: 500 1.2rem/1.2 var(--serif); color: var(--encre); margin-bottom: .2rem; }
.confiance__item span { display: block; font-size: .84rem; color: var(--encre-douce); }
.confiance__item--stripe { background: var(--olive-fonce); border-color: var(--olive-fonce); }
.confiance__item--stripe > svg { color: var(--sur-vert-doux); }
.confiance__item--stripe strong { color: var(--sur-vert); }
.confiance__item--stripe span { color: var(--sur-vert-doux); }
.paiement-sur { display: flex; justify-content: center; align-items: center; gap: .4rem; font-size: .8rem; color: var(--olive-fonce); }
.footer__paiement { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; }
.fiche__assurances .fiche__assurance-stripe { color: var(--olive-fonce); font-weight: 500; }
.fiche__assurances .fiche__assurance-stripe::before {
  content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .45em; vertical-align: -.1em; background: var(--olive);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.2'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.2'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 1100px) { .confiance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .confiance { grid-template-columns: 1fr; } }

/* ---------- Choix de la livraison (panier) ---------- */
.livraison-choix { border: 0; display: grid; gap: .5rem; }
.livraison-choix legend { margin-bottom: .5rem; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
#livraison-modes { display: grid; gap: .5rem; }
.mode {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: .6rem;
  padding: .7rem .8rem; border: 1px solid var(--ligne); border-radius: 10px; background: #fffdf8; cursor: pointer; font-size: .88rem;
}
.mode input { position: absolute; opacity: 0; pointer-events: none; }
.mode::before { content: ""; box-sizing: border-box; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 1px solid var(--olive-clair); background: #fff; grid-row: span 2; }
.mode:has(input:checked) { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); }
.mode:has(input:checked)::before { border: 5px solid var(--olive); }
.mode:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: 2px; }
.mode--seul { grid-template-columns: 1fr auto; cursor: default; border-color: var(--olive); }
.mode--seul::before { display: none; }
.mode--seul .mode__detail { grid-column: 1 / 3; }
.mode__nom { font-weight: 500; }
.mode__prix { font-weight: 500; color: var(--olive-fonce); font-variant-numeric: tabular-nums; }
.mode__detail { grid-column: 2 / 4; font-size: .78rem; color: var(--encre-douce); }
.relais { display: grid; gap: .5rem; padding: .7rem .8rem; border-radius: 10px; background: var(--olive-pale); font-size: .84rem; }
.relais__choisi { display: grid; gap: .1rem; }
.relais__choisi span { color: var(--encre-douce); }
.relais .btn { justify-self: start; }
.panier__erreur { font-size: .84rem; color: var(--rouge); }
.compte-carte select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--pierre); border-radius: 10px; font: 400 1rem var(--sans); background: #fff; }
