/* =====================================================================
   LM3C — Thème « format GD Concept » (repris de compagnondigital.fr)
   Formes identiques à Compagnon Digital : header flottant, boutons à
   carré-flèche qui glisse, arrondis 4/6/10 px, titres à parallélogramme,
   cartes blanches sur fond gris, parallaxe photo, révélation au scroll.
   Charte LM3C conservée : bleu #009FD4, noir #1A1A1A, Playfair + Jost.
   Chargé APRÈS les <style> de chaque page pour passer devant.
   ===================================================================== */
:root {
  --accent: var(--primary);          /* #009FD4 : fonds, carrés, décor */
  --accent-texte: var(--primary-dark); /* #0080AA : petit texte bleu sur blanc */
  --on-accent: #FFFFFF;              /* flèche blanche sur carré bleu */
  --noir: var(--dark);
  --surface: #E8EBEE;                /* gris de fond des pages (cartes blanches posées dessus) */
  --gris-clair: #F5F5F5;
  --gris-texte: var(--gray);
  --light: #FFFFFF;
  --ov-section: rgba(26, 26, 26, 0.07);
  --ov-strong: rgba(255, 255, 255, 0.12);
  --s-xs: 10px; --s-s: 20px; --s-m: 40px; --s-l: 60px; --s-xl: 100px;
  --r-s: 4px; --r-m: 6px; --r-l: 10px;
  --max: 1512px; --pad: clamp(20px, 4vw, 60px); --header-h: 82px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --ico-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.08-.3-.15-1.26-.46-2.39-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.6-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.07.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.7.63.71.22 1.36.2 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.18-1.41-.08-.13-.28-.2-.57-.35M12.05 21.8a9.87 9.87 0 0 1-5.03-1.38l-.36-.22-3.74.99 1-3.65-.24-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88 2.64 0 5.12 1.03 6.99 2.9a9.83 9.83 0 0 1 2.89 6.99c0 5.45-4.44 9.88-9.89 9.88m8.41-18.3A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.89c0 2.1.55 4.14 1.59 5.95L.06 24l6.3-1.65a11.88 11.88 0 0 0 5.68 1.45c6.56 0 11.89-5.34 11.89-11.9 0-3.18-1.24-6.16-3.48-8.41Z'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: 120px; overflow-x: hidden; }
body { background: var(--surface); color: var(--noir); overflow-x: hidden; }

/* ── Mise en page ── */
.container { max-width: var(--max); padding: 0 var(--pad); }
section { padding: var(--s-xl) 0; }
.section-cream { background: transparent; }
.divider { display: none; }

.section-label { font-size: 12px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-texte); margin-bottom: var(--s-s); }
.section-title { font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.005em; color: var(--noir); margin-bottom: var(--s-m); }
/* Titre avec accent parallélogramme (format GD) */
.section-title, .page-hero h1 { position: relative; isolation: isolate; padding-left: 32px; }
.section-title::before, .page-hero h1::before { content: ""; position: absolute; z-index: -1; left: 0; top: .02em; width: 72px; height: 1.1em; background: var(--accent); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); }
.lead { line-height: 1.6; color: var(--gris-texte); }

/* ── Boutons : carré flèche bleu qui glisse au survol ── */
.btn, .form-submit-btn, .btn-devis-desktop {
  --arrow: 50px; position: relative; display: inline-flex; align-items: center; justify-content: flex-start; gap: 0;
  min-height: var(--arrow); width: fit-content; padding: 0 var(--s-s) 0 calc(var(--arrow) + var(--s-s));
  border-radius: var(--r-m); font-family: 'Jost', sans-serif; font-weight: 500; font-size: 16px;
  color: var(--noir); background: transparent; border: 0; box-shadow: none; cursor: pointer; text-decoration: none;
  transition: background .3s, padding .4s var(--ease), color .25s; white-space: nowrap; transform: none;
}
.btn::before, .btn::after, .form-submit-btn::before, .form-submit-btn::after, .btn-devis-desktop::before, .btn-devis-desktop::after {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: var(--arrow); height: var(--arrow); border-radius: var(--r-m); transition: left .4s var(--ease), background .25s, box-shadow .25s;
}
.btn::before, .form-submit-btn::before, .btn-devis-desktop::before { background: var(--accent); }
.btn::after, .form-submit-btn::after, .btn-devis-desktop::after { background: var(--on-accent); -webkit-mask: var(--ico-arrow) center/22px no-repeat; mask: var(--ico-arrow) center/22px no-repeat; }
.btn:hover, .btn:focus-visible, .form-submit-btn:hover, .form-submit-btn:focus-visible, .btn-devis-desktop:hover {
  background: var(--ov-section); padding: 0 calc(var(--arrow) + var(--s-s)) 0 var(--s-s); transform: none; color: var(--noir);
}
.btn:hover::before, .btn:hover::after, .btn:focus-visible::before, .btn:focus-visible::after,
.form-submit-btn:hover::before, .form-submit-btn:hover::after, .form-submit-btn:focus-visible::before, .form-submit-btn:focus-visible::after,
.btn-devis-desktop:hover::before, .btn-devis-desktop:hover::after { left: calc(100% - var(--arrow)); }

/* Variantes LM3C → variantes GD */
.btn-dark, .btn-primary, .btn-whatsapp { background: transparent; color: var(--noir); }
.btn-dark:hover, .btn-primary:hover, .btn-whatsapp:hover { background: var(--ov-section); }
.btn-phone { border-radius: var(--r-m); padding: 0 var(--s-s) 0 calc(var(--arrow) + var(--s-s)); }
.btn-phone::after, a.btn[href^="tel:"]::after { -webkit-mask: var(--ico-phone) center/20px no-repeat; mask: var(--ico-phone) center/20px no-repeat; }
a.btn[href*="wa.me"]::after { -webkit-mask: var(--ico-wa) center/20px no-repeat; mask: var(--ico-wa) center/20px no-repeat; }
a.btn svg { display: none; }
/* Contour : carré vide cerclé, se remplit au survol */
.btn-outline, .btn-outline-dark, .btn-outline-white { background: transparent; border: 0; color: var(--noir); }
.btn-outline::before, .btn-outline-dark::before, .btn-outline-white::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-outline::after, .btn-outline-dark::after, .btn-outline-white::after { background: currentColor; }
.btn-outline:hover, .btn-outline-dark:hover { background: var(--ov-section); color: var(--noir); border: 0; }
.btn-outline:hover::before, .btn-outline-dark:hover::before, .btn-outline-white:hover::before { background: var(--accent); box-shadow: none; }
.btn-outline:hover::after, .btn-outline-dark:hover::after, .btn-outline-white:hover::after { background: var(--on-accent); }
/* Sur fond sombre */
.btn-white, .btn-outline-white { color: var(--light); }
.btn-white:hover, .btn-outline-white:hover { background: var(--ov-strong); color: var(--light); }

/* Bouton d'envoi du formulaire : même mécanique, pleine largeur */
.form-submit-btn { width: 100%; font-size: 16px; }
.form-submit-btn:disabled { opacity: .6; pointer-events: none; }

/* ── Header flottant ── */
.header { top: 28px; padding: 0 var(--pad); background: transparent; box-shadow: none; transition: top .35s var(--ease), translate .45s var(--ease); transform: none !important; }
.header.scrolled { top: 14px; }
.header--hidden { translate: 0 calc(-100% - 40px); }
.header-inner { position: relative; max-width: calc(var(--max) - 120px); height: var(--header-h); background: var(--light); border-radius: var(--r-m); padding: 10px 10px 10px 20px; gap: var(--s-m); box-shadow: 0 2px 14px rgba(26,26,26,.08); }
.logo img { height: 56px; }
.nav { justify-content: space-evenly; gap: 0; }
.nav a { font-weight: 500; font-size: 16px; color: var(--noir); padding: 8px 4px; }
.nav a:hover { color: var(--accent-texte); }
.nav a.active { color: var(--gris-texte); }
.hamburger { margin-left: auto; }
.nav-mobile { max-width: calc(var(--max) - 120px); margin: 10px auto 0; border: 0; border-radius: var(--r-m); background: var(--light); box-shadow: 0 12px 30px rgba(26,26,26,.14); padding: 10px; }
.nav-mobile a { border: 0; border-radius: var(--r-s); padding: 14px; }
.nav-mobile a:hover { background: var(--gris-clair); }
#hero { scroll-margin-top: 0; }

/* ── Hero accueil (photo plein cadre + panneau sombre) ── */
.hero { position: relative; width: 100%; min-height: 100vh; min-height: 100svh; display: flex; align-items: stretch; justify-content: space-between; overflow: hidden; padding: 0; background: var(--noir); }
.hero__bg { position: absolute; inset: 0 0 -8% 0; z-index: 0; will-change: transform; }
.hero__bg img, .hero__bg picture { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__ov { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,0) 72%), linear-gradient(0deg, rgba(26,26,26,.16), transparent 35%); }
.hero__content { position: relative; z-index: 2; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-m); padding: calc(var(--header-h) + 28px + var(--s-m)) var(--s-l) var(--s-l) max(var(--pad), calc((100vw - var(--max)) / 2 + 60px)); }
.hero__content .section-label { margin: 0; }
.hero__title { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--noir); max-width: 760px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.12; }
.hero__text { max-width: 560px; font-size: 1.1rem; line-height: 1.7; color: #3B3F45; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px var(--s-s); align-items: center; }
.hero__aside { position: relative; z-index: 2; flex: 0 0 394px; background: rgba(26,26,26,.86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-s); padding: calc(var(--header-h) + 60px) var(--s-l) var(--s-l) 64px; color: var(--light); }
.hero__aside p { line-height: 1.6; color: rgba(255,255,255,.85); }
.hero__phone { display: inline-flex; align-items: center; gap: 12px; background: var(--light); color: var(--noir); border-radius: var(--r-m); padding: 12px 18px; font-weight: 600; font-size: 18px; width: fit-content; transition: background .25s, color .25s; }
.hero__phone:hover { background: var(--gris-clair); color: var(--accent-texte); }
.hero__phone svg { width: 20px; height: 20px; }
.hero__avis { margin: var(--s-s) 0 0; padding: 22px 24px; border-radius: var(--r-m); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.hero__stars { color: #FBBC04; letter-spacing: 3px; margin-bottom: 12px; }
.hero__avis blockquote { font-family: 'Playfair Display', serif; font-size: 19px; line-height: 1.45; color: var(--light); }
.hero__avis figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 600; }
.hero__avis figcaption small { display: block; font-weight: 400; color: rgba(255,255,255,.6); font-size: 12px; }

/* ── Cartes métiers (desktop) : cartes blanches arrondi 10, numéro Playfair ── */
.services-grid { gap: var(--s-s); margin-top: 0; }
.service-card { background: var(--light); border: 0; border-radius: var(--r-l); padding: 32px; height: 100%; transition: box-shadow .35s, transform .35s var(--ease); }
.service-card:hover { box-shadow: 0 14px 30px -14px rgba(26,26,26,.25); transform: translateY(-3px); }
.service-card-num { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 44px; line-height: 1; color: var(--accent-texte); opacity: 1; margin-bottom: 16px; }
.service-card h3 { font-size: clamp(22px, 2vw, 26px); color: var(--noir); margin-bottom: 14px; }
.service-card p { font-size: 1rem; line-height: 1.6; }
.metier-item { height: 100%; }
.metier-content { height: 100%; }
@media (max-width: 768px) {
  .metier-item { border-radius: var(--r-m); box-shadow: none; background: var(--light); }
  .metier-toggle { padding: 12px 12px 12px 20px; font-weight: 500; }
  .metier-toggle::after { content: '+'; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-s); background: var(--accent); color: var(--light); font-size: 22px; transition: transform .35s var(--ease); }
  .metier-item.open .metier-toggle::after { content: '+'; transform: rotate(45deg); }
  .metier-content .service-card { padding: 0; }
}

/* ── Section sombre + bandes diagonales (réalisations accueil) ── */
.on-dark { background: var(--noir); color: var(--light); }
.on-dark .section-title { color: var(--light); }
.on-dark .section-label { color: var(--accent); }
.stripes { position: relative; overflow: hidden; }
.stripes::before, .stripes::after { content: ""; position: absolute; top: 0; bottom: 0; width: 360px; background: rgba(255,255,255,.04); transform: skewX(-30deg); pointer-events: none; }
.stripes::before { right: 22%; }
.stripes::after { right: -6%; background: rgba(0,159,212,.08); }
.stripes .container { position: relative; z-index: 1; }

/* Cartes photo (format .card GD) */
.real-preview-grid { gap: var(--s-s); margin-top: 0; }
.real-preview-card { background: var(--light); border-radius: var(--r-l); padding: 10px; transition: box-shadow .35s, transform .35s var(--ease); }
.real-preview-card:hover { box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); transform: translateY(-3px); }
.real-preview-card picture { display: block; border-radius: var(--r-m); overflow: hidden; }
.real-preview-card img { transition: transform .7s var(--ease); }
.real-preview-card:hover img { transform: scale(1.05); }
.section-cta { margin-top: var(--s-m); }

.real-grid { gap: var(--s-s); }
.real-card { border-radius: var(--r-l); padding: 10px; background: var(--light); transition: box-shadow .35s, transform .35s var(--ease); }
.real-card:hover { box-shadow: 0 14px 30px -14px rgba(26,26,26,.3); transform: translateY(-3px); }
.real-card img { border-radius: var(--r-m); transition: transform .7s var(--ease); }
.real-card:hover img { transform: scale(1.03); }
.real-card::after { left: 10px; right: 10px; bottom: 10px; border-radius: 0 0 var(--r-m) var(--r-m); }
.real-card-caption { left: 10px; right: 10px; bottom: 10px; padding: 16px 18px; }

/* ── Photos en parallaxe (showroom, fondateur) ── */
.showroom-preview-inner { gap: var(--s-l); }
.showroom-preview-img, .showroom-img-wrap, .founder-photo { position: relative; border-radius: var(--r-l); overflow: hidden; }
.showroom-preview-img { min-height: 480px; }
.showroom-preview-img picture { position: absolute; left: 0; right: 0; top: -8%; height: 116%; will-change: transform; }
.showroom-preview-img picture img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.showroom-preview-img:hover img, .showroom-img-wrap:hover img { transform: none; }
.showroom-img-wrap { min-height: 480px; }
.founder-photo { aspect-ratio: 1 / 1; }

/* Pastilles → puces parallélogramme (format GD .chip) */
.pills { gap: var(--s-s); }
.pill { position: relative; isolation: isolate; background: none; border: 0; border-radius: 0; padding: 6px 10px 6px 18px; font-size: 16px; font-weight: 500; color: var(--noir); }
.pill::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 38px; background: rgba(0,159,212,.28); clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%); }

/* ── Cartes génériques des pages intérieures ── */
.value-card { background: var(--light); border: 0; border-radius: var(--r-l); padding: 32px; transition: box-shadow .35s, transform .35s var(--ease); }
.value-card:hover { box-shadow: 0 14px 30px -14px rgba(26,26,26,.25); transform: translateY(-3px); }
.value-card h3 { color: var(--noir); font-size: 22px; }
.values-grid { gap: var(--s-s); }
.horaires-box { background: var(--light); border-radius: var(--r-l); padding: 28px; }
.marques-box { background: #E6F6FC; border: 1px solid rgba(0,159,212,.35); border-radius: var(--r-l); padding: 22px 26px; }
.legal-content { background: var(--light); border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); max-width: 900px; }
.contact-info-block .info-block { background: var(--light); border-radius: var(--r-m); padding: 16px 20px; }

/* ── Avis (format GD .review) ── */
.review-card { position: relative; background: var(--light); border: 0; border-radius: var(--r-l); padding: var(--s-m) 32px 32px; }
.review-card::before { content: "\201C"; position: absolute; top: 6px; right: 24px; font: 700 90px/1 'Playfair Display', serif; color: var(--accent); opacity: .5; }
.review-card.is-active { box-shadow: 0 14px 30px -14px rgba(26,26,26,.25); }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(26,26,26,.25); }
.review-stars { color: #FBBC04 !important; }
.review-text { font-style: normal; font-size: 1rem; line-height: 1.65; }
.reviews-arrow { width: 50px; height: 50px; border-radius: var(--r-m); background: var(--accent); border: 0; color: var(--light); }
.reviews-arrow:hover { background: var(--noir); color: var(--light); }
.reviews-dot { border-radius: 2px; width: 18px; height: 4px; background: #C9CED4; }
.reviews-dot.active { background: var(--accent); transform: none; width: 32px; }
.reviews-google-link { color: var(--accent-texte); }

/* ── Bloc contact / devis (fond sombre, grille texte + formulaire) ── */
.contact-home { background: var(--noir); position: relative; overflow: hidden; }
.contact-home::before, .contact-home::after { content: ""; position: absolute; top: 0; bottom: 0; width: 360px; background: rgba(255,255,255,.04); transform: skewX(-30deg); pointer-events: none; }
.contact-home::before { left: -4%; }
.contact-home::after { left: 18%; background: rgba(0,159,212,.07); }
.contact-home .container { position: relative; z-index: 1; }
.contact-home .section-label { color: var(--accent); }
.contact-home .section-title { color: var(--light); }
.contact-home-inner, .contact-layout { gap: var(--s-l); }
.form-card { border-radius: var(--r-l); box-shadow: none; padding: clamp(20px, 4vw, 40px); background: var(--light); }
.form-card h3 { font-size: 26px; }
.form-group input, .form-group select, .form-group textarea { border-radius: var(--r-m); border: 1.5px solid #DDE1E6; background: #FAFBFC; padding: 14px 16px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); background: var(--light); }
.contact-actions { gap: 12px; }

/* Bandeau « contact rapide » des pages intérieures (format GD .band) */
.quick-contact { position: relative; overflow: hidden; background: var(--accent); padding: 60px 0; }
.quick-contact::before, .quick-contact::after { content: ""; position: absolute; top: 0; bottom: 0; width: 150px; background: rgba(255,255,255,.2); transform: skewX(-30deg); }
.quick-contact::before { left: 6%; }
.quick-contact::after { right: 6%; }
.quick-contact .container { position: relative; z-index: 1; }
.quick-contact h2 { color: var(--noir); font-size: 28px; }
.quick-contact .btn, .quick-contact .btn-white, .quick-contact .btn-outline-white { color: var(--noir); }
.quick-contact .btn::before { background: var(--noir); box-shadow: none; }
.quick-contact .btn::after { background: var(--light); }
.quick-contact .btn:hover { background: rgba(26,26,26,.1); color: var(--noir); }
.quick-contact-email { color: var(--noir); border: 1.5px solid rgba(26,26,26,.5); border-radius: var(--r-m); }
.quick-contact-email:hover { background: var(--noir); color: var(--light); border-color: var(--noir); }

/* ── En-tête des pages intérieures (format GD « page-head ») ── */
.page-hero { position: relative; overflow: hidden; background: var(--noir); padding: calc(var(--header-h) + 28px + 90px) 0 70px; }
.page-hero__bg { position: absolute; inset: -10% 0; background: center/cover no-repeat; opacity: .42; will-change: transform; }
.page-hero--realisations .page-hero__bg { background-image: url("images/real-2.webp"); }
.page-hero--showroom .page-hero__bg { background-image: url("images/showroom.webp"); }
.page-hero--apropos .page-hero__bg { background-image: url("images/real-3.webp"); }
.page-hero--contact .page-hero__bg { background-image: url("images/hero.webp"); }
.page-hero--legal .page-hero__bg { background-image: url("images/real-6.webp"); opacity: .25; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--light); font-size: clamp(34px, 4.2vw, 52px); line-height: 1.12; margin-bottom: var(--s-s); max-width: 900px; }
.page-subtitle { max-width: 640px; line-height: 1.6; color: rgba(255,255,255,.82); }

/* ── Footer ── */
.footer { background: var(--noir); padding: 60px 0 0; }
.footer-grid { margin-bottom: 40px; }
.footer h4 { color: var(--accent); font-weight: 500; letter-spacing: .14em; font-size: 12px; }
.footer-links a, .footer-contact-item { opacity: .8; color: var(--light); transition: opacity .2s; }
.footer-links a:hover, .footer-contact-item:hover { opacity: 1; color: var(--light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 12px 0; font-size: 12px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── Boutons flottants (devis desktop / appel mobile) ── */
.btn-devis-wrapper { background: var(--light); border-radius: var(--r-m); padding: 8px; box-shadow: 0 12px 30px rgba(26,26,26,.18); gap: 6px; }
.btn-devis-desktop { animation: none; }
.btn-devis-wrapper { transition: opacity .3s, translate .3s var(--ease); }
.btn-devis-wrapper.is-hidden { opacity: 0; translate: 0 16px; pointer-events: none; }
.nowrap { white-space: nowrap; }
.btn-devis-close { border: 0; background: var(--gris-clair); border-radius: var(--r-s); width: 28px; height: 28px; }
/* .float-call porte aussi la classe .btn : seul le support blanc est ajouté ici */
.float-call.btn { position: fixed; background: var(--light); box-shadow: 0 12px 30px rgba(26,26,26,.22); }
.float-call.btn:hover { background: var(--light); }
.page-home .float-call.btn { display: none; }
@media (min-width: 769px) { .float-call.btn { display: none; } }

/* ── Révélation au scroll (format GD) — remplace les fade-in existants ── */
.fade-in { transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateY(16px); }
.fade-in.visible { transform: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero { flex-direction: column; }
  .hero__content { padding: 150px var(--pad) var(--s-m); }
  .hero__aside { flex: none; padding: var(--s-m) var(--pad); }
  .hero__ov { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.8) 60%, rgba(255,255,255,.55) 100%); }
}
@media (max-width: 768px) {
  :root { --s-xl: 70px; }
  section { padding: var(--s-xl) 0; }
  .header { top: 12px; }
  .header.scrolled { top: 10px; }
  .header-inner { height: 68px; }
  .logo img { height: 44px; }
  .section-title { font-size: 30px; }
  .hero__title { font-size: 36px; }
  .showroom-preview-img, .showroom-img-wrap { min-height: 300px; }
  .btn-row .btn, .contact-actions .btn { white-space: normal; }
  .page-hero { padding: 140px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before, .btn::after, .header, [data-parallax] { transition: none !important; }
}

/* ═════ Ajouts repositionnement : menu Services, cartes spécialités, tarifs, FAQ ═════ */
/* Menu déroulant « Nos services » (format GD .dd) */
.dd { position: relative; }
.dd > button { font: inherit; font-weight: 500; font-size: 16px; color: var(--noir); padding: 8px 4px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; transition: color .25s; }
.dd > button:hover, .dd.is-active > button { color: var(--accent-texte); }
.dd > button svg { width: 14px; height: 14px; transition: transform .3s; }
.dd:hover > button svg, .dd.open > button svg { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 22px); left: 50%; transform: translate(-50%, 8px); min-width: 260px; background: var(--light); border-radius: var(--r-m); box-shadow: 0 12px 30px rgba(26,26,26,.14); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; z-index: 5; }
.dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.dd:hover .dd__menu, .dd.open .dd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .dd__menu a { display: block; padding: 10px 14px; border-radius: var(--r-s); font-size: 15px; }
.nav .dd__menu a:hover { background: var(--gris-clair); }
.dd__menu small { display: block; font-size: 13px; font-weight: 400; color: var(--gris-texte); }

/* Cartes spécialités (format GD .svc : photo + texte) */
.services__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s-s); }
.svc { display: grid; grid-template-columns: 262px 1fr; gap: var(--s-m); align-items: stretch; background: var(--light); border-radius: var(--r-l); padding: 10px; transition: box-shadow .35s, transform .35s var(--ease); }
.svc:hover { box-shadow: 0 14px 30px -14px rgba(26,26,26,.25); transform: translateY(-3px); }
.svc__img { position: relative; border-radius: var(--r-m); overflow: hidden; min-height: 340px; background: linear-gradient(135deg, #E6F6FC 0%, #BFE7F5 100%); }
.svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { padding: var(--s-m) var(--s-m) var(--s-m) 0; display: flex; flex-direction: column; justify-content: center; }
.svc__body h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: var(--s-s); }
.svc__body p { margin-bottom: var(--s-s); line-height: 1.6; color: var(--gris-texte); }
.svc__drop { position: absolute; inset: 0; display: grid; place-items: center; }
.svc__drop svg { width: 38%; height: auto; color: var(--accent); opacity: .85; }
.checks { list-style: none; display: grid; gap: 14px; margin: 0 0 var(--s-m); }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009FD4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.on-dark .checks li { color: rgba(255,255,255,.85); }

/* Tuiles + tarifs (format GD .tile / .price) */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-s); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.tile { display: flex; flex-direction: column; background: var(--light); color: var(--noir); border-radius: var(--r-l); padding: 32px; transition: box-shadow .35s, transform .35s var(--ease); }
.tile--featured { box-shadow: inset 0 0 0 2px var(--accent); }
.tile h3 { font-size: clamp(22px, 2vw, 26px); margin-bottom: 14px; }
.tile p { line-height: 1.6; color: var(--gris-texte); margin-bottom: var(--s-s); }
.tile .btn { margin-top: auto; }
.price { display: inline-block; align-self: flex-start; background: var(--accent); color: var(--light); border-radius: var(--r-s); padding: 6px 12px; font-weight: 600; font-size: 20px; margin-bottom: var(--s-s); }
.price small { font-size: 13px; font-weight: 500; opacity: .9; }
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-l); align-items: center; }
.intro__text p { line-height: 1.65; color: var(--gris-texte); margin-bottom: var(--s-s); }
.photo { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 480px; }
.photo__inner { position: absolute; left: 0; right: 0; top: -8%; height: 116%; will-change: transform; }
.photo__inner img { width: 100%; height: 100%; object-fit: cover; }
.encart { background: #E6F6FC; border: 1px solid rgba(0,159,212,.35); border-radius: var(--r-l); padding: clamp(24px, 4vw, 40px); }
.encart h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.encart p { line-height: 1.6; color: var(--gris-texte); margin: 0; max-width: 760px; }

/* FAQ (format GD) */
.faq { display: grid; gap: 10px; max-width: 1000px; }
.faq-item { background: var(--light); border-radius: var(--r-m); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: 0 10px 24px -14px rgba(26,26,26,.25); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-s); padding: 16px 16px 16px 24px; cursor: pointer; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-s); background: var(--accent); color: var(--light); font-size: 22px; transition: transform .35s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; line-height: 1.65; color: var(--gris-texte); max-width: 760px; }

@media (max-width: 1100px) {
  .services__grid, .intro__grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .svc { grid-template-columns: 1fr; gap: 0; }
  .svc__img { min-height: 220px; }
  .svc__body { padding: 24px 14px 14px; }
  .tiles, .tiles--2 { grid-template-columns: 1fr; }
  .photo { min-height: 300px; }
}
.page-hero .btn-row { margin-top: var(--s-m); }
.encart--after { margin-top: var(--s-s); }
.page-hero--clim .page-hero__bg { background-image: url("images/real-7.webp"); }
.page-hero--eau .page-hero__bg { background-image: url("images/real-2.webp"); }
.specialites .section-title { margin-bottom: var(--s-m); }
a.svc, a.svc:visited { color: var(--noir); }
.svc h3 { color: var(--noir); }
.on-dark .intro__text p { color: rgba(255,255,255,.78); }
/* Logo : proportions réelles du fichier (1579 × 1288), jamais étiré */
.logo img { height: 56px; width: auto !important; aspect-ratio: 1579 / 1288; object-fit: contain; }
.footer-logo img { height: 48px; width: auto !important; aspect-ratio: 1579 / 1288; object-fit: contain; }
@media (max-width: 768px) { .logo img { height: 44px; } }
/* Bouton e-mail : même bouton carré-flèche, icône enveloppe */
.btn-mail::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center/20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center/20px no-repeat; }
.contact-actions .btn { text-decoration: none; min-height: 50px; }
.dd__sep { display: block; margin: 8px 14px 4px; padding-top: 10px; border-top: 1px solid var(--gray-light); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-texte); }
.nav .dd__menu a small + * { margin-top: 0; }
/* Hero : le téléphone est déjà dans le header sur ordinateur ; le bloc du panneau ne sert que sur mobile (header sans bouton) */
@media (min-width: 769px) { .hero__phone { display: none; } }
#metiers { scroll-margin-top: 120px; }
/* Pages métiers */
.page-hero--plomberie .page-hero__bg { background-image: url("images/real-12.webp"); }
.page-hero--chauffage .page-hero__bg { background-image: url("images/real-6.webp"); }
.page-hero--sdb .page-hero__bg { background-image: url("images/real-1.webp"); }
.page-hero--carrelage .page-hero__bg { background-image: url("images/real-5.webp"); }
.page-hero--reno .page-hero__bg { background-image: url("images/real-6.webp"); opacity: .3; }
.metier-intro { max-width: 760px; margin: calc(-1 * var(--s-s)) 0 var(--s-m); }
.page-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-s); }
.page-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.review-solo { max-width: 820px; cursor: default; }
.review-solo .review-text { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--noir); margin-bottom: 16px; }
.section-tight { padding-top: 0; }
.encart__acts { margin-top: var(--s-s); }
.service-card-link { display: inline-block; margin-top: 14px; font-weight: 500; color: var(--accent-texte); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .page-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .page-gallery { grid-template-columns: 1fr; } }
.local { background: var(--light); border-radius: var(--r-l); padding: clamp(24px, 4vw, 40px); margin-bottom: var(--s-s); }
.local h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.local p { line-height: 1.65; color: var(--gris-texte); max-width: 860px; }
/* Cartes métiers de l'accueil : photo + carte entièrement cliquable (format GD .svc--v) */
.metiers-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-s); }
.metier-card { display: flex; flex-direction: column; background: var(--light); color: var(--noir); border-radius: var(--r-l); padding: 10px; text-decoration: none; transition: box-shadow .35s, transform .35s var(--ease); }
.metier-card:hover, .metier-card:focus-visible { box-shadow: 0 14px 30px -14px rgba(26,26,26,.25); transform: translateY(-3px); }
.metier-card__img { position: relative; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 10; }
.metier-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.metier-card:hover .metier-card__img img { transform: scale(1.05); }
.metier-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 22px 22px; }
.metier-card__body .service-card-num { font-size: 32px; margin-bottom: 10px; }
.metier-card__body h3 { font-size: clamp(22px, 2vw, 26px); color: var(--noir); margin-bottom: 12px; }
.metier-card__body p { line-height: 1.6; color: var(--gris-texte); margin-bottom: var(--s-s); flex: 1; }
.metier-card .btn { margin-top: auto; }
.metier-card:hover .btn { background: var(--ov-section); padding: 0 calc(var(--arrow) + var(--s-s)) 0 var(--s-s); }
.metier-card:hover .btn::before, .metier-card:hover .btn::after { left: calc(100% - var(--arrow)); }
@media (max-width: 1100px) { .metiers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .metiers-grid { grid-template-columns: 1fr; } .metier-card__body { padding: 20px 12px 14px; } }
