/* Site vitrine La Ruche. Une seule page, thème sombre, un seul accent (miel).
   Règles tenues partout : pas d'animation à l'apparition, pas de carte quand un filet suffit, rayons 14 px (boutons) et 20 px (images, barre, panneaux).
   Surfaces en verre (reflet clair en haut, ombre en bas) pour la barre, les boutons et le bloc Prix ; couleurs inchangées. */

@font-face { font-family: 'Geist'; src: url('fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --fond: #0c0b0a;
  --fond-2: #151412;
  --encre: #f2ede5;
  --doux: #aaa398;
  --discret: #8c857a;
  --filet: rgba(242, 237, 229, 0.12);
  --filet-fort: rgba(242, 237, 229, 0.22);
  --miel: #f4b73b;
  --miel-encre: #17130c;
  --large: 1200px;
  --marge: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font: 400 17px/1.6 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--miel); outline-offset: 3px; border-radius: 4px; }

.page { width: 100%; max-width: calc(var(--large) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }

/* Boutons : verre liquide. Le bouton plein est une goutte de miel (reflet en haut, ombre chaude en bas), le bouton au trait est une plaque de verre. */
.bouton {
  position: relative; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font: 600 16px/1 'Geist', system-ui, sans-serif; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: filter 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}
.bouton:active { transform: translateY(1px); }
.bouton.plein {
  color: var(--miel-encre);
  background: linear-gradient(180deg, #ffe08a 0%, #f7c046 38%, #eba51f 72%, #d98a0b 100%);
  border-color: rgba(255, 226, 150, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -3px 8px rgba(122, 62, 0, 0.35), 0 14px 26px -16px rgba(244, 183, 59, 0.75);
}
.bouton.plein::before {
  content: ''; position: absolute; inset: 2px 3px auto 3px; height: 46%; pointer-events: none;
  border-radius: 11px 11px 40% 40% / 11px 11px 60% 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}
.bouton.plein:hover { filter: brightness(1.06) saturate(1.05); }
.bouton.trait {
  color: var(--encre); border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
}
.bouton.trait:hover { border-color: rgba(255, 255, 255, 0.34); }
.bouton.petit { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 11px; }
.bouton.petit.plein::before { border-radius: 8px 8px 40% 40% / 8px 8px 60% 60%; }

/* Le miel qui coule du haut de la page (accueil) : la meme image deux fois, la seconde en miroir. */
html, body { overflow-x: clip; }
.miel { position: absolute; top: 0; left: 50%; z-index: 1; display: flex; width: max(108vw, 960px); transform: translateX(-50%); pointer-events: none; user-select: none; }
.miel img { width: 50%; height: auto; }
.miel img + img { transform: scaleX(-1); }

/* En-tête : une barre de verre qui flotte, et qui laisse voir le miel au travers */
.entete {
  position: sticky; top: 12px; z-index: 30; display: flex; align-items: center; gap: 36px; height: 62px;
  width: calc(100% - 2 * var(--marge)); max-width: var(--large); margin: 12px auto 0; padding: 0 11px 0 20px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(34, 31, 27, 0.6), rgba(16, 15, 13, 0.48));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.marque { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.04em; }
.marque img { width: 23px; height: auto; }
.entete nav { display: flex; gap: 30px; margin-left: auto; }
.entete nav a { color: var(--doux); text-decoration: none; font-size: 15px; }
.entete nav a:hover { color: var(--encre); }

/* Accueil */
/* Le titre commence sous les gouttes : hauteur du miel (22,15 % de la largeur, 197 px au moins) moins la barre d'en-tete. */
.accueil { padding-top: calc(max(22.15vw, 197px) - 44px); }
.accueil h1 {
  max-width: 17em; font-weight: 650; font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance;
}
.accueil p { max-width: 34em; margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--doux); }
.accueil .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.ecran { margin-top: clamp(40px, 6vw, 72px); }
.ecran img, .vue img { width: 100%; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; background: var(--fond-2); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9); }
figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--discret); max-width: 46em; }

/* Blocs */
section.page { margin-top: clamp(96px, 13vw, 176px); }
h2 { font-weight: 640; font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }
.texte { max-width: 34em; margin-top: 20px; color: var(--doux); font-size: 1.08rem; }
.texte + .texte { margin-top: 14px; }

/* Nos chiffres : un paragraphe, pas une rangée de compteurs */
.preuve p.gros {
  max-width: 25em; font-weight: 500; font-size: clamp(1.5rem, 3.1vw, 2.5rem); line-height: 1.22; letter-spacing: -0.03em; color: var(--encre); text-wrap: pretty;
}
.preuve b { font-weight: 640; color: var(--miel); font-variant-numeric: tabular-nums; white-space: nowrap; }
.preuve .note { margin-top: 26px; max-width: 40em; font-size: 14.5px; color: var(--discret); }

/* Une journée */
.horaires { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 52px; border-top: 1px solid var(--filet-fort); }
.horaires li { position: relative; padding: 22px 18px 0 0; }
.horaires li::before { content: ''; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--miel); }
.horaires time { display: block; font: 500 14px/1 'Geist Mono', ui-monospace, monospace; color: var(--miel); letter-spacing: 0.02em; }
.horaires span { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.4; color: var(--encre); }
.vue { margin-top: 56px; }

/* Toi */
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 52px; }
.duo .vue { margin-top: 0; }
.points li { padding: 20px 0; border-top: 1px solid var(--filet); }
.points li:last-child { border-bottom: 1px solid var(--filet); }
.points h3 { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; }
.points p { margin-top: 6px; color: var(--doux); font-size: 0.98rem; line-height: 1.5; }
.telephone { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.telephone img { width: min(100%, 264px); margin: 0 auto; border: 1px solid var(--filet-fort); border-radius: 30px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9); }
.telephone h3 { font-weight: 640; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.12; letter-spacing: -0.035em; }

/* Avant de commencer */
.besoin { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.besoin dl > div { padding: 22px 0; border-top: 1px solid var(--filet); }
.besoin dt { font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em; }
.besoin dd { margin-top: 6px; color: var(--doux); }

/* Prix */
.prix .cadre {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); margin-top: 48px; padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 24px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(244, 183, 59, 0.13), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.tarif { font-weight: 650; font-size: clamp(3.4rem, 8vw, 6rem); line-height: 0.95; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.tarif small { font-weight: 500; font-size: 0.24em; letter-spacing: -0.01em; color: var(--doux); margin-left: 0.4em; }
.prix .cadre p { margin-top: 18px; color: var(--doux); max-width: 26em; }
.prix .bouton { margin-top: 30px; }
.inclus h3 { font-weight: 600; font-size: 0.98rem; color: var(--doux); }
.inclus ul { margin: 12px 0 30px; }
.inclus ul:last-child { margin-bottom: 0; }
.inclus li { padding: 11px 0; border-top: 1px solid var(--filet); }

/* Questions */
.questions .liste { max-width: 780px; margin-top: 40px; border-bottom: 1px solid var(--filet); }
details { border-top: 1px solid var(--filet); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 550; font-size: 1.1rem; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--doux); }
details[open] summary::after { content: '\2212'; }
details p { padding: 0 48px 24px 0; color: var(--doux); max-width: 44em; }

/* Pied */
.pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: clamp(96px, 13vw, 176px); padding: 30px 0 44px; border-top: 1px solid var(--filet); font-size: 14.5px; color: var(--discret); }
.pied .marque { font-size: 18px; color: var(--encre); }
.pied .marque img { width: 19px; }
.pied a { color: var(--doux); text-decoration: none; }
.pied a:hover { color: var(--encre); }
.pied .fin { margin-left: auto; }

/* Page de bienvenue (après le paiement) et page introuvable */
.bienvenue { padding-top: clamp(36px, 6vw, 84px); padding-bottom: clamp(48px, 8vw, 96px); }
.bienvenue h1 { max-width: 20em; font-weight: 650; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
.bienvenue .texte a { color: var(--encre); }
.bienvenue .bloc { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--filet); }
.bienvenue .bloc h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cle { margin-top: 18px; font: 500 clamp(1.05rem, 2.6vw, 1.6rem)/1.3 'Geist Mono', ui-monospace, monospace; letter-spacing: 0.02em; color: var(--miel); overflow-wrap: anywhere; user-select: all; }
.pas { max-width: 44em; margin: 22px 0 0; padding-left: 1.3em; }
.pas li { padding: 10px 0 10px 6px; }
.pas li::marker { color: var(--discret); font-variant-numeric: tabular-nums; }
.commande { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 14px 14px 18px; background: var(--fond-2); border: 1px solid var(--filet-fort); border-radius: 10px; }
.commande code { flex: 1; min-width: 0; font: 500 15px/1.5 'Geist Mono', ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
.bienvenue .note { margin-top: 22px; max-width: 46em; font-size: 14.5px; color: var(--discret); }
#retrouver { max-width: 640px; margin-top: 28px; }
#retrouver label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.98rem; color: var(--doux); }
#retrouver .ligne { display: flex; flex-wrap: wrap; gap: 12px; }
#retrouver input { flex: 1 1 300px; height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--filet-fort); background: var(--fond-2); color: var(--encre); font: 500 16px/1 'Geist Mono', ui-monospace, monospace; }
#retrouver input::placeholder { color: var(--discret); }
#retrouver .erreur { margin-top: 12px; color: #ff9b8a; font-size: 14.5px; }
[hidden] { display: none !important; }

/* Pages légales : une colonne de texte, des filets, rien d'autre */
.legal { padding-top: clamp(36px, 6vw, 84px); padding-bottom: clamp(48px, 8vw, 96px); }
.legal > * { max-width: 46rem; }
.legal h1 { font-weight: 650; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
.legal .date { margin-top: 14px; font-size: 14.5px; color: var(--discret); }
.legal h2 { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--filet); font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.025em; }
.legal p { margin-top: 14px; color: var(--doux); }
.legal a { color: var(--encre); }
.legal .retenir { margin-top: 28px; padding: 18px 20px; border-left: 0; border: 1px solid var(--filet-fort); border-radius: 10px; color: var(--encre); }
.legal dl { margin-top: 18px; }
.legal dl > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--filet); }
.legal dt { color: var(--discret); font-size: 0.95rem; }
.legal .suite { margin-top: 40px; }
.pied .fin { max-width: 100%; }
@media (max-width: 480px) { .legal dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Écrans étroits : tout passe sur une colonne */
@media (max-width: 900px) {
  .entete nav { display: none; }
  .entete .bouton { margin-left: auto; }
  .horaires { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .horaires li { border-top: 1px solid var(--filet-fort); padding-bottom: 22px; }
  .duo, .telephone, .besoin, .prix .cadre { grid-template-columns: minmax(0, 1fr); }
  .telephone img { order: 2; }
  .pied .fin { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .accueil .actions .bouton { flex: 1 1 100%; }
  .accueil { padding-top: 112px; }
  .commande { flex-direction: column; align-items: stretch; }
  details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }
