/* =====================================================
   ÉLAGUEUR MONTÉVRAIN — Design tokens
   Slate  #1e2c3a · Parchment #f4f0e6 · Spring #5a9e4e
   Sprout #7bbf6e-tint · Iron  #58676f
   Display: Playfair Display · Body: Outfit · Mono: Roboto Mono
===================================================== */

:root {
  --slate:        #1e2c3a;
  --slate-soft:   #263547;
  --parchment:    #f4f0e6;
  --parchment-d:  #e8e2d4;
  --spring:       #5a9e4e;
  --spring-tint:  rgba(90, 158, 78, 0.14);
  --spring-glow:  rgba(90, 158, 78, 0.50);
  --iron:         #58676f;
  --white:        #fdfbf7;
  --line:         rgba(30, 44, 58, 0.12);
  --line-lt:      rgba(244, 240, 230, 0.15);

  --font-h:  "Playfair Display", serif;
  --font-b:  "Outfit", sans-serif;
  --font-m:  "Roboto Mono", monospace;

  --r:   14px;
  --r-s:  9px;
  --sh: 0 20px 48px -22px rgba(30, 44, 58, 0.36);
}

*  { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-b); background: var(--parchment); color: var(--slate); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
p   { margin: 0 0 1em; color: var(--iron); }

h1, h2, h3 { font-family: var(--font-h); font-weight: 700; line-height: 1.1; margin: 0 0 .55em; }
h1 { font-size: clamp(2.15rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-m); font-size: 0.75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--spring); margin: 0 0 .65em;
}

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; background: var(--spring); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
:focus-visible { outline: 3px solid var(--spring); outline-offset: 2px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-family: var(--font-b); font-weight: 600;
  font-size: .94rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--spring); color: #fff; box-shadow: 0 10px 24px -10px var(--spring-glow); }
.btn-ghost   { background: transparent; border-color: var(--line-lt); color: inherit; }
.btn-full    { width: 100%; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--slate); border-bottom: 1px solid var(--line-lt); }
.header-row  { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--parchment); }
.brand-icon { color: var(--spring); display: flex; flex-shrink: 0; }
.brand-name  { display: flex; flex-direction: column; line-height: 1.2; font-family: var(--font-h); }
.brand-top   { font-size: .78rem; font-weight: 400; color: rgba(244,240,230,.65); letter-spacing: .04em; }
.brand-bottom{ font-size: 1.12rem; font-weight: 700; color: var(--parchment); }
.brand-name.light .brand-top   { color: rgba(244,240,230,.55); }
.brand-name.light .brand-bottom{ color: var(--parchment); }

.main-nav { display: flex; align-items: center; gap: 26px; font-size: .9rem; color: var(--parchment); }
.main-nav a { opacity: .78; }
.main-nav a:hover { opacity: 1; }
.nav-cta { background: var(--spring); color: #fff !important; padding: 8px 16px; border-radius: 999px; font-weight: 600; opacity: 1 !important; }

.phone-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--parchment); border: 1px solid var(--line-lt); padding: 8px 15px; border-radius: 999px; font-family: var(--font-m); font-size: .84rem; white-space: nowrap; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--parchment); border-radius: 2px; }

.breadcrumb-bar { padding: 7px 24px 11px; font-size: .8rem; color: rgba(244,240,230,.55); }
.breadcrumb-bar a { color: rgba(244,240,230,.8); }
.breadcrumb-bar a:hover { color: var(--spring); }
.breadcrumb-bar .current { color: var(--parchment); }

/* HERO */
.hero {
  background: linear-gradient(145deg, var(--slate-soft) 0%, var(--slate) 60%, #121e28 100%);
  color: var(--parchment); padding: 72px 0 90px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; bottom: -60px; right: -60px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,158,78,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; position: relative; }
.hero h1 { color: var(--parchment); }
.hero-lead { color: rgba(244,240,230,.78); font-size: 1.04rem; max-width: 530px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 12px; }
.hero-trust { font-family: var(--font-m); font-size: .78rem; color: rgba(244,240,230,.45); margin: 0; }

/* HERO CARD */
.hero-card {
  background: var(--white); color: var(--slate); border-radius: var(--r);
  padding: 26px; box-shadow: var(--sh); border-top: 4px solid var(--spring);
  font-family: var(--font-m);
}
.hc-header { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--iron); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.hc-status { color: var(--spring); font-weight: 600; font-size: .74rem; }
.hc-specs { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hc-row { display: flex; justify-content: space-between; gap: 14px; font-size: .85rem; }
.hc-row dt { color: var(--iron); font-weight: 400; }
.hc-row dd { margin: 0; font-weight: 600; text-align: right; }
.hc-footer { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .74rem; color: var(--iron); }

/* GARANTIES */
.garanties { background: var(--parchment-d); border-bottom: 1px solid var(--line); }
.garanties-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.garantie-item { padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.garantie-item:last-child { border-right: none; }
.garantie-item strong { font-family: var(--font-b); font-weight: 600; font-size: .95rem; }
.garantie-item span { font-size: .82rem; color: var(--iron); }

/* SERVICES */
.services { padding: 88px 0; }
.services h2 { max-width: 680px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .15s, box-shadow .15s; }
.service-card:hover { border-color: var(--spring); box-shadow: 0 8px 24px -12px var(--spring-glow); }
.svc-code { display: inline-block; font-family: var(--font-m); font-size: .72rem; font-weight: 600; color: var(--spring); background: var(--spring-tint); padding: 3px 9px; border-radius: 6px; margin-bottom: 14px; letter-spacing: .04em; }
.service-card h3 { margin-bottom: 8px; }
.service-card p  { font-size: .92rem; margin: 0; }

/* METHODE */
.methode { background: var(--slate); color: var(--parchment); padding: 88px 0; }
.methode-inner { display: flex; flex-direction: column; gap: 40px; }
.methode-head h2 { color: var(--parchment); max-width: 700px; }
.methode-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.methode-lead { color: rgba(244,240,230,.75); font-size: .97rem; max-width: 500px; }
.methode-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.methode-steps li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-lt); font-size: .94rem; color: rgba(244,240,230,.85); align-items: flex-start; }
.methode-steps li:last-child { border-bottom: none; }
.methode-steps li span { font-family: var(--font-m); font-size: .84rem; color: var(--spring); font-weight: 600; flex-shrink: 0; min-width: 110px; }

/* ZONE */
.zone { padding: 88px 0; }
.zone h2 { max-width: 680px; }
.zone-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 30px 0 18px; }
.zone-chips li { font-family: var(--font-m); font-size: .83rem; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.zone-chips li a { display: block; }
.zone-chips li:hover { border-color: var(--spring); }
.chip-current { background: var(--slate) !important; color: var(--parchment) !important; border-color: var(--slate) !important; font-weight: 600; }
.zone-note { font-size: .9rem; }

/* AVIS */
.avis { background: var(--parchment-d); padding: 88px 0; }
.avis-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.avis-card { background: var(--white); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.stars { color: var(--spring); font-size: .88rem; letter-spacing: 2px; margin-bottom: 12px; }
.avis-card blockquote { font-family: var(--font-h); font-style: italic; font-size: 1rem; color: var(--slate); line-height: 1.5; margin: 0 0 14px; padding: 0; }
.avis-card cite { font-family: var(--font-m); font-size: .78rem; color: var(--iron); font-style: normal; }

/* DEVIS / FORM */
.devis { padding: 88px 0; }
.devis-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.devis-info h2 { max-width: 400px; }
.devis-info p { max-width: 400px; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-m); font-size: .9rem; }
.contact-list a { color: var(--slate); font-weight: 500; }

.devis-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--sh); }
.frow { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.frow-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.frow-2 > div { display: flex; flex-direction: column; gap: 6px; }
.frow label { font-size: .85rem; font-weight: 600; }
.frow input, .frow select, .frow textarea { font: inherit; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--slate); }
.frow input:focus, .frow select:focus, .frow textarea:focus { border-color: var(--spring); outline: none; }
.ferr { color: #b84040; font-size: .8rem; }
.form-alert { background: #fef0f0; color: #b84040; padding: 11px 14px; border-radius: var(--r-s); font-size: .88rem; margin-bottom: 16px; border: 1px solid rgba(184,64,64,.2); }
.frow-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.frow-check input  { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.frow-check label  { font-size: .84rem; font-weight: 400; color: var(--iron); }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* MERCI */
.merci { padding: 110px 0; text-align: center; }
.merci-box { max-width: 440px; margin: 0 auto; }
.merci-check { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; background: var(--spring-tint); color: var(--spring); margin-bottom: 20px; }
.merci h1 { margin-bottom: 12px; }
.back-link { display: block; margin-top: 16px; font-size: .88rem; text-decoration: underline; color: var(--iron); }

/* LEGAL */
.legal { padding: 88px 0; }
.legal-box { max-width: 680px; margin: 0 auto; }
.legal-box h2 { font-family: var(--font-b); font-size: 1.15rem; font-weight: 600; margin-top: 1.7em; }

/* FOOTER */
.site-footer { background: var(--slate); color: rgba(244,240,230,.73); padding: 60px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.4fr .9fr; gap: 32px; }
.footer-brand p { font-size: .87rem; color: rgba(244,240,230,.52); margin-top: 10px; }
.footer-col h3  { font-family: var(--font-b); font-weight: 600; font-size: .9rem; color: var(--parchment); margin-bottom: 12px; }
.footer-col ul  { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .87rem; }
.footer-col a:hover { color: var(--spring); }
.footer-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.footer-bottom { margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line-lt); font-size: .8rem; }

/* STICKY CALL */
.sticky-call { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--spring); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .9rem; display: none; align-items: center; gap: 8px; box-shadow: 0 10px 28px -8px rgba(0,0,0,.4); z-index: 60; white-space: nowrap; }

/* RESPONSIVE */
@media (max-width: 920px) {
  .hero-grid, .methode-body, .devis-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .services-grid, .avis-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .garanties-grid { grid-template-columns: repeat(2,1fr); }
  .garantie-item:nth-child(2) { border-right: none; }
}
@media (max-width: 700px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--slate); flex-direction: column; padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid var(--line-lt); }
  .phone-pill { display: none; }
  .services-grid, .avis-grid { grid-template-columns: 1fr; }
  .frow-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-zones { grid-template-columns: 1fr 1fr; }
  .sticky-call { display: flex; }
  .garanties-grid { grid-template-columns: 1fr 1fr; }
  .garantie-item { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
