/* ===================== Design tokens ===================== */
:root{
  --ink: #1A1614;          /* warm near-black */
  --ink-2: #56504B;
  --paper: #FFFFFF;
  --paper-2: #F6F2EC;      /* warm cream */
  --line: #E7DED2;

  --red: #D4271C;
  --red-dark: #A81810;
  --red-tint: #FBEAE7;

  --dark: #1A1614;
  --dark-2: #241F1B;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 34px rgba(26,22,20,.10);
  --shadow-lg: 0 26px 60px rgba(26,22,20,.22);

  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3{ font-family: var(--font-display); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; }
p{ margin: 0 0 1em; color: var(--ink-2); }
::selection{ background: var(--red); color: #fff; }

.container{ width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.accent{ color: var(--red); }

/* ===================== Buttons ===================== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(212,39,28,.34); }
.btn-primary:hover{ background: var(--red-dark); }
.btn-call{ background: #fff; color: var(--ink); }
.btn-call:hover{ background: #EDE7DE; }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--red); color: var(--red); }
.btn-lg{ padding: 16px 28px; font-size: 16px; }
.btn-full{ width: 100%; }

/* ===================== Header ===================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo{ display: inline-flex; align-items: center; }
.logo img{ height: 54px; width: auto; display: block; }
.main-nav{ display: none; }
.main-nav a{ font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 8px 0; }
.main-nav a:hover{ color: var(--red); }
.header-cta{ display: none; }
.header-phone svg{ color: var(--red); }
.nav-toggle{
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
}

/* ===================== Hero (photo réelle) ===================== */
.hero{ position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media{ position: absolute; inset: 0; z-index: -2; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::after{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,16,14,.72) 0%, rgba(20,16,14,.55) 42%, rgba(20,16,14,.90) 100%),
    linear-gradient(90deg, rgba(168,24,16,.34) 0%, rgba(168,24,16,0) 60%);
}
.hero-inner{ padding: 64px 20px 68px; }
.hero-eyebrow{
  display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: #fff; background: var(--red);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1{ font-size: 42px; font-weight: 900; color: #fff; margin-bottom: 18px; text-transform: uppercase; letter-spacing: -.02em; }
.hero-sub{ color: #EDE7E2; font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.hero-cta{ display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.hero-cta .btn{ width: 100%; }
.hero-badges{ display: flex; flex-direction: column; gap: 12px; }
.hero-badges li{ display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #fff; }
.hero-badges svg{ color: #fff; flex-shrink: 0; }

/* ===================== Reassurance ===================== */
.reassurance{ background: var(--red); color: #fff; padding: 24px 0; }
.reassurance-grid{ display: grid; gap: 20px; }
.reassurance-item{ display: flex; align-items: center; gap: 14px; }
.reassurance-item svg{ flex-shrink: 0; }
.reassurance-item strong{ display: block; font-size: 15.5px; }
.reassurance-item span{ display: block; font-size: 13px; opacity: .92; }

/* ===================== Section head ===================== */
.section-head{ max-width: 660px; margin-bottom: 34px; }
.eyebrow{
  display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--red); margin-bottom: 12px;
  padding-left: 30px; position: relative;
}
.eyebrow::before{ content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; background: var(--red); }
.eyebrow-light{ color: #fff; }
.eyebrow-light::before{ background: #fff; }
.section-head h2{ font-size: 30px; color: var(--ink); }
.section-head p{ font-size: 16px; }
.section-head-invert h2{ color: #fff; }
.section-head-invert p{ color: #C9C1BA; }

/* ===================== Prestations ===================== */
.prestations{ padding: 66px 0; background: var(--paper); }

/* Cartes photo mises en avant */
.featured-grid{ display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
.feat-card{
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.feat-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-media{ aspect-ratio: 16 / 11; overflow: hidden; }
.feat-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feat-card:hover .feat-media img{ transform: scale(1.05); }
.feat-body{ padding: 22px 22px 24px; }
.feat-body h3{ font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.feat-body p{ font-size: 14.5px; margin-bottom: 14px; }
.feat-link{ display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--red); }
.feat-card:hover .feat-link svg{ transform: translateX(4px); }
.feat-link svg{ transition: transform .2s ease; }

/* Grille complète */
.services-grid{ display: grid; grid-template-columns: 1fr; gap: 14px; }
.service-card{
  display: block; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.service-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(212,39,28,.4); background: #fff; }
.service-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 12px; background: var(--red-tint);
  color: var(--red); margin-bottom: 14px;
}
.service-card h3{ font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.service-card p{ font-size: 14px; margin-bottom: 0; }

/* ===================== Réalisations (galerie) ===================== */
.realisations{ padding: 66px 0; background: var(--dark); }
.gallery{ display: grid; grid-template-columns: 1fr; gap: 14px; }
.gallery-item{ margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, rgba(20,16,14,0), rgba(20,16,14,.85));
}

/* ===================== Pourquoi nous choisir ===================== */
.pourquoi{ background: var(--paper-2); padding: 66px 0; }
.pourquoi-grid{ display: grid; grid-template-columns: 1fr; gap: 16px; }
.pourquoi-card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; }
.pourquoi-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: var(--red-tint);
  color: var(--red); margin-bottom: 16px;
}
.pourquoi-card h3{ color: var(--ink); font-size: 18px; }
.pourquoi-card p{ font-size: 14.5px; margin-bottom: 0; }

/* ===================== Zone d'intervention ===================== */
.zone{ padding: 66px 0; background: var(--paper); }
.zone-inner{ display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.zone-text h2{ font-size: 27px; }
.city-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 22px 0 26px; }
.city-list li{ font-size: 14.5px; font-weight: 600; color: var(--ink); padding-left: 18px; position: relative; }
.city-list li::before{ content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.zone-map{ background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 260px; margin: 0 auto; }

/* ===================== Devis form ===================== */
.devis-section{ background: var(--dark); padding: 66px 0; }
.devis-inner{ display: grid; grid-template-columns: 1fr; gap: 34px; }
.devis-text h2{ color: #fff; font-size: 28px; }
.devis-text p{ color: #C9C1BA; margin-bottom: 26px; }
.devis-form{ background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.form-row{ margin-bottom: 16px; }
.form-row label{ display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea{
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 12px 14px;
  border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ outline: none; border-color: var(--red); background: #fff; }
.form-row textarea{ resize: vertical; }
.hp-field{ position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note{ font-size: 12.5px; color: var(--ink-2); text-align: center; margin: 14px 0 0; }
.form-success{ display: flex; align-items: center; gap: 8px; justify-content: center; background: #EAF7EF; color: #1E7A3F; border-radius: 10px; padding: 12px; font-weight: 700; font-size: 14px; margin: 14px 0 0; }

/* ===================== FAQ ===================== */
.faq{ padding: 66px 0; background: var(--paper-2); }
.faq-list{ display: flex; flex-direction: column; gap: 12px; }
.faq-item{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq-item summary{ cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; font-weight: 700; font-size: 15.5px; color: var(--ink); }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary svg{ flex-shrink: 0; transition: transform .2s ease; color: var(--red); }
.faq-item[open] summary svg{ transform: rotate(180deg); }
.faq-item p{ padding-bottom: 18px; margin: 0; font-size: 14.5px; }

/* ===================== Texte SEO local ===================== */
.seo-prose{ padding: 56px 0; background: var(--paper); border-top: 1px solid var(--line); }
.seo-prose h2{ font-size: 24px; color: var(--ink); margin-bottom: 18px; }
.seo-prose p{ font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 900px; }
.seo-prose strong{ color: var(--ink); font-weight: 600; }
.seo-prose a{ color: var(--red); font-weight: 600; }
.seo-prose a:hover{ text-decoration: underline; }

/* ===================== Page mentions légales ===================== */
.legal{ padding: 40px 0 64px; background: var(--paper); }
.legal-back{ display: inline-block; font-weight: 600; font-size: 14px; color: var(--red); margin-bottom: 20px; }
.legal-back:hover{ text-decoration: underline; }
.legal h1{ font-size: 34px; color: var(--ink); margin-bottom: 6px; }
.legal-updated{ font-size: 13px; color: var(--ink-2); margin-bottom: 32px; }
.legal h2{ font-size: 19px; color: var(--ink); margin: 30px 0 10px; }
.legal p{ font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 820px; }
.legal strong{ color: var(--ink); font-weight: 600; }
.legal a{ color: var(--red); font-weight: 600; }
.legal a:hover{ text-decoration: underline; }
.legal-back-bottom{ margin-top: 36px; }
.legal-back-bottom a{ color: #fff; }

/* ===================== Footer ===================== */
.site-footer{ background: var(--dark); padding: 52px 0 24px; }
.footer-grid{ display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #322b26; }
.footer-logo{ margin-bottom: 16px; display: inline-block; }
.footer-logo img{ width: 150px; height: auto; border-radius: 14px; display: block; }
.footer-col p{ color: #A79E97; font-size: 14px; margin-bottom: 10px; }
.footer-col h4{ color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a:hover{ color: var(--red); }
.footer-bottom{ padding-top: 20px; }
.footer-bottom p{ color: #7C726B; font-size: 12.5px; margin: 0; text-align: center; }

/* ===================== Mobile sticky call bar ===================== */
.mobile-call-bar{ position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; display: flex; gap: 1px; background: var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
.mobile-call-btn, .mobile-devis-btn{ flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 700; font-size: 14px; }
.mobile-call-btn{ background: var(--ink); color: #fff; }
.mobile-devis-btn{ background: var(--red); color: #fff; flex: 0 0 34%; }
body{ padding-bottom: 62px; }

/* ===================== Responsive ===================== */
@media (min-width: 640px){
  .hero-cta{ flex-direction: row; }
  .hero-cta .btn{ width: auto; }
  .hero-badges{ flex-direction: row; flex-wrap: wrap; gap: 22px; }
  .featured-grid{ grid-template-columns: repeat(3, 1fr); }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .pourquoi-grid{ grid-template-columns: repeat(2, 1fr); }
  .reassurance-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px){
  .main-nav{ display: flex; gap: 26px; }
  .header-cta{ display: flex; align-items: center; gap: 12px; }
  .nav-toggle{ display: none; }

  .hero-inner{ padding: 104px 20px 104px; }
  .hero h1{ font-size: 62px; }
  .hero-sub{ font-size: 18.5px; }

  .services-grid{ grid-template-columns: repeat(3, 1fr); }
  .gallery{ grid-template-columns: repeat(3, 1fr); }
  .pourquoi-grid{ grid-template-columns: repeat(4, 1fr); }
  .section-head h2{ font-size: 34px; }

  .zone-inner{ grid-template-columns: 1.3fr 1fr; }
  .devis-inner{ grid-template-columns: 1fr 1fr; align-items: start; }

  .mobile-call-bar{ display: none; }
  body{ padding-bottom: 0; }
}

@media (min-width: 1100px){
  .hero h1{ font-size: 70px; }
}

/* ===================== Mobile nav drawer ===================== */
.nav-drawer{ display: contents; }
.nav-open .nav-drawer{
  display: flex; flex-direction: column; position: fixed;
  top: 68px; left: 0; right: 0; height: calc(100vh - 68px);
  background: #fff; z-index: 99; overflow-y: auto;
}
.nav-open .main-nav{ display: flex; flex-direction: column; padding: 12px 20px; gap: 2px; }
.nav-open .main-nav a{ padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
.nav-open .header-cta{ display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 24px; border-top: 1px solid var(--line); margin-top: auto; }
.nav-open .header-cta .btn{ width: 100%; }
.nav-open .mobile-call-bar{ display: none; }

@media (min-width: 900px){
  .nav-drawer, .nav-open .nav-drawer{ display: contents; }
  .nav-open .main-nav, .nav-open .header-cta{ padding: 0; border: none; }
}
