/* ============================================================
   Template PRESTIGE (site complet multi-pages) — premium, sombre/doré,
   hero VIDÉO plein écran. Variables : --primary / --accent (override doré).
   Polices : Cormorant Garamond + Inter.
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1d6fb8; --accent: #c8a45d;
  --bg: #0e0f12; --bg2: #16181d; --ink: #f4f1ea; --muted: #9a948a; --line: rgba(255,255,255,.1); --gold: #c8a45d;
  --pad: clamp(20px, 5vw, 96px); --shadow: 0 26px 64px -30px rgba(0,0,0,.8);
}
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.7; overflow-x: hidden; font-weight: 300; }
h1, h2, h3, .logo { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.07; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h1 em, h2 em { color: var(--gold); font-style: italic; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Boutons ===== */
.btn-primary, .btn-line, .btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 15px 32px;
  font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: all .25s; white-space: nowrap; }
.btn-primary, .btn { background: var(--gold); color: #15151b; }
.btn-primary:hover, .btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid rgba(244,241,234,.4); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Nav ===== */
.pr-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad); transition: background .4s, padding .4s; }
.pr-nav.solid { background: rgba(14,15,18,.92); backdrop-filter: blur(12px); padding: 14px var(--pad); border-bottom: 1px solid rgba(200,164,93,.18); }
.logo { font-size: 1.55rem; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.pr-links { display: flex; gap: 32px; }
.pr-links a { color: var(--ink); text-decoration: none; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.pr-links a:hover, .pr-links a.active { color: var(--gold); opacity: 1; }
.pr-nav .nav-phone { color: var(--gold); text-decoration: none; font-weight: 500; border: 1px solid rgba(200,164,93,.45); padding: 9px 18px; white-space: nowrap; }
.pr-nav .nav-phone:hover { background: var(--gold); color: #15151b; }
.pr-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; z-index: 60; }
.pr-burger span { width: 26px; height: 2px; background: var(--ink); display: block; transition: transform .3s, opacity .3s; }

/* ===== Marquee (bandeau défilant — élément dynamique signature, version sobre) ===== */
.marquee { overflow: hidden; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marq 34s linear infinite; }
.marquee-track span { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--gold); white-space: nowrap; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== Héro vidéo ===== */
.pr-hero { position: relative; height: 100vh; height: 100svh; min-height: 580px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; padding: 0 var(--pad); }
.phero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; animation: kb 24s ease-in-out infinite alternate; }
video.phero-media { animation: none; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.12); } }
.pr-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,18,.55), rgba(14,15,18,.45) 45%, rgba(14,15,18,.9)); }
.pr-hero-in { position: relative; max-width: 900px; }
.eyebrow { text-transform: uppercase; letter-spacing: .34em; font-size: .8rem; color: var(--gold); margin-bottom: 24px; }
.hero-sub { color: #d8d4cc; font-size: 1.12rem; max-width: 38em; margin: 24px auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pr-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); text-transform: uppercase; letter-spacing: .3em; font-size: .68rem; color: var(--muted); }
.pr-scroll::after { content: ""; display: block; width: 1px; height: 42px; background: var(--gold); margin: 12px auto 0; animation: drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== Page-head (pages intérieures) ===== */
.page-head { text-align: center; padding: 160px var(--pad) 24px; }
.page-head p { color: var(--muted); max-width: 40em; margin: 14px auto 0; }

/* ===== Intro ===== */
.pr-intro { padding: clamp(70px,10vw,140px) var(--pad); max-width: 1000px; margin: 0 auto; text-align: center; }
.pr-intro p { font-family: "Cormorant Garamond", serif; font-size: clamp(1.4rem,3vw,2.2rem); line-height: 1.45; color: #e6e2d9; }
.pr-intro em { color: var(--gold); font-style: italic; }

/* ===== Sections ===== */
.pr-section { padding: clamp(60px,8vw,120px) var(--pad); }
.pr-band { background: var(--bg2); }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto clamp(34px,5vw,56px); }
.sec-kicker { text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.center-cta { text-align: center; margin-top: 44px; }

/* ===== Cartes services ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--bg2); border: 1px solid var(--line); padding: 34px 28px; text-align: center; transition: border-color .3s, transform .3s; }
.pr-band .card { background: var(--bg); }
.card:hover { transform: translateY(-5px); border-color: var(--gold); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== Arguments ===== */
.arguments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px 38px; }
.argument { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.argument-check { flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.argument h3 { font-size: 1.25rem; margin-bottom: 4px; }
.argument p { color: var(--muted); font-size: .92rem; }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
/* Grade cohérent mais EN COULEUR : on montre le travail (les réfs premium ne grisent pas leurs photos) */
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: saturate(.96) contrast(1.04) brightness(.99); transition: filter .4s, transform .4s; }
.gallery img:hover { filter: saturate(1.05) contrast(1.04); transform: scale(1.015); }
.gallery-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 50px; border: 1px dashed var(--line); }

/* ===== Avis (injecté) ===== */
.section { padding: clamp(60px,8vw,100px) var(--pad); background: var(--bg2); text-align: center; }
.container { max-width: 760px; margin: 0 auto; }
.section-sub { color: var(--muted); margin: 12px auto 26px; }
.pr-avis { text-align: center; }
.avis-score { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.avis-note { font-family: "Cormorant Garamond", serif; font-size: clamp(3.4rem, 8vw, 5.4rem); line-height: 1; color: var(--gold); }
.avis-note small { font-size: .4em; color: var(--muted); }
.avis-stars { font-size: 1.5rem; color: var(--gold); letter-spacing: .12em; }
.avis-count { color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; }

/* ===== Zones ===== */
.zones { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.zones li { border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px; font-size: .95rem; color: #d8d4cc; }
.zones li::before { content: "— "; color: var(--gold); }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { font-family: "Cormorant Garamond", serif; font-size: 1.45rem; cursor: pointer; padding: 22px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding: 0 0 22px; margin-top: -6px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.contact-card { background: var(--bg2); border: 1px solid var(--line); padding: 34px 26px; text-align: center; }
.contact-card .ic { font-size: 1.8rem; }
.contact-card h3 { font-size: 1.3rem; margin: 12px 0 6px; }
.contact-card a { color: var(--gold); text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-card p { color: var(--muted); }
.cta-band { text-align: center; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ===== Footer / FAB ===== */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer a { color: var(--muted); }
.fab-phone { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #15151b; align-items: center; justify-content: center; font-size: 1.4rem; text-decoration: none; box-shadow: var(--shadow); }

/* ===== Mentions ===== */
.legal { max-width: 760px; margin: 0 auto; padding: 160px var(--pad) 70px; } .legal h1 { margin-bottom: 22px; } .legal h2 { font-size: 1.3rem; margin: 24px 0 6px; } .legal p { color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  /* Mobile : vidéo entière 16:9 (pas de rognage → on voit toute l'action) + texte dessous */
  .pr-hero { height: auto; min-height: 0; display: block; padding: 86px 0 0; text-align: center; }
  .phero-media, video.phero-media { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; animation: none; }
  .pr-veil { display: none; }
  .pr-hero-in { position: relative; max-width: none; padding: 34px 22px 48px; }
  .pr-scroll { display: none; }
}
@media (max-width: 720px) {
  .pr-burger { display: flex; }
  .pr-links { position: fixed; inset: 0; background: rgba(14,15,18,.98); backdrop-filter: blur(8px); flex-direction: column; justify-content: center; align-items: center; gap: 30px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1); z-index: 55; }
  .pr-nav.menu-open .pr-links { transform: none; }
  .pr-links a { font-size: 1.5rem; opacity: 1; }
  .pr-nav.menu-open .pr-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pr-nav.menu-open .pr-burger span:nth-child(2) { opacity: 0; }
  .pr-nav.menu-open .pr-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fab-phone { display: flex; }
  .hero-actions .btn-primary, .hero-actions .btn-line { flex: 1 1 100%; }
  .contact-actions .btn-primary, .contact-actions .btn-line { flex: 1 1 100%; }
}
@media (max-width: 520px) { .pr-nav .nav-phone { font-size: .8rem; padding: 8px 12px; } }

/* Image métier derrière les cartes services (ni émoji ni numéro) : plus présente + voile dégradé pour lisibilité */
.card { position: relative; overflow: hidden; }
.card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .26; pointer-events: none; z-index: 0; filter: saturate(.95); transition: opacity .4s, transform .6s; }
.card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14,15,18,.45), rgba(14,15,18,.82)); }
.card:hover .card-bg { opacity: .42; transform: scale(1.05); }
.card > :not(.card-bg) { position: relative; z-index: 1; }

/* ===== Bandeau de confiance dans le héro ===== */
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; margin-top: 34px; }
.hero-trust li { color: #d8d4cc; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* ===== Signature de l'artisan (touche humaine) ===== */
.pr-signature { max-width: 880px; margin: 0 auto; text-align: center; }
.pr-signature .sign-line { font-family: "Cormorant Garamond", serif; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.5; color: #e6e2d9; }
.pr-signature .sign-line em { color: var(--gold); font-style: italic; }
.pr-signature .sign-name { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.6rem; color: var(--gold); margin-top: 26px; }

/* ===== Reveals en cascade (effet premium) ===== */
.cards.in > *, .arguments.in > *, .gallery.in > * { animation: rise .7s ease both; }
.cards.in > *:nth-child(2), .arguments.in > *:nth-child(2), .gallery.in > *:nth-child(2) { animation-delay: .08s; }
.cards.in > *:nth-child(3), .arguments.in > *:nth-child(3), .gallery.in > *:nth-child(3) { animation-delay: .16s; }
.cards.in > *:nth-child(4), .arguments.in > *:nth-child(4), .gallery.in > *:nth-child(4) { animation-delay: .24s; }
.gallery.in > *:nth-child(5) { animation-delay: .32s; } .gallery.in > *:nth-child(6) { animation-delay: .40s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
