/* ==========================================================
   Nolhan Prentignac – Magicien
   Feuille de style unique (aucune police ni script externe)
   ========================================================== */

:root {
  --bg: #070707;
  --bg-2: #0f0e0c;
  --card: #14120e;
  --line: rgba(217, 178, 95, .16);
  --gold: #d9b25f;
  --gold-2: #f1d38b;
  --violet: #d9b25f;
  --text: #f4f1ea;
  --muted: #a9a399;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --serif: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--bg-2); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; letter-spacing: .22em; text-transform: uppercase;
  font-size: .78rem; color: var(--gold); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 7, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.logo { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .02em; }
.logo-star { color: var(--gold); margin-right: .35rem; }
.menu { display: flex; gap: 1.6rem; align-items: center; }
.menu a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; border-color: var(--gold); }
.menu a.btn { color: #1a1204; border: 0; padding: .55rem 1.1rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: #fff; font-size: 1.4rem; line-height: 1; border-radius: 10px; padding: .35rem .7rem; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    display: none; padding: .5rem 1rem 1rem;
  }
  .menu.open { display: flex; }
  .menu a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .menu a.btn { margin-top: .8rem; text-align: center; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; font-weight: 600;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1204; padding: .85rem 1.6rem; border-radius: 999px; border: 0;
  font-size: 1rem; font-family: inherit;
  box-shadow: 0 8px 22px rgba(217, 178, 95, .25);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); color: #1a1204; box-shadow: 0 12px 28px rgba(217, 178, 95, .35); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid var(--gold); box-shadow: none; }
.btn.ghost:hover { background: rgba(217, 178, 95, .12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 11vw, 8rem) 0 clamp(3.5rem, 9vw, 6.5rem);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(217, 178, 95, .16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(217, 178, 95, .16), transparent 60%),
    var(--bg);
}
.hero::before, .hero::after {
  content: "✦"; position: absolute; color: var(--gold); opacity: .55; pointer-events: none;
}
.hero::before { font-size: 2.2rem; top: 18%; right: 12%; animation: twinkle 3.6s ease-in-out infinite; }
.hero::after { font-size: 1.2rem; bottom: 22%; right: 30%; animation: twinkle 4.8s ease-in-out infinite .8s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: .8; transform: scale(1.1); } }
.hero h1 span { color: var(--gold-2); }
.hero .lead { font-size: 1.25rem; }
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); background: radial-gradient(800px 300px at 85% 0%, rgba(217, 178, 95, .12), transparent 65%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4em; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow);
}
.card .icon { font-size: 2rem; display: block; margin-bottom: .6rem; }
.card h3 { color: #fff; }
.card p:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.2rem; margin: .6rem 0 0; color: var(--muted); }
.card li { margin-bottom: .3rem; }
.tag { display: inline-block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217, 178, 95, .4); border-radius: 999px; padding: .15rem .7rem; margin-bottom: .8rem; }

.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; font-size: .95rem; }
.center .chips { justify-content: center; }

.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, #1a1710, #0b0a08); box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--muted); text-align: center; font-size: .95rem;
  position: relative; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait.is-empty::before { content: "✦\A Photo de Nolhan\A à venir"; white-space: pre; line-height: 1.8; }

.cta-band { background: linear-gradient(135deg, #1c1710, #0c0b09); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.gal-item { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #1a1710, #0b0a08); border: 1px solid var(--line); cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.gal-item.is-empty { cursor: default; display: grid; place-items: center; }
.gal-item.is-empty::before { content: "✦  Photo à venir"; color: var(--muted); font-size: .95rem; }
.gal-item.is-empty figcaption { background: none; text-align: center; color: var(--muted); }

.lightbox { position: fixed; inset: 0; background: rgba(5, 3, 12, .92); display: none; place-items: center; z-index: 100; padding: 1rem; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 100%); border-radius: 10px; }

/* ---------- Formulaire ---------- */
form.contact { display: grid; gap: 1.1rem; }
.row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text);
  background: #0b0a08; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: auto; margin-top: .3rem; }
.hidden { display: none !important; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 78ch; }
.legal h2 { margin-top: 2.2rem; font-size: 1.5rem; color: var(--gold-2); }
.legal ul { color: var(--muted); }
mark.todo { background: rgba(217, 178, 95, .18); color: var(--gold-2); padding: .05rem .4rem; border-radius: 6px; border: 1px dashed rgba(217, 178, 95, .6); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; background: #050505; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 1.8rem; }
.site-footer h3 { font-size: 1rem; color: #fff; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.copyright { border-top: 1px solid var(--line); padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 760px; margin-inline: auto;
  background: var(--card); border: 1px solid rgba(217, 178, 95, .45); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); padding: 1.3rem 1.4rem;
}
.cookie-banner h2 { font-size: 1.1rem; margin: 0 0 .4rem; color: #fff; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.cookie-actions .btn { flex: 1 1 150px; text-align: center; padding: .7rem 1.2rem; }
.cookie-actions a { font-size: .88rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; }
.linklike:hover { color: #fff; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; color: var(--muted); }
.legal th, .legal td { text-align: left; padding: .6rem .7rem; border: 1px solid var(--line); vertical-align: top; }
.legal th { color: #fff; background: var(--card); }

/* ---------- Logo en image ---------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; border-radius: 8px; }
.menu a.btn[aria-current="page"] { border-bottom: 0; }

/* ---------- Pied de page centré (le badge Netlify est en bas à droite) ---------- */
.site-footer { padding: 2.5rem 0 4.5rem; text-align: center; }
.footer-center { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer-center p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 0 0 1rem !important; }
.legal-links li { margin: 0 !important; }
.linklike { color: var(--muted); }


/* ---------- Logo plus grand ---------- */
.nav { min-height: 92px; }
.logo img { height: 72px; width: auto; }
@media (max-width: 960px) {
  .nav { min-height: 76px; }
  .logo img { height: 56px; }
  .menu { top: 100%; }
}
section[id] { scroll-margin-top: 100px; }

/* ---------- Typographie : titres plus travaillés ----------
   Pour utiliser la police EXACTE du logo, l'ajouter dans le dossier fonts/ puis
   déclarer @font-face et mettre son nom en premier dans --display. */
:root { --display: "Cinzel Decorative", "Cinzel", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; }
h1, h2 { font-family: var(--display); letter-spacing: .04em; }
h1 { text-transform: uppercase; text-shadow: 0 2px 24px rgba(217, 178, 95, .25); }
.hero h1 span, .page-hero h1 span {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #b98a2e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section h2 { text-transform: uppercase; font-size: clamp(1.35rem, 3vw, 2rem); }
.section h2::after {
  content: "✦ ✦ ✦"; display: block; margin-top: .55rem; font-size: .7rem; letter-spacing: .5em; color: var(--gold);
}
.center h2::after, .cta-band h2::after { margin-inline: auto; }
.legal h2::after, .card h2::after { content: none; }
.legal h2 { text-transform: none; letter-spacing: .01em; font-size: 1.45rem; }
.eyebrow { font-weight: 600; letter-spacing: .32em; }
.eyebrow::before, .eyebrow::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 .8em; opacity: .7; }
.eyebrow::before { margin-left: 0; }
.center .eyebrow::before { margin-left: .8em; }
.card h3 { font-family: var(--display); letter-spacing: .03em; }
.intro-center { max-width: 760px; text-align: center; }

/* ---------- Pied de page : menu « Infos légales » ---------- */
.legal-menu { position: relative; display: inline-block; margin-bottom: .6rem; }
.legal-toggle { background: transparent; color: #fff; font: inherit; font-size: .95rem; cursor: pointer; padding: .6rem 1.4rem; border-radius: 999px; border: 1px solid rgba(217, 178, 95, .5); }
.legal-toggle:hover, .legal-toggle[aria-expanded="true"] { background: rgba(217, 178, 95, .14); }
.legal-list { position: absolute; bottom: calc(100% + .6rem); left: 50%; transform: translateX(-50%); min-width: 270px; margin: 0 !important; padding: .5rem !important; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); z-index: 60; text-align: left; list-style: none; }
.legal-list[hidden] { display: none; }
.legal-list li { margin: 0 !important; }
.legal-list a, .legal-list button { display: block; width: 100%; padding: .65rem .9rem; border-radius: 10px; color: var(--text); text-decoration: none; background: none; border: 0; font: inherit; font-size: .95rem; text-align: left; cursor: pointer; }
.legal-list a:hover, .legal-list button:hover { background: rgba(217, 178, 95, .14); color: #fff; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Tout centré quand les éléments passent à la ligne ---------- */
.grid.cols-3, .grid.cols-2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.grid.cols-3 > * { flex: 0 1 340px; }
.grid.cols-2 > * { flex: 0 1 520px; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.gal-item { flex: 0 1 340px; aspect-ratio: 4 / 5; }
.gal-item img { object-position: 50% 25%; }
.chips, .btn-row { justify-content: center; }
@media (min-width: 701px) { .hero .btn-row, .split .btn-row, .legal .btn-row { justify-content: flex-start; } }
@media (max-width: 700px) {
  .hero, .page-hero, .split > div { text-align: center; }
  .hero .lead, .page-hero .lead { margin-inline: auto; }
  .eyebrow::before { margin-left: .8em; }
  .split .section h2::after, .hero h1::after { margin-inline: auto; }
  .section h2::after { margin-inline: auto; }
  .grid.cols-3 > *, .grid.cols-2 > *, .gal-item { flex-basis: 100%; max-width: 420px; }
}

/* ---------- Pied de page premium ---------- */
.site-footer { padding: 4rem 0 6rem; background: linear-gradient(180deg, #050505, #030303); border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(520px, 70%); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-center { gap: 1.1rem; }
.footer-center::before { content: "✦"; color: var(--gold); font-size: .9rem; letter-spacing: .5em; margin-bottom: .4rem; opacity: .85; }
.footer-center p { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #8a8375; }
.footer-center p a { color: var(--gold-2); }
.legal-menu { margin: .4rem 0 1.2rem; }
.legal-toggle {
  display: inline-flex; align-items: center; gap: .7rem;
  background: transparent; color: #fff; cursor: pointer; font-family: inherit;
  font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .95rem 2rem; border-radius: 999px; border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(217, 178, 95, .06), inset 0 0 18px rgba(217, 178, 95, .07);
  transition: transform .15s, background .2s, box-shadow .2s;
}
.legal-toggle:hover, .legal-toggle[aria-expanded="true"] { background: rgba(217, 178, 95, .12); transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(217, 178, 95, .1), 0 12px 28px rgba(217, 178, 95, .22); }
.legal-toggle span { color: var(--gold-2); transition: transform .2s; }
.legal-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.legal-list {
  min-width: 300px; padding: .6rem !important; border-radius: 20px;
  background: rgba(12, 11, 9, .96); backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 178, 95, .4); box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 0 6px rgba(217, 178, 95, .05);
}
.legal-list li + li { border-top: 1px solid var(--line); }
.legal-list a, .legal-list button { padding: .85rem 1.1rem; font-size: .93rem; letter-spacing: .02em; border-radius: 12px; text-align: center; transition: background .15s, color .15s; }
.legal-list a:hover, .legal-list button:hover { color: var(--gold-2); background: rgba(217, 178, 95, .12); }

/* Ajustement : 3 colonnes jusqu'à ~1000 px de large */
.grid.cols-3, .grid.cols-2, .gallery { gap: 1.5rem; }
.grid.cols-3 > *, .gal-item { flex-basis: 300px; }
.grid.cols-2 > * { flex-basis: 460px; }
@media (max-width: 700px) { .grid.cols-3 > *, .grid.cols-2 > *, .gal-item { flex-basis: 100%; } }


/* ---------- Accueil : nom en grand, accroche, association ---------- */
.hero h1 { font-size: clamp(2.6rem, 8.5vw, 5.4rem); line-height: 1.05; margin-bottom: .25em; }
.tagline { font-family: var(--display); font-size: clamp(1.15rem, 2.8vw, 1.8rem); letter-spacing: .06em; color: var(--gold-2); margin: 0 0 1.3rem; }
.hero .lead { max-width: 58ch; }
.produced-by { margin: 2rem 0 0; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: #8a8375; }
.produced-by a { color: var(--gold-2); text-decoration: none; border-bottom: 1px solid rgba(217, 178, 95, .5); }
.produced-by a:hover { color: #fff; }
@media (max-width: 700px) { .tagline, .produced-by { text-align: center; } }
#a-propos a { color: var(--gold-2); text-decoration: none; }
#a-propos a:hover { color: #fff; }


/* ---------- Accueil : cartes cliquables, photos, avis ---------- */
article[id], section[id] { scroll-margin-top: 110px; }
a.card-link { display: block; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
a.card-link:hover { transform: translateY(-4px); border-color: rgba(217, 178, 95, .55); box-shadow: 0 22px 46px rgba(0, 0, 0, .45); color: inherit; }
a.card-link p { color: var(--muted); }
.more { color: var(--gold-2); font-weight: 600; font-size: .95rem; text-decoration: none; }
.card-link .more { display: inline-block; margin-top: .4rem; }
a.more:hover, a.card-link:hover .more { color: #fff; }
#a-propos h2 a { color: inherit; text-decoration: none; }
#a-propos h2 a:hover { color: var(--gold-2); }
a.portrait { display: block; }
a.gal-item { display: block; cursor: pointer; }
.gal-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; font-size: .88rem; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.review { margin: 0; text-align: left; }
.review .stars, .rating .stars { color: var(--gold); letter-spacing: .15em; }
.review blockquote { margin: .6rem 0 1rem; color: var(--text); font-style: italic; }
.review figcaption { color: var(--muted); font-size: .88rem; }
.rating { margin: .4rem 0 0; color: var(--muted); }


/* ---------- Avis Google (style des cartes Google) ---------- */
.g-summary, .g-review { background: #fff; color: #202124; font-family: Roboto, Arial, "Helvetica Neue", sans-serif; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.g-summary { max-width: 560px; margin: 2rem auto 0; padding: 1.8rem 1.6rem; text-align: center; }
.g-summary p { color: #5f6368; margin: 0 0 1.2rem; }
.g-summary .g-label { color: #202124; font-size: 1.15rem; font-weight: 500; letter-spacing: .01em; margin-bottom: .5rem; }
.g-btn { display: inline-block; text-decoration: none; background: #1a73e8; color: #fff; font-weight: 500; font-size: .95rem; padding: .75rem 1.5rem; border-radius: 999px; transition: background .15s, box-shadow .15s; }
.g-btn:hover { background: #1765cc; color: #fff; box-shadow: 0 4px 14px rgba(26, 115, 232, .45); }
.g-reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.g-review { flex: 0 1 340px; margin: 0; padding: 1.3rem; text-align: left; }
.g-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.g-head strong { display: block; font-size: .95rem; }
.g-head span:not(.g-avatar) { display: block; font-size: .8rem; color: #70757a; }
.g-avatar { width: 40px; height: 40px; border-radius: 50%; background: #1a73e8; color: #fff; display: grid; place-items: center; font-weight: 500; }
.g-stars { color: #fbbc04; letter-spacing: .1em; font-size: 1.05rem; }
.g-review blockquote { margin: .6rem 0 0; font-size: .93rem; line-height: 1.55; color: #3c4043; }


/* ---------- Pied de page : liens légaux en ligne ---------- */
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 0; margin: .2rem 0 1.2rem !important; padding: 0 !important; list-style: none; }
.legal-links li { margin: 0 !important; display: inline-flex; align-items: center; }
.legal-links li + li::before { content: "✦"; color: var(--gold); font-size: .55rem; margin: 0 1.1rem; opacity: .8; }
.legal-links a, .legal-links button { background: none; border: 0; padding: .3rem 0; font: inherit; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #a9a399; text-decoration: none; cursor: pointer; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.legal-links a:hover, .legal-links button:hover { color: var(--gold-2); border-color: rgba(217, 178, 95, .6); }
@media (max-width: 560px) { .legal-links li + li::before { margin: 0 .7rem; } .legal-links a, .legal-links button { font-size: .74rem; letter-spacing: .1em; } }


/* ---------- Accueil : animation premium ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
#hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero::before { content: none !important; } .hero::after { content: none !important; }
.hero .container { position: relative; z-index: 1; }
.spot { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: 50%; top: -35vmax; margin-left: -35vmax; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0 35%, rgba(217,178,95,.10) 42%, transparent 50%, rgba(255,255,255,.035) 58%, transparent 66%);
  filter: blur(30px); animation: sweep 18s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@keyframes sweep { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.hero .eyebrow, .hero h1, .hero .tagline, .hero .lead, .hero .btn-row, .hero .produced-by { opacity: 0; transform: translateY(22px); animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .eyebrow { animation-delay: .1s; } .hero h1 { animation-delay: .35s; } .hero .tagline { animation-delay: .7s; }
.hero .lead { animation-delay: .95s; } .hero .btn-row { animation-delay: 1.2s; } .hero .produced-by { animation-delay: 1.45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 span { background-size: 220% 100%; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.card, .gal-item { transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.card:hover, .gal-item:hover { transform: translateY(-6px); border-color: rgba(217,178,95,.55); box-shadow: 0 22px 46px rgba(0,0,0,.6), 0 0 28px rgba(217,178,95,.12); }
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .tagline, .hero .lead, .hero .btn-row, .hero .produced-by, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .spot, .hero h1 span { animation: none; }
}


/* ---------- Accueil : photos en fondu derrière le titre ---------- */
.hero-bg { position: absolute; inset: 0; z-index: -3; background: #070707; }
.hb { position: absolute; inset: 0; background-size: cover; opacity: 0; animation: hbfade 14s ease-in-out infinite; transform: scale(1.04); }
.hb1 { background-image: url("../images/hero-1.jpg"); background-position: center 18%; }
.hb2 { background-image: url("../images/hero-2.jpg"); background-position: center 28%; animation-delay: 7s; }
@keyframes hbfade { 0% { opacity: 0; transform: scale(1.04); } 8%, 46% { opacity: 1; } 54%, 100% { opacity: 0; transform: scale(1.12); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,7,.72) 0%, rgba(7,7,7,.62) 45%, rgba(7,7,7,.9) 100%); }
.hero .spot { z-index: -1; }
@media (prefers-reduced-motion: reduce) { .hb { animation: none; } .hb1 { opacity: 1; } }

/* Boutons en majuscules */
main .btn, .cta-band .btn { text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; }

/* Titres des cartes de prestations */
.card h3 { letter-spacing: .06em; }

/* Photo de la table Magic No' */
.asso-photo { margin: 2rem auto; max-width: 420px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.asso-photo img { width: 100%; height: auto; }
.portrait img { object-position: center 30%; }

/* Photo « à propos » : image entière, identique partout */
.portrait.wide { aspect-ratio: 3 / 2; }
.portrait.wide img { object-fit: cover; object-position: center; }

/* Accueil ordinateur : photos entières (non zoomées) à droite du titre */
@media (min-width: 861px) {
  .hero { min-height: 640px; display: grid; align-items: center; justify-items: center; }
  .hb { inset: 0 6% 0 auto; width: min(44vw, 540px); background-size: contain; background-repeat: no-repeat; background-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
  .hb1, .hb2 { background-position: center; }
  .hero-bg::after { background: linear-gradient(180deg, #070707 0%, transparent 14%, transparent 86%, #070707 100%), linear-gradient(90deg, rgba(7,7,7,.9) 0%, rgba(7,7,7,.55) 55%, rgba(7,7,7,.25) 100%); }
}
/* Mobile : photo entière en haut, texte en dessous */
@media (max-width: 860px) {
  .hero { padding-top: 390px; }
  .hb { inset: 0 0 auto 0; height: 440px; background-size: contain; background-repeat: no-repeat; background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%); }
  .hb1, .hb2 { background-position: center top; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7,7,7,.15) 0%, rgba(7,7,7,.15) 45%, #070707 70%); }
}


/* ---------- Menu : panneau latéral (mobile) ---------- */
.menu-close, .menu-contact, .menu-backdrop { display: none; }
@media (max-width: 960px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(7, 7, 7, .97); }
  .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .menu-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s; }
  .menu { display: flex; position: fixed; z-index: 2; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw, 340px); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto;
    background: #0b0a08; border: 0; border-left: 1px solid var(--line); box-shadow: -24px 0 60px rgba(0, 0, 0, .7);
    padding: 1.1rem 1.6rem 1.6rem; transform: translateX(105%); visibility: hidden; transition: transform .38s cubic-bezier(.2, .7, .2, 1), visibility 0s .38s; }
  .menu.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.2, .7, .2, 1); }
  body.menu-open { overflow: hidden; }
  .menu-close { display: grid; place-items: center; align-self: flex-end; width: 42px; height: 42px; margin-bottom: 1rem; background: none; border: 1px solid var(--line); color: #fff; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
  .menu-close:hover { border-color: var(--gold); color: var(--gold-2); }
  .menu a, .menu a.btn { text-align: left; text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; font-weight: 500; padding: 1.05rem 0; margin: 0;
    background: none; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); }
  .menu a:hover, .menu a[aria-current="page"], .menu a.btn:hover { color: var(--gold-2); border-bottom-color: var(--line); transform: none; box-shadow: none; }
  .menu a[aria-current="page"] { color: var(--gold-2); }
  .menu-contact { display: grid; gap: .2rem; margin-top: auto; padding-top: 1.6rem; }
  .menu .menu-contact a { display: flex; align-items: center; gap: .75rem; text-transform: none; letter-spacing: .02em; font-size: .92rem; padding: .65rem 0; border: 0; color: #d6cfbf; }
  .menu .menu-contact svg { color: var(--gold); flex: none; }
}

/* ---------- Page Asso : alignements cohérents (centré) ---------- */
.page-asso .page-hero, .page-asso .legal { text-align: center; }
.page-asso .page-hero .lead, .page-asso .legal p { margin-inline: auto; }
.page-asso .page-hero h1::after, .page-asso .legal h2::after { margin-inline: auto; }
.page-asso .legal .btn-row { justify-content: center; }
.page-asso .page-hero h1 { text-transform: uppercase; }

/* ---------- Page Contact : bloc clair ---------- */
.quote-box { max-width: 860px; margin: 0 auto; background: #faf7f0; color: #1b1812; color-scheme: light; border-radius: 24px; border: 1px solid rgba(217, 178, 95, .55);
  padding: clamp(1.6rem, 4.5vw, 3.2rem); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.quote-box h2 { color: #14110a; text-shadow: none; text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.quote-box h2::after { margin-inline: auto; }
.quote-box .quote-sub { text-align: center; color: #5b5446; max-width: 60ch; margin: 0 auto 1rem; }
.quote-box .quote-call { text-align: center; margin: 0 0 2rem; }
.quote-box .quote-call a { color: #8a6a1f; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.quote-box .quote-call a:hover { color: #14110a; }
.quote-box label { color: #5b5446; }
.quote-box input, .quote-box select, .quote-box textarea { background: #fff; color: #14110a; border: 1px solid #d9d2c1; }
.quote-box input:focus, .quote-box select:focus, .quote-box textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.quote-box .check, .quote-box .check span { color: #5b5446; }
.quote-box .check a { color: #8a6a1f; }
.quote-box .form-submit { text-align: center; margin-top: .6rem; }
.contact-below { max-width: 640px; margin: 3rem auto 0; text-align: center; }
.contact-below .contact-list li { text-align: center; }

.menu a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1100px) { .menu { gap: 1.1rem; } .menu a { font-size: .88rem; } }
.page-asso .legal h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--text); margin-top: 0; }
.page-asso .card { text-align: center; }
.page-asso .legal h2 { text-transform: uppercase; letter-spacing: .04em; }

.avis-widget { max-width: 1100px; margin: 2rem auto 0; }

/* Section avis : fond blanc */
#avis { background: #fff; color: #1b1812; border-top: 1px solid rgba(217,178,95,.5); border-bottom: 1px solid rgba(217,178,95,.5); }
#avis h2 { color: #14110a; text-shadow: none; }
#avis .eyebrow { color: #8a6a1f; }
#avis .eyebrow::before, #avis .eyebrow::after { background: #8a6a1f; }
#avis .avis-widget { max-width: 1100px; margin: 2rem auto 0; }

/* ---------- Carrousel de logos ---------- */
.logo-carousel { position: relative; display: flex; align-items: center; gap: .6rem; margin-top: 2rem; --per: 5; --gap: 1rem; }
.lc-viewport { overflow: hidden; flex: 1; min-width: 0; padding: 12px 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.lc-track { display: flex; gap: var(--gap); list-style: none; margin: 0; padding: 0; will-change: transform; }
.logo-item { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); height: 136px; background: #fff; border-radius: 14px; border: 2px solid var(--gold); box-sizing: border-box; display: flex; transition: box-shadow .2s, border-color .2s; }
.logo-item:hover, .logo-item:focus-within { border-color: var(--gold-2); box-shadow: 0 0 0 2px var(--gold-2), 0 10px 24px rgba(0,0,0,.4); }
.logo-item a, .logo-static { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: .7rem .9rem; border-radius: 12px; outline: none; }
.logo-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; min-height: 0; }
.logo-item[style*="#2f5d46"] img, .logo-item[style*="#3d52c0"] img { max-height: 108px; }
.lc-btn { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; color: var(--gold-2); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 .2rem; transition: background .2s, color .2s; }
.lc-btn:hover, .lc-btn:focus-visible { background: var(--gold); color: #000; }
@media (max-width: 1000px) { .logo-carousel { --per: 4; } }
@media (max-width: 760px)  { .logo-carousel { --per: 3; --gap: .7rem; } .logo-item { height: 114px; } }
@media (max-width: 480px)  { .logo-carousel { --per: 2; } .lc-btn { width: 38px; height: 38px; } }
