/* ============================================================
   Template CHALEUREUX — "artisan de confiance" (chaud, rassurant)
   Variables injectées : --primary / --accent (couleur métier)
   Polices : Fraunces (titres) + Inter (texte)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #b4530f;
  --accent: #e0892f;
  --cream: #fbf6ef;
  --sand: #f3eadd;
  --ink: #2a221c;
  --muted: #8c7d6e;
  --line: #e7dccd;
  --card: #ffffff;
  --pad: clamp(20px, 5vw, 90px);
  --shadow: 0 18px 50px -24px rgba(74, 48, 20, .45);
}

html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; overflow-x: hidden; }

h1, h2, h3, .logo { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h2 em, h1 em { color: var(--primary); font-style: italic; }
a { color: inherit; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s 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 28px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px -12px var(--primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--primary); }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.btn { background: var(--primary); color: #fff; }

/* ===== Nav ===== */
.ch-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); transition: background .35s, padding .35s, box-shadow .35s; }
.ch-nav.solid { background: rgba(251, 246, 239, .92); backdrop-filter: blur(10px); padding: 12px var(--pad); box-shadow: 0 1px 0 var(--line); }
.logo { font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.ch-links { display: flex; gap: 30px; }
.ch-links a { text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; opacity: .8; }
.ch-links a:hover { opacity: 1; color: var(--primary); }
.ch-nav .nav-phone { color: var(--primary); font-weight: 700; text-decoration: none; border: 1.5px solid var(--primary); padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
.ch-nav .nav-phone:hover { background: var(--primary); color: #fff; }

/* ===== Héro ===== */
.ch-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(120px, 16vh, 180px) var(--pad) clamp(50px, 7vw, 90px); }
.ch-hero-text { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hero-sub { font-size: 1.12rem; color: #5e5347; margin: 20px auto 30px; max-width: 30em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; justify-content: center; }
.hero-trust li { font-size: .92rem; font-weight: 600; color: var(--ink); }
.ch-hero-media { position: relative; }
.ch-photo { aspect-ratio: 4/5; border-radius: 24px; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.ch-badge { position: absolute; left: -18px; bottom: 26px; background: var(--card); border-radius: 18px; padding: 16px 22px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); }
.ch-badge .num { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.ch-badge-lbl { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* ===== Bandeau réassurance ===== */
.ch-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 var(--pad);
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px clamp(20px, 3vw, 40px); box-shadow: var(--shadow); }
.strip-item { display: flex; gap: 14px; align-items: center; }
.strip-ico { font-size: 1.7rem; flex-shrink: 0; }
.strip-item strong { display: block; font-size: .98rem; }
.strip-item span { font-size: .85rem; color: var(--muted); }

/* ===== Sections ===== */
.ch-section { padding: clamp(60px, 9vw, 120px) var(--pad); }
.ch-band { background: var(--sand); }
.sec-head { margin: 0 auto clamp(34px, 5vw, 56px); max-width: 720px; text-align: center; }
.sec-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.sec-kicker.light { color: rgba(255,255,255,.85); }

/* ===== Cartes services ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: #5e5347; font-size: .96rem; }

/* ===== Arguments (pourquoi nous) ===== */
.arguments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px 38px; }
.argument { display: flex; gap: 16px; align-items: flex-start; }
.argument-check { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; }
.argument h3 { font-size: 1.18rem; margin-bottom: 5px; }
.argument p { color: #5e5347; font-size: .94rem; }

/* ===== Galerie réalisations ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; display: block; }
.gallery-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 50px; border: 1.5px dashed var(--line); border-radius: 16px; }

/* ===== Avis (section injectée) ===== */
.section { padding: clamp(60px, 9vw, 110px) var(--pad); background: var(--sand); }
.container { max-width: 760px; margin: 0 auto; }
.section-sub { color: var(--muted); margin: 12px 0 26px; }
.avis-cta { margin-top: 8px; }

/* ===== Zones ===== */
.zones { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.zones li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px; font-weight: 500; font-size: .95rem; }
.zones li::before { content: "📍 "; }

/* ===== Contact ===== */
.ch-contact { padding: clamp(60px, 9vw, 120px) var(--pad); }
.ch-contact-inner { background: var(--ink); color: var(--cream); border-radius: 28px; padding: clamp(40px, 6vw, 80px); text-align: center; }
.ch-contact-inner h2 { color: var(--cream); }
.ch-contact-inner h2 em { color: var(--accent); }
.contact-lead { color: rgba(251,246,239,.78); margin: 16px 0 32px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ch-contact-inner .btn-line { background: transparent; color: var(--cream); border-color: rgba(251,246,239,.35); }
.ch-contact-inner .btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Footer ===== */
.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: .88rem; }
.footer a { color: var(--muted); }

/* ===== FAB ===== */
.fab-phone { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--primary); color: #fff; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; box-shadow: var(--shadow); }

/* ===== Mentions légales (page secondaire) ===== */
.legal { max-width: 760px; margin: 0 auto; padding: 130px var(--pad) 70px; }
.legal h1 { margin-bottom: 22px; } .legal h2 { font-size: 1.25rem; margin: 24px 0 6px; } .legal p { color: #5e5347; }

/* ===== Multi-page : page-head, faq, contact, center-cta ===== */
.page-head { text-align: center; padding: 150px var(--pad) 20px; }
.page-head p { color: var(--muted); max-width: 40em; margin: 14px auto 0; }
.center-cta { text-align: center; margin-top: 44px; }
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; margin-bottom: 14px; }
.faq-item summary { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.3rem; cursor: pointer; padding: 20px 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(--primary); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: #5e5347; padding: 0 0 22px; margin-top: -4px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; 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(--primary); text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-card p { color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .ch-hero { grid-template-columns: 1fr; }
  .ch-hero-media { order: -1; }
  .ch-photo { aspect-ratio: 16/10; }
  .ch-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ch-links { display: none; }
  .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) {
  .nav-phone { font-size: .82rem; padding: 8px 12px; }
  .ch-strip { grid-template-columns: 1fr; }
  .ch-badge { left: 50%; transform: translateX(-50%); bottom: -22px; }
  .ch-hero-media { margin-bottom: 30px; }
}

/* Image métier en transparence derrière les cartes services (ni émoji ni numéro) */
.card { position: relative; overflow: hidden; }
.card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .10; pointer-events: none; z-index: 0; }
.card > :not(.card-bg) { position: relative; z-index: 1; }
