/* ==========================================================================
   Vinastie — feuille de style partagée du site (vinastie.com)
   Une seule feuille pour l'accueil, les pages « Quel vin avec… », l'index
   et les pages utilitaires. Pas de framework, pas de JS nécessaire.
   ========================================================================== */

/* ---------- 0. Polices auto-hébergées (sous-ensemble latin, licence OFL : voir /fonts/OFL.txt) ----------
   Merriweather : une police variable (graisses 400 à 900) + l'italique 700 (arche des visuels).
   Inter : une police variable (graisses 400 à 700). Fichiers fournis tels quels par Google Fonts. */
@font-face {
  font-family: 'Merriweather'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/merriweather-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Merriweather'; font-style: italic; font-weight: 700; font-display: swap;
  src: url(/fonts/merriweather-italic-700-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
}

/* ---------- 1. Jetons ---------- */
:root {
  --bordeaux: #520024;
  --rubis: #990033;
  --lie: #3A0019;            /* pied de page */
  --beige: #F7F7D0;
  --or: #D4AF37;
  --or-fonce: #5C3A00;       /* texte « or » lisible sur blanc */
  --fond: #FAF9F6;
  --blanc: #FFFFFF;
  --texte: #2F2F2F;
  --texte-2: #3D3A38;
  --gris: #5E5A55;           /* texte secondaire (AA sur fond et blanc) */
  --filet: #E7E1D6;
  --sable: #F3EEE6;          /* bloc « À éviter » */
  --encre: #1E1A1C;          /* boutons stores */

  --mode-cave: #520024;
  --mode-magasin: #2E7D6B;
  --mode-surplace: #B7791F;

  /* pastilles « type de vin » (toujours accompagnées d'un libellé) */
  --t-effervescent: #F1E9C6;
  --t-blanc: #E6D27A;
  --t-moelleux: #C8901E;
  --t-rose: #E59AA0;
  --t-rouge: #8E1B3A;
  --t-doux: #4B0F24;

  --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --largeur: 1160px;
  --gouttiere: 32px;
  --rayon: 20px;
  --ombre: 0 18px 40px rgba(58, 0, 25, .14);
  --trame: radial-gradient(rgba(212, 175, 55, .22) 1px, transparent 1.6px);
  --liseré: linear-gradient(90deg, var(--or), var(--beige) 50%, var(--or));
  --hachures: repeating-linear-gradient(45deg, #F3EDE4 0 12px, #EADFCF 12px 24px);
  --etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2 8 8 2-8 2-2 8-2-8-8-2 8-2z'/%3E%3C/svg%3E");
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rubis); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--bordeaux); margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
strong { font-weight: 700; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--bordeaux); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.lien-evitement:focus { top: 12px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.conteneur--etroit { max-width: 880px; }

/* Ornement étoile : décor festif, masqué par défaut.
   Affiché dans un bandeau festif (.bandeau--fetes), sur une page <body class="theme-fetes"> et dans la section .fetes de l'accueil. */
.etoile {
  display: none; flex-shrink: 0; width: 1em; height: 1em;
  background: var(--or);
  -webkit-mask: var(--etoile) center / contain no-repeat;
          mask: var(--etoile) center / contain no-repeat;
}
.theme-fetes .etoile, .bandeau--fetes .etoile, .fetes .etoile { display: inline-block; }
.trait-rubis { display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--rubis); }
.separateur { display: none; align-items: center; gap: 12px; width: 220px; }
.bandeau--fetes .separateur { display: flex; }
.separateur::before, .separateur::after { content: ""; flex: 1; height: 1px; background: var(--or); }
.separateur .etoile { font-size: 14px; }

/* ---------- 3. En-tête ---------- */
.entete { background: var(--fond); border-bottom: 1px solid var(--filet); }
.entete .conteneur { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--bordeaux); }
.marque img { width: 40px; height: 40px; border-radius: 10px; }
.marque span { font-family: var(--serif); font-weight: 900; font-size: 22px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--texte); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.nav a:hover { color: var(--bordeaux); }
.nav a[aria-current="page"] { color: var(--bordeaux); font-weight: 600; }
.nav a.btn { margin-left: 8px; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--bordeaux); color: #fff !important; font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn:hover { background: var(--rubis); }
.btn--contour { background: transparent; border: 1.5px solid currentColor; color: var(--bordeaux) !important; }
.btn--contour:hover { background: rgba(82, 0, 36, .06); }
.btn--clair { color: var(--beige) !important; }
.btn--clair:hover { background: rgba(247, 247, 208, .1); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px;
  background: var(--encre); color: #fff; border-radius: 14px; text-decoration: none; text-align: left;
}
.store:hover { color: #fff; background: #000; }
.store svg { width: 22px; height: 22px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; opacity: .85; }
.store b { font-size: 18px; font-weight: 600; }

/* ---------- 5. Pied de page ---------- */
.pied { background: var(--lie); color: #F3EDE4; margin-top: 80px; }
.pied .conteneur { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pied .marque { color: #fff; }
.pied-accroche { margin-top: 12px; font-size: 15px; opacity: .85; }
.pied nav { display: flex; flex-direction: column; }
.pied nav a, .pied-stores a { color: #F3EDE4; min-height: 44px; display: flex; align-items: center; font-size: 16px; }
.pied nav a:hover { color: #fff; }
.pied-stores { display: flex; flex-direction: column; gap: 10px; }
.pied-stores a {
  padding: 0 18px; border: 1px solid rgba(243, 237, 228, .4); border-radius: 12px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
}
.pied-stores a:hover { border-color: #fff; }
.sanitaire {
  padding: 16px 0; border-top: 1px solid rgba(243, 237, 228, .2); border-bottom: 1px solid rgba(243, 237, 228, .2);
  font-size: 16px; font-weight: 600; color: var(--beige);
}
.copyright { font-size: 14px; opacity: .75; }

/* ---------- 6. Bandeau (pages d'accord et index) ----------
   .bandeau seul = bandeau sobre (bordeaux uni). La variante .bandeau--fetes ajoute le décor festif :
   trame de points or, liseré or, étoiles, séparateur et surtitre doré. */
.bandeau { position: relative; overflow: hidden; color: #fff; background-color: var(--bordeaux); }
.bandeau--fetes { background-image: var(--trame); background-size: 22px 22px; }
.bandeau--fetes::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--liseré); }
.bandeau-int { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 112px; }
.bandeau--index .bandeau-int { padding-top: 56px; padding-bottom: 64px; }
.bandeau-texte { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.bandeau h1 { color: #fff; font-weight: 900; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; letter-spacing: -.015em; }
.bandeau--index h1 { font-size: clamp(32px, 5.4vw, 60px); }
.bandeau-intro { font-size: 20px; max-width: 32em; opacity: .94; }
.surtitre {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--beige);
}
.bandeau--fetes .surtitre, .fetes .surtitre { color: var(--or); }
.surtitre .etoile { font-size: 16px; }
.fil ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.fil a { color: var(--beige); }
.fil li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.fil [aria-current] { opacity: .9; }

/* Visuel en arche : décor seul tant que l'image n'existe pas. Masqué sur mobile (< 760 px). */
.visuel { margin: 0; flex: 0 1 430px; position: relative; }
.bandeau--index .visuel { flex-basis: 400px; }
.visuel-cadre { padding: 8px; border: 1px solid rgba(247, 247, 208, .35); border-radius: 230px 230px 30px 30px; }
.bandeau--fetes .visuel-cadre { border-color: rgba(212, 175, 55, .7); }
.visuel-fond {
  position: relative; overflow: hidden; aspect-ratio: 5 / 4;
  border-radius: 222px 222px 22px 22px;
  background: radial-gradient(circle at 50% 38%, #FFFDF6 0, #F3EDE4 62%, #EADFCF 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 48px 28px 24px; text-align: center; color: var(--bordeaux);
}
.bandeau--index .visuel-fond { aspect-ratio: 4 / 5; }
.visuel-fond .etoile { font-size: 34px; }
.visuel-nom { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 30px; line-height: 1.2; }
.visuel-fond img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visuel-deco { position: absolute; }
.visuel-deco--1 { left: -26px; top: 40px; font-size: 22px; }
.visuel-deco--2 { right: -18px; top: 8px; font-size: 14px; background: var(--beige); opacity: .8; }
.visuel-deco--3 { right: -24px; bottom: 70px; font-size: 18px; }

/* ---------- 7. Page d'accord ---------- */
.accord { position: relative; margin-top: -80px; display: flex; flex-direction: column; gap: 56px; }
.en-bref {
  max-width: 760px; background: var(--blanc); border-radius: 24px; border-top: 4px solid var(--bordeaux);
  padding: 36px 40px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 14px;
}
.theme-fetes .en-bref { border-top-color: var(--or); }
.en-bref-titre { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rubis); }
.en-bref-titre::before { content: ""; width: 32px; height: 5px; border-radius: 3px; background: var(--rubis); }
.reponse { font-family: var(--serif); font-size: 21px; line-height: 1.65; }

.section { display: flex; flex-direction: column; gap: 24px; }
.section > h2 { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 30px; }
.section > h2 .etoile { font-size: 20px; }
.section > h2 .icone { width: 28px; height: 28px; flex-shrink: 0; }

.choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.choix > .carte:first-child,
.choix > .carte:nth-child(even):last-child { grid-column: 1 / -1; }
.choix--guide > .carte:first-child { grid-column: auto; }
.choix--guide > .carte:nth-child(even):last-child { grid-column: auto; }
.choix--guide > .carte:nth-child(odd):last-child { grid-column: 1 / -1; }
.carte {
  background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.carte--sure { border: 2px solid var(--bordeaux); padding: 32px; gap: 16px; }
.carte-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.carte-tete > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.badge { background: var(--bordeaux); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.type { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--texte); }
.pastilles { display: inline-flex; }
.pastille { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }
.pastille + .pastille { margin-left: -4px; }
.p-effervescent { background: var(--t-effervescent); }
.p-blanc { background: var(--t-blanc); }
.p-moelleux { background: var(--t-moelleux); }
.p-rose { background: var(--t-rose); }
.p-rouge { background: var(--t-rouge); }
.p-doux { background: var(--t-doux); }
.temp {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--beige); color: var(--bordeaux); font-weight: 700; font-size: 15px;
  padding: 5px 12px; border-radius: 999px;
}
.temp svg { width: 16px; height: 16px; }
.carte h3 { font-size: 19px; line-height: 1.4; color: var(--texte); }
.carte--sure h3 { font-size: 22px; line-height: 1.35; }
.carte h3 .suite { font-weight: 400; color: var(--gris); }
.appellations { font-family: var(--serif); font-weight: 900; font-size: 20px; line-height: 1.4; color: var(--bordeaux); }
.carte--sure .appellations { font-size: 26px; line-height: 1.35; }
.carte p:not([class]) { max-width: 70ch; }
.service { font-size: 15px; color: var(--gris); }

.a-eviter { max-width: 860px; padding: 24px 28px; background: var(--sable); border-radius: 16px; font-size: 18px; }

/* Encart app */
.encart-app {
  background: var(--beige); border-radius: 24px; padding: 36px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.encart-texte { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.encart-app h2 { font-weight: 900; font-size: 26px; line-height: 1.3; }
.encart-app p { color: var(--texte-2); }
.encart-app .store { min-height: 52px; padding: 0 20px; }
.encart-app .store b { font-size: 16px; }
.encart-demo { flex: 0 1 320px; display: flex; flex-direction: column; gap: 10px; }
.saisie {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--blanc); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 6px 18px rgba(82, 0, 36, .12); font-size: 15px;
}
.saisie-bouton { width: 40px; height: 40px; border-radius: 50%; background: var(--bordeaux); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.saisie-bouton svg { width: 18px; height: 18px; }
.modes-puces { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 12px; font-size: 13px; font-weight: 600; }
.modes-puces span { padding: 3px 10px; border-radius: 999px; background: var(--blanc); border: 1px solid; }
.modes-puces .m-cave { background: var(--mode-cave); border-color: var(--mode-cave); color: #fff; }
.modes-puces .m-magasin { color: var(--mode-magasin); }
.modes-puces .m-surplace { color: #8A5A12; border-color: var(--mode-surplace); }

/* Vignettes (index + « Autres idées ») : affichées seulement quand elles contiennent une <img> */
.vignette {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 45%, #FFFDF6 0, #F3EDE4 60%, #EADFCF 100%);
}
.vignette:not(:has(img)) { display: none; }
.vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.grille-liens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.grille-liens--autres { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grille-liens--guides { grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); }
.grille-liens li { display: flex; }
.lien-carte {
  flex: 1; display: flex; flex-direction: column; overflow: hidden;
  background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon);
  text-decoration: none; color: var(--texte); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lien-carte:hover { color: var(--texte); border-color: var(--or); box-shadow: 0 10px 24px rgba(58, 0, 25, .1); transform: translateY(-2px); }
.lien-carte--guide { background: var(--beige); }
.lien-carte--guide .vignette { aspect-ratio: 16 / 7; }
.lien-carte-corps { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.lien-carte-corps > span { display: flex; flex-direction: column; gap: 4px; }
.lien-carte-nom { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--bordeaux); }
.lien-carte--guide .lien-carte-nom { font-size: 24px; }
.lien-carte-q { font-size: 14px; line-height: 1.45; color: var(--gris); }
.fleche { color: var(--rubis); font-size: 20px; }

/* ---------- 8. Index des accords ---------- */
.moments ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.moments a {
  display: flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: rgba(250, 249, 246, .12); border: 1px solid rgba(247, 247, 208, .5);
  color: var(--beige); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.moments a:hover { background: rgba(250, 249, 246, .22); color: #fff; }
.rubrique { padding-top: 64px; display: flex; flex-direction: column; gap: 40px; scroll-margin-top: 24px; }
.rubrique-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.rubrique-tete .etoile { font-size: 24px; }
.rubrique-tete h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 38px); }
.rubrique-tete p { flex-basis: 100%; font-size: 19px; color: var(--texte-2); }
.rubrique + .encart-app { margin-top: 72px; }
.groupes { display: flex; flex-direction: column; gap: 56px; }
.groupe { display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 24px; }
.groupe-tete { display: flex; align-items: center; gap: 14px; }
.groupe-tete .etoile { font-size: 20px; }
.groupe-tete h3 { font-weight: 900; font-size: 24px; }
.groupe-tete::after { content: ""; flex: 1; height: 1px; background: var(--filet); order: 3; }
.groupe-compte { order: 4; font-size: 15px; color: var(--gris); }
.rubrique-tete .groupe-compte { order: 0; }

/* ---------- 9. Accueil ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-texte { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 900; font-size: clamp(31px, 4.6vw, 54px); line-height: 1.12; letter-spacing: -.015em; }
.hero-intro { font-size: 20px; line-height: 1.55; color: var(--texte-2); max-width: 34em; }
.hero-intro strong { color: var(--bordeaux); }
.hero .stores { padding-top: 8px; }
.note { font-size: 15px; color: var(--gris); }

.demo { flex: 0 1 340px; display: flex; justify-content: center; position: relative; }
.demo::before { content: ""; position: absolute; inset: 60px -40px -40px -40px; background: var(--bordeaux); border-radius: 200px 200px 32px 32px; }
.telephone {
  position: relative; width: 300px; height: 610px; border-radius: 44px; border: 10px solid var(--encre);
  background: var(--fond); overflow: hidden; box-shadow: 0 30px 60px rgba(40, 0, 18, .28);
}
.tel-tete { background: var(--bordeaux); color: #fff; padding: 44px 22px 40px; }
.tel-tete b { display: block; font-family: var(--serif); font-size: 24px; }
.tel-tete span { display: block; font-size: 13px; line-height: 1.45; opacity: .9; margin-top: 6px; }
.tel-corps { background: var(--fond); margin-top: -18px; border-radius: 20px 20px 0 0; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.tel-corps .saisie { padding: 6px 6px 6px 16px; font-size: 13px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.tel-corps .saisie-bouton { width: 34px; height: 34px; }
.tel-mode { font-size: 12px; color: var(--gris); }
.tel-mode b { color: var(--mode-magasin); }
.tel-carte { background: var(--blanc); border: 1px solid var(--filet); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.tel-carte small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mode-magasin); }
.tel-carte b { font-family: var(--serif); font-size: 15px; color: var(--bordeaux); line-height: 1.35; }
.tel-carte span { font-size: 13px; font-weight: 600; }
.tel-carte i { align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 700; background: var(--beige); color: var(--bordeaux); padding: 3px 10px; border-radius: 999px; }
.tel-carte--pale { opacity: .7; }
.tel-carte--pale em { display: block; height: 8px; border-radius: 4px; background: #EEE8DD; }

.bloc { padding-top: 88px; padding-bottom: 88px; }
.bloc--blanc { background: var(--blanc); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.bloc-tete { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 48px; }
.bloc-tete h2 { font-weight: 900; font-size: clamp(25px, 3.4vw, 38px); line-height: 1.2; }
.bloc-tete p { font-size: 19px; color: var(--texte-2); }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.mode { background: var(--fond); border-radius: var(--rayon); padding: 32px; display: flex; gap: 16px; align-items: flex-start; border-top: 6px solid var(--c); }
.mode-icone { width: 52px; height: 52px; border-radius: 50%; background: var(--c); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mode-icone svg { width: 24px; height: 24px; }
.mode > div { display: flex; flex-direction: column; gap: 4px; }
.mode h3 { font-size: 22px; }
.mode-lieu { font-size: 15px; color: var(--gris); margin-bottom: 8px; }

.fetes { background-color: var(--bordeaux); background-image: var(--trame); background-size: 22px 22px; color: #fff; position: relative; }
.fetes::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--liseré); }
.fetes-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.fetes-tete > div { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.fetes h2 { color: #fff; font-weight: 900; font-size: clamp(25px, 3.4vw, 38px); line-height: 1.2; }
.fetes-tete p { font-size: 19px; opacity: .92; }
.tuiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.tuiles a {
  height: 100%; min-height: 120px; display: flex; flex-direction: column; gap: 6px; padding: 24px;
  background: var(--fond); border-radius: 16px; text-decoration: none; color: var(--texte); transition: transform .15s;
}
.tuiles a:hover { transform: translateY(-2px); color: var(--texte); }
.tuiles a b { font-family: var(--serif); font-size: 21px; color: var(--bordeaux); }
.tuiles a span { font-size: 15px; color: var(--gris); }
.tuiles .tuile--guide a { background: var(--beige); }
.tuiles .tuile--guide a span { color: var(--texte-2); }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px; }
.panneau { background: var(--blanc); border: 1px solid var(--filet); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.panneau .trait-rubis { width: 48px; }
.panneau h2 { font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); }
.panneau p, .panneau li { font-size: 18px; }
.panneau ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.panneau li { display: flex; gap: 14px; align-items: flex-start; }
.panneau li svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 3px; }

.cta { padding-top: 96px; padding-bottom: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta h2 { font-weight: 900; font-size: clamp(25px, 3.4vw, 38px); max-width: 18em; }
.cta p { font-size: 19px; color: var(--texte-2); }
.cta .stores { justify-content: center; padding-top: 8px; }
.cta .note { font-size: 16px; max-width: 34em; }

/* ---------- 10. Pages utilitaires (CGU, suppression de compte, 404) ---------- */
.page-simple { padding-top: 56px; }
.page-simple > .conteneur { max-width: 880px; }
.page-tete { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.page-tete h1 { font-weight: 900; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; }
.page-tete p { font-size: 19px; color: var(--texte-2); }
.prose { font-size: 17px; }
.prose h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 0 0 20px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; color: var(--texte); }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--filet); }
.prose th { background: var(--sable); font-weight: 600; }
.table-container { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--filet); border-radius: 12px; background: var(--blanc); }
.contact-info { background: var(--blanc); border: 1px solid var(--filet); border-radius: 16px; padding: 20px 24px; margin: 0 0 18px; }
.contact-info p:last-child, .contact-info ul:last-child { margin-bottom: 0; }

.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.onglets button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: 600 15px var(--sans); color: var(--bordeaux); background: var(--blanc); border: 1.5px solid var(--filet);
}
.onglets button:hover { border-color: var(--bordeaux); }
.onglets button.active { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.onglets { display: none; }
.js .onglets { display: flex; }
.js .content-section { display: none; }
.js .content-section.active { display: block; }
.content-section + .content-section { margin-top: 56px; }
.js .content-section + .content-section { margin-top: 0; }

.encadre { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 32px; margin-bottom: 24px; }
.encadre h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 14px; }
.encadre h2 svg { width: 26px; height: 26px; flex-shrink: 0; }
.encadre p + p, .encadre ol + p { margin-top: 14px; }
.encadre--alerte { background: var(--sable); border-color: transparent; }
.etapes { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: etape; display: flex; flex-direction: column; gap: 14px; }
.etapes li { counter-increment: etape; display: flex; gap: 14px; align-items: flex-start; }
.etapes li::before {
  content: counter(etape); flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bordeaux); color: #fff; font-weight: 700; font-size: 15px;
}

.page-404 { padding-top: 96px; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.page-404 .code { font-family: var(--serif); font-weight: 900; font-size: 96px; line-height: 1; color: var(--bordeaux); }
.page-404 h1 { font-size: 28px; }
.page-404 p { font-size: 18px; color: var(--texte-2); max-width: 30em; }
.page-404 .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }

/* ---------- 11. Mobile ---------- */
@media (max-width: 760px) {
  :root { --gouttiere: 16px; }
  .entete .conteneur { height: 60px; gap: 8px; }
  .marque img { width: 34px; height: 34px; border-radius: 8px; }
  .marque span { font-size: 19px; }
  .nav .nav-accueil, .nav .long { display: none; }
  .nav a { padding: 0 10px; font-size: 15px; }
  .nav a.btn { margin-left: 2px; padding: 0 14px; }

  .bandeau-int { gap: 0; padding-top: 20px; padding-bottom: 72px; }
  .bandeau-texte { gap: 14px; }
  .bandeau--index .bandeau-int { padding-top: 24px; padding-bottom: 28px; }
  .bandeau-intro { font-size: 16px; }
  .surtitre { font-size: 13px; }
  .visuel { display: none; }  /* pas d'image dans le bandeau sur mobile */
  .moments { margin: 4px calc(-1 * var(--gouttiere)) 0; overflow-x: auto; }
  .moments ul { flex-wrap: nowrap; padding: 0 var(--gouttiere); width: max-content; }

  .accord { margin-top: -48px; gap: 40px; }
  .en-bref { padding: 22px 20px; border-radius: 20px; }
  .reponse { font-size: 17px; }
  .section { gap: 16px; }
  .section > h2 { font-size: 24px; }
  .carte, .carte--sure { padding: 20px; gap: 12px; border-radius: 18px; }
  .carte h3, .carte--sure h3 { font-size: 18px; }
  .carte--sure .appellations { font-size: 20px; }
  .appellations { font-size: 19px; }
  .carte p:not([class]) { font-size: 16px; }
  .a-eviter { padding: 18px 20px; font-size: 16px; }
  .encart-app { padding: 24px 20px; border-radius: 20px; gap: 16px; }
  .encart-app h2 { font-size: 22px; }
  .encart-app { flex-direction: column; align-items: stretch; }
  .encart-texte { display: contents; }
  .encart-app h2 { order: -2; }
  .encart-demo { order: -1; flex-basis: auto; }
  .encart-app .stores, .cta .stores, .hero .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .store { justify-content: center; min-height: 52px; padding: 0 10px; border-radius: 12px; gap: 8px; }
  .store small { display: none; }
  .store b, .encart-app .store b { font-size: 15px; }
  .store svg { width: 18px; height: 18px; }

  .grille-liens, .grille-liens--autres, .grille-liens--guides { grid-template-columns: 1fr; gap: 8px; }
  .lien-carte { flex-direction: row; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border-radius: 16px; min-height: 72px; }
  .lien-carte .vignette, .lien-carte--guide .vignette { width: 64px; height: 64px; flex-shrink: 0; aspect-ratio: 1; border-radius: 12px; }
  .lien-carte:not(:has(.vignette img)) { padding-left: 16px; }
  .lien-carte-corps { padding: 0; }
  .lien-carte-nom, .lien-carte--guide .lien-carte-nom { font-size: 16px; }
  .lien-carte-q { display: none; }
  .rubrique { padding-top: 32px; gap: 24px; }
  .rubrique-tete h2 { font-size: 24px; }
  .rubrique-tete p { font-size: 16px; }
  .rubrique + .encart-app { margin-top: 48px; }
  .groupes { gap: 36px; }
  .groupe { gap: 12px; }
  .groupe-tete h3 { font-size: 20px; }
  .groupe-tete::after, .groupe-compte { display: none; }

  .hero { padding-top: 36px; padding-bottom: 0; gap: 28px; }
  .hero-intro { font-size: 17px; }
  .demo { flex-basis: 100%; margin: 0 calc(-1 * var(--gouttiere)); }
  .demo::before { inset: 80px 0 0 0; border-radius: 120px 120px 0 0; }
  .telephone { width: 280px; height: 470px; border-radius: 38px 38px 0 0; border-bottom: 0; box-shadow: none; }
  .bloc { padding-top: 44px; padding-bottom: 44px; }
  .bloc-tete { margin-bottom: 20px; }
  .bloc-tete p, .fetes-tete p { font-size: 16px; }
  .modes { gap: 12px; }
  .mode { padding: 18px; border-top: 0; }
  .mode-icone { width: 44px; height: 44px; }
  .mode h3 { font-size: 18px; }
  .mode-lieu { margin-bottom: 2px; }
  .mode p:not([class]) { font-size: 16px; }
  .fetes-tete { margin-bottom: 20px; }
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tuiles a { min-height: 64px; padding: 14px; justify-content: center; }
  .tuiles a b { font-size: 16px; }
  .tuiles a span { display: none; }
  .duo { gap: 16px; }
  .panneau { padding: 24px 20px; border-radius: 20px; }
  .panneau p, .panneau li { font-size: 16px; }
  .cta { padding-top: 48px; }
  .pied { margin-top: 48px; }
  .pied .conteneur { padding-top: 36px; gap: 22px; }
  .pied-haut { flex-direction: column; gap: 8px; }
  .pied-stores { flex-direction: row; }
  .pied-stores a { flex: 1; justify-content: center; }
  .page-simple { padding-top: 32px; }
  .encadre { padding: 22px 20px; }
  .page-404 { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lien-carte, .tuiles a { transition: none; }
  .lien-carte:hover, .tuiles a:hover { transform: none; }
}
.encadre .btn { margin-top: 16px; }
