/* BUSTO — coquille commune : barre, pied, typographie, boutons, vitrine.
   Parti pris : une salle de musée. Fond presque noir, matière crème, un seul
   accent laiton. Rien de coloré ne doit concurrencer la pièce à l'écran. */

:root {
  --ink: #0a0a0c;
  --panel: #131316;
  --panel-2: #1c1c21;
  --line: #2e2f36;
  --line-soft: #202127;
  --cream: #f4f0e8;
  --muted: #a5a29b;
  --accent: #d8b26a;
  --accent-deep: #a8813c;
  --accent-soft: rgba(216, 178, 106, 0.14);
  --ok: #6fbf8a;
  --ko: #e0705f;
  --radius: 12px;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.oeil {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

/* -------------------------------------------------------------- structure */

.enveloppe { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 760px; }

section { padding: 88px 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: 0; }

/* ------------------------------------------------------------------ barre */

.barre {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
  padding: 0 24px;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.marque {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: 0.2em;
  text-decoration: none;
  white-space: nowrap;
}
.marque span { color: var(--accent); }

.barre nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.barre nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.barre nav a:hover, .barre nav a[aria-current] { color: var(--cream); }

.langues { display: flex; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
.langues a { color: var(--muted); text-decoration: none; }
.langues a:hover { color: var(--cream); }
.langue-active { color: var(--accent); }

@media (max-width: 820px) {
  .barre { height: auto; flex-wrap: wrap; padding: 12px 18px; gap: 12px; }
  .barre nav { width: 100%; margin-left: 0; gap: 16px; overflow-x: auto; }
  .barre nav a { white-space: nowrap; }
}

/* --------------------------------------------------------------- boutons */

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #171204;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, opacity 0.15s;
}
.bouton:hover { background: #e7c581; transform: translateY(-1px); }
.bouton:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.bouton.creux {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.bouton.creux:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ------------------------------------------------------------------ héros */

.heros {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 96px;
}
.heros p.chapo { font-size: 1.2rem; color: var(--muted); max-width: 48ch; }
.heros .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Vitrine du héros : la pièce tourne toute seule, sur un fond de galerie. */
.socle-visuel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(216, 178, 106, 0.12), transparent 60%),
    linear-gradient(180deg, #17171b, #0c0c0e);
  overflow: hidden;
}
.socle-visuel canvas { width: 100%; height: 100%; display: block; }

@media (max-width: 900px) {
  .heros { grid-template-columns: 1fr; gap: 34px; padding: 40px 0 60px; }
}

/* ------------------------------------------------------------------ cartes */

.grille { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .g3, .g2 { grid-template-columns: 1fr; } }

.carte {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
}
.carte h3 { margin-bottom: 8px; }
.carte p:last-child { margin-bottom: 0; }

.numero {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ tarifs */

.tarif {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.tarif.phare { border-color: var(--accent-deep); background: linear-gradient(180deg, #1b1913, var(--panel)); }
.tarif .haut { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.tarif .prix { font-family: var(--mono); font-size: 1.5rem; color: var(--accent); margin: 14px 0 6px; }
.tarif ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.tarif li { padding: 7px 0; border-top: 1px solid var(--line-soft); }

.etiquette {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------- FAQ */

details {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--accent); font-family: var(--mono); }
details[open] summary::after { content: '−'; }
details p { margin: 14px 0 0; color: var(--muted); }

/* ---------------------------------------------------------------- formulaire */

label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }

input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--cream);
  font: 400 15px/1.4 var(--sans);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 130px; resize: vertical; }

.champ { margin-bottom: 16px; }
.paire { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
@media (max-width: 640px) { .paire { grid-template-columns: 1fr; } }

.piege { position: absolute; left: -9999px; }

.erreur {
  color: var(--ko);
  font-size: 14px;
  border-left: 2px solid var(--ko);
  padding-left: 12px;
  margin: 12px 0;
}

/* ------------------------------------------------------------------- pied */

footer {
  border-top: 1px solid var(--line-soft);
  padding: 54px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 4px 0; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }
footer .bas { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 13px; }
@media (max-width: 760px) { footer .colonnes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- visuels */

picture { display: block; }
picture img { width: 100%; height: auto; display: block; }

/* Un bandeau pleine largeur, coins arrondis, qui se fond dans le fond noir. */
.bandeau img {
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.bandeau { margin: 32px 0; }

/* Carte dont le visuel occupe le haut : l'image mange le padding de la carte,
   donc la carte n'en a plus et c'est le bloc de texte qui le porte. */
.carte-visuel { padding: 0; overflow: hidden; }
.carte-visuel img { border-bottom: 1px solid var(--line-soft); }
.carte-texte { padding: 22px 26px 26px; }
.carte-texte h3 { margin-bottom: 8px; }
.carte-texte p:last-child { margin-bottom: 0; }

/* Les six matières. Trois colonnes sur écran large, deux sur téléphone : à une
   seule colonne on ne peut plus comparer deux teintes d'un coup d'œil, ce qui
   est pourtant tout l'intérêt de la grille. */
.matieres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.matieres figure { margin: 0; }
.matieres img { border-radius: 10px; border: 1px solid var(--line-soft); }
.matieres figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.matieres figcaption i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
@media (max-width: 700px) { .matieres { grid-template-columns: repeat(2, 1fr); } }

/* Le sélecteur de langue : des drapeaux, pas des codes. */
.langues { gap: 10px; align-items: center; }
.langues a, .langues .langue-active {
  display: block;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.langues svg { width: 22px; height: 15px; display: block; }
.langues a:hover { opacity: 0.9; }
.langues .langue-active { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }

/* Le nom de la langue reste lisible par un lecteur d'écran : un rectangle
   bleu-blanc-rouge n'apprend rien à qui ne voit pas l'image. */
.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
