/*
Theme Name: La Bouteille en l'Air
Theme URI: https://labouteilleenlair.com
Author: La Bouteille en l'Air
Description: Thème bloc sur mesure de la boutique La Bouteille en l'Air : maquette HTML convertie en blocs natifs, catalogue WooCommerce rendu au balisage de la maquette.
Version: 1.0.11
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-bouteille-en-lair
Tags: block-theme, full-site-editing, e-commerce
*/

/* ==========================================================
   La Bouteille en l'Air — maquette phase 2
   Registre relevé sur la référence : une couleur pleine qui
   couvre tout, blanc froid, titres condensés en capitales,
   cercles translucides, objet incliné qui flotte.
   ========================================================== */

:root {
  --bordeaux: #6D0F24;
  --bordeaux-clair: #8A1A33;
  --bordeaux-fonce: #560A1B;
  --blanc: #FFFFFF;
  --encre: #1C0A0F;
  --noyer: #C98B4F;
  --sauge: #9BAE8A;
  --voile: rgba(255, 255, 255, .09);
  --trait: rgba(255, 255, 255, .32);

  --titre: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --texte: "Manrope", system-ui, sans-serif;

  --gouttiere: clamp(20px, 4vw, 56px);
  --largeur: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bordeaux);
  color: var(--blanc);
  font: 500 14px/1.55 var(--texte);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

.enveloppe {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.titre-section {
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: .92;
  letter-spacing: -.005em;
  text-wrap: balance;
}

/* ---------- Pilules ---------- */
.pilule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 30px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font: 600 13px/1 var(--texte);
  letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
}
.pilule:hover { background: var(--blanc); color: var(--bordeaux); border-color: var(--blanc); }
.pilule--blanche { background: var(--blanc); color: var(--bordeaux); border-color: var(--blanc); }
.pilule--blanche:hover { background: transparent; color: var(--blanc); }
.pilule--pleine { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--blanc); padding: 0 40px; }
.pilule--pleine:hover { background: var(--bordeaux-fonce); border-color: var(--bordeaux-fonce); color: var(--blanc); }

/* ==========================================================
   EN-TÊTE
   ========================================================== */
.haut {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}
.annonce {
  background: var(--bordeaux-fonce);
  color: var(--blanc);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 8px var(--gouttiere);
}
.annonce__item { display: inline; }
.annonce__item + .annonce__item::before { content: "·"; margin: 0 10px; color: var(--noyer); }
.entete__ligne {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 82px;
}
.page-claire .entete { color: var(--encre); }
.page-claire .entete .logo { color: var(--bordeaux); }
.page-claire .panier__nb { background: var(--bordeaux); color: var(--blanc); }
.logo {
  font-family: var(--titre);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: flex-start;
}
.logo a { display: inline-flex; align-items: flex-start; }
.logo em, .logo__la {
  font-style: normal;
  font-size: 11px;
  margin: 1px 3px 0 0;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}
.logo strong, .logo__point { font-weight: inherit; margin: 0 4px; color: var(--noyer); }
.nav {
  display: flex;
  gap: 38px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}
.nav a { opacity: .9; }
.nav a:hover, .nav a.est-actif { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.actions { display: flex; align-items: center; gap: 18px; }
.action { position: relative; display: inline-flex; }
.action svg { width: 22px; height: 22px; }
/* icônes : masques CSS sur les liens (un SVG en ligne n'est pas un bloc) */
.action > a { display: block; width: 22px; height: 22px; font-size: 0; line-height: 0; color: inherit; }
.action > a::before { content: ""; display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.action--recherche > a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='m16 16 4.5 4.5' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='m16 16 4.5 4.5' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.action--compte > a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8.5' r='4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M4.5 20.5c1.2-3.6 4-5.5 7.5-5.5s6.3 1.9 7.5 5.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8.5' r='4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M4.5 20.5c1.2-3.6 4-5.5 7.5-5.5s6.3 1.9 7.5 5.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.panier > a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h18l-2 11H5L3 9Zm4 0 3-6m7 6-3-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h18l-2 11H5L3 9Zm4 0 3-6m7 6-3-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
.panier__nb {
  position: absolute;
  right: -9px;
  top: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--bordeaux);
  font: 700 10px/18px var(--texte);
  text-align: center;
  transition: transform .2s;
}
.panier__nb.est-pulse { transform: scale(1.35); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* l'arc et son voile : pseudo-éléments de la section (un bloc vide n'a rien à faire dans le contenu) */
.hero, .intro { --arc: max(128vh, 860px); }
.hero::before, .hero::after, .intro::before, .intro::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before, .intro::before { width: var(--arc); height: var(--arc); background: var(--bordeaux-clair); }
.hero::after, .intro::after { width: var(--arc); height: calc(var(--arc) * 1.18); background: var(--voile); }   /* second voile : la courbe de la référence */
.hero::before { right: -24vh; top: -30vh; }
.hero::after { right: calc(-24vh - var(--arc) * .3); top: calc(-30vh + var(--arc) * .22); }
.intro::before { right: -30vh; bottom: -70vh; }
.intro::after { right: calc(-30vh - var(--arc) * .3); bottom: calc(-70vh - var(--arc) * .4); }
.hero__grille {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  padding-top: 124px;
  padding-bottom: 40px;
}
.hero__titre {
  font-family: var(--titre);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(60px, 8.6vw, 136px);
  line-height: .84;
  white-space: nowrap;
  letter-spacing: -.01em;
  hyphens: none;
}
.hero__titre span { display: block; }
.hero__titre em { display: block; font-style: normal; padding-left: .62em; }
.hero__chapo {
  max-width: 340px;
  margin: 34px 0 30px;
  font-size: 14px;
  opacity: .92;
}
.hero__boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__objet {
  display: block;
  position: relative;
  justify-self: center;
  width: min(100%, 640px);
  transform: rotate(-13deg) translateX(4%);
  animation: flotte 6s ease-in-out infinite;
}
.hero__objet a { display: block; }
.hero__objet img {
  width: 100%;
  filter: drop-shadow(0 60px 50px rgba(30, 0, 8, .55));
}
@keyframes flotte {
  0%, 100% { transform: rotate(-13deg) translate(4%, 0); }
  50%      { transform: rotate(-11deg) translate(4%, -18px); }
}
.hero__pastille {
  position: absolute;
  right: calc(var(--gouttiere) + 2%);
  bottom: 13%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--noyer);
  color: var(--encre);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 38px;
  line-height: .9;
  transform: rotate(10deg);
}
.hero__pastille em, .hero__pastille span {
  font-style: normal;
  display: block;
  font: 700 12px/1 var(--texte);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

/* ==========================================================
   PRINCIPES
   ========================================================== */
.principes {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: 1px solid var(--voile);
}
.principes__grille {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.principes__disque {
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--voile);
  outline: 1.5px dashed var(--trait);
  outline-offset: -14px;
  display: grid;
  place-items: center;
  text-align: center;
}
.principes__disque p {
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 26px;
  line-height: .95;
}
.principes__disque strong {
  display: block;
  font-size: 120px;
  font-weight: 900;
  line-height: .85;
  margin-bottom: 6px;
}
.principes__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.principe {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 26px 0 28px;
  border-top: 1.5px solid var(--trait);
}
.principes__num,
.principes__liste .principes__num {
  font-size: 11px;
  opacity: .7;
  padding-top: 10px;
  max-width: none;
}
.principes__liste h3 {
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: .95;
  margin-bottom: 10px;
}
.principes__liste p {
  max-width: 400px;
  font-size: 13px;
  opacity: .82;
}
/* bulles : pseudo-éléments (a, b sur la section ; c sur la grille, ramenée aux coordonnées de la section) */
.principes::before, .principes::after, .principes__grille::before {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--voile);
  pointer-events: none;
}
.principes::before { width: 190px; height: 190px; right: 6%;  top: 70px; }
.principes::after { width: 150px; height: 150px; right: 30%; top: 46%; }
.principes--sans-b::after { content: none; }
.principes__grille::before { width: 120px; height: 120px; right: calc(9vw - (100vw - min(100vw, var(--largeur))) / 2); bottom: 30px; }

/* ==========================================================
   COLLECTION
   ========================================================== */
.collection {
  padding: 110px 0 120px;
  border-top: 1px solid var(--voile);
}
.collection__tete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.collection__info { font-size: 12px; opacity: .8; padding-bottom: 8px; }
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 54px;
}
.pilule--filtre { min-height: 40px; padding: 0 28px; }
.pilule--filtre.est-actif { background: var(--blanc); color: var(--bordeaux); border-color: var(--blanc); }

.cartes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 26px;
}
.carte {
  position: relative;
  background: var(--blanc);
  color: var(--encre);
  border-radius: 3px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
}
.carte.est-masque { display: none; }
.carte__lien { display: block; }
.carte__lien:hover .carte__nom { color: var(--bordeaux); }
.carte__meta { font-size: 12px; color: #8b7a7e; margin: -4px 0 14px; }
.carte__prix del, .vedette__prix del { color: #8b7a7e; font-weight: 500; margin-right: 4px; }
.carte__prix ins, .vedette__prix ins { text-decoration: none; color: var(--bordeaux); }
.carte__visuel {
  width: 82%;
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #F1E4E6;
}
.carte__visuel img { width: 100%; height: 100%; object-fit: cover; }
.carte__visuel--detoure { overflow: visible; position: relative; }
/* l'objet détouré tient dans un carré fixe, quelle que soit sa forme (haut, large…) */
.carte__visuel--detoure img {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: contain;
  transform: rotate(-10deg);
  filter: drop-shadow(0 16px 14px rgba(60, 10, 20, .28));
}
.carte__nom {
  font: 700 14px/1.3 var(--texte);
  margin-bottom: 10px;
}
.carte__pied {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.carte__prix { font-weight: 700; font-size: 14px; }
.pilule--carte {
  min-height: 34px;
  padding: 0 22px;
  font-size: 12px;
  color: var(--bordeaux);
}
.pilule--carte:hover { background: var(--bordeaux); color: var(--blanc); border-color: var(--bordeaux); }
.badge {
  position: absolute;
  z-index: 2;
  left: -14px;
  top: -14px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 11px/1 var(--texte);
  color: var(--encre);
}
.badge--top { background: var(--noyer); }
.badge--nouveau { background: var(--sauge); font-size: 10px; }
.badge--promo { background: var(--bordeaux); color: var(--blanc); box-shadow: 0 0 0 2px var(--blanc); }

/* ==========================================================
   PRODUIT VEDETTE (bande blanche)
   ========================================================== */
.vedette {
  background: var(--blanc);
  color: var(--encre);
  padding: 46px 0 110px;
  overflow: hidden;
}
.fil { font-size: 11px; color: #8b7a7e; }
.fil span { margin: 0 6px; }
.vedette__grille {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}
.vedette__scene { position: relative; min-height: 520px; display: grid; place-items: center; }
.vedette__ombre {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #F4E7EA;
  left: 11%;
  top: 2%;
}
.vedette__objet {
  display: block;
  position: relative;
  width: min(100%, 500px);
  transform: rotate(-16deg);
}
.vedette__objet img { width: 100%; filter: drop-shadow(0 50px 40px rgba(60, 10, 20, .3)); }
.vedette__compo {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 260px;
  font-size: 11px;
  color: #8b7a7e;
}
.vedette__titre {
  font-family: var(--titre);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(46px, 5vw, 78px);
  line-height: .9;
  color: var(--encre);
}
.vedette__mesures { font-size: 11px; color: #8b7a7e; margin: 14px 0 30px; }
.vedette__mesures span { margin: 0 6px; }
.vedette__texte { max-width: 380px; font-size: 14px; font-weight: 600; }
.vedette__prix { font-weight: 800; font-size: 20px; margin: 40px 0 22px; }
.vedette__achat { display: flex; align-items: center; gap: 26px; }
.compteur { display: flex; align-items: center; gap: 14px; }
.compteur__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #cdbfc2;
  background: none;
  font-size: 18px;
  line-height: 1;
}
.compteur__btn:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.compteur__val { min-width: 18px; text-align: center; font-weight: 700; }

/* ==========================================================
   EN SITUATION
   ========================================================== */
.situation { padding: 110px 0 100px; }
.situation .titre-section { margin-bottom: 44px; }
.defile {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  --depart: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2 + var(--gouttiere)));
  padding-left: var(--depart);
  scroll-padding-left: var(--depart);
  padding-right: var(--gouttiere);
}
.defile::-webkit-scrollbar { display: none; }
.defile > figure {
  flex: 0 0 clamp(240px, 23vw, 330px);
  aspect-ratio: 3 / 4.3;
  scroll-snap-align: start;
  overflow: hidden;
}
.defile > figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.defile > figure:hover img { transform: scale(1.05); }
.progression {
  margin-top: 30px;
  height: 2px;
  background: var(--trait);
  position: relative;
}
.progression__barre {
  position: absolute;
  left: 0;
  top: -1px;
  height: 4px;
  width: 30%;
  background: var(--blanc);
  transition: left .15s linear;
}

/* ==========================================================
   CARTE CADEAU
   ========================================================== */
.cadeau {
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
  border-top: 1px solid var(--voile);
}
.cadeau__grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.cadeau__texte { max-width: 360px; margin: 26px 0 32px; font-size: 13px; opacity: .88; }
.cadeau__disque {
  justify-self: center;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: -190px;          /* le disque est coupé par le bas de la bande */
  border: 14px solid var(--blanc);
}
.cadeau__disque img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   RÉSEAUX
   ========================================================== */
.reseaux {
  padding: 110px 0 110px;
  border-top: 1px solid var(--voile);
  overflow: hidden;
}
.reseaux__grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.reseau {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}
.reseau__disque {
  width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transition: transform .4s;
}
.reseau__disque a { display: block; height: 100%; }
.reseau__disque img { width: 100%; height: 100%; object-fit: cover; }
.reseau:hover .reseau__disque { transform: scale(1.05) rotate(-3deg); }
.reseau__mot {
  position: absolute;
  left: 0;
  top: 54%;
  font-family: var(--titre);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(54px, 6.4vw, 96px);
  line-height: 1;
  color: var(--blanc);
  text-shadow: 0 6px 30px rgba(40, 0, 10, .35);
}

/* ==========================================================
   PIED DE PAGE
   ========================================================== */
.pied {
  background: var(--bordeaux-fonce);
  padding: 80px 0 30px;
  font-size: 13px;
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.pied__baseline { margin-top: 18px; max-width: 260px; opacity: .75; }
.pied h4 {
  font-family: var(--titre);
  text-transform: uppercase;
  font-size: 22px;
  margin-bottom: 14px;
}
.pied__grille a { display: block; }
.pied__grille p { opacity: .8; margin-bottom: 6px; }
.pied__grille p:has(a:hover) { opacity: 1; }
.pied__grille .logo { opacity: 1; margin-bottom: 0; }
.pied__grille .logo a { display: inline-flex; }
.pied__bas {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--voile);
  font-size: 11px;
  opacity: .6;
}

/* ==========================================================
   ADAPTATIF
   ========================================================== */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .actions { margin-left: auto; }
  .hero { min-height: auto; }
  .hero__grille { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 70px; }
  .hero__titre { white-space: normal; }
  .hero__objet { width: min(92%, 460px); margin-top: 30px; }
  .hero, .intro { --arc: 760px; }
  .hero::before { top: auto; bottom: -260px; right: -300px; }
  .hero::after { top: auto; bottom: calc(-260px - var(--arc) * .4); right: calc(-300px - var(--arc) * .3); }
  .hero__pastille { width: 92px; height: 92px; font-size: 30px; bottom: 60px; }
  .principes { padding: 80px 0; }
  .principes__grille { grid-template-columns: 1fr; }
  .principes__disque { width: min(80%, 320px); justify-self: center; }
  .principes__disque strong { font-size: 90px; }
  .principe { grid-template-columns: 1fr; gap: 6px; }
  .principes__num, .principes__liste .principes__num { padding-top: 0; }
  .collection { padding: 80px 0; }
  .collection__tete { flex-direction: column; align-items: flex-start; }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .badge { width: 46px; height: 46px; left: -8px; top: -10px; font-size: 10px; }
  .badge--nouveau { font-size: 9px; }
  .carte__pied { flex-direction: column; align-items: flex-start; gap: 10px; }
  .vedette__grille { grid-template-columns: 1fr; }
  .vedette__scene { min-height: 380px; }
  .vedette__objet { width: 92%; }
  .vedette__compo { position: static; margin-top: 20px; }
  .situation { padding: 80px 0; }
  .cadeau { padding-top: 80px; }
  .cadeau__grille { grid-template-columns: 1fr; }
  .cadeau__disque { width: 82%; margin-bottom: -120px; }
  .reseaux { padding: 70px 0; }
  .reseaux__grille { grid-template-columns: 1fr; gap: 10px; }
  .reseau { min-height: 280px; }
  .reseau__disque { width: 250px; }
  .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied__grille > :first-child, .pied__grille > :last-child { grid-column: 1 / -1; }
  .pied__bas { flex-direction: column; }
}

/* ==========================================================
   PHASE 3 — BOUTIQUE EN LIGNE
   ========================================================== */

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.titre-page {
  font-family: var(--titre);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(54px, 7vw, 104px);
  line-height: .95;
  hyphens: none;
}
.titre-page--geant { font-size: clamp(56px, 7.6vw, 118px); }
.titre-section--encre { color: var(--encre); }
.fil a:hover { text-decoration: underline; }
.fil--clair { color: rgba(255, 255, 255, .7); margin-bottom: 26px; }

/* ---------- Catégories ---------- */
.categories { padding: 110px 0 100px; }
.categories__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.categorie { display: grid; justify-items: center; text-align: center; }
.categorie__disque {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  outline: 1.5px dashed var(--trait);
  outline-offset: 10px;
  margin-bottom: 26px;
}
.categorie__disque img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.categorie:hover .categorie__disque img { transform: scale(1.07); }
.categorie__nom {
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1;
}
.categorie__nb { font-size: 12px; opacity: .75; margin-top: 6px; }
.categories--fin { border-top: 1px solid var(--voile); }

/* ---------- Stock, lien fiche ---------- */
.stock { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; margin: -6px 0 22px; }
.stock__point { width: 8px; height: 8px; border-radius: 50%; background: var(--sauge); box-shadow: 0 0 0 4px rgba(155, 174, 138, .3); }
.vedette__lien { display: inline-block; margin-top: 26px; font-size: 13px; font-weight: 700; color: var(--bordeaux); }
.vedette__lien:hover { text-decoration: underline; }

/* ---------- Rangée de cartes défilante ---------- */
.rangee { padding: 110px 0 100px; }
.rangee .titre-section { margin-bottom: 0; }
.rangee .collection__tete { margin-bottom: 50px; }
.rangee > .enveloppe:first-child > .titre-section { margin-bottom: 50px; }
.defile--cartes { gap: 26px; padding-top: 16px; }
.defile--cartes .carte {
  flex: 0 0 clamp(230px, 21vw, 290px);
  scroll-snap-align: start;
}

/* ---------- Catalogue ---------- */
.catalogue { padding: 170px 0 110px; }
.catalogue__tete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.catalogue__outils {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 14px;
}
.catalogue__outils .filtres { margin: 0; }
.tri__choix {
  appearance: none;
  min-height: 40px;
  padding: 0 44px 0 24px;
  border: 1.5px solid var(--blanc);
  border-radius: 999px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center;
  color: var(--blanc);
  font: 600 13px/1 var(--texte);
  cursor: pointer;
}
.tri__choix option { color: var(--encre); }
.catalogue__compte { font-size: 12px; opacity: .75; margin-bottom: 44px; }

/* ---------- Réassurance ---------- */
.reassurance { background: var(--blanc); color: var(--encre); padding: 64px 0; }
.reassurance__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.reassurance__item { display: flex; gap: 16px; align-items: center; }
.reassurance__disque {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--blanc);
  display: grid;
  place-items: center;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 22px;
}
.reassurance__disque--petit { font-size: 17px; }
.reassurance h3 { font-family: var(--titre); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; margin-bottom: 4px; }
.reassurance p { font-size: 12px; color: #6f5f63; }

/* ---------- Fiche produit ---------- */
.fiche { background: var(--blanc); color: var(--encre); padding: 150px 0 90px; overflow: hidden; }
.fiche__grille {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 30px;
}
.fiche__scene { position: relative; min-height: 540px; display: grid; place-items: center; }
.fiche__ombre {
  position: absolute;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #F4E7EA;
  left: 8%;
  top: 0;
}
.fiche__objet {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transform: none;   /* photos studio : bien droites ; seul le détouré est incliné */
  box-shadow: 0 40px 60px -20px rgba(60, 10, 20, .4);
}
.fiche__objet img { width: 100%; height: 100%; object-fit: cover; }
.fiche__objet--detoure { width: min(100%, 500px); aspect-ratio: 1; border-radius: 0; overflow: visible; box-shadow: none; transform: rotate(-16deg); }
.fiche__objet--detoure img { object-fit: contain; filter: drop-shadow(0 50px 40px rgba(60, 10, 20, .3)); }
.fiche__compo { margin-top: 18px; font-size: 11px; color: #8b7a7e; }
.fiche__badges { display: flex; gap: 8px; margin-bottom: 18px; min-height: 1px; }
.fiche__badges .badge { position: static; width: auto; height: 28px; padding: 0 14px; border-radius: 999px; box-shadow: none; }
.fiche__titre {
  font-family: var(--titre);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(46px, 5vw, 80px);
  line-height: .96;
  text-wrap: balance;
  hyphens: none;
}
.fiche__plus {
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #eadfe1;
  font-size: 12px;
  color: #6f5f63;
  display: grid;
  gap: 6px;
}
.fiche__plus li::before { content: "✓"; color: var(--bordeaux); font-weight: 800; margin-right: 10px; }

.onglets { margin-top: 90px; max-width: 900px; }
.onglets__barre { display: flex; gap: 34px; border-bottom: 1.5px solid #eadfe1; }
.onglets__btn {
  background: none;
  border: 0;
  padding: 0 0 16px;
  margin-bottom: -1.5px;
  border-bottom: 3px solid transparent;
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 24px;
  color: #a8999c;
}
.onglets__btn.est-actif { color: var(--encre); border-bottom-color: var(--bordeaux); }
.onglets__panneau { display: none; padding-top: 30px; font-size: 14px; max-width: 680px; }
.onglets__panneau.est-actif { display: block; }
.onglets__panneau p + p { margin-top: 14px; }
.caracs { width: 100%; border-collapse: collapse; }
.caracs th, .caracs td { text-align: left; padding: 12px 0; border-bottom: 1px solid #eadfe1; }
.caracs th { width: 45%; font-weight: 600; color: #6f5f63; }

/* ---------- À propos ---------- */
.intro { position: relative; overflow: hidden; padding: 170px 0 120px; }
.intro__grille {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}
.intro__chapo { max-width: 440px; margin-top: 34px; font-size: 15px; opacity: .92; }
.intro__disque {
  width: min(100%, 520px);
  justify-self: end;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 14px solid var(--blanc);
  transform: rotate(4deg);
}
.intro__disque img { width: 100%; height: 100%; object-fit: cover; }
.recit { background: var(--blanc); color: var(--encre); padding: 120px 0; }
.recit__grille { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.recit__texte { font-size: 15px; font-weight: 500; }
.recit__texte p + p { margin-top: 18px; }
.recit__texte .pilule { margin-top: 34px; }

/* ---------- Contact ---------- */
.contact { padding: 170px 0 120px; position: relative; overflow: hidden; }
.contact__grille { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.coordonnees { margin: 44px 0 0; display: grid; gap: 22px; }
.coordonnee { border-top: 1.5px solid var(--trait); padding-top: 14px; display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.coordonnee__nom { font-size: 11px; opacity: .7; padding-top: 3px; }
.coordonnee__valeur { margin: 0; font-weight: 600; }
.coordonnees a:hover { text-decoration: underline; }
.formulaire {
  background: var(--blanc);
  color: var(--encre);
  border-radius: 3px;
  padding: 44px 40px;
  display: grid;
  gap: 18px;
  box-shadow: 0 50px 80px -40px rgba(20, 0, 5, .6);
  transform: rotate(-1.2deg);
}
.formulaire__titre { font-family: var(--titre); font-weight: 900; text-transform: uppercase; font-size: 44px; line-height: .9; margin-bottom: 6px; }
.formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.champ em { font-style: normal; font-weight: 500; color: #8b7a7e; }
.champ input, .champ select, .champ textarea {
  width: 100%;
  border: 1.5px solid #e2d6d8;
  border-radius: 3px;
  padding: 12px 14px;
  font: 500 14px/1.4 var(--texte);
  color: var(--encre);
  background: #fff;
}
.champ textarea { resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--bordeaux); outline-offset: -1px; border-color: var(--bordeaux); }
.formulaire .pilule { justify-self: start; margin-top: 6px; }

.faq { background: var(--blanc); color: var(--encre); padding: 110px 0 120px; }
.faq__grille { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.faq__item { border-top: 1.5px solid #eadfe1; }
.faq__item:last-child { border-bottom: 1.5px solid #eadfe1; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  font: 500 18px/1 var(--texte);
  transition: transform .2s, background .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--bordeaux); color: var(--blanc); border-color: var(--bordeaux); }
.faq__item p { padding: 0 60px 24px 0; font-size: 14px; color: #4d3f42; }

/* ---------- Pied : newsletter, paiement ---------- */
.pied__lettre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--voile);
}
.pied__lettre-titre { font-family: var(--titre); font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 4.4vw, 64px); line-height: .9; }
.pied__lettre p { opacity: .8; margin-bottom: 16px; }
.lettre { display: flex; gap: 10px; }
.lettre__champ {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--trait);
  background: transparent;
  color: var(--blanc);
  font: 500 14px var(--texte);
}
.lettre__champ::placeholder { color: rgba(255, 255, 255, .6); }
.lettre__champ:focus { outline: none; border-color: var(--blanc); }
.lettre .pilule { min-height: 48px; }
.pied__paiement { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 50px; font-size: 12px; }
.pied__paiement > :first-child { opacity: .75; margin-right: 6px; }
.moyen { border: 1px solid var(--trait); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: 11px; }
.pied__legal { display: flex; gap: 18px; }
.pied__legal a:hover { text-decoration: underline; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blanc);
  color: var(--encre);
  padding: 12px 24px 12px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 20px 40px -10px rgba(20, 0, 5, .45);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), visibility 0s .35s;
}
.toast.est-visible { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.toast__pastille { width: 30px; height: 30px; border-radius: 50%; background: var(--sauge); display: grid; place-items: center; }

/* ---------- Adaptatif phase 3 ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .reassurance__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .annonce { font-size: 11px; }
  .annonce__item + .annonce__item::before { margin: 0 6px; }
  .annonce__item--large { display: none; }
  .hero__grille { padding-top: 150px; }
  .categories { padding: 80px 0; }
  .categories__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; margin-top: 36px; }
  .categorie__nom { font-size: 26px; }
  .collection__tete { gap: 18px; }
  .rangee { padding: 80px 0; }
  .catalogue { padding: 150px 0 80px; }
  .catalogue__tete { flex-direction: column; align-items: flex-start; }
  .catalogue__outils { flex-direction: column; align-items: flex-start; }
  .reassurance__grille { grid-template-columns: 1fr; gap: 20px; }
  .fiche { padding: 140px 0 70px; }
  .fiche__grille { grid-template-columns: 1fr; gap: 30px; }
  .fiche__scene { min-height: 340px; }
  .onglets { margin-top: 60px; }
  .onglets__barre { gap: 18px; overflow-x: auto; }
  .onglets__btn { font-size: 18px; white-space: nowrap; }
  .intro { padding: 150px 0 80px; }
  .intro__grille { grid-template-columns: 1fr; }
  .intro__disque { justify-self: center; width: 82%; }
  .recit { padding: 80px 0; }
  .recit__grille { grid-template-columns: 1fr; gap: 26px; }
  .contact { padding: 150px 0 80px; }
  .contact__grille { grid-template-columns: 1fr; gap: 50px; }
  .coordonnee { grid-template-columns: 1fr; gap: 4px; }
  .formulaire { padding: 30px 22px; transform: none; }
  .formulaire__ligne { grid-template-columns: 1fr; }
  .faq { padding: 80px 0; }
  .faq__grille { grid-template-columns: 1fr; gap: 30px; }
  .faq__item p { padding-right: 0; }
  .pied__lettre { grid-template-columns: 1fr; }
  .lettre { flex-direction: column; }
  .pied__legal { flex-wrap: wrap; }
}

/* ---------- Menu mobile ---------- */
.burger { display: none; background: none; border: 0; padding: 0; width: 24px; height: 22px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
@media (max-width: 860px) {
  .burger { display: flex; }
  .actions { gap: 22px; }
  .actions .action:not(.panier):not(.burger) { display: none; }
  .entete .logo { font-size: 22px; }
  .entete__ligne { gap: 16px; }
  .haut.est-ouvert .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .haut.est-ouvert .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .haut.est-ouvert .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bordeaux);
    color: var(--blanc);
    padding: 10px var(--gouttiere) 30px;
    box-shadow: 0 30px 40px -20px rgba(20, 0, 5, .5);
  }
  .haut.est-ouvert .nav a {
    font-family: var(--titre);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 1;
    padding: 14px 0;
    border-bottom: 1px solid var(--voile);
    text-decoration: none;
  }
  .haut .entete { position: relative; }
  .page-claire .haut.est-ouvert .entete { background: var(--blanc); }
}

/* ---------- Galerie et variantes (fiche produit) ---------- */
.galerie .galerie__vue { display: none; }
.galerie .galerie__vue.est-active { display: block; }
.vignettes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.vignette {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  outline: 1.5px solid #eadfe1;
  outline-offset: 2px;
  background: none;
  transition: outline-color .2s;
}
.vignette { background: #F4E7EA; }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette img[src$=".webp"], .vignette img[src$=".png"] { object-fit: contain; padding: 6px; }
.vignette:hover { outline-color: #b9a7ab; }
.vignette.est-active { outline: 2px solid var(--bordeaux); }

.options { display: grid; gap: 18px; margin: 30px 0 4px; }
.option__titre { font-size: 12px; color: #6f5f63; margin-bottom: 10px; }
.option__titre strong { color: var(--encre); }
.option__valeurs { display: flex; flex-wrap: wrap; gap: 8px; }
.option__valeur {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #ddd0d3;
  background: var(--blanc);
  font: 600 13px/1 var(--texte);
  color: var(--encre);
  transition: border-color .15s, background .15s, color .15s;
}
.option__valeur:hover { border-color: var(--bordeaux); }
.option__valeur.est-actif { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--blanc); }
.option__teinte { width: 14px; height: 14px; border-radius: 50%; background: var(--teinte); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 1.5px rgba(255, 255, 255, .8); }
.fiche__prix { margin-top: 26px; }
.prix__des { font-size: .78em; font-weight: 600; color: #8b7a7e; margin-right: 2px; }

/* ---------- Pages légales ---------- */
.legal { background: var(--blanc); color: var(--encre); padding: 150px 0 110px; }
.legal__titre { font-family: var(--titre); font-weight: 900; text-transform: uppercase; font-size: clamp(42px, 5vw, 72px); line-height: .95; margin-top: 24px; }
.legal__maj { font-size: 12px; color: #8b7a7e; margin-top: 10px; }
.legal__grille { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; margin-top: 50px; align-items: start; }
.legal__nav { position: sticky; top: 30px; display: grid; gap: 10px; font-size: 13px; }
.legal__nav-titre { font-family: var(--titre); font-weight: 800; text-transform: uppercase; font-size: 20px; }
.legal__nav a { color: #6f5f63; }
.legal__nav a:hover { color: var(--bordeaux); }
.legal__texte { max-width: 760px; font-size: 15px; line-height: 1.7; overflow-wrap: break-word; }
.legal__texte h2 { font-family: var(--titre); font-weight: 800; text-transform: uppercase; font-size: 26px; margin: 42px 0 12px; }
.legal__texte p, .legal__texte ul, .legal__texte ol { margin: 0 0 14px; }
.legal__texte a { color: var(--bordeaux); text-decoration: underline; }
.legal__resume, .legal__encadre { background: #F7EFF1; border-left: 4px solid var(--bordeaux); padding: 18px 22px; margin-bottom: 20px; }
.legal__encadre { font-size: 13.5px; }
.legal__tableau { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 13.5px; }
.legal__tableau th, .legal__tableau td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #eadfe1; }
.legal__tableau th { background: #faf6f7; font-weight: 700; }
.a-completer { background: #ffe58a; color: #5a3d00; padding: 0 4px; border-radius: 3px; font-weight: 700; }
@media (max-width: 860px) {
  .legal { padding: 140px 0 70px; }
  .legal__grille { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .legal__nav { position: static; }
  .legal__tableau { display: block; overflow-x: auto; }
}

/* ---------- Recherche ---------- */
.sans-defilement { overflow: hidden; }
.action { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.recherche { position: fixed; inset: 0; z-index: 60; background: rgba(28, 10, 15, .55); display: flex; justify-content: center; align-items: flex-start; padding: 90px var(--gouttiere) 20px; }
.recherche[hidden] { display: none; }
.recherche__boite { width: min(680px, 100%); background: var(--blanc); color: var(--encre); border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(20, 0, 5, .6); overflow: hidden; }
.recherche__barre { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eadfe1; }
.recherche__barre svg { width: 22px; height: 22px; color: var(--bordeaux); flex: none; }
.recherche__champ { flex: 1; min-width: 0; border: 0; font: 600 18px var(--texte); color: var(--encre); outline: none; background: none; }
.recherche__fermer { background: none; border: 0; font-size: 28px; line-height: 1; color: #8b7a7e; cursor: pointer; }
.recherche__resultats { max-height: min(60vh, 520px); overflow-y: auto; }
.recherche__item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 20px; border-bottom: 1px solid #f3ecee; }
.recherche__item:hover { background: #faf6f7; }
.recherche__item img { width: 56px; height: 56px; object-fit: contain; background: #F4E7EA; border-radius: 50%; padding: 4px; }
.recherche__nom { font-weight: 700; font-size: 14px; }
.recherche__prix { font-weight: 700; font-size: 14px; color: var(--bordeaux); }
.recherche__vide { padding: 22px 20px; color: #6f5f63; font-size: 14px; }
.recherche__tout { display: block; padding: 14px 20px; font-weight: 700; font-size: 13px; color: var(--bordeaux); }

/* ---------- Bandeau cookies ---------- */
.cookies { position: fixed; z-index: 70; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); background: var(--blanc); color: var(--encre); padding: 22px 24px; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(20, 0, 5, .55); font-size: 13px; }
.cookies[hidden] { display: none; }
.cookies__titre { font-family: var(--titre); font-weight: 800; text-transform: uppercase; font-size: 22px; margin-bottom: 8px; }
.cookies__texte a { color: var(--bordeaux); text-decoration: underline; }
.cookies__choix { display: grid; gap: 10px; margin-top: 14px; }
.cookies__choix[hidden] { display: none; }
.cookies__ligne { display: flex; gap: 10px; align-items: flex-start; }
.cookies__ligne input { accent-color: var(--bordeaux); margin-top: 2px; }
.cookies__boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookies__boutons .pilule { min-height: 38px; padding: 0 18px; font-size: 12px; }
.cookies__boutons [hidden] { display: none; }

/* ---------- Devis ---------- */
.fiche__devis { margin-top: 18px; font-size: 13px; color: #6f5f63; }
.fiche__devis a { color: var(--bordeaux); font-weight: 700; text-decoration: underline; }
.devis__produits { border: 1.5px solid #e2d6d8; border-radius: 3px; padding: 14px 16px 16px; display: grid; gap: 10px; margin: 0; }
.devis__produits legend { font-size: 12px; font-weight: 700; padding: 0 6px; }
.devis__ligne { display: grid; grid-template-columns: 1fr 90px 36px; gap: 8px; }
.devis__ligne select, .devis__ligne input { border: 1.5px solid #e2d6d8; border-radius: 3px; padding: 10px 12px; font: 500 14px var(--texte); color: var(--encre); background: #fff; min-width: 0; }
.devis__retirer { border: 1.5px solid #e2d6d8; background: #fff; border-radius: 50%; font-size: 18px; color: #8b7a7e; cursor: pointer; }
.devis__ajouter { justify-self: start; background: none; border: 0; color: var(--bordeaux); font: 700 13px var(--texte); cursor: pointer; padding: 4px 0; }
.formulaire__note { font-size: 11px; color: #8b7a7e; }
.formulaire__note a { color: var(--bordeaux); text-decoration: underline; }
.formulaire__merci { background: #eef3ea; color: #3c5530; border-radius: 3px; padding: 12px 14px; font-weight: 600; font-size: 13px; }
.formulaire__merci[hidden] { display: none; }

/* ---------- Carte cadeau ---------- */
.carte-cadeau { position: relative; width: min(88%, 440px); aspect-ratio: 1.586; border-radius: 18px; padding: 28px 30px; background: linear-gradient(135deg, var(--bordeaux) 0%, var(--bordeaux-fonce) 100%); color: var(--blanc); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-8deg); box-shadow: 0 40px 60px -20px rgba(60, 10, 20, .45); overflow: hidden; }
.carte-cadeau::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -20%; top: -30%; background: var(--voile); }
.carte-cadeau__logo { font-family: var(--titre); font-weight: 900; font-size: 22px; display: inline-flex; align-items: flex-start; }
.carte-cadeau__montant { font-family: var(--titre); font-weight: 900; font-size: clamp(56px, 7vw, 92px); line-height: 1; }
.carte-cadeau__mention { font-size: 12px; opacity: .8; letter-spacing: .04em; }
.cadeau-form { display: grid; gap: 16px; margin-top: 26px; }
.cadeau-form .fiche__prix { margin: 4px 0 0; }
.cadeau-form .pilule { justify-self: start; }
.fiche__plus a { color: var(--bordeaux); text-decoration: underline; }
@media (max-width: 860px) {
  .recherche { padding-top: 70px; }
  .devis__ligne { grid-template-columns: 1fr 70px 36px; }
}
.principes__liste p a { text-decoration: underline; text-underline-offset: 3px; }
.devis__ligne[hidden] { display: none; }
.toast.est-erreur .toast__pastille { background: #e8b4bd; font-size: 0; }
.toast.est-erreur .toast__pastille::after { content: "!"; font-size: 14px; }
.est-occupe { opacity: .55; pointer-events: none; }
.legal__texte .pilule { color: var(--blanc); text-decoration: none; margin: 4px 0 14px; }


/* ==========================================================
   COUCHE WORDPRESS
   Ce qui suit n'existe que parce que les blocs natifs n'ont pas
   tout à fait le DOM de la maquette. Le CSS de chaque bloc étant
   imprimé après cette feuille, les surcharges sont plus
   spécifiques, jamais simplement plus tardives.
   ========================================================== */

/* Espacement automatique : coupé à la source (theme.json, blockGap 0px),
   filet de sécurité à spécificité nulle — jamais .wp-block-group > * */
:where(.wp-block-group) > :where(*),
:where(.wp-block-buttons) { margin-block: 0; }
:where(figure.wp-block-image) { margin: 0; }
img { height: auto; }
.wp-site-blocks, .wp-block-template-part { margin: 0; }
.wp-block-post-content > * { margin-block: 0; }

/* ---------- Boutons natifs = pilules de la maquette ----------
   La classe d'un bouton se pose sur le conteneur div.wp-block-button :
   on neutralise le conteneur, on style le lien. */
.wp-block-buttons { gap: 14px; }
.wp-block-button.pilule,
.wp-block-button.pilule:hover {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
}
.wp-block-button.pilule > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 30px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 600 13px/1 var(--texte);
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.wp-block-button.pilule > .wp-block-button__link:hover { background: var(--blanc); color: var(--bordeaux); border-color: var(--blanc); }
.wp-block-button.pilule--blanche > .wp-block-button__link { background: var(--blanc); color: var(--bordeaux); border-color: var(--blanc); }
.wp-block-button.pilule--blanche > .wp-block-button__link:hover { background: transparent; color: var(--blanc); }
.wp-block-button.pilule--pleine > .wp-block-button__link { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--blanc); padding: 0 40px; }
.wp-block-button.pilule--pleine > .wp-block-button__link:hover { background: var(--bordeaux-fonce); border-color: var(--bordeaux-fonce); color: var(--blanc); }
.legal__texte .wp-block-buttons { margin: 0 0 14px; padding-top: 4px; }   /* padding : ne fusionne pas avec la marge du paragraphe précédent */
.legal__texte .wp-block-button.pilule { margin: 0; }
.recit__texte .wp-block-buttons { margin-top: 34px; }
.recit__texte .wp-block-button.pilule { margin-top: 0; }

/* ---------- Images natives ---------- */
.wp-block-image a { display: block; }
.wp-block-image.hero__objet img { width: 100%; height: auto; }
.wp-block-image.intro__disque img,
.wp-block-image.cadeau__disque img,
.wp-block-image.reseau__disque img,
.defile > .wp-block-image img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.defile > .wp-block-image { margin: 0; }

/* ---------- Navigation (bloc core/navigation) ---------- */
.wp-block-navigation.nav {
  gap: 38px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}
.wp-block-navigation.nav .wp-block-navigation__container { gap: 38px; }
.wp-block-navigation.nav .wp-block-navigation-item__content { padding: 0; opacity: .9; text-decoration: none; white-space: nowrap; }
.wp-block-navigation.nav .wp-block-navigation-item__content:hover,
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}
@media (max-width: 1080px) {
  .wp-block-navigation.nav, .wp-block-navigation.nav .wp-block-navigation__container { gap: 22px; }
}
/* le design passe en menu mobile à 860 px, le bloc à 600 px : on aligne */
@media (max-width: 860px) {
  .wp-block-navigation.nav { display: flex; order: 3; margin-left: 0; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .entete__ligne .actions { margin-left: auto; }
  /* le bouton du bloc Navigation prend la place et l'allure du burger de la maquette */
  .wp-block-navigation.nav { margin-left: 6px; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open { width: 24px; height: 22px; padding: 0; position: relative; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open svg { display: none; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open::before,
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open::before { top: 6px; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open::after { top: 14px; }
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--bordeaux) !important;
  color: var(--blanc) !important;
  padding: 26px var(--gouttiere) 30px;
}
.wp-block-navigation.nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 60px; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation-item__content {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--voile);
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1;
  opacity: 1;
}
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; }

/* ---------- Pied de page ---------- */
.pied__lettre-texte .wpcf7 { width: 100%; }

/* ---------- Tableaux (core/table : la classe va sur la figure) ---------- */
.wp-block-table.legal__tableau { width: 100%; margin: 6px 0 18px; overflow-x: visible; font-size: 13.5px; }
.wp-block-table.legal__tableau table { width: 100%; border-collapse: collapse; }
.wp-block-table.legal__tableau th,
.wp-block-table.legal__tableau td { border: 0; border-bottom: 1px solid #eadfe1; padding: 10px 12px; text-align: left; vertical-align: top; }
.wp-block-table.legal__tableau th { background: #faf6f7; font-weight: 700; }
@media (max-width: 860px) {
  .wp-block-table.legal__tableau { display: block; overflow-x: auto; }
}

/* ---------- Questions fréquentes (core/details) ---------- */
.wp-block-details.faq__item > :not(summary) { margin: 0; }

/* ---------- Contact Form 7 ---------- */
.wpcf7-form-control-wrap { display: block; position: relative; min-width: 0; }
.wpcf7-form-control-wrap > input,
.wpcf7-form-control-wrap > select,
.wpcf7-form-control-wrap > textarea { display: block; }
.formulaire input[type="submit"].pilule { justify-self: start; cursor: pointer; -webkit-appearance: none; appearance: none; }
.wpcf7-spinner { position: absolute; visibility: hidden; }
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; position: static; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: #b3261e; }
.wpcf7 form .wpcf7-response-output {
  grid-column: 1 / -1;
  flex-basis: 100%;
  margin: 4px 0 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  background: #eef3ea;
  color: #3c5530;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { background: #fbe9ec; color: var(--bordeaux); }
.lettre { flex-wrap: wrap; }
.lettre > .wpcf7-form-control-wrap { flex: 1; }
.lettre .lettre__champ { width: 100%; }
.lettre input[type="submit"].pilule { cursor: pointer; -webkit-appearance: none; appearance: none; }
.pied .wpcf7-not-valid-tip { color: #ffd2d8; }
.pied .wpcf7 form .wpcf7-response-output { background: var(--voile); color: var(--blanc); }
.devis__ligne > .wpcf7-form-control-wrap select,
.devis__ligne > .wpcf7-form-control-wrap input { width: 100%; }

/* ---------- Pages WooCommerce (panier, commande, compte) ---------- */
.page-boutique { background: var(--blanc); color: var(--encre); padding: 150px 0 110px; min-height: 70vh; }
.page-boutique .wp-block-post-title { margin-bottom: 40px; color: var(--encre); }
.titre-page--encre { color: var(--encre); }
.page-boutique a:not(.wc-block-components-button):not(.button) { color: var(--bordeaux); }
.page-boutique .wc-block-components-button:not(.is-link),
.page-boutique .button,
.page-boutique button[type="submit"] {
  border-radius: 999px;
  background: var(--bordeaux);
  color: var(--blanc);
  font: 600 13px/1 var(--texte);
  letter-spacing: .02em;
  min-height: 48px;
  padding: 0 32px;
  border: 0;
}
.page-boutique .wc-block-components-button:not(.is-link):hover { background: var(--bordeaux-fonce); }
.page-boutique .wc-block-components-title,
.page-boutique .wc-block-cart__totals-title,
.page-boutique h2, .page-boutique h3 { font-family: var(--titre); font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.page-boutique .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 30px; font-weight: 700; }
.page-boutique input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.page-boutique select,
.page-boutique textarea { border: 1.5px solid #e2d6d8; border-radius: 3px; padding: 12px 14px; font: 500 14px/1.4 var(--texte); }

/* ---------- Messages WooCommerce (fiche, boutique) ---------- */
.avis-boutique { position: absolute; z-index: 9; left: 0; right: 0; top: 118px; pointer-events: none; }
.avis-boutique .woocommerce-notices-wrapper:empty { display: none; }
.avis-boutique .woocommerce-message,
.avis-boutique .woocommerce-error,
.avis-boutique .woocommerce-info {
  pointer-events: auto;
  max-width: calc(var(--largeur) - 2 * var(--gouttiere));
  margin: 0 auto;
  list-style: none;
  padding: 14px 20px;
  border-radius: 3px;
  background: var(--blanc);
  color: var(--encre);
  font-weight: 600;
  box-shadow: 0 20px 40px -20px rgba(20, 0, 5, .45);
}
.avis-boutique .woocommerce-error { color: var(--bordeaux); }
.avis-boutique a { color: var(--bordeaux); text-decoration: underline; margin-left: 10px; }
@media (max-width: 860px) {
  .avis-boutique { top: 100px; padding: 0 var(--gouttiere); }
}

/* ---------- Barre d'administration (connecté) ---------- */
.admin-bar .recherche { padding-top: 122px; }
