/* Page Services / Livraison — nouveau design
   (moltow-08-2026/services/livraison). Encore une variante de noms de
   classes pour le hero-v2 (.hero-v2-grid/.hero-v2-eyebrow/.hero-v2-cta/
   a.hv2-primary/a.hv2-ghost) — confirme qu'il n'y a pas de vrai gabarit
   hero-v2 partagé entre pages services. .hero/.hero-features/.hero-feature
   (dégradé, remplacée par .hero-v2), .benefits-section/.benefits-grid/
   .benefit-card/.benefit-icon (version générique non-"unified", absente du
   markup) et .image-text-section ne sont pas repris — vérifiés absents du
   corps réel. Nécessite tokens.css (déjà chargé globalement). */

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* --- Hero --- */
.hero-v2 {
  --hv2-accent: #8a6248;
  --hv2-accent-dark: #684735;
  --hv2-ink: #332820;
  --hv2-ink-soft: #57483e;
  --hv2-ink-mute: #7b6d62;
  --hv2-line: #dfd3c7;
  --hv2-card: #fff;
  background: #faf7f3;
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 2.6rem;
  color: var(--hv2-ink);
}
.hero-v2 .hero-v2-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-v2 .hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hv2-accent);
  margin: 0 0 0.9rem;
}
.hero-v2 .hero-v2-eyebrow::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--hv2-accent);
  border-radius: 2px;
}
.hero-v2 h1 {
  font-size: clamp(1.95rem, 1.45rem + 1.9vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  font-weight: 800;
  color: var(--hv2-ink);
}
.hero-v2 h1 em {
  font-style: normal;
  color: var(--hv2-accent);
}
.hero-v2 .hero-v2-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--hv2-ink-soft);
  margin: 0 0 1.3rem;
  max-width: 34rem;
}
.hero-v2 nav.hero-v2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  padding: 0;
}
.hero-v2 nav.hero-v2-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}
.hero-v2 nav.hero-v2-cta a.hv2-primary {
  background: var(--hv2-accent);
  color: #fff;
}
.hero-v2 nav.hero-v2-cta a.hv2-primary:hover {
  background: var(--hv2-accent-dark);
  transform: translateY(-1px);
}
.hero-v2 nav.hero-v2-cta a.hv2-ghost {
  border-color: var(--hv2-line);
  color: var(--hv2-ink);
}
.hero-v2 nav.hero-v2-cta a.hv2-ghost:hover {
  border-color: var(--hv2-accent);
  color: var(--hv2-accent);
}
.hero-v2 dl.hero-v2-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem clamp(1.4rem, 3vw, 2.8rem);
  margin: 0;
  padding: 0;
}
.hero-v2 dl.hero-v2-stats dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.hero-v2 dl.hero-v2-stats dd {
  margin: 0;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--hv2-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero-v2 dl.hero-v2-stats dd a {
  color: inherit;
  text-decoration: none;
}
.hero-v2 dl.hero-v2-stats dd a:hover {
  color: var(--hv2-accent);
}
.hero-v2 dl.hero-v2-stats dd::after {
  content: attr(data-label);
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--hv2-ink-mute);
  margin-top: 0.15rem;
}
.hero-v2 figure {
  position: relative;
  margin: 0;
}
.hero-v2 figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(31, 27, 22, 0.18);
}
.hero-v2 figcaption {
  position: absolute;
  inset-block-end: 1.1rem;
  inset-inline-start: -1.1rem;
  margin: 0;
  background: var(--hv2-card);
  border: 1px solid var(--hv2-line);
  box-shadow: 0 14px 40px rgba(31, 27, 22, 0.18);
  border-radius: 18px;
  padding: 0.95rem 1.35rem;
  display: grid;
  gap: 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hv2-ink-soft);
  max-width: min(85%, 22rem);
}
.hero-v2 figcaption b {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--hv2-accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-v2 figcaption small {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--hv2-ink-mute);
}
@media (max-width: 767px) {
  .hero-v2 .hero-v2-grid {
    grid-template-columns: 1fr;
    row-gap: 1.6rem;
  }
  .hero-v2 figure {
    margin-top: 0.4rem;
  }
  .hero-v2 figcaption {
    inset-inline-start: 0.8rem;
    inset-inline-end: 0.8rem;
  }
}
@media (min-width: 769px) {
  .hero .container {
    max-width: 1180px;
    padding-inline: clamp(16px, 4vw, 64px);
  }
  .hero h1 {
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  /* Photo hero pleine hauteur */
  .hero-v2 figure {
    height: 100%;
  }
  .hero-v2 figure img {
    height: 480px !important;
    max-height: none !important;
    object-fit: cover !important;
    width: 100% !important;
  }
  .hero-v2 figure figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    max-width: 16rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(23, 24, 74, 0.15);
    font-size: 0.85rem;
  }
  .hero-v2 figure figcaption > b {
    font-size: 1.25rem;
  }
}
mark {
  background: none;
  color: #e8a13a;
}

/* --- Corps de page : mise en page de base --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.differenciateurs-section {
  padding: 80px 20px;
}
.diff-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 64px 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.diff-with-image {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 24px;
  align-items: center;
}
.diff-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.diff-image img,
.diff-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: #fafbff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e8e9f3;
}
.diff-card-major {
  background: #fbf8f3;
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.diff-card-major:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(138, 98, 72, 0.15);
}
.diff-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #8a6248;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.diff-card-major h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}
.diff-card-major p {
  font-size: 13px;
  line-height: 1.5;
}
.benefits-grid-unified {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.benefit-card-unified {
  text-align: center;
}
.benefit-icon-unified {
  width: 56px;
  height: 56px;
  background: #8a6248;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.benefit-icon-unified svg {
  width: 28px;
  height: 28px;
  stroke: white;
}
.benefit-card-unified h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.benefit-card-unified p {
  font-size: 13px;
  line-height: 1.5;
}
.how-it-works {
  padding: 80px 20px;
  color: white;
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  font-weight: 700;
}
.step h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}
.step p {
  font-size: 16px;
  opacity: 0.95;
  line-height: 1.6;
}
.cta-section {
  padding: 80px 20px;
}
.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.cta-content p {
  font-size: 20px;
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .diff-with-image {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .diff-image {
    order: -1;
  }
  .benefits-grid-unified {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .differenciateurs-section {
    padding: 30px 15px 40px;
  }
  .section-title {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .section-subtitle {
    font-size: 13px;
    margin-bottom: 20px !important;
  }
  .diff-container {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .diff-image {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    width: calc(100% + 32px);
    margin-bottom: 20px;
    /* Vidéo affichée entière (16:9) plutôt que tranchée à 180px. */
    aspect-ratio: 16 / 9;
  }
  .diff-image video {
    height: 100%;
  }
  .diff-grid {
    padding: 16px;
    gap: 10px;
    border-radius: 12px;
  }
  .diff-card-major {
    padding: 14px 12px;
    border-radius: 10px;
    gap: 10px;
  }
  .diff-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 16px;
  }
  .diff-card-major h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .diff-card-major p {
    font-size: 12px;
    line-height: 1.4;
  }
  .diff-container > div[style*='text-align: center'] {
    margin-top: 20px !important;
  }
  .diff-container > div[style*='text-align: center'] .btn-moltow {
    font-size: 14px;
    padding: 12px 20px;
    height: auto;
  }
  /* Masque la ligne de séparation + la grille des 6 avantages + "how it works" — simplification mobile assumée dans la source */
  .diff-container > div[style*='height: 1px'] {
    display: none !important;
  }
  .benefits-grid-unified {
    display: none !important;
  }
  .how-it-works {
    display: none !important;
  }
  .cta-section {
    padding: 35px 20px;
  }
  .cta-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
    white-space: normal;
  }
  .cta-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 280px;
    margin: 0 auto;
  }
  .btn-moltow,
  .btn-moltow-secondary,
  .btn-moltow-icon {
    width: 100%;
    max-width: 100%;
    height: 46px;
    font-size: 14px;
  }
}

/* --- Boutons (forme pilule propre à cette page) --- */
.btn-moltow,
.btn-moltow-secondary,
.btn-moltow-icon {
  border-radius: 999px !important;
}
.btn-moltow {
  background: #8a6248 !important;
}
.btn-moltow:hover {
  background: #684735 !important;
  box-shadow: 0 6px 18px rgba(23, 24, 74, 0.1) !important;
}
.btn-moltow-secondary {
  color: #8a6248 !important;
  border-color: #8a6248 !important;
}
.btn-moltow-secondary:hover {
  box-shadow: 0 6px 18px rgba(23, 24, 74, 0.1) !important;
}

/* --- Harmonisation couleurs (design system hero-v2) --- */
.differenciateurs-section {
  background: #f3ede5 !important;
}
.how-it-works {
  background: #8a6248 !important;
}
.cta-section {
  background: #ebe1d5 !important;
}
section.seo-about {
  background: #ffffff !important;
  border-top: 1px solid #dfd3c7 !important;
}
section.seo-about a {
  color: #8a6248 !important;
}
section.seo-about a:hover {
  color: #684735 !important;
}
@media (min-width: 769px) {
  .differenciateurs-section,
  .how-it-works,
  .cta-section,
  section.seo-about {
    padding-block: 2.4rem !important;
    padding-inline: 20px !important;
  }
  .section-container,
  .steps-container {
    max-width: 1180px !important;
    margin-inline: auto !important;
  }
  .section-title,
  .cta-content h2,
  section.seo-about h2 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #332820 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.6rem !important;
  }
  .section-subtitle {
    font-size: 0.95rem !important;
    color: #7b6d62 !important;
    max-width: 70ch !important;
    line-height: 1.6 !important;
    margin-bottom: 1.6rem !important;
  }
  .diff-container {
    max-width: 1180px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 1.2rem !important;
    border: 1px solid #dfd3c7 !important;
    box-shadow: 0 6px 18px rgba(23, 24, 74, 0.07) !important;
  }
  .diff-with-image {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .diff-image {
    border-radius: 14px !important;
    box-shadow: none !important;
    /* La vidéo est du 16:9 (1280×720) — on donne ce ratio au conteneur
       pleine largeur pour l'afficher entière, au lieu de la trancher à
       160px de haut (signalé par le patron 2026-09-07 : « il manque de la
       hauteur »). La largeur est bornée par .diff-container (max 1180px),
       donc la vidéo plafonne autour de 640px de haut. */
    aspect-ratio: 16 / 9 !important;
    max-height: none !important;
  }
  .diff-image img,
  .diff-image video {
    height: 100% !important;
    max-height: none !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .diff-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    background: #f3ede5 !important;
    border: 1px solid #dfd3c7 !important;
    border-radius: 14px !important;
    padding: 14px !important;
  }
  .diff-card-major {
    background: #ffffff !important;
    border: 1px solid #dfd3c7 !important;
    border-radius: 14px !important;
    padding: 14px !important;
    gap: 10px !important;
  }
  .diff-card-major:hover {
    transform: none !important;
    box-shadow: 0 6px 18px rgba(23, 24, 74, 0.07) !important;
  }
  .diff-card-major h3 {
    font-size: 1rem !important;
    color: #332820 !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }
  .diff-card-major p {
    font-size: 0.85rem !important;
    color: #7b6d62 !important;
    line-height: 1.6 !important;
  }
  .diff-number {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.95rem !important;
    background: #8a6248 !important;
  }
  .diff-container > div[style*='height: 1px'] {
    background: #dfd3c7 !important;
    margin: 1.6rem 0 !important;
  }
  .diff-container > div[style*='text-align: center'] {
    margin-top: 1.2rem !important;
  }
  .benefits-grid-unified {
    gap: 16px !important;
  }
  .benefit-icon-unified {
    width: 36px !important;
    height: 36px !important;
    background: #8a6248 !important;
    margin: 0 auto 10px !important;
  }
  .benefit-icon-unified svg {
    width: 18px !important;
    height: 18px !important;
  }
  .benefit-card-unified h3 {
    font-size: 0.95rem !important;
    color: #332820 !important;
    margin-bottom: 4px !important;
  }
  .benefit-card-unified p {
    font-size: 0.85rem !important;
    color: #7b6d62 !important;
    line-height: 1.6 !important;
  }
  .how-it-works .section-title {
    color: #ffffff !important;
    font-size: 1.5rem !important;
  }
  .how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    margin-inline: auto !important;
  }
  .steps-container {
    gap: 20px !important;
  }
  .step-number {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    border-width: 2px !important;
    margin: 0 auto 0.7rem !important;
  }
  .step h3 {
    font-size: 1rem !important;
    margin-bottom: 0.4rem !important;
  }
  .step p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  .btn-moltow,
  .btn-moltow-secondary,
  .btn-moltow-icon {
    height: auto !important;
    padding: 0.7rem 1.4rem !important;
    font-size: 0.9rem !important;
  }
  .cta-content h2 {
    font-size: 1.5rem !important;
  }
  .cta-content p {
    font-size: 1rem !important;
    color: #57483e !important;
    line-height: 1.6 !important;
    margin-bottom: 1.2rem !important;
  }
  .cta-buttons {
    gap: 14px !important;
  }
  section.seo-about h2 {
    text-align: center !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  section.seo-about p {
    color: #57483e !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
    max-width: 70ch !important;
    margin: 0 auto 0.9rem !important;
  }
}

/* --- Hero mobile --- */
@media (max-width: 760px) {
  .hero-v2 {
    padding: 1.7rem 1.2rem 1.7rem !important;
  }
  .hero-v2 .hero-v2-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .hero-v2 .hero-v2-eyebrow {
    display: none !important;
  }
  .hero-v2 h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 0.35em !important;
  }
  .hero-v2 .hero-v2-sub {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    margin: 0 0 1rem !important;
  }
  .cta-fleche {
    display: none;
  }
  .hero-v2 .hero-v2-cta {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.6rem;
    width: 100%;
    margin: 0 0 1.1rem !important;
  }
  .hero-v2 a[href^='tel:'] {
    border: 1.5px solid var(--hv2-accent, #8a6248) !important;
    color: var(--hv2-accent, #8a6248) !important;
    border-radius: 999px;
  }
  .hero-v2 .hero-v2-cta a {
    display: inline-flex;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.88rem !important;
    white-space: nowrap;
  }
  .hero-v2 dl.hero-v2-stats dt:nth-of-type(2),
  .hero-v2 dl.hero-v2-stats dd:nth-of-type(2) {
    display: none !important;
  }
  .hero-v2 dl.hero-v2-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    column-gap: 0.8rem;
    row-gap: 0.05rem;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.9rem !important;
    padding: 0.2rem 0 0 !important;
    border: 0 !important;
  }
  .hero-v2 dl.hero-v2-stats dt {
    grid-row: 2;
    font-size: 0.64rem;
    line-height: 1.25;
    color: var(--hv2-ink-mute, #7b6d62);
    margin: 0;
    white-space: normal;
  }
  .hero-v2 dl.hero-v2-stats dd {
    grid-row: 1;
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
  }
  .hero-v2 img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 14px;
  }
  .hero-v2 figure {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero-v2 figure figcaption,
  .hero-v2 [class*='price'],
  .hero-v2 [class*='card']:not(.hero-v2-copy) {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0.65rem 0 0 !important;
    max-width: none !important;
  }
  .hero-v2 dl dd::after,
  .hero-v2 dl dd {
    white-space: normal !important;
  }
}
