/* =============================================================
   DORN — Direction « Intervention » (dépannage multiservice)
   Idée : le flanc d'une camionnette d'artisan. Des aplats de couleur pleine
   (bleu de travail, encre, sable), le numéro de téléphone comme titre, des photos
   bord à bord. Aucune bordure sur un seul côté : les blocs se séparent par la couleur
   et l'espace. Angles droits, pas d'ombre portée.
   Mouvement : fondu de 200 ms, zoom lent des photos au survol, soulignement qui glisse.
   Contrastes AA vérifiés (texte ≥ 4,5:1, interface ≥ 3:1).
   ============================================================= */

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

/* ========== JETONS ========== */
:root {
  --paper: #f4f2ed;
  --sand: #e6e1d6;
  /* tuiles */
  --ink: #121212;
  --blue: #1f3c88;
  /* bleu de travail : blanc dessus 10:1, 8,4:1 sur sable */
  --blue-deep: #172d66;
  --blue-light: #9db3ee;
  /* sur encre : 8,6:1 */

  --primary: var(--ink);
  --secondary: var(--blue);
  --accent: var(--blue);
  --accent-hover: var(--blue-deep);
  --accent-soft: transparent;
  --bg: var(--paper);
  --bg-light: var(--paper);
  --surface: var(--sand);
  --light: var(--sand);
  --text-light: var(--ink);
  --heading: var(--ink);
  --footer: var(--ink);
  --muted: #514e48;
  /* 7,2:1 sur papier, 6,2:1 sur sable */
  --border: #8a867e;
  /* contours complets des champs : 3,2:1 */
  --font: 'Barlow', system-ui, sans-serif;
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --star: var(--blue);
  --tile-gap: 8px;
}

.dark-mode {
  --paper: #121212;
  --sand: #1e1e1e;
  --ink: #edebe6;
  --blue: #2a4ba3;
  /* blanc dessus 8:1 */
  --blue-deep: #1f3c88;
  --primary: var(--ink);
  --heading: var(--ink);
  --text-light: var(--ink);
  --bg: var(--paper);
  --bg-light: var(--paper);
  --surface: var(--sand);
  --footer: #0a0a0a;
  --muted: #b0aca4;
  --border: #77736b;
  --star: var(--blue-light);
}

/* ========== BASE ========== */
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  background: var(--paper);
}

h1,
h2,
h3,
h4,
.section-title,
.page-hero-title,
.cta-banner-title {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-transform: none;
}

/* Décor Atelier retiré */
.frame-corners::before,
.frame-corners::after,
.hero-panel::before,
.page-hero::after,
.section-head::after,
.about-dimension,
.footer-signature::after,
.service-card::after,
.service-row::before,
.review-quote-mark,
.eyebrow::before,
.tag-label::before,
.service-icon,
.service-icon-wrapper,
.step-kicker,
.zone-town svg,
.contact-info-icon {
  display: none !important;
}

.dorn-section,
.e-con.dorn-row,
.elementor-element {
  background-color: var(--paper);
}

/* Sur-titre : petit texte en capitales espacées */
.eyebrow,
.tag-label {
  padding: 0;
  background: none;
  clip-path: none;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dark-mode .eyebrow,
.dark-mode .tag-label {
  color: var(--blue-light);
}

/* Titres de section : grands, sans filet */
.section-head {
  gap: 0.6rem 3rem;
  padding: 0;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-head .section-title {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  max-width: 18ch;
}

.section-head .section-subtitle {
  color: var(--muted);
}

/* ========== BOUTONS & LIENS ========== */
.btn,
.cta-button,
.cta-button-secondary,
.btn-submit {
  min-height: 52px;
  padding-inline: 1.6rem;
  border-radius: 0;
  box-shadow: none !important;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.btn--primary,
.cta-button,
.btn-submit {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff !important;
}

.btn--ghost {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

@media (hover: hover) and (pointer: fine) {

  .btn--primary:hover,
  .cta-button:hover,
  .btn-submit:hover {
    transform: none;
    background: var(--blue-deep);
    border-color: var(--blue-deep);
  }

  .btn--ghost:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
  }
}

.text-link,
.hero-urgence__link,
.zone-note a,
.reviews-summary__meta a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 200ms ease-out;
}

.dark-mode .text-link {
  color: var(--blue-light);
}

@media (hover: hover) and (pointer: fine) {

  .text-link:hover,
  .hero-urgence__link:hover {
    background-size: 0 2px;
    background-position: right bottom;
  }
}

.text-link svg,
.hero-urgence__link svg {
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

/* ========== HERO : aplat bleu, numéro géant, photo bord à bord ========== */
.hero-urgence {
  position: relative;
  padding: 0;
  background: var(--blue);
  color: #ffffff;
  overflow: hidden;
}

.hero-urgence__grid {
  display: grid;
  align-items: center;
  min-height: min(78vh, 720px);
}

.hero-urgence__text {
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}

@media (min-width: 960px) {
  .hero-urgence__grid {
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  }

  .hero-urgence__text {
    padding-right: clamp(2rem, 4vw, 4rem);
  }

  /* La photo occupe toute la hauteur et va jusqu'au bord droit de l'écran */
  .hero-urgence__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42vw;
    margin: 0;
  }

  .hero-urgence__media img,
  .elementor .hero-urgence__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

@media (max-width: 959px) {
  .hero-urgence__media {
    margin: 0 calc(-1 * var(--gutter));
  }

  .hero-urgence__media img,
  .elementor .hero-urgence__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}

.hero-urgence__kicker {
  margin-bottom: 1.5rem;
  color: rgb(255 255 255 / 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-urgence__title {
  max-width: 19ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  color: #ffffff;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.hero-urgence__title em {
  font-style: normal;
  font-weight: 600;
}

.hero-urgence__phone {
  display: block;
  width: fit-content;
  color: #ffffff;
  font-size: clamp(3rem, 1.2rem + 6.8vw, 7.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-urgence__phone:hover {
    color: var(--blue-light);
  }
}

.hero-urgence__phone-note {
  margin-top: 0.9rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.9);
}

.hero-urgence__sub {
  max-width: 44ch;
  margin: 1.75rem 0 1.5rem;
  color: rgb(255 255 255 / 0.85);
}

.hero-urgence__link {
  color: #ffffff;
}

/* Engagements : bande noire en trois blocs */
.hero-urgence__facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--tile-gap);
  max-width: none;
  width: 100%;
  margin: 0;
  padding: var(--tile-gap);
  background: var(--ink);
  list-style: none;
}

.dark-mode .hero-urgence__facts {
  background: #000;
}

.hero-urgence__facts li {
  padding: 1.2rem 1.4rem;
  background: rgb(255 255 255 / 0.06);
  color: var(--paper);
  font-weight: 600;
}

.dark-mode .hero-urgence__facts li {
  color: #edebe6;
}

/* ========== BANDEAU DE PAGE : aplat bleu + photo à droite ========== */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  overflow: hidden;
  background: var(--blue);
  color: #ffffff;
}

.page-hero .page-hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.4rem);
}

.page-hero .page-hero-text {
  color: rgb(255 255 255 / 0.85);
}

.page-hero .breadcrumbs,
.page-hero .breadcrumbs span {
  color: rgb(255 255 255 / 0.75);
}

.page-hero .breadcrumbs a {
  color: #ffffff;
}

.page-hero .tag-label {
  color: rgb(255 255 255 / 0.8);
}

@media (min-width: 900px) {
  .page-hero-grid--media {
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  }

  .page-hero-grid--media .page-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40vw;
    aspect-ratio: auto;
  }
}

.page-hero-media img,
.elementor .page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ========== TUILES (services, étapes, zone, prix, avis, FAQ) ========== */
.services-grid {
  gap: var(--tile-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.service-card {
  gap: 0.6rem;
  padding: 0 1.5rem 1.75rem;
  border: 0;
  border-radius: 0;
  background: var(--sand);
  box-shadow: none;
  overflow: hidden;
}

.service-card-media {
  margin: 0 -1.5rem 0.9rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card-media img,
.elementor .service-card-media img {
  height: 100%;
  border-radius: 0;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card h3 {
  font-size: 1.5rem;
}

.service-card p {
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:hover .service-card-media img {
    transform: scale(1.05);
  }
}

.services-rows {
  display: grid;
  gap: var(--tile-gap);
}

.service-row {
  padding: 1.4rem 1.5rem;
  background: var(--sand);
  border: 0;
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto;
  }
}

.service-row-link {
  border: 0;
  background: var(--blue);
  color: #ffffff;
}

.dorn-services-columns {
  gap: var(--tile-gap);
}

.dorn-services-columns .service-item {
  padding: 1.75rem 1.5rem;
  background: var(--sand);
  text-align: left;
}

.dorn-services-columns .service-item:hover {
  transform: none;
}

.service-title {
  font-size: 1.3rem;
}

/* Chiffres : bande encre, très grands chiffres */
.stat-item {
  border: 0;
  padding: 1.5rem;
  background: var(--sand);
}

.dorn-section--dark {
  background: var(--ink);
  background-image: none;
}

.dark-mode .dorn-section--dark {
  background: #000;
}

.dorn-section--dark .stats-grid {
  gap: var(--tile-gap);
}

.dorn-section--dark .stat-item {
  padding: 1.5rem;
  border: 0;
  background: rgb(255 255 255 / 0.05);
}

.dorn-section--dark .stat-value {
  color: var(--blue-light);
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.dorn-section--dark .stat-label {
  color: rgb(244 242 237 / 0.8);
}

.dark-mode .dorn-section--dark .stat-label {
  color: #b0aca4;
}

/* Étapes : quatre tuiles, gros numéro */
.process-list::before,
.process-list .process-step::before {
  display: none;
}

.process-list {
  gap: var(--tile-gap);
  padding: 0;
}

@media (min-width: 900px) {
  .process-list {
    padding-top: 0;
  }
}

.process-list .process-step {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--sand);
}

.process-list .step-number {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 1.5rem;
  translate: none;
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--blue);
  font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: left;
}

.dark-mode .process-list .step-number {
  background: none;
  color: var(--blue-light);
}

.process-list .step-description {
  color: var(--muted);
}

/* Zone : communes en tuiles, carte à côté */
.zone-grid {
  display: grid;
  gap: var(--tile-gap);
}

@media (min-width: 900px) {
  .zone-grid--map {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: var(--tile-gap);
  list-style: none;
}

.zone-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
  background: var(--sand);
  font-weight: 600;
  font-size: 1.15rem;
}

.zone-delay {
  color: var(--blue);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.dark-mode .zone-delay {
  color: var(--blue-light);
}

.zone-note {
  margin-top: 1.25rem;
  color: var(--muted);
}

.zone-map {
  min-height: 380px;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  filter: grayscale(1) contrast(1.05);
}

.zone-map iframe {
  min-height: 380px;
}

/* Prix : tuiles, prix en grand à droite */
.price-list {
  display: grid;
  gap: var(--tile-gap);
  max-width: none;
}

@media (min-width: 900px) {
  .price-list {
    grid-template-columns: 1fr 1fr;
  }
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--sand);
  border: 0;
}

.price-row dt {
  font-weight: 600;
  font-size: 1.1rem;
}

.price-row dt small {
  display: block;
  margin-top: 0.2rem;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
}

.price-row dd {
  color: var(--blue);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.dark-mode .price-row dd {
  color: var(--blue-light);
}

.price-footnote {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Avis : note globale en bloc bleu, citations en tuiles */
.reviews-summary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-bottom: var(--tile-gap);
  padding: 1.5rem 1.75rem;
  background: var(--blue);
  color: #ffffff;
}

.reviews-summary__score {
  color: #ffffff;
  font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.reviews-summary__score small {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.35em;
}

.reviews-summary .review-rating {
  display: none;
}

.reviews-summary__meta {
  color: rgb(255 255 255 / 0.85);
}

.reviews-summary__meta a {
  color: #ffffff;
}

.reviews-track {
  gap: var(--tile-gap);
}

.dorn-reviews[data-per-view="3"] .reviews-track {
  grid-auto-columns: calc((100% - 2 * var(--tile-gap)) / 3);
}

.review-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border: 0;
  border-radius: 0;
  background: var(--sand);
  box-shadow: none;
}

.review-text {
  font-size: 1.2rem;
  line-height: 1.45;
  font-style: normal;
}

.review-footer {
  margin-top: 1.5rem;
  padding-top: 0;
  border: 0;
}

.review-name {
  color: var(--ink);
}

.review-rating {
  color: rgb(127 127 127 / 0.35);
}

.review-rating .star.filled {
  color: var(--star);
}

.reviews-arrow {
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
}

.reviews-dot::before {
  border-radius: 0;
  height: 4px !important;
  width: 18px !important;
}

.reviews-dot[aria-current="true"]::before {
  background: var(--blue);
}

/* FAQ : questions en tuiles */
.faq-container {
  display: grid;
  gap: var(--tile-gap);
}

.faq-item,
.faq-item:first-child {
  border: 0;
  background: var(--sand);
  padding-inline: 1.5rem;
}

.faq-question {
  padding-block: 1.3rem;
}

.faq-icon {
  border: 0;
  border-radius: 0;
  background: var(--paper);
}

.faq-icon::before,
.faq-icon::after {
  background: var(--ink);
}

.faq-item[open] .faq-icon {
  background: var(--blue);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #ffffff;
}

/* ========== BANDEAU CTA (si utilisé) ========== */
.cta-banner {
  background: var(--blue);
  background-image: none;
}

.cta-banner .tag-label {
  color: rgb(255 255 255 / 0.8);
}

.cta-banner-card {
  background: var(--paper);
  border: 0;
  box-shadow: none;
}

.cta-banner-card .contact-line {
  border: 0;
  background: var(--sand);
  border-radius: 0;
}

/* ========== FORMULAIRES & COORDONNÉES ========== */
.dorn-contact-form-wrapper,
.contact-form-section,
.contact-info-section {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--sand);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--paper);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.contact-info--cards .contact-info-list {
  gap: var(--tile-gap);
}

.contact-info--cards .contact-info-item {
  padding: 1.5rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--sand);
}

/* ========== EN-TÊTE PROPRE À LA DIRECTION ========== */
.site-header,
.site-header.is-scrolled {
  box-shadow: none;
  backdrop-filter: none;
}

.site-content {
  padding-top: 0;
}

.i-topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
}

.dark-mode .i-topbar {
  background: #000;
  color: #edebe6;
}

.i-topbar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.6rem;
}

.i-topbar__trades {
  opacity: 0.75;
}

@media (max-width: 900px) {

  .i-topbar__trades,
  .i-topbar__zone {
    display: none;
  }
}

.i-header {
  position: sticky;
  top: 0;
  background: var(--paper);
}

.i-header__row {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  min-height: 80px;
}

.i-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

.i-brand__logo {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

.i-brand__name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.i-brand__activity {
  font-size: 0.85rem;
  color: var(--muted);
}

.i-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.i-nav__list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.i-nav__list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding-block: 0.4rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  transition: background-size 200ms ease-out;
}

.i-nav__list .current-menu-item>a,
.i-nav__list a:hover {
  color: var(--blue);
  background-size: 100% 2px;
}

.dark-mode .i-nav__list .current-menu-item>a,
.dark-mode .i-nav__list a:hover {
  color: var(--blue-light);
}

/* Numéro : bloc bleu plein, sur toute la hauteur de l'en-tête */
.i-header__phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.4rem;
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
  line-height: 1.1;
}

.i-header__phone small {
  color: rgb(255 255 255 / 0.8);
  font-size: 0.78rem;
  font-weight: 600;
}

.i-header__phone span {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  .i-header__phone:hover {
    background: var(--blue-deep);
  }
}

.i-header .theme-toggle {
  align-self: center;
  border-radius: 0;
  border-color: transparent;
  background: var(--sand);
}

.i-header .mobile-menu-btn {
  display: none;
}

@media (max-width: 900px) {
  .i-nav {
    display: none;
  }

  .i-header .mobile-menu-btn {
    display: grid;
    align-self: center;
    margin-left: -0.6rem;
  }

  .i-header__row {
    gap: 0.75rem;
    min-height: 64px;
  }

  .i-header__phone {
    margin-left: auto;
    padding: 0 0.9rem;
  }

  .i-header__phone small {
    display: none;
  }

  .i-header__phone span {
    font-size: 1.05rem;
  }
}

/* ========== PIED DE PAGE PROPRE À LA DIRECTION ========== */
.i-footer {
  padding: var(--tile-gap) 0 0;
  background: var(--ink);
  color: rgb(244 242 237 / 0.82);
}

.dark-mode .i-footer {
  background: #000;
  color: #b0aca4;
}

.i-footer a {
  color: #f4f2ed;
}

.i-footer .container {
  display: grid;
  gap: var(--tile-gap);
}

.i-footer__call {
  padding: clamp(2.5rem, 2rem + 4vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--blue);
  color: #ffffff;
}

.dark-mode .i-footer__call {
  background: #1f3c88;
}

.i-footer__kicker {
  margin-bottom: 0.75rem;
  color: rgb(255 255 255 / 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.i-footer__phone {
  display: block;
  width: fit-content;
  margin-bottom: 0.9rem;
  color: #ffffff !important;
  font-size: clamp(2.6rem, 1.2rem + 6vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.i-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--tile-gap);
}

.i-footer__cols>div {
  padding: 1.75rem 1.5rem;
  background: rgb(255 255 255 / 0.05);
}

.i-footer__cols ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.i-footer__cols p+p {
  margin-top: 0.35rem;
}

.i-footer__cols p:last-child a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.i-footer__title {
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  color: var(--blue-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.i-footer__towns {
  grid-template-columns: 1fr 1fr;
}

.i-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
  font-size: 0.9rem;
}

/* ========== BARRE D'APPEL MOBILE ========== */
.callbar {
  display: none;
}

@media (max-width: 900px) {
  .callbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 58px;
    background: var(--blue);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
  }

  .callbar svg {
    width: 20px;
    height: 20px;
  }

  .callbar small {
    display: none;
  }

  body.dorn-dir-intervention {
    padding-bottom: 58px;
  }

  body.has-dorn-switcher.dorn-dir-intervention {
    padding-bottom: 126px;
  }

  .has-dorn-switcher .dorn-switcher {
    bottom: 70px;
  }

  .back-to-top {
    bottom: 74px;
    border-radius: 0;
  }
}

/* ========== MOUVEMENT ========== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    transform: none;
    transition: opacity 200ms ease-out;
    transition-delay: 0ms;
  }
}

@media print {

  .callbar,
  .i-topbar {
    display: none !important;
  }
}

/* =============================================================
   TOUCHE CONTEMPORAINE
   Arrondis francs, grille « bento » pour les services, en-tête translucide,
   photos qui se dézooment au défilement (CSS natif, sans JavaScript).
   ============================================================= */
:root {
  --r-tile: 16px;
  --r-btn: 12px;
}

/* Arrondis */
.service-card,
.service-row,
.dorn-services-columns .service-item,
.process-list .process-step,
.zone-list li,
.zone-map,
.price-row,
.review-item,
.reviews-summary,
.faq-item,
.dorn-contact-form-wrapper,
.contact-form-section,
.contact-info-section,
.contact-info--cards .contact-info-item,
.stat-item,
.dorn-section--dark .stat-item,
.hero-urgence__facts li,
.i-footer__call,
.i-footer__cols>div {
  border-radius: var(--r-tile);
  overflow: hidden;
}

.hero-urgence__facts {
  padding: var(--tile-gap);
}

.btn,
.cta-button,
.btn-submit,
.reviews-arrow,
.service-row-link,
.i-header .theme-toggle {
  border-radius: var(--r-btn);
}

.form-group input,
.form-group textarea,
.form-group select {
  border-radius: 10px;
}

.faq-icon {
  border-radius: 8px;
}

.i-header__phone {
  border-radius: var(--r-btn);
  align-self: center;
  min-height: 56px;
}

/* Photos de bandeau : coin intérieur arrondi, comme une découpe */
@media (min-width: 960px) {
  .hero-urgence__media img {
    border-radius: 0 0 0 28px;
  }
}

@media (min-width: 900px) {
  .page-hero-grid--media .page-hero-media img {
    border-radius: 0 0 0 28px;
  }
}

/* Bento : le premier service occupe une tuile double, photo à gauche */
@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid>.service-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-content: center;
    column-gap: 2rem;
    padding: 0 2rem 0 0;
  }

  .services-grid>.service-card:first-child .service-card-media {
    grid-row: 1 / span 4;
    margin: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .services-grid>.service-card:first-child h3 {
    align-self: end;
    font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem);
  }

  .services-grid>.service-card:first-child .text-link {
    align-self: start;
  }
}

/* Tuiles : réaction au survol par la couleur, sans déplacement */
@media (hover: hover) and (pointer: fine) {

  .service-card,
  .zone-list li,
  .price-row,
  .dorn-services-columns .service-item {
    transition: background-color 200ms ease;
  }

  .service-card:hover,
  .zone-list li:hover,
  .price-row:hover,
  .dorn-services-columns .service-item:hover {
    background: color-mix(in srgb, var(--sand) 82%, var(--blue));
  }
}

/* En-tête translucide, collé en haut */
.i-header {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

@supports not (backdrop-filter: blur(1px)) {
  .i-header {
    background: var(--paper);
  }
}

/* Chiffres et prix : chiffres à chasse fixe, plus nets */
.stat-value,
.price-row dd,
.reviews-summary__score {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

/* Photos qui se dézooment en entrant à l'écran (navigateurs récents uniquement) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    .service-card-media img,
    .page-hero-media img {
      animation: dorn-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}

@keyframes dorn-settle {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1);
  }
}

/* ========== CORRECTIFS DE MISE EN PAGE ========== */
/* Liens des cartes : ajustés à leur texte (le souligné ne traverse plus la carte) */
.service-card .text-link,
.services-grid>.service-card:first-child .text-link {
  align-self: flex-start;
  justify-self: start;
  width: fit-content;
  margin-top: auto;
}

/* Espacement des sections resserré pour cette direction */
:root {
  --space-section: clamp(3.5rem, 2.5rem + 3.5vw, 5.5rem);
  --space-head: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
}

.dorn-section--dark {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* =============================================================
   VIE & MOUVEMENT
   Geste signature : le numéro « se pose », chiffre par chiffre.
   Le reste monte en cascade au défilement. Courbe unique, sortie douce.
   Rien ne boucle, rien ne clignote ; tout s'arrête si l'utilisateur réduit les animations.
   ============================================================= */
:root {
  --ease-land: cubic-bezier(0.16, 1, 0.3, 1);
}

.dorn-char {
  display: inline-block;
  white-space: pre;
}

@media (prefers-reduced-motion: no-preference) {

  /* --- Hero : le texte entre en cascade, la photo se pose --- */
  .hero-urgence__text>* {
    animation: dorn-rise 700ms var(--ease-land) both;
  }

  .hero-urgence__kicker {
    animation-delay: 0ms;
  }

  .hero-urgence__title {
    animation-delay: 80ms;
  }

  .hero-urgence__phone {
    animation: none;
  }

  .hero-urgence__phone-note {
    animation-delay: 700ms;
  }

  .hero-urgence__sub {
    animation-delay: 780ms;
  }

  .hero-urgence__link {
    animation-delay: 860ms;
  }

  .hero-urgence__phone .dorn-char {
    animation: dorn-digit 650ms var(--ease-land) both;
    animation-delay: calc(220ms + var(--d) * 32ms);
  }

  .hero-urgence__media {
    overflow: hidden;
  }

  .hero-urgence__media img {
    animation: dorn-settle-in 1600ms var(--ease-land) both;
  }

  .hero-urgence__facts li {
    animation: dorn-rise 600ms var(--ease-land) both;
  }

  .hero-urgence__facts li:nth-child(1) {
    animation-delay: 900ms;
  }

  .hero-urgence__facts li:nth-child(2) {
    animation-delay: 980ms;
  }

  .hero-urgence__facts li:nth-child(3) {
    animation-delay: 1060ms;
  }

  /* --- Bandeau de page --- */
  .page-hero-content>* {
    animation: dorn-rise 700ms var(--ease-land) both;
  }

  .page-hero-content> :nth-child(2) {
    animation-delay: 60ms;
  }

  .page-hero-content> :nth-child(3) {
    animation-delay: 120ms;
  }

  .page-hero-content> :nth-child(4) {
    animation-delay: 180ms;
  }

  .page-hero-media {
    overflow: hidden;
  }

  .page-hero-media img {
    animation: dorn-settle-in 1600ms var(--ease-land) both;
  }

  /* --- Au défilement : montée en cascade --- */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    clip-path: none;
    transition: opacity 500ms ease-out, transform 700ms var(--ease-land);
    transition-delay: calc(min(var(--i, 0), 6) * 70ms);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* --- Pied de page : le numéro se pose quand on y arrive --- */
  .js .i-footer__call[data-reveal] {
    transform: none;
  }

  .i-footer__phone .dorn-char {
    transition: opacity 400ms ease-out, transform 650ms var(--ease-land);
    transition-delay: calc(150ms + var(--d) * 32ms);
  }

  .js .i-footer__call:not(.is-visible) .i-footer__phone .dorn-char {
    opacity: 0;
    transform: translateY(0.45em);
  }

  /* --- Micro-interactions --- */
  .btn svg,
  .text-link svg,
  .hero-urgence__link svg {
    transition: transform 250ms var(--ease-land);
  }

  @media (hover: hover) and (pointer: fine) {

    .btn:hover svg,
    .text-link:hover svg,
    .hero-urgence__link:hover svg {
      transform: translateX(4px);
    }

    .i-header__phone span {
      transition: transform 250ms var(--ease-land);
    }

    .i-header__phone:hover span {
      transform: translateX(2px);
    }

    .process-list .step-number {
      transition: transform 400ms var(--ease-land);
    }

    .process-list .process-step:hover .step-number {
      transform: translateY(-4px);
    }
  }
}

@keyframes dorn-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes dorn-digit {
  from {
    opacity: 0;
    transform: translateY(0.45em);
  }
}

@keyframes dorn-settle-in {
  from {
    transform: scale(1.1);
  }
}