/* Polices auto-hébergées (sous-ensemble latin) : plus de requête vers Google Fonts */
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/instrument-sans-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:italic;font-weight:400 700;font-display:swap;src:url(/fonts/instrument-sans-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 500;font-display:swap;src:url(/fonts/fraunces-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/fraunces-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Styles du site (accueil, devis, en-tête et pied de page) — chargés aussi par les pages locales */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #F3F5F0;
  --cream-2:     #E6ECE0;
  --cream-3:     #D2DCC8;
  --white:       #FFFFFF;
  --ink:         #1A1F1C;
  --ink-2:       #323D34;
  --ink-3:       #5F6B61;
  --ink-4:       #909B92;
  --forest:      #1A1F1C;
  --forest-2:    #2A3A2C;
  --forest-3:    #6DB33F;
  --forest-pale: #EDF7E2;
  --petrol:      #1A1F1C;
  --petrol-2:    #374B38;
  --petrol-pale: #EDF7E2;
  --gold:        #6DB33F;
  --gold-pale:   #EDF7E2;
  --danger:      #C0392B;
  --danger-pale: #FDECEA;
  --success:     #6DB33F;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-sm: 0 2px 8px rgba(26,26,24,.07);
  --sh-md: 0 6px 24px rgba(26,26,24,.09);
  --sh-lg: 0 16px 48px rgba(26,26,24,.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: var(--cream); color: var(--ink);
  font-size: 15px; line-height: 1.6; font-weight: 300;
  overflow-x: hidden;
}

.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; flex-direction: column; }

#home-hero {
  min-height: calc(100vh - 100px);
  min-height: calc(100dvh - 100px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; }

@keyframes slideUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform:none; } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes bannerSlideIn { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform:none; } }

.btn-cta {
  width: 100%; padding: 14px; border-radius: var(--r-md);
  background: var(--forest); color: #fff; border: none;
  font-family: inherit; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .2s; letter-spacing: .01em; margin-top: 4px;
}
.btn-cta:hover { background: var(--forest-2); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-cta:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.user-avatar.pro  { background: var(--petrol-pale); color: var(--petrol-2); }
.nav-item.active { background: var(--forest-pale); color: var(--forest-2); font-weight: 500; }
.nav-item.active.petrol-nav { background: var(--petrol-pale); color: var(--petrol-2); }

.content { padding: 28px; flex: 1; }
.panel.active { display: block; animation: fadeIn .25s ease; }


.card {
  background: var(--white); border: 1px solid var(--cream-3);
  border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 12px;
  transition: box-shadow .18s;
}
.card:hover { box-shadow: var(--sh-sm); }
.toggle {
  width: 40px; height: 22px; background: var(--cream-3);
  border-radius: 11px; cursor: pointer; transition: background .2s;
  position: relative; flex-shrink: 0;
}
.toggle.on { background: var(--forest); }
.toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: transform .2s; box-shadow: var(--sh-sm);
}
.toggle.on::after { transform: translateX(18px); }
@media (max-width: 600px) {
  .content { padding: 16px; }

  /* --- Audit mobile : zones tactiles ≥ 44px & lisibilité --- */
  .reviews-cta-btn { min-height: 44px; padding-top: 11px; padding-bottom: 11px; }
  .cookie-btn { min-height: 44px; padding: 11px 22px; }
  /* liens de contact du footer plus faciles a toucher */
  .footer a[href^="mailto"], .footer a[href^="tel"] { display: inline-block; min-height: 40px; line-height: 40px; }
  /* badges verts des diagnostics : réduits à 9px (cible 8,5-9px, garde la netteté) */
  .diag-card-h-badge { font-size: 9px !important; }
  .collage-overlay-title { font-size: 12px !important; }
  .footer-col-title { font-size: 12px !important; }
}

.form-page { max-width: 640px; margin: 0 auto; padding: 60px 40px 120px; }
.form-header { margin-bottom: 40px; }
.form-header h2 { font-family: 'Fraunces', Georgia, serif; font-size: 34px; font-weight: 400; margin-bottom: 8px; letter-spacing: -0.5px; }
.form-header p { color: var(--ink-3); font-size: 15px; font-weight: 300; }
.form-intro-card {
  background: #fafcf8;
  border: 1.5px solid #cce0b2;
  border-radius: var(--r-xl);
  padding: 36px 32px 28px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(109,179,63,.22), 0 2px 8px rgba(109,179,63,.12);
}
.form-intro-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #6DB33F 0%, #4a9c2a 100%);
  border-radius: 12px 12px 0 0;
}
.form-intro-card .form-header { margin-bottom: 18px; }
.form-intro-card .stepper { margin-bottom: 0; }

@media (max-width:640px) { .form-intro-card { padding:24px 18px 20px; } }


.form-step { display: none; }
.form-step.active {
  display: block;
  animation: fadeSlideIn 0.3s ease;
  padding-top: 24px;
}

.form-label         { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; letter-spacing: 0.02em; display: block; }
.form-section-title { font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.form-section-sub   { font-size: 14px; color: var(--ink-4); margin-bottom: 28px; }


.type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.type-card {
  position: relative; background: var(--white);
  border: 1.5px solid var(--cream-3); border-radius: var(--r-md);
  padding: 8px 8px 12px; cursor: pointer;
  transition: all .2s cubic-bezier(.25,.46,.45,.94);
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 2px; user-select: none;
}
.type-card:hover { border-color: var(--forest-3); background: var(--forest-pale); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.type-card.selected { border-color: var(--forest); background: var(--forest-pale); box-shadow: 0 0 0 3px rgba(30,64,32,.1); transform: translateY(-1px); }
.type-check {
  position: absolute; top: 8px; right: 8px; z-index: 5;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--cream-3);
  box-shadow: 0 0 0 2px var(--white);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.type-card.selected .type-check { background: var(--forest); border-color: var(--forest); }
.type-check svg { display: none; width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 3; }
.type-card.selected .type-check svg { display: block; }
.type-card-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: transparent; display: flex; align-items: center; justify-content: center; transition: transform .2s;
  position: relative; z-index: 1;
}
.type-card:hover .type-card-icon { transform: scale(1.06); }
.type-card-icon svg { width: 26px; height: 26px; stroke: var(--ink-3); stroke-width: 1.5; transition: stroke .2s; }
.type-card-icon img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; }
.type-card-icon { overflow: hidden; }
.type-card.selected .type-card-icon { background: transparent; }
.type-card.selected .type-card-icon svg { stroke: var(--forest-2); }
.type-card-title { font-size: 13px; font-weight: 500; color: var(--ink); transition: color .2s; line-height: 1.2; }
.type-card.selected .type-card-title { color: var(--forest-2); }
.type-card-desc { font-size: 11px; color: var(--ink-4); line-height: 1.35; transition: color .2s; }
.type-card.selected .type-card-desc { color: var(--forest-3); }
@media (max-width: 680px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px)  { .type-grid { grid-template-columns: 1fr; } }


.collage-section {
  padding: 18px 40px 24px; background: var(--white);
  scroll-margin-top: 100px;
  min-height: calc(100vh - 100px);
  min-height: calc(100dvh - 100px);
  display: flex; flex-direction: column;
}
.collage-section-header { text-align: center; margin-bottom: 20px; }
.collage-section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 34px); font-weight: 300; letter-spacing: -.4px;
  color: var(--ink); line-height: 1.2;
}
.collage-section-title em { color: var(--forest-3); font-style: italic; }
.collage-wrap { position: relative; flex: 1; min-height: 0; width: 100%; max-width: 960px; margin: 0 auto; }
.cc-1 { left: 1%;   top: 3%;   width: 25%; height: 44%; z-index: 2; }
.cc-2 { right: 1%;  top: 0;    width: 22%; height: 48%; z-index: 2; }
.cc-3 { left: 24%;  top: 5%;   width: 51%; height: 60%; z-index: 1; }
.cc-4 { right: 0;   top: 42%;  width: 33%; height: 46%; z-index: 3; }
.cc-5 { left: 3%;   top: 49%;  width: 23%; height: 40%; z-index: 4; }
.cc-6 { left: 32%;  bottom: 2%; width: 31%; height: 35%; z-index: 3; }
.collage-card {
  position: absolute; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-lg);
  transition: box-shadow .28s ease; cursor: default;
}
.collage-card:hover, .collage-card:focus { box-shadow: 0 28px 70px rgba(26,26,24,.2); outline: none; z-index: 10; }
.collage-card:focus-visible { outline: 2px solid var(--forest-3); outline-offset: 3px; }
.collage-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease, filter .45s ease; }
.collage-card:hover img, .collage-card:focus img { transform: scale(1.07); filter: blur(2px) brightness(.82); }
.collage-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px; text-align: center;
  background: rgba(0,0,0,0); transition: background .4s ease; pointer-events: none;
}
.collage-card:hover .collage-overlay, .collage-card:focus .collage-overlay { background: rgba(0,0,0,.42); }
.collage-overlay-title {
  font-family: 'Fraunces', serif; font-size: 13px; font-weight: 500;
  color: #fff; line-height: 1.25; margin-bottom: 5px;
  opacity: 0; transform: translateY(7px);
  transition: opacity .3s ease .06s, transform .3s ease .06s;
}
.collage-overlay-text {
  font-size: 11px; color: rgba(255,255,255,.9); line-height: 1.5;
  opacity: 0; transform: translateY(7px);
  transition: opacity .3s ease .12s, transform .3s ease .12s;
}
.collage-card:hover .collage-overlay-title,
.collage-card:hover .collage-overlay-text,
.collage-card:focus .collage-overlay-title,
.collage-card:focus .collage-overlay-text { opacity: 1; transform: translateY(0); }
.cc-3 .collage-overlay-title { font-size: 18px; margin-bottom: 8px; }
.cc-3 .collage-overlay-text  { font-size: 13px; }
@media (max-width: 768px) {
  .collage-section { padding: 24px 20px 20px; min-height: unset; }
  .collage-wrap { min-height: 320px; }
  .cc-1 { left: 1%;  top: 2%;  width: 36%; height: 34%; }
  .cc-2 { right: 0;  top: 0;   width: 26%; height: 44%; }
  .cc-3 { left: 14%; top: 5%;  width: 62%; height: 52%; }
  .cc-4 { right: 0;  top: 43%; width: 47%; height: 38%; }
  .cc-5 { left: 2%;  top: 38%; width: 33%; height: 36%; }
  .cc-6 { left: 22%; bottom: 2%; width: 42%; height: 32%; }
  .collage-overlay { padding: 8px; }
  .collage-overlay-title { font-size: 11px; margin-bottom: 3px; }
  .collage-overlay-text { font-size: 9.5px; line-height: 1.35; }
  .cc-3 .collage-overlay-title { font-size: 15px; margin-bottom: 5px; }
  .cc-3 .collage-overlay-text  { font-size: 11px; }
}
@media (max-width: 480px) {
  .collage-wrap { min-height: 260px; }
  .collage-overlay { padding: 6px; }
  .collage-overlay-title { font-size: 10px; margin-bottom: 2px; }
  .collage-overlay-text { font-size: 9px; }
  .cc-3 .collage-overlay-title { font-size: 13px; }
  .cc-3 .collage-overlay-text  { font-size: 10px; }
}

.field-group { margin-bottom: 20px; }
.field-input {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--cream-3); background: var(--white);
  font-family: inherit; font-size: 15px; font-weight: 300;
  color: var(--ink); outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.field-input:focus { border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(30,64,32,0.1); }
.field-input::placeholder { color: var(--ink-4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.urgency-group { display: flex; gap: 8px; margin-bottom: 28px; }
.urgency-btn {
  flex: 1; padding: 10px 6px; border-radius: var(--r-sm);
  border: 1.5px solid var(--cream-3); cursor: pointer;
  background: var(--white); font-family: inherit; font-size: 12px;
  color: var(--ink-3); text-align: center; transition: all 0.18s; font-weight: 400;
}
.urgency-btn:hover    { border-color: var(--forest-3); }
.urgency-btn.selected { border-color: var(--forest); background: var(--forest-pale); color: var(--forest); font-weight: 500; }

textarea.notes-libres { resize: vertical; min-height: 104px; font-family: inherit; line-height: 1.5; }
.upload-zone {
  border: 2px dashed var(--cream-3); border-radius: var(--r-md);
  padding: 32px; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s; margin-bottom: 16px; user-select: none;
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--forest-3); background: var(--forest-pale); }
.upload-zone.drag-over { border-color: var(--forest); }
.upload-icon { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 12px; background: var(--cream-2); display: flex; align-items: center; justify-content: center; }
.upload-icon svg { width: 22px; height: 22px; stroke: var(--ink-3); fill: none; stroke-width: 1.5; }
.upload-text { font-size: 14px; color: var(--ink-3); }
.upload-hint { font-size: 12px; color: var(--ink-4); margin-top: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.photo-grid:empty { display: none; }
.photo-thumb { position: relative; aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; background: var(--cream-2); box-shadow: var(--sh-sm); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-pdf {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 6px; text-align: center; background: var(--cream-2);
}
.photo-pdf span { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--forest); background: var(--forest-pale); padding: 2px 8px; border-radius: 4px; }
.photo-pdf small { font-size: 10px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.photo-remove {
  position: absolute; top: 5px; right: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(26,26,24,.65); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .18s; padding: 0;
  color: #fff; font-size: 13px; line-height: 1;
}
.photo-remove:hover { background: var(--danger); }
.upload-count { font-size: 12px; color: var(--ink-4); margin-bottom: 16px; margin-top: -8px; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

.form-nav     { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.step-counter { font-size: 13px; color: var(--ink-4); }

.cgv-wrapper { margin: 20px 0 24px; }
.cgv-label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cgv-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--forest); cursor: pointer; }
.cgv-text  { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.cgv-error {
  margin-top: 8px; font-size: 12px; color: var(--danger);
  display: flex; align-items: center; gap: 6px;
  background: var(--danger-pale); border-radius: 6px; padding: 8px 12px;
}

.site-footer {
  background: #111512; color: rgba(255,255,255,0.65);
  padding: 32px 40px 20px; position: relative; z-index: 10;
}
.footer-inner { max-width:1020px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:28px; margin-bottom:16px; }
.footer-desc  { font-size:13px; line-height:1.65; max-width:220px; color:rgba(255,255,255,.55); }
.footer-email { display:block; color:rgba(255,255,255,.7); text-decoration:none; font-size:13px; transition:color .2s; margin-top:5px; }
.footer-email:hover { color:#6DB33F; }
.footer-col-title { font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.35); margin-bottom:16px; }
.footer-list  { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-list li { font-size:13px; color:rgba(255,255,255,.6); transition:color .2s; cursor:default; }
.footer-list li:hover { color:#fff; }
.footer-list a { color:inherit; text-decoration:none; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-zones { max-width:1020px; margin:0 auto 18px; display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 18px; }
.footer-zones .footer-col-title { margin:0 4px 0 0; }
.footer-zones a { font-size:13px; color:rgba(255,255,255,.6); text-decoration:none; transition:color .2s; }
.footer-zones a:hover { color:#fff; }
.footer-bottom {
  max-width: 1020px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between; font-size: 12px;
}

.cookie-banner {
  position: fixed; bottom: 24px; left: 20px; right: 20px; z-index: 9999;
  background: #ffffff; border: 1px solid #e7ece0;
  border-radius: 18px; padding: 18px 22px 18px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 20px 55px rgba(26,31,28,0.17), 0 3px 10px rgba(26,31,28,.06);
  max-width: 720px; margin: 0 auto;
  animation: cookiePop 0.5s cubic-bezier(.2,.8,.2,1);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.hidden { opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; }
@keyframes cookiePop { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.cookie-ico, .cookie-ico-sm { background-image: url("../img/site/cookie.webp");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: drop-shadow(0 2px 3px rgba(26,31,28,.20)); flex-shrink:0; }
.cookie-ico { width:58px; height:58px; animation: cookieWobble 4.5s ease-in-out infinite; transform-origin:50% 60%; }
.cookie-head { display:flex; align-items:center; gap:10px; }
.cookie-ico-sm { display:none; width:30px; height:30px; }
@media (max-width: 768px) {
  .cookie-ico { display:none; }
  .cookie-ico-sm { display:block; }
}
@keyframes cookieWobble { 0%,100%{ transform: rotate(-5deg);} 50%{ transform: rotate(5deg);} }
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { color: #1A1F1C; font-size: 15px; font-weight: 700; display: block; margin-bottom: 3px; letter-spacing:-.2px; }
.cookie-text span { font-size: 12.5px; color: #5f6a5c; line-height: 1.55; }
.cookie-text .hl { color: #4E8B2C; font-weight: 700; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; align-items:center; }
.cookie-btn { padding: 11px 22px; border-radius: 11px; background: var(--forest-3); color: #fff; border: none; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(109,179,63,.35); transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s; }
.cookie-btn:hover { background: #4E8B2C; transform: translateY(-1px); box-shadow: 0 9px 22px rgba(109,179,63,.45); }
.cookie-btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(109,179,63,.35); }
@media (prefers-reduced-motion: reduce){ .cookie-ico{ animation:none } .cookie-banner{ animation:none } }
@media (max-width: 768px) {
  .cookie-banner-mobile-fix { }
}

@media (max-width: 768px) {
  .field-row    { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; justify-content: center; }
  .footer-inner .footer-brand { grid-column: span 2; }
  .footer-inner > div:nth-child(2) { grid-row: span 2; }
  .cookie-banner { bottom: 20px; flex-direction: column; align-items: flex-start; gap:14px; }
  .cookie-actions { width:100%; } .cookie-btn { width:100%; }
  .site-footer  { padding: 28px 20px 18px; }
}

.btn-back {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--cream-3); background: transparent;
  font-family: inherit; font-size: 13px; color: var(--ink-2);
  cursor: pointer; transition: all .18s; line-height: 1;
}
.btn-back:hover { background: var(--cream); color: var(--ink); }
.btn-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.btn-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-md);
  background: var(--forest); color: #fff; border: none;
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s;
}
.btn-action svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }
.btn-action:hover { background: var(--forest-2); transform: translateY(-1px); box-shadow: var(--sh-sm); }

.stepper { display: flex; align-items: flex-start; margin-bottom: 36px; }
.stepper-step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 0 0 auto; }
.stepper-track { flex: 1; height: 2px; background: var(--cream-3); margin-top: 13px; transition: background .3s; min-width: 10px; }
.stepper-track.done { background: var(--forest); }
.stepper-bubble {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; transition: all .3s;
  background: var(--cream-3); color: var(--ink-4);
}
.stepper-label { font-size: 11px; color: var(--ink-4); white-space: nowrap; font-weight: 400; transition: color .3s; }
.stepper-step.active .stepper-bubble { background: var(--forest); color: #fff; }
.stepper-step.active .stepper-label  { color: var(--forest-2); font-weight: 500; }
.stepper-step.done   .stepper-bubble { background: var(--forest-pale); color: var(--forest-2); outline: 2px solid var(--forest-3); outline-offset: -2px; }
.stepper-step.done   .stepper-label  { color: var(--forest-2); }
@media (max-width: 480px) { .stepper-label { display: none; } }

.howto-section {
  padding: 40px 40px 48px; scroll-margin-top: 100px;
  min-height: calc(100vh - 100px); min-height: calc(100dvh - 100px);
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
}
.howto-title { font-size: 15px; font-weight: 700; letter-spacing: .15em; color: var(--forest-3); text-transform: uppercase; margin-bottom: 20px; text-align: center; }
.howto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .howto-grid { grid-template-columns: repeat(2, 1fr); } }
.howto-card {
  background: var(--white); border: 1px solid var(--cream-3);
  border-radius: var(--r-lg); padding: 28px 24px;
  position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.howto-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.howto-card::before {
  content: attr(data-num); position: absolute; top: -6px; right: 18px;
  font-family: 'Fraunces', serif; font-size: 72px; color: var(--cream-2);
  line-height: 1; font-weight: 300; transition: color .2s;
}
.howto-card:hover::before { color: var(--forest-pale); }
.howto-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--forest-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.howto-icon svg { width: 20px; height: 20px; stroke: var(--forest-2); fill: none; stroke-width: 1.5; }
.howto-card-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.howto-card-desc  { font-size: 13px; color: var(--forest-3); line-height: 1.55; font-weight: 300; }

.reassurance-strip {
  border-top: 1px solid var(--cream-3); border-radius: var(--r-md);
  padding: 24px 40px; display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap; background: var(--white);
}
.reassurance-item { display: flex; align-items: center; gap: 10px; }
.reassurance-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--petrol-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.reassurance-icon svg { width: 17px; height: 17px; stroke: var(--petrol-2); fill: none; stroke-width: 1.5; }
.reassurance-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.reassurance-sub   { font-size: 11px; color: var(--forest-3); }

@media (max-width: 768px) {
  #home-nav-links { display: none !important; }
  .howto-grid { grid-template-columns: 1fr; }
  .reassurance-strip { gap: 20px; padding: 20px; }
}

.reviews-section {
  padding: 52px 40px 60px; background: var(--cream);
  border-top: 1px solid var(--cream-3); scroll-margin-top: 100px;
}
.reviews-header { text-align: center; margin-bottom: 32px; }
.reviews-label { font-size: 15px; font-weight: 700; letter-spacing: .15em; color: var(--forest-3); text-transform: uppercase; margin-bottom: 8px; display: block; }
.reviews-title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(24px, 3vw, 34px); font-weight: 300; line-height: 1.15; letter-spacing: -.4px; color: var(--ink); }
.reviews-title em { font-style: italic; color: var(--forest-3); }
.reviews-slider-wrap {
  position: relative; overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.reviews-grid {
  display: flex; gap: 16px; width: max-content;
  will-change: transform; cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.reviews-grid.is-dragging { cursor: grabbing; }
.reviews-grid.is-dragging .review-card { pointer-events: none; }
.reviews-grid.is-animating { animation: reviewsScroll var(--reviews-duration, 38s) linear infinite; }
.reviews-grid.is-paused { animation-play-state: paused; }
@keyframes reviewsScroll { from { transform: translateX(0); } to { transform: translateX(var(--reviews-end, -1896px)); } }
.reviews-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--cream-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s; box-shadow: var(--sh-sm); color: var(--ink-2);
}
.reviews-arrow:hover { border-color: rgba(62,122,66,.4); color: var(--forest-2); box-shadow: var(--sh-md); }
.reviews-arrow-prev { left: 6px; }
.reviews-arrow-next { right: 6px; }
.reviews-arrow svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .reviews-grid.is-animating { animation: none; } }
.review-card {
  background: var(--white); border: 1px solid var(--cream-3);
  border-radius: var(--r-lg); padding: 24px 22px;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; flex: 0 0 300px;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.review-name  { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.review-stars { font-size: 13px; color: #E8A800; margin-bottom: 10px; letter-spacing: .5px; }
.review-text  { font-size: 13px; color: var(--ink-2); line-height: 1.65; font-weight: 300; flex: 1; }
.review-author { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.review-location { font-size: 11px; color: var(--ink-4); }
.reviews-footer { margin-top: 28px; text-align: center; }
.reviews-cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-3); padding: 9px 20px; border-radius: 20px;
  border: 1px solid var(--cream-3); background: var(--white);
  cursor: pointer; transition: all .18s; font-family: inherit; text-decoration: none;
}
.reviews-cta-btn:hover { border-color: rgba(62,122,66,.4); color: var(--forest-2); background: var(--forest-pale); }
@media (max-width: 600px) {
  .reviews-section { padding: 36px 20px 44px; }
  .reviews-header  { flex-direction: column; align-items: flex-start; }
  .review-card     { flex: 0 0 256px; }
  .reviews-arrow   { display: none; }
}

@media (max-width: 1024px) {
  .content { padding: 20px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  #home-nav { padding: 0 16px !important; height: 80px !important; }
  #home-nav img { height: 68px !important; }
  #hero-inner { flex-direction: column !important; align-items: flex-start !important; padding: 40px 24px !important; gap: 32px !important; }
  #hero-inner h1 { font-size: clamp(28px, 7vw, 40px) !important; }
  #hero-ctas { width: 100% !important; min-width: 0 !important; }
  .content-header .btn-action { width: 100%; justify-content: center; }
  .lead-card > .btn-action { width: 100%; justify-content: center; margin-top: 8px; }
  .form-page { padding: 28px 16px 80px !important; }
  .form-header h2 { font-size: 24px !important; }
  .type-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stepper { margin-bottom: 24px; }
  .collage-section { padding: 24px 16px 20px !important; min-height: unset !important; }
  .collage-wrap { position: relative !important; min-height: 360px !important; }
  .reviews-section { padding: 32px 16px 40px !important; }
  .footer-brand { grid-column: span 2 !important; }
  .site-footer { padding: 26px 16px 16px !important; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .howto-section { padding: 24px 16px 32px !important; gap: 24px; min-height: unset !important; }
  .reassurance-strip { gap: 14px; padding: 18px 16px !important; flex-direction: column; align-items: center; }
  /* chaque ligne alignee de la meme facon, bloc centre */
  .reassurance-item { justify-content: flex-start; width: max-content; max-width: 100%; margin: 0 auto; text-align: left; }
}
@media (max-width: 480px) {
  #home-nav { padding: 0 12px !important; }
  #home-nav img { height: 56px !important; }
  #hero-inner { padding: 28px 18px !important; }
  #hero-ctas button { padding: 14px 18px !important; }
  .form-page { padding: 20px 12px 72px !important; }
  .form-header h2 { font-size: 21px !important; }
  .form-nav { flex-direction: column; gap: 10px; align-items: stretch; }
  .form-nav .btn-cta { width: 100%; }
  .urgency-group { flex-wrap: wrap; }
  .urgency-btn { min-width: 80px; }
  .upload-zone { padding: 20px 12px; }
  .content { padding: 12px; }
  .footer-brand { grid-column: span 2 !important; }
  .site-footer { padding: 18px 12px 12px !important; }
  .collage-wrap { min-height: 280px !important; }
  .collage-section { padding: 20px 12px 16px !important; }
  .review-card { flex: 0 0 230px; }
  .reviews-section { padding: 28px 12px 36px !important; }
  .reviews-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .howto-section { padding: 14px 12px 20px !important; }
  .howto-title { font-size: 12px !important; margin-bottom: 10px !important; }
  .howto-grid { gap: 8px !important; }
  .howto-card { padding: 12px 12px !important; }
  .howto-card::before { font-size: 34px !important; top: 0 !important; right: 10px !important; }
  .howto-icon { width: 30px !important; height: 30px !important; margin-bottom: 8px !important; }
  .howto-icon svg { width: 16px !important; height: 16px !important; }
  .howto-card-title { font-size: 13.5px !important; margin-top: 2px !important; margin-bottom: 3px !important; }
  .howto-card-desc { font-size: 11.5px !important; line-height: 1.4 !important; }

  /* Harmoniser 'Nos prestations' et 'Avis clients' sur la taille compacte de 'Comment ca marche ?' */
  .diag-section-label, .reviews-label { font-size: 12px !important; margin-bottom: 6px !important; }
  .diag-section-title { font-size: 18px !important; line-height: 1.2 !important; }
  .reviews-title { font-size: 18px !important; line-height: 1.2 !important; }
  .cookie-banner { padding: 16px; bottom: 12px; }
}
@media (max-width: 360px) {
  #home-nav { padding: 0 8px !important; }
  .form-page { padding: 16px 10px 64px !important; }
  .content { padding: 10px; }
  .type-grid { grid-template-columns: 1fr 1fr !important; }
  .howto-card::before { font-size: 52px; }
}
/* ── Confirmation envoi formulaire ── */
.form-confirmation { text-align: center; padding: 60px 24px 40px; animation: fadeSlideIn .4s ease; }
.form-confirmation-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--forest-pale);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.form-confirmation-icon svg { width: 32px; height: 32px; }
.form-confirmation h2 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 300; letter-spacing: -.5px; margin-bottom: 12px; }
.form-confirmation p  { font-size: 15px; color: var(--ink-3); max-width: 400px; margin: 0 auto 24px; line-height: 1.6; }

/* ── Carousel horizontal 8 diagnostics ── */
.diag-section { padding: 0 40px 52px; scroll-margin-top: 108px; }
.diag-section-header { margin-bottom: 22px; text-align: center; }
.diag-section-label { font-size: 15px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--forest-3); margin-bottom: 8px; display: block; }
.diag-section-title { font-family: 'Fraunces', serif; font-size: clamp(20px,2.2vw,28px); font-weight: 300; letter-spacing: -.3px; color: var(--ink); }
.diag-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;                 /* swipe horizontal = carrousel ; vertical = page */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
  scrollbar-width: none;               /* Firefox */
  -ms-overflow-style: none;            /* Edge legacy */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.diag-scroll-wrap::-webkit-scrollbar { display: none; }   /* Chrome / Safari */
.diag-scroll-wrap.dragging { cursor: grabbing; }
.diag-grid-h { display: flex; gap: 10px; width: max-content; padding: 4px 2px; user-select: none; -webkit-user-select: none; will-change: scroll-position; }
.diag-card-h-img { -webkit-user-drag: none; }
@keyframes diag-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.diag-card-h {
  width: 172px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--cream-3);
  border-radius: var(--r-md); overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: default;
}
.diag-card-h:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--forest-3); }
.diag-card-h-img-wrap { overflow: hidden; }
.diag-card-h-img { width: 100%; height: 108px; object-fit: cover; display: block; transition: transform .4s, filter .3s; }
.diag-card-h:hover .diag-card-h-img { transform: scale(1.06); filter: brightness(.88); }
.diag-card-h-body { padding: 10px 12px 13px; }
.diag-card-h-badge { font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--forest-3); margin-bottom: 5px; display: block; }
.diag-card-h-title { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
@media (max-width: 900px) { .diag-section { padding: 0 20px 40px; } }
@media (max-width: 520px)  { .diag-card-h { width: 148px; } .diag-card-h-img { height: 90px; } }

/* ════════ MOBILE OVERRIDES — Option A (desktop ≥ 769 px intact) ════════ */
@media (max-width: 768px) {

  /* — Burger & nav dropdown — */
  #burger { display: block !important; }

  #home-nav-links.open {
    display: flex !important;
    position: absolute; top: 100px; left: 0; right: 0;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: #fff;
    border-bottom: 1px solid var(--cream-3);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    padding: 8px 20px 20px !important;
    z-index: 60;
  }
  #home-nav-links.open > a,
  #home-nav-links.open > button {
    width: 100% !important;
    text-align: left !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid var(--cream-2);
  }
  #home-nav-links.open > a:last-of-type,
  #home-nav-links.open > button:last-child { border-bottom: none; }

  /* — Hero plein ecran : occupe exactement la hauteur visible sous le header (80px) — */
  #home-hero {
    height: calc(100dvh - 80px) !important;
    min-height: calc(100dvh - 80px) !important;
    max-height: calc(100dvh - 80px) !important;
    overflow: hidden !important;
  }
  /* fallback navigateurs sans dvh */
  @supports not (height: 100dvh) {
    #home-hero { height: calc(100vh - 80px) !important; min-height: calc(100vh - 80px) !important; }
  }

  /* — Hero CTA pleine largeur — */
  #hero-ctas button {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px 24px !important;
  }

  /* — Logo nav — */
  #home-nav > div:first-child { flex-shrink: 1; min-width: 0; }
  #home-nav > div:first-child img {
    display: block !important;
    height: auto !important;
    max-height: 64px !important;
    max-width: calc(100vw - 100px) !important;
    width: auto !important;
  }

  /* — Logo footer — */
  .footer-brand img {
    display: block !important;
    max-width: 180px !important;
    height: auto !important;
  }

  /* — Carousel : défilement infini maintenu sur mobile — */
  .diag-section { padding: 0 16px 36px !important; }
}

@media (max-width: 480px) {
  /* — Nav encore plus compact — */
  #home-nav { height: 80px !important; }
  #home-nav > div:first-child img { max-height: 66px !important; }
  #home-nav-links.open { top: 80px; }

  /* — Hero + CTA plein ecran — */
  #home-hero { min-height: calc(100vh - 80px) !important; min-height: calc(100dvh - 80px) !important; }

  /* — Formulaire devis : boutons nav pleine largeur — */
  .form-nav { gap: 8px !important; }

  /* — Footer : 2 colonnes sur petit écran, Légal+Assistance à droite de Diagnostics — */
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .footer-brand { grid-column: span 2 !important; }
  .footer-inner > div:nth-child(2) { grid-row: span 2; }
}
/* ════════ FIN MOBILE OVERRIDES ════════ */

/* ── Page Diagnostics ── */
.diag-page-wrap  { flex: 1; display: flex; overflow: hidden; }
.diag-page-nav   { width: 240px; flex-shrink: 0; border-right: 1px solid var(--cream-3); overflow-y: auto; padding: 28px 0; background: var(--cream); }
.diag-page-body  { flex: 1; overflow-y: auto; padding: 52px 60px; }
.diag-nav-label  { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); padding: 0 20px 12px; display: block; }
.diag-nav-btn    { display: block; width: 100%; text-align: left; padding: 11px 20px; background: transparent; border: none; border-left: 3px solid transparent; font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink-3); cursor: pointer; transition: all .15s; }
.diag-nav-btn:hover { background: var(--cream-2); color: var(--ink); }
.diag-nav-btn.active { color: var(--forest-3); border-left-color: var(--forest-3); background: var(--forest-pale); font-weight: 600; }
@media (max-width: 700px) {
  #screen-diagnostics.active { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
  #screen-diagnostics .screen-mini-header { position: relative; flex-shrink: 0; }
  .diag-page-wrap { flex: 1; flex-direction: column; overflow: hidden; min-height: 0; }
  .diag-page-nav { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--cream-3); overflow-x: auto; white-space: nowrap; padding: 12px 0; display: flex; flex-shrink: 0; position: static; min-height: 0; }
  .diag-nav-label { display: none; }
  .diag-nav-btn { display: inline-block; width: auto; padding: 8px 16px; border-left: none; border-bottom: 3px solid transparent; }
  .diag-nav-btn.active { border-left: none; border-bottom-color: var(--forest-3); }
  .diag-page-body { flex: 1; overflow-y: auto; min-height: 0; padding: 28px 20px 48px; -webkit-overflow-scrolling: touch; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — corrections complètes
   Toutes les règles ci-dessous ont max-width ou @supports
   → aucun impact sur l'affichage desktop
═══════════════════════════════════════════════════════════ */

/* Fix iOS Safari : 100vh inclut la barre d'adresse → utiliser dvh */
@supports (min-height: 100dvh) {
  .screen { min-height: 100dvh; }
}

/* ── Tablette portrait 601–768px ────────────────────────── */
@media (max-width: 768px) {
  /* Formulaire : ombre simplifiée (large blur = lourd sur mobile) */
  .form-intro-card {
    box-shadow: 0 4px 24px rgba(109,179,63,.18), 0 1px 6px rgba(109,179,63,.08) !important;
  }

  /* Howto : espace entre les cartes réduit en colonne */
  .howto-section { gap: 20px !important; }

  /* Footer bottom-nav : liens centrés sur tablette */
  .footer-bottom { gap: 12px !important; }
}

/* ── Smartphones 481–640px ──────────────────────────────── */
@media (max-width: 640px) {
  /* form-intro-card : padding interne resserré */
  .form-intro-card {
    padding: 20px 14px 18px !important;
    border-radius: 14px !important;
  }


  /* Étape active : espace avant le contenu de l'étape */
  .form-step.active { padding-top: 16px !important; }

  /* Titres des étapes */
  .form-section-title { font-size: 16px !important; }
  .form-section-sub   { font-size: 13px !important; }

  /* Type-cards (sélection diagnostics) : plus compactes */
  .type-card      { padding: 14px 8px 12px !important; }
  .type-card-icon { width: 58px !important; height: 58px !important; }
}

/* ── Petits smartphones ≤ 480px ────────────────────────── */
@media (max-width: 480px) {
  /* Footer compact */
  .site-footer  { padding: 20px 12px 10px !important; }
  .footer-inner { margin-bottom: 6px !important; }


  /* Type-cards encore plus compactes */
  .type-card      { padding: 10px 6px 8px !important; }
  .type-card-icon { width: 50px !important; height: 50px !important; }

  /* Bouton retour dans form-nav — pleine largeur comme le bouton suivant */
  .form-nav .btn-action {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Page diagnostic : moins de padding sur mobile */
  .diag-page-body { padding: 20px 16px 40px !important; }

  /* Stepper : espacement */
  .stepper-track { min-width: 12px !important; }
}

/* ── Très petits écrans ≤ 380px ─────────────────────────── */
@media (max-width: 380px) {
  /* form-intro-card encore plus compact */
  .form-intro-card {
    padding: 14px 10px 12px !important;
    border-radius: 10px !important;
  }

  /* Type-cards minimales */
  .type-card       { padding: 8px 4px 6px !important; }
  .type-card-title { font-size: 11px !important; }
  .type-card-desc  { font-size: 10px !important; }

  /* Diag carousel : cartes encore plus petites */
  .diag-card-h     { width: 134px !important; }
  .diag-card-h-img { height: 80px !important; }
}


/* ══ MOD 10: "Demander mon devis" bouton mobile ══ */
@media (max-width: 768px) {
  #home-nav-links.open > button.nav-cta-btn {
    width: auto !important;
    align-self: flex-start !important;
    margin: 10px 0 4px !important;
    padding: 10px 22px !important;
    border-radius: 7px !important;
    border-bottom: none !important;
    text-align: center !important;
  }
}

/* ══ Écrans FAQ, Prestations, Légal — mini-header ══ */
.screen-mini-header {
  height: 80px;
  padding: 0 36px;
  border-bottom: 1px solid var(--cream-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
/* Desktop : logo agrandi et uniforme (80px) sur toutes les pages */
@media (min-width: 769px) {
  #home-nav img { height: 80px !important; width: auto !important; }
  .screen-mini-header { height: 96px; }
  .screen-mini-header img { height: 80px !important; width: auto !important; }
}
/* Mobile : aligner le logo à gauche comme le header d'accueil */
@media (max-width: 768px) {
  .screen-mini-header { padding: 0 16px !important; }
}
@media (max-width: 480px) {
  .screen-mini-header { padding: 0 12px !important; }
  .screen-mini-header img { max-height: 66px !important; height: auto !important; width: auto !important; }
}

/* ══ FAQ ══ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 36px 90px;
}
@media (max-width: 768px) { .faq-wrap { padding: 40px 20px 64px; } }
@media (max-width: 480px) { .faq-wrap { padding: 28px 16px 52px; } }
.faq-hero {
  text-align: center;
  margin-bottom: 56px;
  background: #fff;
  border: 1.5px solid var(--cream-3);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 10px 36px rgba(26,31,28,.05);
}
@media (max-width: 768px) { .faq-hero { padding: 36px 24px; margin-bottom: 40px; } }
@media (max-width: 480px) { .faq-hero { padding: 28px 20px; border-radius: 16px; margin-bottom: 32px; } }
.faq-page-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--forest-3);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.faq-page-h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.6px;
  margin-bottom: 16px;
}
.faq-page-h2 em { font-style: italic; color: var(--forest-3); }
.faq-page-sub {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}
@media (max-width: 480px) { .faq-page-sub { font-size: 14px; } }
.faq-cat {
  margin-top: 48px;
}
.faq-cat:first-of-type { margin-top: 0; }
.faq-cat-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.2px;
  color: var(--ink);
  margin: 0 0 20px;
  text-transform: none;
  border-bottom: none;
  padding-bottom: 0;
}
.faq-cat-title::before {
  content: '';
  width: 26px; height: 3px;
  background: var(--forest-3);
  border-radius: 2px;
  flex-shrink: 0;
}
@media (max-width: 480px) { .faq-cat-title { font-size: 19px; } }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1.5px solid var(--cream-3);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: rgba(109,179,63,.4); }
.faq-item.is-open {
  border-color: var(--forest-3);
  box-shadow: 0 10px 30px rgba(26,31,28,.07);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.45;
  transition: color .15s;
}
@media (max-width: 480px) { .faq-question { padding: 16px 18px; font-size: 14.5px; } }
.faq-question:hover { color: var(--forest-3); }
.faq-question[aria-expanded="true"] { color: var(--forest-3); }
.faq-q-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--forest-pale);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .2s;
}
.faq-question[aria-expanded="true"] .faq-q-icon { transform: rotate(180deg); background: var(--forest-3); }
.faq-q-icon svg { width: 14px; height: 14px; stroke: var(--forest-3); fill: none; stroke-width: 2.4; transition: stroke .2s; }
.faq-question[aria-expanded="true"] .faq-q-icon svg { stroke: #fff; }
.faq-question:focus-visible { outline: 2px solid var(--forest-3); outline-offset: -2px; }
.faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-3);
  font-weight: 300;
}
@media (max-width: 480px) { .faq-answer { padding: 0 18px 18px; font-size: 13.5px; } }
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--ink-2); font-weight: 600; }
.faq-answer em { color: var(--forest-3); font-style: italic; }
.faq-cta-wrap {
  text-align: center;
  margin-top: 64px;
  padding: 44px 32px;
  background: var(--forest-pale);
  border-radius: 20px;
}
.faq-cta-wrap h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.4px;
  margin-bottom: 8px;
}
.faq-cta-wrap p {
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 22px;
  font-weight: 300;
}
@media (max-width: 480px) { .faq-cta-wrap { padding: 32px 20px; } .faq-cta-wrap h3 { font-size: 21px; } }

/* ══ Nos prestations ══ */
.prestations-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 36px 80px;
}
@media (max-width: 768px) { .prestations-wrap { padding: 32px 20px 60px; } }
@media (max-width: 480px) { .prestations-wrap { padding: 24px 16px 48px; } }
.prestations-page-title { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--forest-3); text-transform: uppercase; margin-bottom: 10px; }
.prestations-page-h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 48px; line-height: 1.2; }
@media (max-width: 480px) { .prestations-page-h2 { font-size: 24px; margin-bottom: 32px; } }
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 768px) { .prestations-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .prestations-grid { grid-template-columns: 1fr; gap: 12px; } }
.presta-card {
  background: #fff;
  border: 1.5px solid var(--cream-3);
  border-radius: 14px;
  padding: 28px 24px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: default;
}
.presta-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(26,31,28,.1); border-color: var(--forest-3); }
.presta-card-icon {
  width: 48px; height: 48px;
  background: var(--forest-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.presta-card-icon svg { width: 24px; height: 24px; stroke: var(--forest-2); }
.presta-card-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.presta-card-desc { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.prestations-cta-wrap { text-align: center; }

/* ══ Mentions légales screen ══ */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 36px 80px;
}
@media (max-width: 768px) { .legal-wrap { padding: 32px 20px 60px; } }
@media (max-width: 480px) { .legal-wrap { padding: 24px 16px 48px; } }
.legal-h1 { font-size: 28px; font-weight: 500; color: var(--ink); margin-bottom: 40px; }
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-3); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--cream-3); }
.legal-section p { font-size: 14px; line-height: 1.75; color: var(--ink-3); margin-bottom: 8px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--ink-2); }


/* Focus clavier visible (cartes, logos, liens du pied de page rendus focalisables) */
.type-card:focus-visible, .diag-card-h:focus-visible, .footer-list li:focus-visible,
#home-nav > div:first-child:focus-visible, .screen-mini-header > div:first-child:focus-visible,
.footer-brand > div:focus-visible, .faq-question:focus-visible, .urgency-btn:focus-visible,
.diag-nav-btn:focus-visible, .reviews-grid:focus-visible { outline: 2px solid var(--forest-3); outline-offset: 2px; }
@media (max-width: 768px) { .reviews-section { scroll-margin-top: 80px; } }

/* Fiche diagnostic (mobile) : « Concerne / Validité » en lignes pleines, pas en colonne étroite */
@media (max-width: 700px) {
  .diag-meta-item { display: block !important; line-height: 1.55; }
  .diag-meta-item svg { vertical-align: -2px; margin-right: 4px; }
  .diag-meta-sep { display: none; }
}

/* ══ Nav secondaires — mobile burger ══ */
.site-burger { display: none; }
@media (max-width: 768px) {
  .site-burger { display: block !important; }
  .site-nav-links { display: none !important; }
  .site-nav-links.open {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    position: absolute; top: 92px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--cream-3);
    padding: 12px 20px 16px;
    gap: 0;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .site-nav-links.open > a,
  .site-nav-links.open > button {
    width: 100%; padding: 11px 0;
    border-bottom: 1px solid var(--cream-3);
    font-size: 14px;
  }
  .site-nav-links.open > a:last-of-type,
  .site-nav-links.open > button:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .site-nav-links.open { top: 82px; }
}
  /* Header : masquer le numero de telephone sur ordinateur uniquement (conserve sur mobile) */
  @media (min-width: 769px) { .nav-tel { display: none !important; } }

/* ── Bandeau cookies : version compacte sur mobile (police, cookie et contenu inchangés) ── */
@media (max-width: 768px){
  #cookie-banner { padding:13px 14px !important; gap:9px !important; bottom:12px !important; left:9px !important; right:9px !important; border-radius:16px !important; }
  #cookie-banner .cookie-head { gap:8px !important; }
  #cookie-banner .cookie-text strong { margin-bottom:2px !important; }
  #cookie-banner .cookie-text > span { line-height:1.4 !important; }
  #cookie-banner .cookie-actions { margin-top:0 !important; }
  #cookie-banner .cookie-btn { padding:10px 22px !important; }
}

/* ── Confirmation de demande de devis ── */
#form-sent { max-width: 720px; min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 56px; }
#form-sent[style*="display:none"], #form-sent[style*="display: none"] { display: none !important; }
#form-sent .sent-card { background: var(--white); border: 1px solid var(--cream-3); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 36px 40px 30px; position: relative; overflow: hidden; }
#form-sent .sent-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--forest-3), #9BD26B); }
.sent-check { width: 68px; height: 68px; margin: 0 auto 14px; }
.sent-check svg { width: 68px; height: 68px; }
.sent-check-circle { fill: var(--forest-pale); stroke: var(--forest-3); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: sentCircle .6s ease-out .1s forwards; }
.sent-check-mark { fill: none; stroke: var(--forest-3); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: sentMark .35s ease-out .6s forwards; }
@keyframes sentCircle { to { stroke-dashoffset: 0; } }
@keyframes sentMark { to { stroke-dashoffset: 0; } }
.sent-kicker { font-size: 11px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-3) !important; margin: 0 auto 6px !important; }
#form-sent h2 { font-size: 34px; margin-bottom: 10px; outline: none; }
#form-sent .sent-lead { font-size: 16px; max-width: 460px; margin-bottom: 22px; }
#sent-prenom { color: var(--ink); font-weight: 500; }
.sent-recap { background: var(--cream); border: 1px solid var(--cream-3); border-radius: var(--r-md); margin: 0 0 22px; padding: 4px 18px; text-align: left; }
.sent-recap[hidden] { display: none; }
.sent-recap div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; min-width: 0; }
.sent-recap div + div { border-top: 1px solid var(--cream-3); }
.sent-recap dt { flex: 0 0 auto; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.sent-recap dd { font-size: 14px; color: var(--ink); font-weight: 500; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.sent-recap dd.sent-price { color: var(--forest-2); font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 500; }
.sent-steps { text-align: left; background: var(--forest-pale); border-radius: var(--r-lg); padding: 18px 20px 16px; margin-bottom: 22px; }
.sent-steps-title { font-family: 'Fraunces', Georgia, serif; font-size: 19px !important; color: var(--ink) !important; max-width: none !important; margin: 0 0 12px !important; }
.sent-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sent-steps li { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; position: relative; }
.sent-steps li:not(:last-child)::after { content: ""; position: absolute; left: 36px; right: -6px; top: 14px; height: 1.5px; background: #CFE3BE; }
.sent-num { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--forest-3); color: var(--forest-2); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.sent-steps strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.sent-steps li span:not(.sent-num) { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.sent-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sent-call { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--forest-2); text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--cream-3); background: var(--cream); transition: border-color .2s, background .2s; }
.sent-call:hover { border-color: var(--forest-3); background: var(--forest-pale); }
.sent-call svg { width: 17px; height: 17px; }
#form-sent .sent-home { max-width: 280px; margin: 0; }
@media (max-width: 640px) {
  #form-sent { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); padding-top: 20px; padding-bottom: 40px; }
  #form-sent .sent-card { padding: 34px 20px 26px; border-radius: var(--r-lg); }
  #form-sent h2 { font-size: 27px; }
  #form-sent .sent-lead { font-size: 15px; }
  .sent-steps { padding: 16px 16px 14px; }
  .sent-steps ol { grid-template-columns: 1fr; gap: 12px; }
  .sent-steps li { flex-direction: row; gap: 12px; }
  .sent-steps li:not(:last-child)::after { left: 13px; right: auto; top: 30px; bottom: -10px; width: 1.5px; height: auto; }
  .sent-recap { padding: 2px 14px; }
  .sent-recap div { flex-direction: column; gap: 2px; }
  .sent-recap dd { text-align: left; }
  .sent-call { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .sent-check-circle, .sent-check-mark { animation: none; stroke-dashoffset: 0; } }


/* ═══ MOTION DESIGN v3 — couche d'animation uniquement (aucun changement de contenu ni de style) ═══ */
:root { --m-ease: cubic-bezier(.16, 1, .3, 1); --m-ease-io: cubic-bezier(.65, 0, .35, 1); --m-dist: 38px; --m-blur: 6px; }
@media (max-width: 768px) { :root { --m-dist: 22px; --m-blur: 0px; } }

/* Anti-flash : le haut de page reste masqué jusqu'à ce que l'animation soit prête (garde-fou 2,5 s) */
.m-js:not(.m-ready) #hero-inner,
.m-js:not(.m-ready) #home-nav-links,
.m-js:not(.m-ready) #home-nav > div:first-child { opacity: 0; animation: mFailsafe .01s 2.5s forwards; }
@keyframes mFailsafe { to { opacity: 1; } }

/* Apparition au défilement (état final = état d'origine) */
.m-js .m-r {
  opacity: 0; translate: 0 var(--m-dist); filter: blur(var(--m-blur));
  transition: opacity 1s var(--m-ease) var(--d, 0s), translate 1.1s var(--m-ease) var(--d, 0s), filter .9s var(--m-ease) var(--d, 0s), scale 1.1s var(--m-ease) var(--d, 0s);
}
.m-js .m-r[data-m="left"]  { translate: calc(var(--m-dist) * -1.4) 0; }
.m-js .m-r[data-m="right"] { translate: calc(var(--m-dist) * 1.4) 0; filter: none; }
.m-js .m-r[data-m="scale"] { translate: 0 0; scale: .95; }
.m-js .m-r[data-m="fade"]  { translate: 0 0; filter: none; }
.m-js .m-r[data-m="soft"]  { filter: none; }
.m-js .m-r.is-in { opacity: 1; translate: 0 0; filter: none; scale: 1; }

/* Cascades */
.m-js .m-st > * {
  opacity: 0; translate: 0 var(--m-dist);
  transition: opacity 1s var(--m-ease), translate 1.1s var(--m-ease);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 100ms);
}
.m-js .m-st.is-in > * { opacity: 1; translate: 0 0; }

/* Titres : mots révélés derrière un masque */
.m-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.m-js .m-wi {
  display: inline-block; translate: 0 112%;
  transition: translate 1.1s var(--m-ease);
  transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 60ms);
}
.m-js .m-split.is-in .m-wi { translate: 0 0; }

/* Icônes : tracé qui se dessine */
.m-js .m-draw path, .m-js .m-draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--m-ease) .3s; }
.m-js .is-in .m-draw path, .m-js .is-in .m-draw circle { stroke-dashoffset: 0; }

/* Nav : entrée au chargement */
.m-js #home-nav.m-pre > div:first-child { opacity: 0; translate: -12px 0; }
.m-js #home-nav.m-pre #home-nav-links > * { opacity: 0; translate: 0 -10px; }
.m-js #home-nav.m-anim > div:first-child { transition: opacity .9s var(--m-ease), translate .9s var(--m-ease); }
.m-js #home-nav.m-anim #home-nav-links > * { transition: opacity .8s var(--m-ease), translate .8s var(--m-ease); transition-delay: calc(var(--i) * 60ms + .1s); }

/* Hero : la flèche du bouton glisse au survol */
#hero-ctas button svg { transition: translate .45s var(--m-ease); }
#hero-ctas button:hover svg { translate: 4px 0; }

/* Collage : envol doux des photos */
.m-js .m-collage .collage-card {
  opacity: 0; scale: .8; rotate: var(--m-r, 2deg);
  transition: opacity 1s var(--m-ease) var(--d, 0s), scale 1.3s var(--m-ease) var(--d, 0s), rotate 1.3s var(--m-ease) var(--d, 0s), box-shadow .28s ease;
}
.m-js .m-collage.is-in .collage-card { opacity: 1; scale: 1; rotate: 0deg; }

/* Transitions entre écrans */
.m-js .m-leave { opacity: 0 !important; translate: 0 -10px; transition: opacity .22s var(--m-ease-io), translate .22s var(--m-ease-io) !important; pointer-events: none; }
.m-js .m-enter { animation: mScreenIn .7s var(--m-ease) both; }
@keyframes mScreenIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.m-diag-in > * { animation: mUp .7s var(--m-ease) both; }
.m-diag-in > *:nth-child(2) { animation-delay: .08s; }
.m-diag-in > *:nth-child(3) { animation-delay: .16s; }
@keyframes mUp { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.type-card.selected .type-card-icon { animation: mPop .45s var(--m-ease); }
@keyframes mPop { 0% { scale: 1; } 40% { scale: 1.12; } 100% { scale: 1; } }


/* ── Mobile : carrousel « Nos prestations » ──
   Le carrousel bloquait le défilement vertical quand le doigt était posé sur les images
   (touch-action: pan-x). On autorise les deux directions : glisser horizontalement = carrousel,
   verticalement = la page. Les images sont aussi placées sur leur propre couche graphique. */
@media (hover: none), (pointer: coarse) {
  .diag-scroll-wrap { touch-action: pan-x pan-y !important; }
  .diag-grid-h { transform: translateZ(0); backface-visibility: hidden; }
  .diag-card-h-img { transform: translateZ(0); }
}

@media (prefers-reduced-motion: reduce) {
  .m-r, .m-st > *, .m-wi, .m-enter, .m-diag-in > * { opacity: 1 !important; translate: none !important; filter: none !important; animation: none !important; }
}

/* ═══ Mobile : lisibilité (≥ 12 px) et cibles tactiles (48 px) — sans changer la mise en page ═══ */
@media (max-width: 767px) {
  .howto-card-desc { font-size: 13px !important; line-height: 1.5 !important; }
  .collage-overlay-text, .cc-3 .collage-overlay-text { font-size: 12px !important; line-height: 1.4 !important; }
  .diag-card-h-badge { font-size: 12px !important; letter-spacing: .03em !important; }
  .reassurance-sub, .review-location, .type-card-desc { font-size: 12px !important; }
  .footer-desc small { font-size: 12px; }
  /* Pied de page : chaque lien occupe 48 px de haut (même texte, plus d'air) */
  .site-footer .footer-list { gap: 0 !important; }
  .site-footer .footer-list > li:not(:has(a)),
  .site-footer .footer-list li > a { display: block; padding: 13.5px 0 !important; line-height: 21px !important; margin: 0 !important; }
  .site-footer .footer-col .footer-col-title { margin-bottom: 2px !important; }
  .site-footer .footer-email { display: block; min-height: 48px; line-height: 48px !important; margin-top: 0 !important; }
  .site-footer .footer-zones { row-gap: 0 !important; }
  .site-footer .footer-zones a { display: inline-block; padding: 13.5px 0; line-height: 21px; }
  .cookie-btn, #cookie-banner .cookie-btn { min-height: 48px; }
}


/* ═══ motion.css fusionné ici (une requête bloquante de moins) ═══ */
/* ═══ MOTION DESIGN v4 — surcharges de fluidité (chargé après site.css) ═══
   - une seule courbe d'entrée (expo-out douce) et des durées homogènes : 450–750 ms en entrée, 200–250 ms au survol ;
   - plus de flou animé (filter: blur coûte cher à repeindre) : seuls opacity / translate / scale / rotate bougent ;
   - cascades plafonnées (pas d'attente interminable sur les longues listes) ;
   - version allégée sur mobile et appareils modestes (.m-lite), et prefers-reduced-motion respecté. */

:root {
  --m-ease: cubic-bezier(.22, 1, .36, 1);       /* entrées */
  --m-ease-in: cubic-bezier(.55, 0, .75, .3);   /* sorties */
  --m-ease-io: cubic-bezier(.65, 0, .35, 1);
  --m-dur: .7s;
  --m-dist: 26px;
  --m-blur: 0px;
}
@media (max-width: 768px) { :root { --m-dur: .55s; --m-dist: 16px; } }
:root.m-lite { --m-dur: .55s; --m-dist: 16px; }

/* ── Apparitions au défilement : opacité + translation uniquement ── */
.m-js .m-r {
  filter: none;
  transition:
    opacity var(--m-dur) var(--m-ease) var(--d, 0s),
    translate var(--m-dur) var(--m-ease) var(--d, 0s),
    scale var(--m-dur) var(--m-ease) var(--d, 0s);
}
.m-js .m-r[data-m="left"]  { translate: calc(var(--m-dist) * -1.2) 0; }
.m-js .m-r[data-m="right"] { translate: calc(var(--m-dist) * 1.2) 0; }
.m-js .m-r[data-m="scale"] { translate: 0 0; scale: .97; }
.m-js .m-r.is-in { opacity: 1; translate: 0 0; scale: 1; filter: none; }

/* ── Cascades : 70 ms entre éléments, plafonnées au 7ᵉ ── */
.m-js .m-st > * {
  transition: opacity var(--m-dur) var(--m-ease), translate var(--m-dur) var(--m-ease);
  transition-delay: calc(var(--d, 0s) + min(var(--i, 0), 6) * 70ms);
}

/* ── Titres mot à mot ── */
.m-js .m-wi {
  translate: 0 105%;
  transition: translate .75s var(--m-ease);
  transition-delay: calc(var(--d, 0s) + min(var(--wi, 0), 10) * 45ms);
}
.m-lite .m-wi { transition-duration: .6s; transition-delay: calc(var(--d, 0s) + min(var(--wi, 0), 10) * 35ms); }

/* ── Icônes qui se dessinent ── */
.m-js .m-draw path, .m-js .m-draw circle { transition: stroke-dashoffset 1s var(--m-ease) .2s; }

/* ── Navigation : entrée au chargement ── */
.m-js #home-nav.m-pre > div:first-child { translate: -10px 0; }
.m-js #home-nav.m-pre #home-nav-links > * { translate: 0 -8px; }
.m-js #home-nav.m-anim > div:first-child { transition: opacity .7s var(--m-ease), translate .7s var(--m-ease); }
.m-js #home-nav.m-anim #home-nav-links > * {
  transition: opacity .6s var(--m-ease), translate .6s var(--m-ease);
  transition-delay: calc(var(--i, 0) * 50ms + .08s);
}

/* ── Survol : flèche du bouton du hero ── */
#hero-ctas button svg { transition: translate .25s var(--m-ease); }

/* ── Collage : envol des photos ── */
.m-js .m-collage .collage-card {
  scale: .92;
  transition:
    opacity .65s var(--m-ease) var(--d, 0s),
    scale .8s var(--m-ease) var(--d, 0s),
    rotate .8s var(--m-ease) var(--d, 0s),
    box-shadow .25s ease;
}
.m-js .m-collage.is-in .collage-card { scale: 1; }

/* ── Parallaxe : couche GPU seulement pendant qu'elle est active ── */
.m-js #hero-inner.m-par { will-change: transform, opacity; }
.m-js .collage-wrap.m-par .collage-card { will-change: transform; }

/* ── Diaporama du hero : fondu enchaîné sans « creux » ──
   L'image entrante passe au-dessus et apparaît ; l'image sortante reste pleinement opaque dessous
   puis disparaît une fois recouverte. Le voile sombre et le texte restent au-dessus. */
.m-js #home-hero > .hero-slide { z-index: 0; transition: opacity 0s linear 1.25s; }
.m-js #home-hero > .hero-slide.active { z-index: 1; transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1); }
.m-js #home-hero > .hero-slide ~ div:not(#hero-inner) { z-index: 1; }

/* ── Transitions entre écrans ── */
.m-js .m-leave {
  opacity: 0 !important; translate: 0 -8px;
  transition: opacity .2s var(--m-ease-in), translate .2s var(--m-ease-in) !important;
  pointer-events: none;
}
.m-js .m-enter { animation: mScreenIn4 .55s var(--m-ease) both; }
@keyframes mScreenIn4 { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.m-lite .m-enter { animation-duration: .45s; }
.m-diag-in > * { animation: mUp4 .6s var(--m-ease) both; }
.m-diag-in > *:nth-child(2) { animation-delay: .06s; }
.m-diag-in > *:nth-child(3) { animation-delay: .12s; }
@keyframes mUp4 { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.type-card.selected .type-card-icon { animation-duration: .4s; }

/* ── Réduire les animations : rien ne bouge, tout est visible ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-r, .m-st > *, .m-wi, .m-enter, .m-leave, .m-diag-in > *,
  .m-collage .collage-card, #home-nav.m-pre > div:first-child, #home-nav.m-pre #home-nav-links > * {
    opacity: 1 !important; translate: none !important; scale: none !important; rotate: none !important;
    filter: none !important; animation: none !important; transition: none !important;
  }
  .m-draw path, .m-draw circle { stroke-dashoffset: 0 !important; transition: none !important; }
  .type-card.selected .type-card-icon { animation: none; }
  /* Diaporama figé sur la première image (pas de défilement automatique d'images) */
  #home-hero > .hero-slide { transition: none !important; opacity: 0 !important; animation: none !important; }
  #home-hero > .hero-slide:first-of-type { opacity: 1 !important; }
}

/* Section avis : rendue seulement à l'approche (sa police n'est plus chargée au démarrage) */
#avis-clients { content-visibility: auto; contain-intrinsic-size: auto 480px; }
