/* 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 10 px (boutons) et 14 px (images). */

@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 */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 50px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font: 600 16px/1 'Geist', system-ui, sans-serif; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}
.bouton:active { transform: translateY(1px); }
.bouton.plein { background: var(--miel); color: var(--miel-encre); }
.bouton.plein:hover { background: #ffc955; }
.bouton.trait { border-color: var(--filet-fort); color: var(--encre); background: transparent; }
.bouton.trait:hover { border-color: var(--encre); }
.bouton.petit { height: 40px; padding: 0 16px; font-size: 14.5px; }

/* En-tête */
.entete { display: flex; align-items: center; gap: 36px; height: 72px; }
.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 */
.accueil { padding-top: clamp(36px, 6vw, 84px); }
.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 var(--filet); border-radius: 14px; 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); background: var(--fond-2); border: 1px solid var(--filet); border-radius: 14px; }
.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%; }
  .commande { flex-direction: column; align-items: stretch; }
  details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }
