/* Clément Di Natale — vert et marron
   Fonds vert nuit et vert forêt, accents marron caramel, les polices du logo : Gobold pour les titres, Jost (esprit Futura) pour les textes.
   (Les noms --gold / --cream / --card-blue sont historiques : ils portent le marron et les verts. Ancienne palette brune : styles-avant-vert.css) */

/* Polices hébergées sur le site (plus rapide que Google Fonts, et conforme RGPD) */
@font-face { font-family: "Gobold"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/gobold-regular.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/jost-normal.woff2") format("woff2"); }

:root { color-scheme: dark;
  --dark: #0d1712;        /* brun nuit, fond principal */
  --dark-2: #14221a;      /* encadrés sur fond nuit */
  --dark-3: #1c2e24;      /* champs du formulaire */
  --cream: #1a3327;       /* sections brunes (prestations, avis) */
  --cream-2: #2e4c3c;     /* filets dans les cartes brunes */
  --card-blue: #0f1c15;   /* cartes : plus sombres que la section pour bien se détacher */
  --ink-light: #f7efe3;
  --muted-light: #bcc2b2;
  --ink-dark: #f7efe3;
  --muted-dark: #cdd2c2;
  --gold: #c9955f;        /* ambre : boutons, accents */
  --gold-hover: #d8aa78;
  --gold-deep: #d09c66;   /* ambre sur les sections brunes */
  --paper: #f3f1ec;       /* le blanc des cartes à jouer */
  --card-red: #a3202c;

  --font-title: "Gobold", Impact, "Arial Narrow", sans-serif;
  --font-text: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;

  --margin: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--dark); color: var(--ink-light); font-family: var(--font-text); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:target { scroll-margin-top: 5rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--dark); }

h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }
.gold { color: var(--gold); }
.light .gold { color: var(--gold-deep); }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); line-height: 1.5; }

.container { width: min(100% - 2 * var(--margin), 76rem); margin-inline: auto; }
.sec-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.sec-head p { margin-top: 1rem; color: var(--muted-light); font-size: 1.1rem; }
.light .sec-head p { color: var(--muted-dark); }
.sec-cta { text-align: center; margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.75rem; background: var(--gold); color: var(--dark); border: 1px solid var(--gold); border-radius: 4px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; cursor: pointer; list-style: none; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease); }
.btn::-webkit-details-marker { display: none; }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 2.75rem; padding: 0 1.2rem; font-size: 0.875rem; }
.btn-ghost { background: transparent; color: var(--ink-light); border-color: rgba(247, 239, 227, 0.55); }
@media (hover: hover) {
  .btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
  .btn-ghost:hover { background: var(--ink-light); color: var(--dark); border-color: var(--ink-light); }
}

/* ---------- en-tête ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color 300ms ease; }
.bar.is-solid { background: rgba(13, 23, 18, 0.96); }
.bar-in { display: flex; align-items: center; gap: 2rem; height: 4.75rem; width: min(100% - 2 * var(--margin), 76rem); margin-inline: auto; }
.bar-logo img { height: 3.4rem; width: auto; margin-left: -0.5rem; }
.bar-nav { display: flex; gap: clamp(1.25rem, 2.4vw, 2.25rem); margin-left: auto; font-size: 0.95rem; }
.bar-nav a { text-decoration: none; opacity: 0.85; transition: opacity 180ms ease, color 180ms ease; }
.bar-nav a:hover { opacity: 1; color: var(--gold); }
@media (max-width: 860px) {
  .bar-nav { display: none; }
  .bar .btn-sm { margin-left: auto; }
}

/* ---------- accueil : photo en fondu ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, rgba(13, 23, 18, 0.55) 0%, rgba(13, 23, 18, 0.15) 22%, rgba(13, 23, 18, 0.35) 48%, rgba(13, 23, 18, 0.9) 74%, var(--dark) 100%); }
.hero-content { width: min(100% - 2 * var(--margin), 52rem); text-align: center; padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero-place { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.08em; font-weight: 500; }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 6.2vw, 6.25rem); font-weight: 600; line-height: 1.02; margin-top: 0.75rem; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45); }
.hero-role { font-family: var(--font-title); font-size: clamp(1.15rem, 0.95rem + 1vw, 1.75rem); color: var(--gold); margin-top: 0.6rem; letter-spacing: 0.06em; }
.hero-lead { margin: 1.5rem auto 0; max-width: 38rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-light); }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- chiffres ---------- */
.stats { background: var(--dark); padding-block: clamp(2rem, 4vw, 3rem); }
.stats-in { width: min(100% - 2 * var(--margin), 76rem); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.stats-in > div { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.25rem 0.5rem; }
.stats-in > div + div { border-left: 1px solid rgba(201, 149, 95, 0.25); }
.stats dd { font-family: var(--font-title); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--gold); line-height: 1; }
.stats dt { color: var(--muted-light); font-size: 0.9rem; }
@media (max-width: 700px) {
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .stats-in > div:nth-child(3) { border-left: 0; }
}

/* ---------- clients ---------- */
.clients { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5rem); text-align: center; }
.clients-title { font-size: 1rem; color: var(--muted-light); font-weight: 500; letter-spacing: 0.08em; }
.logos { width: min(100% - 2 * var(--margin), 76rem); margin: 1.75rem auto 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 2rem); align-items: center; }
.logos li { height: 3.5rem; display: grid; place-items: center; }
.logos img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; transition: opacity 200ms ease; }
.logos img.crest { filter: grayscale(1) brightness(1.4); }
.logos li:hover img { opacity: 1; }
@media (max-width: 860px) {
  .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 1.25rem; }
}

/* ---------- sections crème ---------- */
.light { background: var(--cream); color: var(--ink-dark); padding-block: var(--section); }

/* ---------- prestations ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.card { background: #fff; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card-body { padding: 1.5rem 1.4rem 1.75rem; }
.card h3 { color: var(--ink-dark); }
.card h3::after { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--gold); margin-top: 0.8rem; }
.card p { margin-top: 1rem; color: var(--muted-dark); font-size: 0.97rem; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 18px 40px rgba(0, 0, 0, 0.12); }
  .card:hover img { transform: scale(1.04); }
}
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- bandeau scène ---------- */
.band { position: relative; min-height: clamp(26rem, 70vh, 40rem); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 50% 25%; z-index: -2; will-change: transform; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(13, 23, 18, 0.6), rgba(13, 23, 18, 0.45) 50%, rgba(13, 23, 18, 0.75)); }
.band-content { width: min(100% - 2 * var(--margin), 44rem); }
.band h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.band p { margin-top: 1.25rem; font-size: 1.15rem; }

/* ---------- à propos ---------- */
.about { padding-block: var(--section); background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-photo { border-radius: 6px; overflow: hidden; outline: 1px solid rgba(201, 149, 95, 0.35); outline-offset: 10px; margin: 10px; }
.about-photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 50% 20%; }
.about-text .lead { margin-top: 1.5rem; }
.about-text .lead + p { margin-top: 1rem; color: var(--muted-light); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 26rem; margin-inline: auto; }
}

/* ---------- tour de cartes ---------- */
.trick { margin-top: 2.5rem; background: var(--dark-2); border: 1px solid rgba(201, 149, 95, 0.25); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); }
.trick h3 { color: var(--gold); }
.trick > p { margin-top: 0.5rem; color: var(--muted-light); }
.hand { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.25rem; }
.hand-two { grid-template-columns: repeat(5, minmax(0, 1fr)); width: calc(100% * 5 / 6 - 0.1rem); margin-inline: auto; }
.pc { position: relative; aspect-ratio: 5 / 7; background: var(--cream); color: #15120e; border-radius: 5px; display: grid; place-items: center; font-family: var(--font-title); font-weight: 600; transition: transform 250ms var(--ease); }
.pc.red { color: var(--card-red); }
.pc-c { position: absolute; top: 6%; left: 10%; font-size: clamp(0.7rem, 1vw, 0.95rem); line-height: 1.05; text-align: center; }
.pc-b { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
@media (hover: hover) { .hand-one .pc:hover { transform: translateY(-5px); } }
.reveal-box { margin-top: 1.25rem; }
.reveal-box > summary { cursor: pointer; }
.reveal-box[open] > summary { display: none; }
.trick:has(.reveal-box[open]) .hand-one { display: none; }
.reveal-box[open] .hand-two { margin-top: 0; }
.trick-result { margin-top: 1.25rem; }
.trick-result strong { font-family: var(--font-title); color: var(--gold); font-size: 1.2rem; display: block; margin-bottom: 0.25rem; }
.trick-again { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; margin-left: 0.25rem; }
@media (max-width: 520px) {
  .hand { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hand-two { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .pc-b { font-size: 2.4rem; }
}

/* ---------- avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.review { background: #fff; border-radius: 6px; padding: clamp(1.5rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06); }
.review::before { content: "“"; font-family: var(--font-title); font-size: 3.5rem; line-height: 0.6; color: var(--gold); height: 1.5rem; }
.review p { font-size: 1.02rem; color: var(--ink-dark); }
.review footer { display: flex; flex-direction: column; gap: 0.1rem; padding-top: 1rem; border-top: 1px solid var(--cream-2); }
.review footer span { color: var(--muted-dark); font-size: 0.9rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { padding-block: var(--section); background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; background: var(--dark-2); border: 1px solid rgba(201, 149, 95, 0.2); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2.25rem); }
.f-row { display: grid; gap: 0.45rem; }
.f-wide { grid-column: 1 / -1; }
.form label { font-size: 0.9rem; color: var(--muted-light); }
.field { width: 100%; min-height: 3.1rem; padding: 0.75rem 0.9rem; background: var(--dark-3); border: 1px solid transparent; border-radius: 4px; font-size: 1rem; color-scheme: dark; transition: border-color 180ms ease; }
.field::placeholder { color: #98a091; }
.field:focus { outline: none; border-color: var(--gold); }
textarea.field { resize: vertical; min-height: 8rem; }
.f-send { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-status { font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status a { color: var(--gold); }
.contact-info { display: grid; gap: 1.75rem; padding-top: 0.5rem; }
.contact-info h3 { font-size: 0.95rem; color: var(--gold); margin-bottom: 0.35rem; }
.contact-info a { text-decoration: none; font-size: 1.1rem; }
.contact-info a:hover { color: var(--gold); }
.contact-info p { color: var(--muted-light); }
.socials { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.socials a { font-size: 1rem !important; color: var(--ink-light); }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* ---------- pied de page ---------- */
.foot { border-top: 1px solid rgba(201, 149, 95, 0.2); padding-block: 2.5rem; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; color: var(--muted-light); font-size: 0.9rem; }
.foot img { height: 3.5rem; width: auto; opacity: 0.85; }

/* ---------- bouton devis flottant (téléphone) ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: inline-flex; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 30; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
  .sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- animations (le contenu reste visible sans JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise 900ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
  .js .hero-bg { animation: settle 2600ms var(--ease) both; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal-box[open] .hand-two .pc { animation: deal 650ms var(--ease) both; animation-delay: calc(var(--n, 0) * 70ms); }
  .reveal-box[open] .trick-result { animation: rise 600ms var(--ease) 450ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes deal { from { opacity: 0; transform: translateY(-20px) rotateY(90deg); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .js .card[data-reveal].is-in:hover { transform: translateY(-4px); }
}

/* ---------- accueil v2 : photo montagne en fondu, logo à la place du nom ---------- */
.hero { place-items: center; }
.hero-bg { object-position: 58% 35%; }
.hero-shade { background:
  linear-gradient(to right, rgba(13, 23, 18, 0.92) 0%, rgba(13, 23, 18, 0.78) 30%, rgba(13, 23, 18, 0.35) 55%, rgba(13, 23, 18, 0.15) 75%, rgba(13, 23, 18, 0.3) 100%),
  linear-gradient(to bottom, rgba(13, 23, 18, 0.5) 0%, rgba(13, 23, 18, 0) 20%, rgba(13, 23, 18, 0) 70%, var(--dark) 100%); }
.hero-content { width: min(100% - 2 * var(--margin), 76rem); text-align: left; padding: 6rem 0 4rem; }
.hero-content > * { max-width: 31rem; }
.hero-logo { margin: 0; }
.hero-logo img { width: clamp(16rem, 12rem + 14vw, 30rem); height: auto; margin-left: -0.9rem; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.5)); }
.hero-place { margin-top: 0.5rem; }
.hero-lead { margin: 1.25rem 0 0; }
.hero-actions { justify-content: flex-start; }
@media (max-width: 760px) {
  .hero { place-items: end center; }
  .hero-bg { object-position: 56% 30%; }
  .hero-shade { background:
    linear-gradient(to bottom, rgba(13, 23, 18, 0.5) 0%, rgba(13, 23, 18, 0.1) 18%, rgba(13, 23, 18, 0.25) 38%, rgba(13, 23, 18, 0.88) 62%, var(--dark) 100%); }
  .hero-content { text-align: center; padding: 0 0 3rem; }
  .hero-content > * { margin-inline: auto; }
  .hero-logo img { width: min(78vw, 20rem); margin: 0 auto; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 760px) {
  .hero-bg { height: 64%; bottom: auto; object-position: 54% 40%; }
  .hero-shade { background:
    linear-gradient(to bottom, rgba(13, 23, 18, 0.45) 0%, rgba(13, 23, 18, 0) 14%, rgba(13, 23, 18, 0) 34%, rgba(13, 23, 18, 0.85) 56%, var(--dark) 64%, var(--dark) 100%); }
}

/* ---------- thème bleu et argent ---------- */
.card, .review { background: var(--card-blue); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.25); }
.card p, .review footer span { color: var(--muted-dark); }
.review footer { border-top-color: var(--cream-2); }
.pc { background: var(--paper); }
.about-photo { outline-color: rgba(201, 149, 95, 0.45); }
.hero-place, .hero-role { color: var(--gold); }
.band-bg { object-position: 60% 35%; }
@media (max-width: 760px) { .band-bg { object-position: 74% 35%; } }
@media (max-width: 760px) {
  .band { min-height: 36rem; place-items: end center; padding-bottom: 2.5rem; }
  .band-bg { object-position: 74% 20%; }
  .band-shade { background: linear-gradient(to bottom, rgba(13, 23, 18, 0.35) 0%, rgba(13, 23, 18, 0.1) 35%, rgba(13, 23, 18, 0.85) 62%, rgba(13, 23, 18, 0.95) 100%); }
}
.about-cta { margin-top: 2rem; }

/* ---------- cartes prestations : photo en retrait avec contour ---------- */
.card { border: 1px solid rgba(201, 149, 95, 0.22); }
.card img { width: calc(100% - 1.5rem); margin: 0.75rem 0.75rem 0; border-radius: 4px; outline: 1px solid rgba(201, 149, 95, 0.55); outline-offset: 4px; aspect-ratio: 4 / 3; }
.card-body { padding-top: 1.6rem; }
@media (hover: hover) { .card:hover img { transform: none; } }
.review { border: 1px solid rgba(201, 149, 95, 0.18); }

/* =====================================================================
   EFFET « LIQUID GLASS » (inspiré d'Apple)
   Panneaux translucides qui floutent le fond, reflets sur les bords,
   coins arrondis, et halos de lumière ambrée derrière le verre.
   ===================================================================== */
:root { color-scheme: dark;
  --glass: rgba(255, 236, 210, 0.07);
  --glass-strong: rgba(255, 236, 210, 0.11);
  --glass-edge: rgba(255, 240, 220, 0.18);
  --glass-blur: blur(22px) saturate(170%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 18px 50px rgba(0, 0, 0, 0.35);
  --r-glass: 22px;
}

/* La recette du verre */
.glass, .card, .review, .form, .stats-in, .bar.is-solid .bar-in, .btn-ghost, .about-photo {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
/* Reflet de lumière en haut du verre */
.card, .review, .form, .stats-in { position: relative; isolation: isolate; }
.card::before, .review::after, .form::before, .stats-in::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0) 55%, rgba(201, 149, 95, 0.06) 100%);
}

/* Halos ambrés derrière le verre */
.light, .about, .contact, .stats, .clients { position: relative; isolation: isolate; overflow: hidden; }
.light::before, .about::before, .contact::before, .stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 26rem at 12% 18%, rgba(201, 149, 95, 0.22), transparent 70%),
    radial-gradient(34rem 24rem at 88% 72%, rgba(150, 105, 65, 0.20), transparent 70%),
    radial-gradient(28rem 20rem at 55% 105%, rgba(255, 196, 120, 0.12), transparent 70%);
}
.about::before { background:
    radial-gradient(30rem 24rem at 20% 50%, rgba(201, 149, 95, 0.18), transparent 70%),
    radial-gradient(30rem 22rem at 85% 30%, rgba(150, 105, 65, 0.14), transparent 70%); }
.contact::before { background:
    radial-gradient(34rem 24rem at 25% 40%, rgba(201, 149, 95, 0.16), transparent 70%),
    radial-gradient(28rem 22rem at 90% 80%, rgba(150, 105, 65, 0.14), transparent 70%); }

/* Cartes et avis */
.card, .review { border-radius: var(--r-glass); }
.card img { border-radius: 14px; outline-color: rgba(255, 220, 170, 0.4); }
@media (hover: hover) {
  .card:hover, .js .card[data-reveal].is-in:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 26px 60px rgba(0, 0, 0, 0.45); }
}
.review footer { border-top-color: rgba(255, 240, 220, 0.12); }

/* Barre de chiffres : plaque de verre qui chevauche le bas de l'accueil */
.stats { padding-top: 0; background: var(--dark); overflow: visible; }
.stats-in { border-radius: var(--r-glass); margin-top: -4.5rem; padding: 0.75rem 1rem; z-index: 2; }
.stats-in > div + div { border-left-color: rgba(255, 240, 220, 0.12); }

/* Formulaire et champs */
.form { border-radius: var(--r-glass); }
.field { background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 240, 220, 0.1); border-radius: 12px; }

/* Portrait */
.about-photo { border-radius: var(--r-glass); padding: 10px; outline: none; margin: 0; }
.about-photo img { border-radius: 14px; }

/* Barre de navigation : pilule de verre flottante une fois qu'on descend */
.bar.is-solid { background: transparent; }
.bar-in { transition: background-color 300ms ease, padding 300ms ease, border-color 300ms ease; border: 1px solid transparent; border-radius: 999px; }
.bar.is-solid .bar-in { margin-top: 0.6rem; height: 4rem; padding: 0 0.6rem 0 1.25rem; }
.bar.is-solid .bar-logo img { height: 2.8rem; }

/* Boutons en pilule, le principal avec un reflet */
.btn { border-radius: 999px; position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn::after { content: ""; position: absolute; inset: 0 0 50% 0; border-radius: 999px 999px 40% 40%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)); pointer-events: none; }
.btn-ghost { color: var(--ink-light); }
.btn-ghost::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)); }
@media (hover: hover) { .btn-ghost:hover { background: var(--glass-strong); color: var(--ink-light); border-color: rgba(255, 240, 220, 0.35); } }

/* Logos clients posés sur une bande de verre */
.logos { padding: 1.5rem 2rem; border-radius: var(--r-glass); background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }

/* Bandeau scène : légende sur un panneau de verre */
.band-content { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-glass); background: rgba(13, 23, 18, 0.28); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: var(--glass-shadow); }

/* Bouton flottant téléphone */
.sticky-cta { border-radius: 999px; }

@media (max-width: 760px) {
  .stats-in { margin-top: -2.5rem; }
  .bar.is-solid .bar-in { padding: 0 0.4rem 0 0.9rem; width: calc(100% - 1.25rem); }
  .logos { padding: 1.1rem 1rem; }
}
/* Sans support du flou : un fond un peu plus opaque pour rester lisible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .review, .form, .stats-in, .bar.is-solid .bar-in, .logos, .band-content { background: rgba(22, 40, 31, 0.92); }
}

/* Barre de chiffres : décollée de l'accueil */
.stats { padding-top: clamp(2.5rem, 5vw, 4rem); }
.stats-in { margin-top: 0; }
@media (max-width: 760px) { .stats-in { margin-top: 0; } }

/* Essai : sans verre sur le bandeau scène et la barre de chiffres */
.band-content { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
.stats-in { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; padding: 0; }
.stats-in::before { content: none; }
.stats-in > div + div { border-left-color: rgba(201, 149, 95, 0.25); }

/* Boutons : ambre plus doux, moins éclatant */
:root { --btn: #c08f5e; --btn-hover: #cc9d6c; }
.btn:not(.btn-ghost) { background: var(--btn); border-color: var(--btn); color: #0d1712; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 18px rgba(0, 0, 0, 0.3); }
.btn:not(.btn-ghost)::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)); }
@media (hover: hover) { .btn:not(.btn-ghost):hover { background: var(--btn-hover); border-color: var(--btn-hover); } }

/* =====================================================================
   VERSION FINALE : verre là où il se voit, verre fumé ailleurs
   - Verre clair : menu flottant + bouton secondaire de l'accueil (au-dessus des photos)
   - Verre fumé : cartes, avis, formulaire (brun très sombre, liseré ambré, reflet discret)
   ===================================================================== */
.card, .review, .form {
  background: linear-gradient(180deg, rgba(22, 40, 31, 0.92) 0%, rgba(12, 22, 17, 0.95) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(201, 149, 95, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 230, 190, 0.10), 0 16px 40px rgba(0, 0, 0, 0.4);
  border-radius: 18px;
}
.card::before, .review::after, .form::before {
  background: linear-gradient(170deg, rgba(255, 225, 180, 0.07) 0%, rgba(255, 225, 180, 0) 35%);
}
@media (hover: hover) {
  .card:hover, .js .card[data-reveal].is-in:hover { border-color: rgba(201, 149, 95, 0.45); box-shadow: inset 0 1px 0 rgba(255, 230, 190, 0.14), 0 24px 56px rgba(0, 0, 0, 0.5); }
}
.card img { border-radius: 12px; }
.field { background: rgba(0, 0, 0, 0.3); }

/* Portrait : cadre fumé plutôt que verre */
.about-photo { background: rgba(12, 22, 17, 0.9); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid rgba(201, 149, 95, 0.25); border-radius: 20px; }

/* Logos posés directement sur le fond, sans panneau */
.logos { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; box-shadow: none; }

/* Halos un peu plus discrets */
.light::before, .about::before, .contact::before, .stats::before { opacity: 0.7; }

/* ---------- logos clients : grille régulière, poids visuel équilibré ---------- */
.logos { --lu: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(1rem, 3vw, 3rem); row-gap: clamp(1.75rem, 3vw, 2.5rem); max-width: 60rem; margin-inline: auto; align-items: center; }
.logos li { height: 4.5rem; display: flex; align-items: center; justify-content: center; }
.logos img { height: calc(var(--h, 40) * var(--lu) * 1px); width: auto; max-width: 100%; max-height: none; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.78; }
.logos li:hover img { opacity: 1; }
@media (max-width: 760px) {
  .logos { --lu: 0.62; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1rem; row-gap: 1.25rem; }
  .logos li { height: 3rem; }
  .logos li:last-child { grid-column: 2; }
  .logos li:nth-child(10) { display: flex; }
}
/* Téléphone : Hyundai masqué pour garder 3 lignes de 3 */
@media (max-width: 760px) { .logos li:nth-child(10) { display: none; } }

/* =====================================================================
   TRANSITIONS DOUCES ENTRE LES SECTIONS
   ===================================================================== */
/* Sections brunes : elles naissent et meurent en fondu depuis le brun nuit */
.light { background: linear-gradient(to bottom,
  var(--dark) 0%, var(--cream) 16%, var(--cream) 84%, var(--dark) 100%); }

/* Halos : estompés en haut et en bas pour ne pas créer de bandes */
.light::before, .about::before, .contact::before, .stats::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

/* Bandeau scène : photo réchauffée (moins de bleu/violet) et fondue dans la page */
.band-bg { filter: sepia(0.45) saturate(0.85) hue-rotate(-12deg) brightness(0.9) contrast(1.05); }
.band-shade { background:
  linear-gradient(to bottom, var(--dark) 0%, rgba(13, 23, 18, 0.55) 18%, rgba(13, 23, 18, 0.35) 50%, rgba(13, 23, 18, 0.55) 82%, var(--dark) 100%),
  rgba(18, 42, 30, 0.25); }
.band { min-height: clamp(30rem, 80vh, 46rem); }
@media (max-width: 760px) {
  .band-shade { background:
    linear-gradient(to bottom, var(--dark) 0%, rgba(13, 23, 18, 0.2) 16%, rgba(13, 23, 18, 0.1) 35%, rgba(13, 23, 18, 0.85) 62%, var(--dark) 100%),
    rgba(18, 42, 30, 0.25); }
}
/* Photo de scène : bords haut et bas qui disparaissent dans le fond */
.band { background: var(--dark); }
.band-bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%); }
.stats::before { opacity: 0.45; }
.band-shade { inset: -3px 0; }
/* Couvre-joint opaque en haut et en bas du bandeau scène */
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 90px; z-index: 0; pointer-events: none; }
.band::before { top: -1px; background: linear-gradient(to bottom, var(--dark) 0%, var(--dark) 15%, rgba(13, 23, 18, 0) 100%); }
.band::after { bottom: -1px; background: linear-gradient(to top, var(--dark) 0%, var(--dark) 15%, rgba(13, 23, 18, 0) 100%); }
.band-content { position: relative; z-index: 1; }
.band-bg { height: 100%; will-change: auto; transform: none; }

/* Essai : selfie scène en accueil, photo de face sur scène dans le bandeau */
.hero-bg { object-position: 62% 40%; filter: sepia(0.3) saturate(0.9) hue-rotate(-8deg); }
.band-bg { object-position: 50% 25%; }
@media (max-width: 760px) {
  .hero-bg { object-position: 72% 30%; }
  .band-bg { object-position: 50% 20%; }
}
/* Bandeau : texte en bas pour laisser le visage visible */
.band { place-items: end center; padding-bottom: clamp(3rem, 7vh, 5rem); }
.band-bg { object-position: 50% 18%; }
.band-shade { background:
  linear-gradient(to bottom, var(--dark) 0%, rgba(13, 23, 18, 0.35) 16%, rgba(13, 23, 18, 0.15) 40%, rgba(13, 23, 18, 0.75) 72%, var(--dark) 100%),
  rgba(18, 42, 30, 0.2); }
.card img[src*="dsc1054"] { object-position: 60% 40%; }
.card img[src*="magie-close-up-invites"] { object-position: 55% 40%; }
.card img[src*="mentalisme-famille"] { object-position: 45% 40%; }
.about-photo img[src*="magicien-mentaliste-portrait"] { object-position: 50% 30%; }
.about-photo img[src*="portrait-plage"] { object-position: 50% 20%; }

/* Boutons réseaux sociaux (Qui suis-je) : contour ambré, icône + nom */
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2rem; }
.btn.btn-social { background: rgba(255, 236, 210, 0.05); color: var(--ink-light); border: 1px solid rgba(201, 149, 95, 0.55); gap: 0.55rem; padding: 0 1.3rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.btn.btn-social::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)); }
.btn.btn-social svg { flex: none; color: var(--gold); }
@media (hover: hover) { .btn.btn-social:hover { background: rgba(201, 149, 95, 0.14); border-color: var(--gold); color: var(--ink-light); } }
@media (max-width: 520px) { .about-cta .btn:first-child { width: 100%; } .about-cta .btn-social { flex: 1; } }
.about-text p + p { margin-top: 1rem; color: var(--muted-light); }
.about-text p em { font-style: italic; color: var(--ink-light); }

/* ---------- bouton et fenêtre vidéo ---------- */
.btn-video { gap: 0.5rem; }
.btn-video svg { color: var(--gold); }
.video-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.video-modal[hidden] { display: none; }
.video-backdrop { position: absolute; inset: 0; background: rgba(5, 10, 8, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.video-box { position: relative; width: min(100%, 64rem); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(201, 149, 95, 0.3); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: -3rem; right: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 999px; color: var(--ink-light); background: rgba(255, 236, 210, 0.08); border: 1px solid rgba(255, 240, 220, 0.2); cursor: pointer; }
.video-close:hover { background: rgba(201, 149, 95, 0.2); }
@media (prefers-reduced-motion: no-preference) {
  .video-modal:not([hidden]) .video-box { animation: rise 400ms var(--ease) both; }
}
body.no-scroll { overflow: hidden; }

/* Bouton « Laisser un avis » sous les avis */
.reviews-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); text-align: center; }
.reviews-cta p { color: var(--muted-dark); font-size: 0.95rem; }
.card h3 .h3-sub { display: block; font-family: var(--font-text); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted-dark); margin-top: 0.25rem; }
@media (max-width: 760px) { .only-desktop { display: none; } }
.only-mobile { display: none; } @media (max-width: 760px) { .only-mobile { display: inline; } }

/* Titres des cartes prestations : plus grands et en gras */
.card h3 { font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.65rem); font-weight: 700; letter-spacing: 0.01em; line-height: 1.15; }
.contact .sec-head { max-width: 58rem; }

/* Zone secrète : invisible, coin haut gauche de la page (au-dessus du menu) */
.secret-spot { position: absolute; top: 0; left: 0; width: 3vh; height: 3vh; z-index: 50; background: rgba(1, 0, 0, 0.05); cursor: default; -webkit-tap-highlight-color: transparent; }

/* Texte lu par Google et les lecteurs d'écran, invisible à l'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Effet de profondeur : photos plus hautes que leur cadre pour pouvoir glisser, cadre qui coupe net */
.hero, .band { clip-path: inset(0); }
.hero-bg { height: 135%; top: -10%; bottom: auto; }
.band-bg { height: 140%; top: -20%; bottom: auto; transform: none; }
.js .hero-bg { animation: none; }
@media (max-width: 760px) {
  .hero-bg { height: 80%; top: -6%; }
}

/* =====================================================================
   CARTES QUI SE RETOURNENT (comme des cartes à jouer)
   ===================================================================== */
.card.flip { background: none; border: 0; box-shadow: none; overflow: visible; perspective: 1400px; border-radius: 18px; }
.card.flip::before { content: none; }
.flip-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1); }
.card.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.card-face {
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 40, 31, 0.96) 0%, rgba(12, 22, 17, 0.98) 100%);
  border: 1px solid rgba(201, 149, 95, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 230, 190, 0.10), 0 16px 40px rgba(0, 0, 0, 0.4);
}
.card-front { position: relative; height: 100%; display: flex; flex-direction: column; cursor: pointer; }
.card-front .card-body { flex: 1; display: flex; flex-direction: column; }
.card-back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  padding: 2.25rem 1.6rem; text-align: left;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(201, 149, 95, 0.14), transparent 60%),
    linear-gradient(180deg, #172a20 0%, #0b1510 100%);
  border-color: rgba(201, 149, 95, 0.45);
}
/* Double cadre fin, comme le dos d'une carte à jouer */
.card-back::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 149, 95, 0.28); border-radius: 12px; pointer-events: none; }
.card-back h3 { color: var(--ink-light); font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.65rem); font-weight: 700; }
.card-back h3::after { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--gold); margin-top: 0.7rem; }
.suit { position: absolute; font-size: 1.6rem; line-height: 1; color: var(--ink-light); opacity: 0.85; }
.suit.red { color: #c2413b; }
.suit-tl { top: 1.1rem; left: 1.2rem; }
.suit-br { bottom: 1.1rem; right: 1.2rem; transform: rotate(180deg); }
.back-list { display: grid; gap: 0.8rem; margin: 0.25rem 0 0.5rem; }
.back-list dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); }
.back-list dd { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--muted-dark); line-height: 1.5; }
.card-back .btn { align-self: flex-start; }

/* Petit bouton « Retourner la carte » / « Retour » */
.flip-btn { align-self: flex-start; margin-top: auto; padding: 0.9rem 0 0; background: none; border: 0; color: var(--gold); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; display: inline-flex; gap: 0.4rem; align-items: center; }
.flip-btn:hover { color: var(--gold-hover); text-decoration: underline; text-underline-offset: 0.2em; }
.flip-back { margin-top: 0; padding-top: 0.25rem; color: var(--muted-dark); }
@media (hover: hover) {
  .card.flip:not(.is-flipped):hover .flip-btn span { display: inline-block; animation: wiggle 900ms ease-in-out infinite; }
}
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(160deg); } }

/* Sans animation demandée : retournement instantané */
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

/* =====================================================================
   TÉLÉPHONE : prestations en carrousel tactile, avis en bandeau défilant
   ===================================================================== */
.cards-dots { display: none; }

@media (max-width: 760px) {
  /* --- Prestations : défilement horizontal au doigt --- */
  .cards {
    display: flex; grid-template-columns: none; gap: 0.9rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin);
    margin-inline: calc(var(--margin) * -1); padding: 0.5rem var(--margin) 1rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards > .card { flex: 0 0 84%; scroll-snap-align: start; }
  .js .cards > .card[data-reveal] { opacity: 1; transform: none; }
  .cards-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
  .cards-dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(247, 239, 227, 0.25); transition: width 250ms ease, background-color 250ms ease; }
  .cards-dots span.is-on { width: 20px; background: var(--gold); }

}

/* =====================================================================
   TÉLÉPHONE : « Qui suis-je ? » avec la photo en fond fondu et un texte court
   ===================================================================== */
.mob-only { display: none; }
@media (max-width: 760px) {
  .desk-only { display: none; }
  .mob-only { display: block; }
  .about { padding-block: 0 var(--section); }
  .about-grid { position: relative; display: block; width: 100%; padding: 0; }
  /* La photo devient le fond de la section */
  .about-photo { position: absolute; inset: 0 0 auto 0; height: 78svh; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; outline: none; z-index: 0; }
  .js .about-photo[data-reveal] { opacity: 1; transform: none; }
  .about-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 25%; border-radius: 0; filter: brightness(0.92); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, #000 35%, rgba(0,0,0,0.6) 60%, transparent 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, #000 35%, rgba(0,0,0,0.6) 60%, transparent 100%); }
  .about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--dark) 0%, rgba(13, 23, 18, 0) 14%, rgba(13, 23, 18, 0.1) 40%, rgba(13, 23, 18, 0.85) 72%, var(--dark) 100%); }
  /* Le texte passe par-dessus le bas de la photo */
  .about-text { position: relative; z-index: 1; padding: 52svh var(--margin) 0; }
  .about-text h2 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
  .about-text .lead { margin-top: 1rem; }
  .about::before { display: none; }
}
@media (max-width: 760px) {
  .about-photo img { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 12%, #000 30%, rgba(0,0,0,0.6) 62%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 12%, #000 30%, rgba(0,0,0,0.6) 62%, transparent 100%); }
  .about-photo::after { background: linear-gradient(to bottom, var(--dark) 0%, rgba(13, 23, 18, 0.4) 18%, rgba(13, 23, 18, 0.05) 38%, rgba(13, 23, 18, 0.85) 72%, var(--dark) 100%); }
  .about { margin-top: 2rem; }
}
@media (max-width: 760px) {
  /* photo plus haute que son cadre pour pouvoir glisser */
  .about-photo { overflow: hidden; clip-path: inset(0); }
  .about-photo img { position: absolute; left: 0; top: -12%; height: 128%; will-change: transform; }
}

/* Photos recadrées pour téléphone : déjà centrées sur Clément */
@media (max-width: 760px) {
  .hero-bg { object-position: 50% 30%; }
  .band-bg { object-position: 50% 20%; }
}

/* Logo du menu : version sans marge vide, bien centré dans la pilule */
.bar-logo { display: flex; align-items: center; }
.bar-logo img { height: 2.6rem; width: auto; margin-left: 0; }
.bar.is-solid .bar-logo img { height: 2.15rem; }
.bar.is-solid .bar-in { padding-left: 1.4rem; }
@media (max-width: 760px) {
  .bar-logo img { height: 2.3rem; }
  .bar.is-solid .bar-logo img { height: 1.95rem; }
  .bar.is-solid .bar-in { padding-left: 1.1rem; }
}

/* =====================================================================
   TÉLÉPHONE : alignements (audit)
   ===================================================================== */
/* Bouton flottant inutile : le menu a déjà son bouton « Obtenir un devis » */
.sticky-cta { display: none !important; }
@media (max-width: 760px) {
  /* Formulaire : bouton d'envoi centré et pleine largeur */
  .f-send { justify-content: center; text-align: center; }
  .f-send .btn { width: 100%; }
  /* Coordonnées centrées comme le reste de la section */
  .contact-info { text-align: center; justify-items: center; }
  .socials { justify-content: center; }
  /* Pied de page centré */
  .foot-in { flex-direction: column; justify-content: center; text-align: center; gap: 1rem; }
}
/* Les balises <picture> ne comptent pas dans la mise en page : seule la photo compte */
.hero picture, .band picture { display: contents; }

/* ---------- questions fréquentes ---------- */
.faq { padding-block: 0 var(--section); }
.faq-list { max-width: 50rem; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq details { background: var(--dark-2); border: 1px solid rgba(201, 149, 95, 0.18); border-radius: 10px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; font-family: var(--font-title); font-weight: 600; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; flex: none; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq details p { padding: 0 1.35rem 1.25rem; color: var(--muted-light); }

/* ---------- pied de page : liens et coordonnées ---------- */
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.foot-nav a, .foot-nap a { text-decoration: none; }
.foot-nav a:hover, .foot-nap a:hover { color: var(--gold); }
.foot-nap { font-style: normal; line-height: 1.6; }
.foot-nap strong { color: var(--ink-light); font-weight: 600; }
.foot-copy { flex-basis: 100%; font-size: 0.8rem; opacity: 0.8; }
@media (max-width: 760px) {
  .foot-in { flex-direction: column; text-align: center; }
  .foot-nav { justify-content: center; }
}

/* =====================================================================
   LIQUID GLASS (version 2) : plus d'ombre portée
   Les cartes, avis, formulaire et questions deviennent des plaques de verre
   ambré translucides. Le relief vient d'un liseré lumineux sur les bords
   (plus clair en haut à gauche, comme un reflet) au lieu d'une ombre.
   ===================================================================== */
:root { color-scheme: dark;
  --lg-fill: linear-gradient(155deg, rgba(255, 236, 210, 0.11) 0%, rgba(255, 236, 210, 0.04) 45%, rgba(255, 210, 150, 0.06) 100%);
  --lg-blur: blur(20px) saturate(150%);
  --lg-edge: rgba(255, 236, 210, 0.16);
  --lg-inner: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 210, 150, 0.06);
  /* liseré « reflet » : dégradé posé sur le bord grâce à un masque */
  --lg-rim: linear-gradient(140deg, rgba(255, 245, 230, 0.55) 0%, rgba(255, 236, 210, 0.08) 30%, rgba(255, 236, 210, 0) 55%, rgba(201, 149, 95, 0.35) 100%);
}

.card-face, .review, .form, .faq details {
  background: var(--lg-fill);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-inner);
}
/* Dos des cartes : même verre, teinté d'ambre en haut pour garder l'esprit « dos de carte à jouer » */
.card-back {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(201, 149, 95, 0.16), transparent 60%),
    linear-gradient(155deg, rgba(255, 236, 210, 0.10) 0%, rgba(16, 30, 23, 0.55) 100%);
  border-color: rgba(201, 149, 95, 0.32);
}
/* Le liseré lumineux */
.card-face::after, .review::after, .form::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--lg-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.review, .form { position: relative; } /* le dos des cartes reste en position absolue */
.review { border-radius: 18px; }
.card img { outline-color: rgba(255, 236, 210, 0.28); }

/* Survol : la plaque se soulève et le reflet s'intensifie, sans ombre */
.card.flip, .js .card.flip[data-reveal].is-in { transition: transform 400ms var(--ease), opacity 700ms var(--ease); }
@media (hover: hover) {
  .card:hover, .js .card[data-reveal].is-in:hover { box-shadow: none; border-color: transparent; }
  .card.flip:hover .card-face { border-color: rgba(255, 236, 210, 0.28); box-shadow: var(--lg-inner), inset 0 0 40px rgba(255, 210, 150, 0.06); }
}

/* Sans flou disponible : verre plus opaque pour rester lisible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card-face, .review, .form, .faq details { background: rgba(26, 46, 36, 0.94); }
}

/* =====================================================================
   BOUTONS PLATS « LIQUID GLASS »
   Plats (ni ombre ni bande brillante), en pilule, verre teinté.
   Principal : verre ambré dense. Secondaires : verre clair.
   ===================================================================== */
.btn, .btn:not(.btn-ghost), .btn.btn-social {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 140ms var(--ease);
}
.btn::after, .btn:not(.btn-ghost)::after, .btn.btn-social::after { content: none; }

.btn:not(.btn-ghost):not(.btn-social) {
  background: rgba(206, 158, 112, 0.88);
  border: 1px solid rgba(255, 228, 190, 0.55);
  color: #0d1712;
}
.btn-ghost, .btn.btn-social {
  background: rgba(255, 236, 210, 0.08);
  border: 1px solid rgba(255, 236, 210, 0.22);
  color: var(--ink-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn.btn-social { border-color: rgba(201, 149, 95, 0.4); }
@media (hover: hover) {
  .btn:not(.btn-ghost):not(.btn-social):hover { background: rgba(214, 168, 124, 0.95); border-color: rgba(255, 236, 205, 0.75); }
  .btn-ghost:hover, .btn.btn-social:hover { background: rgba(255, 236, 210, 0.15); border-color: rgba(255, 236, 210, 0.4); color: var(--ink-light); }
}
/* Bouton flottant du téléphone : plat aussi, le verre suffit à le détacher */
.sticky-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28); }

/* =====================================================================
   VERSION « MIX » : le verre est gardé, on ajoute ce que les skills
   apportent de mieux sans changer l'ambiance.
   ===================================================================== */

/* 1. Titres plus grands et d'une seule couleur (plus de mot en doré) */
h2 .gold, .light h2 .gold { color: inherit; }
h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.01em; line-height: 1.04; }
.contact h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); }

/* 2. Questions fréquentes : titre à gauche (il reste visible), questions à droite */
@media (min-width: 900px) {
  .faq .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .faq .sec-head { margin: 0; text-align: left; position: sticky; top: 7rem; }
  .faq-list { max-width: none; margin: 0; }
}
.faq { padding-top: clamp(3rem, 6vw, 5rem); }

/* 3. Zones tactiles de 44 px minimum (règle ui-ux-pro-max) */
.flip-btn { min-height: 44px; padding-top: 0.5rem; }
.flip-back { min-height: 44px; }
.bar-logo { min-height: 44px; }
.contact-info a, .socials a, .foot-nav a, .foot-nap a { display: inline-flex; align-items: center; min-height: 44px; }
.socials { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.foot-nav { gap: 0 1.25rem; }

/* 4. Textes de 14 px minimum */
.back-list dt, .card h3 .h3-sub, .foot-copy, .reviews-hint { font-size: 0.875rem; }
.foot-copy { opacity: 1; color: var(--muted-light); }

/* 5. Intitulés du bloc contact : texte normal au lieu de petites capitales */
.contact-info h3 { font-family: var(--font-text); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--gold); margin-bottom: 0.1rem; }

/* 6. Boutons : contour clavier bien visible sur le bouton doré */
.btn:focus-visible { outline: 2px solid var(--ink-light); outline-offset: 3px; }

/* =====================================================================
   POLICES DU LOGO
   Titres en Gobold (comme « CLÉMENT DI NATALE » sur le logo),
   textes en Jost, version libre de Futura (comme « MAGICIEN / MENTALISTE »).
   Licence Gobold : usage commercial soumis à un don (≥ 10 $) à son auteur, Situjuh Nazara.
   ===================================================================== */
body { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; font-weight: 400; }
h1, h2, h3, .card h3 { font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.18; }
h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.card h3 { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem); line-height: 1.15; }
.card h3 .h3-sub { text-transform: none; }
.stats dd { font-weight: 400; letter-spacing: 0.01em; }
.faq summary { font-family: var(--font-text); font-weight: 500; }
.btn { font-weight: 500; letter-spacing: 0.04em; }
/* La ligne sous le logo de l'accueil reprend l'écriture espacée de « MAGICIEN / MENTALISTE » */
.hero-place { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 400; font-size: 0.95rem; }

/* « Ils m'ont fait confiance » : titre plus présent */
.clients-title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.8rem); color: var(--ink-light); letter-spacing: 0.02em; line-height: 1.12; }

/* =====================================================================
   AMBIANCE DES FONDS BRUNS : fumée lente et particules dorées
   (dessinées par assets/js/ambiance.js, derrière le contenu)
   ===================================================================== */
.fx-ambiance { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1200ms ease;
  /* estompé en haut et en bas : la section continue de se fondre dans le noir */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.fx-ambiance.is-on { opacity: 1; }

/* =====================================================================
   INTRO « LA SALLE S'ALLUME »
   ===================================================================== */
.intro-canvas, .intro-enter { display: none; }
/* Pendant l'intro : on ne peut pas défiler, le menu et les textes de l'accueil attendent */
html.locked, html.locked body { overflow: hidden; }
html.intro-on .bar, html.intro-on .hero-content, html.intro-on .sticky-cta, html.intro-on .secret-spot { opacity: 0; visibility: hidden; }
html.intro-on [data-rise] { animation: none; opacity: 0; }
/* Après l'intro : le texte d'accueil arrive presque d'un bloc (pas d'attente ligne par ligne) */
html.intro-played [data-rise] { animation-duration: 650ms; animation-delay: 0ms; }
.bar { transition: background-color 300ms ease, opacity 900ms ease, visibility 900ms; }
/* Avant que la 3D soit prête : la photo est déjà dans la pénombre (aucun éclair de salle allumée) */
html.intro-on .hero-bg { opacity: 0.1; } /* la vraie photo reste dans le noir tant que l'intro n'a pas allumé la salle */
/* La salle en 3D se pose exactement par-dessus la vraie photo */
html.intro-gl .intro-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; transition: opacity 700ms ease; }
html.intro-fade .intro-canvas { opacity: 0; }
/* La section « Questions fréquentes » accueille aussi les particules */
.faq { position: relative; isolation: isolate; overflow: clip; } /* « clip » garde le titre collant de la FAQ */

/* =====================================================================
   AVIS : cartes qui se retournent (sans bouton visible) sur une carte à jouer
   Un clic ou un toucher sur l'avis le retourne ; un second le remet à l'endroit.
   ===================================================================== */
.review-flip { position: relative; perspective: 1400px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.review-flip .flip-inner { height: 100%; }
.review-flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.review-flip .review { height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.review-back { position: absolute; inset: 0; display: grid; place-items: center; transform: rotateY(180deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* La carte à jouer */
.pcard {
  position: relative; height: 100%; max-height: 26rem; max-width: 100%; aspect-ratio: 5 / 7;
  background: linear-gradient(160deg, #fffdf8 0%, #f3ece0 100%); color: #1b1410;
  border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 18px 40px rgba(0, 0, 0, 0.45);
  font-family: Georgia, "Times New Roman", serif;
}
.pcard.red { color: #b3262a; }
.pc-idx { position: absolute; display: flex; flex-direction: column; align-items: center; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.pc-idx b { font-size: 1.15rem; margin-top: 0.15rem; }
.pc-tl { top: 0.7rem; left: 0.7rem; }
.pc-br { bottom: 0.7rem; right: 0.7rem; transform: rotate(180deg); }
.pc-pips { position: absolute; inset: 14% 20%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(7, 1fr); }
.pc-pips i { grid-column: var(--c); grid-row: var(--r) / span var(--s, 1); display: grid; place-items: center; font-style: normal; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1; }
.pc-pips i.dn { transform: rotate(180deg); }
.pc-court {
  position: absolute; inset: 14% 17%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1.5px solid currentColor; border-radius: 6px; font-size: clamp(4rem, 3rem + 3vw, 6rem); font-weight: 700; line-height: 1;
}
.pc-court b { font-size: 0.45em; margin-top: 0.2em; }

/* TÉLÉPHONE : avis en carrousel au doigt, comme les prestations (pas de défilement automatique) */
@media (max-width: 760px) {
  .reviews {
    display: flex; grid-template-columns: none; gap: 0.9rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin);
    margin-inline: calc(var(--margin) * -1); padding: 0.5rem var(--margin) 1rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews > .review-flip { flex: 0 0 84%; scroll-snap-align: start; }
  .js .reviews > .review-flip[data-reveal] { opacity: 1; transform: none; }
  .pcard { max-height: 24rem; }
}

/* =====================================================================
   PAGES « ÉVÉNEMENT » (mariage, entreprise…) : générées par outils/pages.rb
   ===================================================================== */
.crumbs { font-size: 0.875rem; color: var(--muted-light); margin-bottom: 0.75rem; }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.crumbs a:hover { color: var(--gold); }
.hero .page-title { font-family: var(--font-title); text-transform: uppercase; font-weight: 400; line-height: 1.08; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); margin-top: 0.6rem; max-width: 40rem; }
.page-event .hero-lead { margin-top: 1.25rem; }

.moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.moment { position: relative; padding: 1.75rem 1.5rem; border-radius: 18px; background: var(--lg-fill); border: 1px solid var(--lg-edge); box-shadow: var(--lg-inner); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); }
.moment-n { display: block; font-family: var(--font-title); color: var(--gold); font-size: 1.6rem; line-height: 1; margin-bottom: 1rem; }
.moment h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.moment p { color: var(--muted-dark); }

.steps-sec { background: var(--dark); padding-block: var(--section); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { position: relative; padding-top: 3.25rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-title); font-size: 1.15rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.2rem; left: 3.2rem; right: -1.2rem; height: 1px; background: linear-gradient(to right, rgba(201, 149, 95, 0.5), transparent); }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--ink-light); }
.steps p { color: var(--muted-light); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 15rem; gap: 1rem; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

.page-quote { max-width: 46rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; text-align: center; }
.page-quote p { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); font-style: italic; }
.page-quote footer { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.15rem; }
.page-quote footer span { color: var(--muted-dark); font-size: 0.9rem; }

@media (max-width: 1000px) {
  .moments, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .page-event .hero-content { text-align: left; }
  .page-event .hero-content > * { margin-inline: 0; }
  .moments, .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 11rem; gap: 0.6rem; }
  .gallery figure:first-child:not(.tall) { grid-column: span 2; }
}
.gallery { grid-auto-flow: dense; }
.gallery figure.wide { grid-column: span 2; }
@media (min-width: 761px) {
  .page-event .hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 23, 18, 0.75) 0%, rgba(13, 23, 18, 0.4) 45%, transparent 75%); }
}
@media (max-width: 760px) { .crumbs { display: none; } }
/* Lien « En savoir plus » au dos des cartes de prestations */
.card-back .more-link { color: var(--gold); font-size: 0.9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.card-back .more-link:hover { color: var(--gold-hover); }

/* Pages événement : la ligne « Montpellier · Occitanie » reste lisible quelle que soit la photo */
.page-event .hero-place { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 99px; background: rgba(13, 23, 18, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); }
.page-event .crumbs { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.8); }

/* Bloc vidéo des pages événement (YouTube chargé seulement au clic) */
.video-inline { max-width: 56rem; margin-inline: auto; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.video-facade { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.2) brightness(0.85); transition: filter 300ms ease; }
.video-facade:hover img { filter: sepia(0.1) brightness(1); }
.video-play { position: absolute; left: 50%; top: 50%; width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--dark); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform 300ms var(--ease); }
.video-play svg { margin-left: 4px; }
.video-facade:hover .video-play { transform: scale(1.08); }
.video-inline iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .page-event .hero-place { font-size: 0.72rem; letter-spacing: 0.08em; white-space: nowrap; padding: 0.3rem 0.7rem; } }
.page-event .band-bg { top: -8%; height: 116%; }
/* Page dont les visages sont en haut de la photo : texte en bas, sur une ligne plus large (ordinateur) */
@media (min-width: 761px) {
  .hero-low .hero { place-items: end center; }
  .hero-low .hero-content { padding: 0 0 2.5rem; }
  .hero-low .hero-content > * { max-width: 64rem; }
  .hero-low .hero-lead { max-width: 44rem; }
  .hero-low .hero .page-title { max-width: 64rem; }
  .hero-low .hero-shade::after { background: linear-gradient(0deg, rgba(13, 23, 18, 0.96) 0%, rgba(13, 23, 18, 0.8) 28%, rgba(13, 23, 18, 0.4) 46%, transparent 62%); }
}
.hero-low .crumbs { display: none; }
@media (min-width: 761px) { .hero-low .hero-shade { background: linear-gradient(to bottom, rgba(13, 23, 18, 0.45) 0%, transparent 18%); } }
@media (max-width: 760px) { .page-event .hero-bg[style*="--pos-m"] { object-position: var(--pos-m) !important; } }
/* Pages événement : rappels « devis » dans les blocs */
.band-cta { margin-top: 1.75rem; }
.sec-cta-duo { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* Pages par ville : texte local et références */
.local-sec { background: var(--dark); padding-block: var(--section); }
.local-text { max-width: 46rem; }
.local-text h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: 1.5rem; text-align: center; }
.local-text p { color: var(--muted-light); font-size: 1.08rem; }
.local-text p + p { margin-top: 1rem; }
.refs-sec { background: var(--dark); padding-block: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.refs { list-style: none; padding: 0; margin: 1.75rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1rem; max-width: 56rem; }
.refs li { padding: 0.6rem 1.2rem; border: 1px solid rgba(201, 149, 95, 0.35); border-radius: 99px; color: var(--ink-light); font-size: 1rem; letter-spacing: 0.04em; }
.moment-link { display: inline-block; margin-top: 0.6rem; color: var(--gold-deep, var(--gold)); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
/* Liens vers les villes dans « Zone d'intervention » : discrets, comme le texte */
.contact-info .zone a { color: inherit; text-decoration: underline; text-decoration-color: rgba(201, 149, 95, 0.5); text-underline-offset: 0.2em; }
.contact-info .zone a:hover { color: var(--gold); }
/* Paris : rangée de références (logos + noms en logotype) */
.refs-logos { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 64rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.75rem 3rem; }
.refs-logos li { display: flex; align-items: center; justify-content: center; min-height: 3.75rem; }
.refs-logos img { height: calc(var(--h, 40) * 1px); width: auto; filter: brightness(0) invert(1); opacity: 0.78; }
.wordmark { font-family: Georgia, "Times New Roman", serif; text-transform: uppercase; letter-spacing: 0.2em; font-size: 1.05rem; color: var(--ink-light); opacity: 0.78; white-space: nowrap; }
.wordmark-2 { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.wordmark-2 small { font-size: 0.62em; letter-spacing: 0.28em; margin-top: 0.3rem; }
@media (max-width: 760px) { .refs-logos { gap: 1.25rem 1.75rem; } .refs-logos img { height: calc(var(--h, 40) * 0.7px); } .wordmark { font-size: 0.85rem; letter-spacing: 0.14em; } }
/* Pages par ville : ligne de réassurance au-dessus du formulaire */
.reassure { list-style: none; padding: 0; margin: 1.25rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.75rem; }
.reassure li { padding: 0.45rem 0.95rem; border-radius: 99px; border: 1px solid rgba(201, 149, 95, 0.35); color: var(--ink-light); font-size: 0.9rem; }
.reassure li::before { content: "✓"; color: var(--gold); margin-right: 0.45rem; }

/* TÉLÉPHONE : pas de flou « verre dépoli » (très coûteux au défilement) ; le menu devient opaque pour rester lisible */
@media (max-width: 760px) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .bar.is-solid .bar-in { background: rgba(13, 23, 18, 0.95); }
}
/* Accueil (ordinateur) : « Magicien mentaliste à Montpellier · Partout en France » sur une seule ligne */
@media (min-width: 761px) { .hero-content > .hero-place { max-width: none; white-space: nowrap; } }

/* Accueil : la ligne dorée (petite, sur photo claire) apparaît plus vite que le reste, sans glissement,
   et un léger contour sombre la rend lisible tout de suite (sinon on a l'impression qu'elle arrive en retard) */
.hero-place { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 0, 0, 0.55); }
@keyframes rise-fast { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-place[data-rise] { transform: none; animation-name: rise-fast; animation-duration: 300ms; animation-delay: 150ms; }
  html.intro-played .hero-place[data-rise] { animation-name: rise-fast; animation-duration: 300ms; animation-delay: 0ms; }
}
/* Pages événement et villes : la pastille « Ville · Région » ne se fait plus chevaucher par le titre */
.page-event .hero-place { display: block; width: fit-content; max-width: 100%; }
.page-event .hero .page-title { margin-top: 0.9rem; }

/* =====================================================================
   RETOUCHE « MOINS IA » (novembre 2026)
   Même identité (brun nuit, ambre, Gobold + Jost, photos), mais sans les
   tics des sites générés : plus de verre ni de flou, plus de pilules ni de
   halos, des coins nets, des titres de section alignés à gauche.
   Sauvegarde de l'état précédent : styles-avant-retouche.css
   ===================================================================== */
:root { --btn-solid: #d0a174; --btn-solid-hover: #dcb38a; --line: rgba(201, 149, 95, 0.2); --panel: #12211a; }
html { scrollbar-color: #2e4c3c var(--dark); }
.field { caret-color: var(--gold); }

/* Menu : une barre pleine largeur, pas une pilule flottante */
.bar.is-solid { background: rgba(13, 23, 18, 0.97); box-shadow: 0 1px 0 var(--line); }
.bar.is-solid .bar-in, .bar-in { margin-top: 0; height: 4.25rem; padding: 0; width: min(100% - 2 * var(--margin), 76rem); background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar.is-solid .bar-in { padding-left: 0; }
.bar-nav a { opacity: 1; color: var(--muted-light); }
.bar-nav a:hover { color: var(--ink-light); }

/* Boutons : rectangles nets, sans verre, ni reflet, ni halo.
   Texte en capitales espacées, comme « MAGICIEN / MENTALISTE » sur le logo */
.btn, .btn:not(.btn-ghost), .btn.btn-social, .sticky-cta { border-radius: 2px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; font-weight: 500; padding: 0 1.6rem; }
.btn-sm { font-size: 0.78rem; padding: 0 1.1rem; }
.btn:not(.btn-ghost):not(.btn-social) { background: var(--btn-solid); border: 1px solid var(--btn-solid); color: #0d1712; }
.btn-ghost, .btn.btn-social { background: transparent; border: 1px solid rgba(247, 239, 227, 0.4); color: var(--ink-light); }
.btn.btn-social { border-color: rgba(201, 149, 95, 0.45); }
@media (hover: hover) {
  .btn:not(.btn-ghost):not(.btn-social):hover { background: var(--btn-solid-hover); border-color: var(--btn-solid-hover); }
  .btn-ghost:hover, .btn.btn-social:hover { background: rgba(247, 239, 227, 0.06); border-color: var(--ink-light); color: var(--ink-light); }
}

/* Plus de halos ambrés derrière les sections */
.light::before, .about::before, .contact::before, .stats::before { content: none; }

/* Titres de section : à gauche, le texte d'accroche à droite (ordinateur) */
@media (min-width: 900px) {
  .light .sec-head, .contact .sec-head { max-width: none; text-align: left; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: end; }
  .light .sec-head p, .contact .sec-head p { margin: 0 0 0.4rem; max-width: 30rem; }
  .sec-cta { text-align: left; }
  .reviews-cta { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.5rem; text-align: left; }
}

/* Cartes prestations : panneau plat, photo bord à bord, coins de carte à jouer */
.card-face, .card-back { background: var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 1px solid var(--line); border-radius: 8px; }
.card-back { background: #10201a; border-color: rgba(201, 149, 95, 0.38); }
.card-back::before { border-radius: 4px; }
.card.flip { border-radius: 8px; }
.card-face::after, .card::before, .review::after, .review::before, .form::before, .form::after { content: none; }
.card img { width: 100%; margin: 0; border-radius: 0; outline: none; }
.card h3::after, .card-back h3::after { content: none; }
.card-body { padding: 1.4rem 1.4rem 1.25rem; }
.card p { margin-top: 0.75rem; }
@media (hover: hover) {
  .card:hover, .js .card[data-reveal].is-in:hover { transform: none; box-shadow: none; }
  .card.flip:hover .card-face { border-color: rgba(201, 149, 95, 0.45); box-shadow: none; }
}

/* Avis : du texte, pas des boîtes. Un filet ambré au-dessus suffit */
.review { background: none; border: 0; border-top: 1px solid rgba(201, 149, 95, 0.45); border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 1.5rem 0 0; }
.review p { font-size: 1.08rem; line-height: 1.6; color: var(--ink-light); }
.review footer { border-top: 0; padding-top: 0; }
.reviews { column-gap: clamp(1.5rem, 4vw, 3.5rem); }

/* Formulaire : panneau plat, champs nets */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.field { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(247, 239, 227, 0.14); border-radius: 2px; }
.field:focus { border-color: var(--gold); }

/* Questions fréquentes : une liste à filets, sans boîtes */
.faq-list { gap: 0; }
.faq details { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.3rem 0; }
.faq details p { padding: 0 2.5rem 1.5rem 0; }

/* Portrait : la photo seule, sans cadre */
@media (min-width: 761px) {
  .about-photo { background: none; border: 0; padding: 0; border-radius: 2px; box-shadow: none; outline: none; }
  .about-photo img { border-radius: 2px; }
}

/* ---------- Retouche « moins IA » : pages mariage, entreprise et villes ---------- */
/* Grand titre d'une seule couleur, comme sur l'accueil */
.hero .page-title .gold { color: inherit; }
/* « Montpellier · Occitanie » : une ligne de texte, plus une pastille floutée */
.page-event .hero-place { padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 760px) { .page-event .hero-place { padding: 0; } }

/* Moments clés : colonnes séparées par un filet, sans boîtes en verre */
.moments { column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.moment { padding: 1.25rem 0 0; border-radius: 0; background: none; border: 0; border-top: 1px solid rgba(201, 149, 95, 0.45); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.moment-n { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Étapes : le numéro seul, sans cercle ni trait en dégradé */
.steps li { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.steps li::before { position: static; display: block; width: auto; height: auto; border: 0; border-radius: 0; margin-bottom: 0.75rem; font-size: 1.25rem; text-align: left; }
.steps li:not(:last-child)::after { content: none; }

/* Titres de section à gauche ici aussi */
@media (min-width: 900px) {
  .steps-sec .sec-head, .page-event .sec-head { max-width: none; text-align: left; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: end; }
  .steps-sec .sec-head p, .page-event .sec-head p { margin: 0 0 0.4rem; max-width: 30rem; }
  .page-event .faq .sec-head { display: block; }
  .page-event .sec-cta, .sec-cta-duo { text-align: left; justify-content: flex-start; }
  .local-text h2 { text-align: left; }
}

/* Coins nets sur les photos et la vidéo */
.gallery figure { border-radius: 2px; }
.video-inline { border-radius: 2px; box-shadow: none; }
.video-play { box-shadow: none; }

/* Références et réassurance : du texte séparé par des points, pas des pastilles */
.refs, .reassure { gap: 0.25rem 0; }
.refs li, .reassure li { padding: 0 0.9rem; border: 0; border-radius: 0; }
.refs li + li, .reassure li + li { border-left: 1px solid rgba(201, 149, 95, 0.4); }
.reassure li::before { content: none; }
/* Numéros 01-04 gardés seulement sur la page mariage (l'ordre de la journée) ; ailleurs ils ne veulent rien dire.
   La page mariage est la seule sans la classe hero-low. */
.hero-low .moment-n { display: none; }

/* =====================================================================
   BOUTONS « ANGLES » : coins légèrement arrondis, seuls les quatre angles sont tracés.
   Au survol, les angles s'allongent sans jamais refermer le cadre.
   Technique : un cadre complet (::before) dont un masque ne laisse voir que les coins.
   ===================================================================== */
.btn, .btn:not(.btn-ghost), .btn.btn-social, .btn:not(.btn-ghost):not(.btn-social), .btn-ghost {
  --bracket: rgba(247, 239, 227, 0.7);
  border-radius: 6px; border-color: transparent; overflow: visible;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; border: 1px solid var(--bracket); border-radius: inherit; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-position: top left, top right, bottom left, bottom right; mask-position: top left, top right, bottom left, bottom right;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 0.8rem 0.8rem; mask-size: 0.8rem 0.8rem;
  transition: -webkit-mask-size 380ms var(--ease), mask-size 380ms var(--ease), border-color 200ms ease;
}
/* Principal : texte et angles dorés, léger voile ambré */
.btn:not(.btn-ghost):not(.btn-social) { --bracket: var(--btn-solid); background: transparent; color: #e4bf96; }
.btn.btn-social { --bracket: rgba(201, 149, 95, 0.8); }
@media (hover: hover) {
  .btn:hover::before { -webkit-mask-size: 1.8rem calc(50% - 5px); mask-size: 1.8rem calc(50% - 5px); }
  .btn:not(.btn-ghost):not(.btn-social):hover { background: transparent; border-color: transparent; color: #f0d3b3; --bracket: #e4bf96; }
  .btn-ghost:hover, .btn.btn-social:hover { background: transparent; border-color: transparent; --bracket: var(--ink-light); }
}
.btn:focus-visible::before { -webkit-mask-size: 1.8rem calc(50% - 5px); mask-size: 1.8rem calc(50% - 5px); }
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } }

/* ---------- Logos des marques : de vrais fichiers blancs (assets/brands/white) ----------
   Avant, un filtre CSS les passait en blanc ; le mode nuit de certains navigateurs Android
   (Samsung Internet surtout) l'annulait et les logos devenaient sombres sur fond sombre. */
.logos img, .refs-logos img { filter: none; }
/* Signale aux navigateurs que le site est déjà sombre (Samsung Internet le lit ici, pas dans la balise meta) */
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; } }

/* ---------- Accueil : textes plus bas pour laisser la photo entière ---------- */
@media (min-width: 761px) {
  body:not(.page-event) .hero { place-items: end center; }
  body:not(.page-event) .hero-content { padding: 0 0 clamp(2.5rem, 8vh, 5.5rem); }
}
/* Téléphone : la photo occupe le haut de l'écran, le texte commence dans son fondu et continue dessous */
@media (max-width: 760px) {
  body:not(.page-event) .hero { display: block; min-height: 0; }
  body:not(.page-event) .hero-bg { top: -4svh; height: 86svh; }
  body:not(.page-event) .hero-shade { inset: 0 0 auto 0; height: 82svh; background: linear-gradient(to bottom, rgba(13, 23, 18, 0.45) 0%, rgba(13, 23, 18, 0) 14%, rgba(13, 23, 18, 0) 58%, rgba(13, 23, 18, 0.8) 84%, var(--dark) 100%); }
  body:not(.page-event) .hero-content { padding: 64svh 0 2.5rem; margin-inline: auto; }
}
/* Téléphone : le bas de la photo se fond lui-même dans le noir (il descend avec l'effet de profondeur) */
@media (max-width: 760px) {
  body:not(.page-event) .hero-bg { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 95%); mask-image: linear-gradient(to bottom, #000 62%, transparent 95%); }
}
@media (max-width: 760px) {
  body:not(.page-event) .hero-shade { background: linear-gradient(to bottom, rgba(13, 23, 18, 0.45) 0%, rgba(13, 23, 18, 0) 14%); }
  body:not(.page-event) .hero-bg { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 90%); mask-image: linear-gradient(to bottom, #000 55%, transparent 90%); }
}

/* ---------- « Qui est Clément ? » (ordinateur) : grande photo à gauche, fondue vers la droite ---------- */
@media (min-width: 761px) {
  .about { position: relative; overflow: hidden; }
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(36rem, 80vh, 52rem); }
  .about-text { grid-column: 2; position: relative; z-index: 1; }
  .about-photo { position: absolute; inset: 0 auto 0 0; width: 58vw; max-width: none; margin: 0; z-index: 0; }
  .js .about-photo[data-reveal] { transform: none; }
  .about-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 22%; border-radius: 0;
    -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, #000 40%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-composite: intersect; }
}

/* ---------- Cartes prestations : la photo se fond dans le début du texte ---------- */
.card-front img { -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%); mask-image: linear-gradient(to bottom, #000 50%, transparent 100%); }
.card-front .card-body { position: relative; margin-top: -3rem; }

/* ---------- « Qui est Clément ? » : section plus compacte (ordinateur) ---------- */
@media (min-width: 761px) {
  .about { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
  .about-grid { min-height: 0; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .about-photo { width: 50vw; }
  .about-text h2 { font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.8rem); }
  .about-text .lead { margin-top: 1rem; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); }
  .about-text p + p { margin-top: 0.75rem; font-size: 1rem; }
  .about-cta { margin-top: 1.5rem; }
}

/* « Lire la suite » (téléphone seulement, et seulement si le JavaScript tourne) */
.more-toggle { display: none; }
@media (max-width: 760px) {
  .js .more-toggle { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; margin-top: 0.25rem; padding: 0; background: none; border: 0; color: var(--gold); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgba(201, 149, 95, 0.5); }
  .js .about-more:not(.is-open) { display: none; }
  .about-more > p + p, .about-more > p:first-child { margin-top: 1rem; color: var(--muted-light); }
}

/* ---------- Boutons « angles » : un fond translucide de leur couleur, pour mieux les voir ---------- */
.btn:not(.btn-ghost):not(.btn-social) { background: rgba(208, 161, 116, 0.16); }
.btn-ghost { background: rgba(247, 239, 227, 0.08); }
.btn.btn-social { background: rgba(201, 149, 95, 0.1); }
@media (hover: hover) {
  .btn:not(.btn-ghost):not(.btn-social):hover { background: rgba(208, 161, 116, 0.26); }
  .btn-ghost:hover { background: rgba(247, 239, 227, 0.14); }
  .btn.btn-social:hover { background: rgba(201, 149, 95, 0.18); }
}

/* ---------- Boutons : au survol, les angles se rejoignent au milieu des bords (cadre complet) ;
   fonds un peu plus transparents ---------- */
@media (hover: hover) {
  .btn:hover::before { -webkit-mask-size: calc(50% + 1px) calc(50% + 1px); mask-size: calc(50% + 1px) calc(50% + 1px); }
}
.btn:focus-visible::before { -webkit-mask-size: calc(50% + 1px) calc(50% + 1px); mask-size: calc(50% + 1px) calc(50% + 1px); }
.btn:not(.btn-ghost):not(.btn-social) { background: rgba(208, 161, 116, 0.11); }
.btn-ghost { background: rgba(247, 239, 227, 0.05); }
.btn.btn-social { background: rgba(201, 149, 95, 0.07); }
@media (hover: hover) {
  .btn:not(.btn-ghost):not(.btn-social):hover { background: rgba(208, 161, 116, 0.18); }
  .btn-ghost:hover { background: rgba(247, 239, 227, 0.1); }
  .btn.btn-social:hover { background: rgba(201, 149, 95, 0.12); }
}

/* ---------- Boutons « crochets » : deux traits, un de chaque côté, comme [ texte ].
   Les bords gauche et droit sont entiers, le trait déborde un peu sur le haut et le bas,
   sans jamais rejoindre le milieu. Au survol, les crochets s'allongent un peu. ---------- */
.btn::before {
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-position: left center, right center; mask-position: left center, right center;
  -webkit-mask-size: 0.85rem 100%; mask-size: 0.85rem 100%;
}
@media (hover: hover) {
  .btn:hover::before { -webkit-mask-size: 1.7rem 100%; mask-size: 1.7rem 100%; }
}
.btn:focus-visible::before { -webkit-mask-size: 1.7rem 100%; mask-size: 1.7rem 100%; }

/* Fines lignes au bord des photos à effet de profondeur (bandeau scène, « Qui est Clément ? » sur téléphone) :
   la photo dépasse de son cadre, et quand le bord du cadre tombe sur un demi-pixel, la dernière rangée
   mélangeait la photo au voile sombre. Le cadre lui-même devient transparent sur ses derniers pixels. */
.band { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
@media (max-width: 760px) {
  .about-photo { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
}
/* Téléphone : la photo de « Qui est Clément ? » ne bouge plus au défilement, elle tient donc pile dans son cadre
   (son fondu atteint la transparence totale au bord, plus rien n'y est coupé net) */
@media (max-width: 760px) { .about-photo img { top: 0; height: 100%; } }

/* ---------- Avis : 5 étoiles au-dessus de chaque avis ---------- */
.review .stars { display: block; width: calc(1.15rem * 5); height: 1.15rem; margin-bottom: 1rem; background: var(--gold);
  -webkit-mask: url("assets/icons/star.svg") left center / 1.15rem 1.15rem repeat-x; mask: url("assets/icons/star.svg") left center / 1.15rem 1.15rem repeat-x; }
.review { justify-content: flex-start; }
.review footer { margin-top: auto; }
/* Ordinateur : « Si j'ai trouvé votre carte… » sous le titre « Ils en parlent » */
@media (min-width: 900px) {
  #avis .sec-head { display: block; }
  #avis .sec-head p { margin: 1rem 0 0; max-width: 40rem; }
}

/* ---------- WhatsApp ---------- */
/* Bouton rond flottant, en bas à droite (vert WhatsApp pour être reconnu tout de suite) */
.wa-float { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 40; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); transition: transform 200ms var(--ease), background-color 200ms ease; }
.wa-float:hover { background: #20bd5a; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 2px solid var(--ink-light); outline-offset: 3px; }
html.intro-on .wa-float { opacity: 0; visibility: hidden; }
@media (max-width: 760px) { .wa-float { width: 3.25rem; height: 3.25rem; } }
/* Ligne WhatsApp du bloc Contact */
.contact-info .wa-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-info .wa-link svg { color: var(--gold); flex: none; }
/* Téléphone (accueil) : le canevas de l'intro se fond vers le bas exactement comme la photo
   (photo : de -4svh à 82svh, fondue de 55 % à 90 % de sa hauteur → 43,3svh à 73,4svh depuis le haut de l'accueil) */
@media (max-width: 760px) {
  body:not(.page-event) .intro-canvas { -webkit-mask-image: linear-gradient(to bottom, #000 43.3svh, transparent 73.4svh); mask-image: linear-gradient(to bottom, #000 43.3svh, transparent 73.4svh); }
}

/* =====================================================================
   BOUTONS : centrage optique et boutons isolés recentrés
   ===================================================================== */
/* L'espacement des lettres laisse un vide après la dernière lettre : on le compense devant pour un texte bien centré */
.btn { text-indent: 0.1em; }
/* Boutons isolés sous une section : centrés sur la page (ordinateur aussi) */
@media (min-width: 900px) {
  .sec-cta, .page-event .sec-cta { text-align: center; }
  .sec-cta-duo { justify-content: center; }
  .reviews-cta { justify-content: center; text-align: center; }
}

/* =====================================================================
   WHATSAPP au style du site : crochets, voile translucide, vert émeraude doux
   ===================================================================== */
:root { --wa: #4fd18b; --wa-soft: rgba(79, 209, 139, 0.12); }
.btn:not(.btn-ghost):not(.btn-social).btn-wa { --bracket: var(--wa); background: var(--wa-soft); color: #e3f7ea; gap: 0.55rem; }
.btn.btn-wa svg { color: var(--wa); flex: none; }
@media (hover: hover) {
  .btn:not(.btn-ghost):not(.btn-social).btn-wa:hover { --bracket: #7fe3ad; background: rgba(79, 209, 139, 0.2); color: #fff; }
}

/* Accueil : « Obtenir un devis » puis WhatsApp juste dessous, « Me voir en action » à côté */
.hero-actions { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; justify-content: start; gap: 0.75rem 1rem; }
.hero-actions .btn { width: 100%; }
@media (max-width: 760px) {
  .hero-actions { grid-auto-flow: row; grid-template-rows: none; justify-content: center; width: min(100%, 19rem); margin-inline: auto; }
}

/* Bouton flottant : même style que les boutons du site, en carré, sur un voile vert sombre translucide */
.btn.btn-wa.wa-float { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 40;
  width: 3.5rem; height: 3.5rem; min-height: 0; padding: 0; text-indent: 0; border-radius: 6px;
  background: rgba(14, 44, 30, 0.78); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translateY(0.75rem); pointer-events: none; transition: opacity 260ms var(--ease), transform 260ms var(--ease), background-color 200ms ease; }
.btn.btn-wa.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.btn.btn-wa.wa-float svg { width: 1.6rem; height: 1.6rem; }
@media (hover: hover) { .btn.btn-wa.wa-float:hover { background: rgba(20, 64, 42, 0.9); } }
html.intro-on .btn.btn-wa.wa-float { opacity: 0; visibility: hidden; }

/* Ligne WhatsApp du bloc Contact : l'icône prend le vert WhatsApp du site */
.contact-info .wa-link svg { color: var(--wa); }

/* ---------- WhatsApp : vert sauge tiré de la palette du site (au lieu de l'émeraude) ; bouton flottant rond ---------- */
:root { --wa: #8fc4a2; --wa-soft: rgba(143, 196, 162, 0.12); }
.btn:not(.btn-ghost):not(.btn-social).btn-wa { color: #e6f2ea; }
@media (hover: hover) {
  .btn:not(.btn-ghost):not(.btn-social).btn-wa:hover { --bracket: #b3dcc2; background: rgba(143, 196, 162, 0.2); }
}
.btn.btn-wa.wa-float { border-radius: 50%; background: rgba(26, 51, 39, 0.82); }
@media (hover: hover) { .btn.btn-wa.wa-float:hover { background: rgba(34, 66, 50, 0.92); } }
/* Téléphone : les boutons du haut de page restent centrés sur toutes les pages
   (les pages événement alignent leur texte à gauche, ce qui collait aussi le bloc de boutons à gauche) */
@media (max-width: 760px) {
  .hero-content > .hero-actions, .page-event .hero-content > .hero-actions { margin-inline: auto; }
}

/* Chiffres : pas d'espace entre les colonnes, pour que chaque trait vertical tombe pile entre deux colonnes
   (avant, le trait était collé à la colonne de droite après l'espace, donc décalé du milieu) */
.stats-in { column-gap: 0; }
.stats-in > div { padding-inline: 0.75rem; }

/* ---------- Accueil (ordinateur) : « Obtenir un devis » et WhatsApp côte à côte, de même largeur,
   « Me voir en action » dessous, sur toute la largeur des deux ---------- */
@media (min-width: 761px) {
  body:not(.page-event) .hero-actions { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 27rem); justify-content: stretch; }
  body:not(.page-event) .hero-actions .btn-video { grid-column: 1 / -1; }
}
