/* ============================================================
   Pages de prestation (nettoyage-interieur-voiture/, ...)
   Meme charte que l'accueil : noir, or, Cormorant Garamond.
   Fichier partage : mis en cache une fois pour toutes les pages.
   ============================================================ */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: block;
  src: url('fonts/cormorant-garamond.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: block;
  src: url('fonts/cormorant-garamond-italic.woff2') format('woff2'); }

:root {
  --gold: #C9A84C; --gold-light: #E2C97E; --gold-dark: #A07830;
  --black: #0a0a0a; --black2: #111111; --black3: #161616;
  --text: #f4f1e9; --text-muted: #b6b1a6;
  --line: rgba(201,168,76,0.18);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #0a0a0a; }
body {
  background: transparent; color: var(--text);
  font-family: 'Segoe UI', Tahoma, sans-serif; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Fond photographique commun a tout le site : la meme photo que l'accueil
   (Porsche GT4, vignette du hero) sous le meme voile sombre et le meme vignettage. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  transform: translateZ(0); backface-visibility: hidden;   /* couche GPU : pas de saccade au defilement */
  background-color: #0a0a0a;
  background-image:
    linear-gradient(180deg, rgba(8,8,8,0.79) 0%, rgba(8,8,8,0.67) 32%, rgba(8,8,8,0.74) 68%, rgba(5,5,5,0.87) 100%),
    radial-gradient(140% 110% at 50% 38%, transparent 46%, rgba(0,0,0,0.42) 100%),
    url('images/fond-porsche-gt4.jpg');
  background-size: auto, auto, cover;
  background-position: center, center, center 40%;
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: 0.01em; color: #fff; }
h1 em, h2 em { font-style: italic; color: var(--gold-light); }
.label { display: block; color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.8rem; }

/* ---------- Bandeau ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 65px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 2rem; background: rgba(10,10,10,0.97); border-bottom: 1px solid var(--gold-dark);
}
.nav-logo img { height: 48px; width: auto; border-radius: 4px; }
.nav-liens { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-liens a { color: var(--text); text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.nav-liens a:hover, .nav-liens a[aria-current] { color: var(--gold); }
.nav-droite { display: flex; align-items: center; gap: 0.6rem; }
.nav-menu { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 14px 28px; border-radius: 4px; font-size: 15px; font-weight: 600;
  letter-spacing: 0.3px; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-or { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.btn-or:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-contour { background: transparent; color: var(--gold); border: 1px solid var(--gold); font-weight: 500; }
.btn-contour:hover { background: rgba(201,168,76,0.1); }
.btn-petit { padding: 10px 18px; font-size: 13px; }

/* ---------- Mise en page ---------- */
.fil { max-width: 1100px; margin: 0 auto; padding: 1.2rem 1.5rem 0; font-size: 13px; color: var(--text-muted); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fil li + li::before { content: '›'; margin-right: 0.4rem; color: var(--gold-dark); }
.fil a { color: var(--text-muted); text-decoration: none; }
.fil a:hover { color: var(--gold); }
.bloc { max-width: 1100px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.bloc + .bloc { border-top: 1px solid rgba(201,168,76,0.08); }
.bloc > h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.9rem; }
.chapo { color: var(--text-muted); max-width: 680px; font-size: 1.02rem; margin-bottom: 2.4rem; }

/* ---------- Haut de page ---------- */
.entete { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding-top: 2.5rem; }
.entete h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); margin-bottom: 1.1rem; }
.entete .intro { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.8rem; max-width: 560px; }
.entete .intro strong { color: var(--text); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.confiance { margin-top: 1.4rem; font-size: 14px; color: var(--text-muted); }
.confiance a { color: var(--text-muted); text-decoration: none; }
.confiance .etoiles { color: var(--gold); letter-spacing: 2px; margin-right: 0.35rem; }
.photo-entete { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,0.6); }
.photo-entete img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.photo-entete.paysage img { aspect-ratio: 4 / 3; }
.photo-entete.portrait img { aspect-ratio: 4 / 5; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.duo figure { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.duo figcaption { padding: 0.7rem 0.9rem; font-size: 13px; color: var(--text-muted); background: var(--black3); }
.duo p + p { margin-top: 0.9rem; }
.duo .texte p { color: var(--text-muted); }
.photo-entete figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.78)); font-size: 13px; color: #ddd;
}

/* ---------- Ce qui est inclus ---------- */
.inclus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; }
.inclus li { background: var(--black3); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem 1.3rem; }
.inclus h3 { font-size: 1.35rem; margin-bottom: 0.45rem; color: var(--gold-light); }
.inclus p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Avant / apres ---------- */
.paires { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.paire h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.paire-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.paire-photos figure { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.paire-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pastille {
  position: absolute; top: 0.6rem; left: 0.6rem; padding: 3px 10px; border-radius: 30px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(10,10,10,0.8); color: var(--text); border: 1px solid rgba(255,255,255,0.25);
}
.pastille-apres { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.tarif { background: var(--black3); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem 1rem; text-align: center; }
.tarif span { display: block; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.tarif strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-light); line-height: 1.2; margin-top: 0.3rem; }
.tarif small { display: block; color: var(--text-muted); font-size: 12px; }
.tarif-devis strong { font-size: 1.5rem; padding: 0.35rem 0; }
.options { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.options div { background: rgba(201,168,76,0.05); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.3rem; }
.options h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.options ul { list-style: none; color: var(--text-muted); font-size: 0.95rem; }
.options li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.options li:last-child { border-bottom: 0; }
.options li b { color: var(--text); font-weight: 600; white-space: nowrap; }
.note { margin-top: 1.2rem; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Etapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; position: relative; padding-top: 3.4rem; }
.etapes li::before {
  content: counter(etape); position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}
.etapes h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.etapes p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Realisations ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.galerie figure { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--black3); }
.galerie img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.galerie figcaption { padding: 0.6rem 0.8rem; font-size: 13px; color: var(--text-muted); }
.lien-suite { display: inline-block; margin-top: 1.4rem; text-decoration: none; font-size: 14px; letter-spacing: 0.5px; }
.lien-suite:hover { color: var(--gold-light); }

/* ---------- Avis ---------- */
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.avis blockquote { background: var(--black3); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem 1.3rem; }
.avis .etoiles { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.avis p { margin: 0.6rem 0 0.9rem; font-size: 0.97rem; }
.avis footer { color: var(--text-muted); font-size: 13px; }

/* ---------- Questions ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid rgba(201,168,76,0.15); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-family: 'Segoe UI', sans-serif; font-size: 1.4rem; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--text-muted); padding: 0 0 1.2rem; max-width: 720px; }

/* ---------- Appel final + autres prestations ---------- */
.final { text-align: center; }
.final .chapo { margin-left: auto; margin-right: auto; }
.final .actions { justify-content: center; }
.autres { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.autres a {
  display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 30px;
  color: var(--text); text-decoration: none; font-size: 14px;
}
.autres a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Chiffres clés (page sans photo : ceramique) ---------- */
.chiffres { display: grid; gap: 0.8rem; }
.chiffre {
  border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem 1.5rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.02));
}
.chiffre strong { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1.1; color: var(--gold-light); }
.chiffre span { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Deux photos dans le haut de page (avant / apres) ---------- */
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.photo-duo figure { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.photo-duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Colonnes (canapes / matelas / tapis) ---------- */
.colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.colonne { background: var(--black3); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem 1.4rem; }
.colonne h3 { font-size: 1.55rem; color: var(--gold-light); margin-bottom: 0.8rem; }
.colonne ul { list-style: none; }
.colonne li { position: relative; padding: 0.4rem 0 0.4rem 1.3rem; color: var(--text-muted); font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.colonne li:last-child { border-bottom: 0; }
.colonne li b { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.secteur-suite { margin-top: 0.7rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-light); }
.colonne li::before { content: '✦'; position: absolute; left: 0; top: 0.45rem; color: var(--gold); font-size: 0.7rem; }

/* ---------- Articles « Conseils » ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: 0.9rem; }
.article .meta { color: var(--text-muted); font-size: 13px; margin-bottom: 1.8rem; }
.article .meta strong { color: var(--text); font-weight: 600; }
.article h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 2.8rem 0 0.9rem; }
.article h3 { font-size: 1.3rem; margin: 1.6rem 0 0.5rem; color: var(--gold-light); }
.article p { margin-bottom: 1rem; font-size: 1.04rem; color: #e9e5dc; }
.article ul, .article ol { margin: 0 0 1.2rem 1.3rem; color: #e9e5dc; }
.article li { margin-bottom: 0.45rem; }
.article li::marker { color: var(--gold); }
.article a { color: var(--gold-light); }
.reponse {
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.03));
  padding: 1.2rem 1.4rem; margin: 0 0 2rem;
}
.reponse strong.titre { display: block; color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.4rem; }
.reponse p:last-child { margin-bottom: 0; }
.tableau { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1.4rem; font-size: 0.98rem; }
.tableau th, .tableau td { padding: 0.75rem 0.9rem; border-bottom: 1px solid rgba(201,168,76,0.15); text-align: left; }
.tableau th { color: var(--gold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.tableau td:last-child { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.tableau tr:last-child td { border-bottom: 0; }
/* Encart « Conseil de professionnel » : citation signee, facon magazine */
.astuce { border-left: 2px solid var(--gold); padding: 0.3rem 0 0.3rem 1.5rem; margin: 2.4rem 0; }
.astuce .titre { display: block; color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.7rem; }
.article .astuce p { font-family: var(--serif); font-style: italic; font-size: 1.32rem; line-height: 1.5; color: #fff; margin-bottom: 0.8rem; }
.astuce .signature { display: block; color: var(--text-muted); font-size: 13px; letter-spacing: 0.3px; }
.astuce .signature::before { content: '— '; color: var(--gold); }
.article figure { margin: 1.6rem 0; }
.article figcaption { font-size: 13px; color: var(--text-muted); margin-top: 0.5rem; }
.article .photo-duo figure { margin: 0; }
.encart-final { margin-top: 2.6rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(17,17,17,0.9); text-align: center; }
.encart-final h2 { margin-top: 0; }
.encart-final .actions { justify-content: center; }
@media (max-width: 640px) {
  .article { padding: 1.6rem 1rem 3rem; }
  .tableau th, .tableau td { padding: 0.6rem 0.5rem; }
}

/* ---------- Pied de page ---------- */
.pied { background: var(--black2); border-top: 1px solid rgba(201,168,76,0.15); text-align: center; padding: 2.5rem 1.5rem; }
.pied .marque { font-family: var(--serif); color: var(--gold); font-size: 1.2rem; font-weight: 500; letter-spacing: 1.5px; margin-bottom: 0.7rem; }
.pied p { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.pied nav { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.1rem; }
.pied nav a { font-size: 13px; text-decoration: none; }
.pied nav + nav { margin-top: 0.6rem; }
.pied .prestations a { color: var(--text-muted); }
.pied .prestations a:hover { color: var(--gold); }

/* ---------- Barre d'actions (telephone) ---------- */
.barre { display: none; }

/* ---------- Tablette ---------- */
@media (max-width: 980px) {
  .nav-liens { display: none; }
  .nav-menu { display: block; position: relative; }
  .nav-menu summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.45); display: grid; place-items: center; color: var(--gold);
  }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu ul {
    position: absolute; right: 0; top: 54px; min-width: 220px; list-style: none; padding: 0.5rem 0;
    background: rgba(17,17,17,0.98); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  }
  .nav-menu a { display: block; padding: 0.7rem 1.2rem; color: var(--text); text-decoration: none; font-size: 15px; }
  .nav-menu a:hover { color: var(--gold); }
  .entete { grid-template-columns: 1fr; gap: 2rem; }
  .photo-entete { max-width: 520px; }
  .inclus { grid-template-columns: 1fr 1fr; }
  .tarifs { grid-template-columns: repeat(3, 1fr); }
  .etapes { grid-template-columns: 1fr 1fr; }
  .avis { grid-template-columns: 1fr; }
  .colonnes { grid-template-columns: 1fr; }
  .photo-duo { max-width: 520px; }
  .duo { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- Telephone ---------- */
@media (max-width: 640px) {
  body { padding-bottom: 74px; }
  .nav { padding: 0 0.9rem; }
  .nav-logo img { height: 42px; }
  .bloc { padding: 3.2rem 1rem; }
  .fil { padding: 1rem 1rem 0; }
  .entete { padding-top: 1.6rem; }
  .actions .btn { flex: 1 1 100%; }
  .inclus { grid-template-columns: 1fr; gap: 0.7rem; }
  .inclus li { padding: 1rem 1.1rem; }
  .inclus h3 { font-size: 1.22rem; margin-bottom: 0.25rem; }
  .paires { grid-template-columns: 1fr; }
  .tarifs { grid-template-columns: 1fr 1fr; }
  .tarif-devis { grid-column: 1 / -1; }
  .options { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .barre {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; z-index: 60;
    border-radius: 14px; overflow: hidden; border: 1px solid rgba(201,168,76,0.35);
    background: rgba(17,17,17,0.96); box-shadow: 0 14px 40px rgba(0,0,0,0.6);
  }
  .barre a { padding: 0.95rem 0.4rem; text-align: center; text-decoration: none; color: #fff; font-size: 14px; font-weight: 600; }
  .barre a + a { border-left: 1px solid rgba(255,255,255,0.08); }
  .barre .devis { background: var(--gold); color: var(--black); }
}

/* ---------- Accessibilite ---------- */
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Lien d'evitement : invisible, il apparait au premier appui sur Tab */
.lien-evitement { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 4px; background: var(--gold); color: var(--black); font-weight: 600; font-size: 14px; text-decoration: none; transition: top 0.2s; }
.lien-evitement:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Rappel express (bas des pages de prestation) ---------- */
.rappel { max-width: 620px; margin: 2.2rem auto 0; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(17,17,17,0.85); text-align: left; }
.rappel-titre { color: var(--text); font-size: 0.98rem; margin-bottom: 0.9rem; }
.rappel-titre strong { color: var(--gold-light); font-weight: 600; }
.rappel-champs { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rappel input { flex: 1 1 170px; min-height: 48px; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.14); background: #0e0e0e; color: var(--text); font: 16px 'Segoe UI', Tahoma, sans-serif; }
.rappel input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.16); }
.rappel input.erreur { border-color: #E24B4A; }
.rappel .btn { flex: 1 1 190px; }
.rappel-note { margin-top: 0.7rem; color: var(--text-muted); font-size: 12.5px; }
.rappel-alerte { margin-top: 0.6rem; color: #f0a3a2; font-size: 14px; }
.rappel-alerte:empty { display: none; }
.rappel-merci { color: var(--gold-light); font-size: 1rem; }
.rappel [hidden] { display: none !important; }
