/* ============================================================
   POUSS'MOUSSE — Couche d'alignement design 2026
   ------------------------------------------------------------
   Charge APRÈS style.css et service-pages.css : cette feuille ne
   fait qu'ajouter/ajuster, elle ne réécrit pas le socle existant.

   Elle aligne l'ensemble du site sur la landing "Devis toiture" :
     1. Fonds de section alternés (crème chaud / neutre)
     2. Sections sombres adoucies (slate-800 + bord haut éclairci)
     3. Animations d'appel : téléphone, CTA sticky, cartes
     4. Apparition en cascade des grilles au scroll
     5. Nouveaux blocs : bandeau offre, barre sticky, avis, vidéo
   ============================================================ */

:root {
  /* Teinte chaude alternée avec --bg. Issue de la palette de marque :
     assez marquée pour que la limite entre deux sections claires se lise
     et que les cartes blanches ressortent, sans virer au vert saturé. */
  --pm-surface-warm: #f7f1e6;

  /* Deux tokens utilisés par le questionnaire mais absents de style.css :
     on les définit ici plutôt que de modifier le socle du site. */
  --highlight-glow: linear-gradient(transparent 65%, var(--green-glow) 65%);
  --gradient-cta: linear-gradient(135deg, var(--green-bright), var(--green-deep));
}

/* ------------------------------------------------------------
   1. FONDS DE SECTION
   L'alternance crème/neutre testée ici jurait avec le reste du site :
   les fonds d'origine sont conservés tels quels. Seuls les deux blocs
   ajoutés reprennent des teintes déjà utilisées par le site, pour
   s'intégrer sans créer de rupture.
   ------------------------------------------------------------ */
.pm-reviews { background: var(--cream); }

/* Section vidéo : fond repris tel quel de la landing (.pm-drone).
   Le fondu du haut éclaircit le bord supérieur en restant dans la famille
   bleu-gris (slate-600 → transparent). Faire l'inverse — partir du crème du
   questionnaire qui précède — traverse des gris sales et donne une bande
   terne : ici la marche de contraste s'adoucit sans passer par du gris. */
.pm-video-section {
  background: var(--slate-800);
  position: relative;
}
.pm-video-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--slate-600) 0%, rgba(58, 82, 94, 0) 130px),
    radial-gradient(circle at 70% 30%, rgba(77, 191, 219, 0.18), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(132, 196, 65, 0.12), transparent 50%);
}
.pm-video-section > * { position: relative; }

/* ------------------------------------------------------------
   3. ANIMATIONS D'APPEL
   Remarque : une animation CSS sur `transform` l'emporte toujours sur
   un `:hover` qui touche aussi `transform`. D'où deux précautions —
   on anime l'icône plutôt que le bouton quand le survol bouge déjà,
   et on met l'animation en pause au survol/focus pour que la cible
   soit stable au moment du clic.
   ------------------------------------------------------------ */
@keyframes pm-phone-shake { 0%,72%,100% { transform: rotate(0); } 76% { transform: rotate(-16deg); } 80% { transform: rotate(14deg); } 84% { transform: rotate(-11deg); } 88% { transform: rotate(8deg); } 92% { transform: rotate(-4deg); } }
@keyframes pm-btn-pulse   { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes pm-ring        { 0%,100% { box-shadow: 0 0 0 0 rgba(132,196,65,.35); } 50% { box-shadow: 0 0 0 8px rgba(132,196,65,0); } }
@keyframes pm-shine       { 0%,68% { left: -55%; } 100% { left: 130%; } }
@keyframes pm-card-wobble { 0%,86%,100% { transform: none; } 90% { transform: rotate(-.45deg) scale(1.01); } 94% { transform: rotate(.45deg) scale(1.01); } }
@keyframes pm-float       { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pm-pulse       { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
/* Va-et-vient du rond du comparateur : au repos l'essentiel du temps —
   un démarrage se remarque mieux qu'un mouvement continu, et le rond
   reste facile à attraper. */

/* Bouton téléphone : l'icône « sonne », le bouton « pope » */
.btn-phone svg { animation: pm-phone-shake 3.4s ease-in-out infinite; transform-origin: 50% 60%; }
.site-header .btn-phone { animation: pm-ring 2.8s ease-in-out infinite, pm-btn-pulse 2.8s ease-in-out infinite; }
.site-header .btn-phone:hover,
.site-header .btn-phone:focus-visible,
.mobile-sticky-cta .btn:hover,
.mobile-sticky-cta .btn:focus-visible,
.pm-offerbar__cta:hover,
.pm-offerbar__cta:focus-visible,
.pm-stickybar__cta:hover,
.pm-stickybar__cta:focus-visible { animation-play-state: paused; }

/* Barres de conversion : pulsation + reflet qui balaie */
.mobile-sticky-cta .btn-primary,
.pm-stickybar__cta { animation: pm-btn-pulse 2.6s ease-in-out infinite; position: relative; overflow: hidden; }
.mobile-sticky-cta .btn-primary::after,
.pm-stickybar__cta::after {
  content: ""; position: absolute; top: 0; left: -55%; width: 38%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); animation: pm-shine 4s ease-in-out infinite; pointer-events: none;
}
.pm-stickybar__cta::after { background: linear-gradient(115deg, transparent, rgba(42,125,62,.18), transparent); }

/* Carte de CTA final : secousse discrète et espacée */
.cta-final-inner { animation: pm-card-wobble 6.5s ease-in-out infinite; }
.cta-final-inner:hover { animation-play-state: paused; }

/* ------------------------------------------------------------
   4. APPARITION EN CASCADE
   Le site a déjà `.reveal` ; on ajoute la cascade pour les grilles
   de cartes (délai posé en JS, carte après carte).
   ------------------------------------------------------------ */
/* Scopé à .js (classe posée par main.js sur <html>, convention déjà utilisée
   par le site) : sans JavaScript, les cartes restent simplement visibles au
   lieu de disparaître définitivement. */
.js [data-pm-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.js [data-pm-stagger].pm-revealed > * { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   5A. BANDEAU D'OFFRE (haut de page, sous le header)
   ------------------------------------------------------------ */
/* Le header du site est en position:fixed : un bandeau dans le flux passerait
   dessous. On le fixe donc au-dessus, on décale le header de sa hauteur, et on
   pousse le contenu d'autant (hauteur mesurée en JS -> --pm-offerbar-h). */
/* Une seule ligne à toutes les largeurs : texte + bouton côte à côte.
   Sur mobile, le comparatif « au lieu de 10 €/m² » disparaît (le -40 %
   porte le même message en moins de place) — le bandeau reste à ~2 lignes
   de haut maximum au lieu des 4 d'avant. */
.pm-offerbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--accent-warn, #e8843c); color: #fff; text-align: center;
  padding: 8px 14px; font-size: 13.5px; font-weight: 700; line-height: 1.35;
  display: flex; align-items: center; justify-content: center;
  column-gap: 12px; row-gap: 4px; flex-wrap: wrap;
}
.pm-offerbar__text strong { font-weight: 800; }
.site-header { top: var(--pm-offerbar-h, 0px); }
/* Bandeau + header en haut, barre sticky en bas : tout défilement automatique
   (ancre, tabulation au clavier, champ de formulaire remis à l'écran) doit
   garder ces marges, sinon la cible arrive sous un élément fixe et n'est plus
   cliquable. scroll-padding est le seul mécanisme respecté par le navigateur
   lui-même, en plus du calcul JS des ancres. */
html {
  scroll-padding-top: calc(var(--pm-offerbar-h, 0px) + 104px);
  scroll-padding-bottom: 100px;
}
/* Pas de padding sur <body> : il laissait apparaître le fond de page en
   bande au-dessus du hero, d'où la rupture de couleur sous le bandeau.
   On agrandit plutôt le padding haut des hero : leur propre fond passe
   alors sous le bandeau, sans raccord visible. */
.hero        { padding-top: calc(var(--sp-24) + 80px + var(--pm-offerbar-h, 0px)); }
.page-hero,
.article-hero,
.blog-hero   { padding-top: calc(var(--sp-32) + 60px + var(--pm-offerbar-h, 0px)); }
.service-hero{ padding-top: calc(var(--sp-32) + 60px + var(--pm-offerbar-h, 0px)); }
.about-hero  { padding-top: calc(var(--sp-24) + 80px + var(--pm-offerbar-h, 0px)); }
.pm-offerbar svg { display: inline-block; vertical-align: -3px; margin-right: 7px; animation: pm-pulse 1.8s ease-in-out infinite; }
.pm-offerbar__cta {
  display: inline-block; padding: 4px 14px; flex: none;
  background: #fff; color: var(--accent-warn, #e8843c); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  animation: pm-btn-pulse 2.6s ease-in-out infinite;
}
.pm-offerbar__cta:hover { background: var(--cream); }
@media (max-width: 640px) {
  .pm-offerbar { font-size: 12px; padding: 7px 10px; column-gap: 8px; }
  .pm-offerbar svg { display: none; }          /* l'icône ne vaut pas une ligne de plus */
  .pm-offerbar__detail { display: none; }
  .pm-offerbar__cta { padding: 3px 10px; font-size: 11px; }
}

/* ------------------------------------------------------------
   5B. BARRE STICKY DE CONVERSION (bas de page, au scroll)
   ------------------------------------------------------------ */
.pm-stickybar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  background: linear-gradient(120deg, var(--green-deep), var(--slate-800));
  box-shadow: 0 -12px 32px rgba(15, 26, 31, .35);
  padding: 9px 20px; display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  transform: translateY(110%); transition: transform .3s ease; visibility: hidden;
}
.pm-stickybar.is-visible { transform: translateY(0); visibility: visible; }
.pm-stickybar__label { font-size: 13.5px; font-weight: 800; color: #fff; text-align: center; }
.pm-stickybar__icon { display: inline-block; animation: pm-pulse 1.8s ease-in-out infinite; }
.pm-stickybar__cta {
  padding: 8px 22px; font-size: 12.5px; background: #fff; color: var(--green-deep);
  border: none; border-radius: var(--radius-pill); font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: background .15s ease, box-shadow .15s ease;
}
.pm-stickybar__cta:hover { background: var(--cream); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
/* Sous 640px le texte tient rarement sur une ligne : on empile proprement
   au lieu de laisser la 2e ligne se recentrer à moitié. */
@media (max-width: 640px) {
  .pm-stickybar { flex-direction: column; padding: 14px 18px 16px; gap: 10px; }
  .pm-stickybar__cta { width: 100%; }
}
/* La barre sticky du site existe déjà sur mobile : on évite le doublon. */
@media (max-width: 768px) { body.pm-has-native-sticky .pm-stickybar { display: none; } }

/* ------------------------------------------------------------
   5C. AVIS GOOGLE
   ------------------------------------------------------------ */
.pm-reviews { padding: 56px 0; }
.pm-reviews__head { text-align: center; margin-bottom: 16px; }
.pm-reviews__badge {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 auto 32px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.pm-reviews__badge-stars { display: flex; gap: 2px; color: #f5a623; }
.pm-reviews__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.pm-review {
  flex: 0 1 calc(33.333% - 14px); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.pm-review:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pm-review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pm-review__avatar {
  width: 44px; height: 44px; border-radius: var(--radius-pill); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex: none; overflow: hidden;
}
.pm-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pm-review__name { font-weight: 700; font-size: 14px; color: var(--ink); }
.pm-review__meta { font-size: 12px; color: var(--ink-mute); display: flex; align-items: center; gap: 5px; }
.pm-review__stars { display: flex; gap: 2px; margin-bottom: 10px; color: #f5a623; }
.pm-review__quote { font-size: 14.5px; color: var(--ink-soft); margin: 0; font-style: italic; }
.pm-review__quote--empty { font-style: normal; color: var(--ink-mute); font-size: 13.5px; }
.pm-reviews__more { display: flex; justify-content: center; margin-top: 28px; }
.pm-reviews__more a {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-pill);
  padding: 13px 24px; font-size: 14px; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pm-reviews__more a:hover { transform: translateY(-2px); border-color: var(--green-bright); box-shadow: var(--shadow); }
@media (max-width: 980px) { .pm-review { flex-basis: 100%; } }

/* ------------------------------------------------------------
   5D. SECTION VIDÉO (drone en action)
   ------------------------------------------------------------ */
.pm-video-section { padding: 56px 0; color: #fff; position: relative; overflow: hidden; }
.pm-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pm-video-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.pm-video-media video {
  display: block; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 35%; background: #000;
}
/* Taille de titre de la landing : le h2 du site est bien plus gros et
   passait sur trois lignes, ce qui cassait l'équilibre avec la vidéo. */
.pm-video-section h2 { color: #fff; margin: 14px 0 16px; font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.6rem); line-height: 1.15; }
.pm-video-section .section-eyebrow { color: var(--green-glow); }
.pm-video-section .section-eyebrow::before,
.pm-video-section .section-eyebrow::after { background: var(--green-glow); }
.pm-video-lead { color: rgba(255,255,255,.78); margin: 0 0 24px; }
.pm-video-list { display: flex; flex-direction: column; gap: 14px; }
.pm-video-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.85); }
.pm-video-item svg { color: var(--green-glow); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 980px) { .pm-video-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Showcase drone : exactement le même traitement que la section vidéo du haut
   de page — format 4/5, même recadrage, même halo. Le conteneur ne s'étire
   plus sur la hauteur de la colonne de texte (align-self: stretch d'origine),
   sinon la vidéo était allongée en 0,59 au lieu du 4/5 attendu. */
.drone-image { align-self: center; animation: pm-media-glow 3.8s ease-in-out infinite; }
.drone-image video {
  display: block; width: 100%; height: auto;
  object-fit: cover; object-position: center 35%; aspect-ratio: 4/5;
  background: #000;
}
/* Le badge « En action » se posait sur la barre de contrôles du lecteur et
   masquait le bouton lecture : il passe en haut à gauche. */
.drone-image::after { top: var(--sp-4); bottom: auto; }
@media (max-width: 768px) {
  /* Le site recadre le showcase en 16/9 sur mobile — règle écrite pour la
     photo d'origine. Avec une vidéo 4/5 dans un conteneur en overflow:hidden,
     les deux tiers du bas étaient rognés, barre de contrôles comprise.
     On rend la main à la vidéo, comme dans la section du haut de page. */
  .drone-image { aspect-ratio: auto; }
}

/* Le titre du showcase drone n'a aucune règle d'espacement propre : il hérite
   du reset `h2 { margin: 0 }` et le paragraphe venait donc buter dessus — le
   surlignage vert de « tout » touchait presque la première ligne. On rend la
   respiration des autres titres de section. */
.drone-text h2 { margin-bottom: var(--sp-6); }

/* ------------------------------------------------------------
   6. ACCESSIBILITÉ — respect de « réduire les animations »
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .btn-phone svg,
  .site-header .btn-phone,
  .mobile-sticky-cta .btn-primary,
  .pm-stickybar__cta,
  .cta-final-inner,
  .pm-offerbar svg,
  .pm-offerbar__cta,
  .pm-stickybar__icon,
  .service-icon img, .drone-feature-icon, .contact-item-icon,
  .pm-video-item svg, .envelope-feature svg, .trust-icon,
  .pm-video-media, .hero-badge .dot, .drone-image { animation: none !important; }
  .mobile-sticky-cta .btn-primary::after,
  .pm-stickybar__cta::after { display: none; }
  .js [data-pm-stagger] > * { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   7. COMPARATEURS AVANT/APRÈS — invitation au glisser
   ------------------------------------------------------------ */
/* On anime le rond et son glyphe, pas la poignée elle-même : la ligne de
   coupe doit rester alignée sur la limite avant/après. */
@keyframes pm-knob-nudge { 0%,62%,100% { transform: translate(-50%, -50%); } 72% { transform: translate(calc(-50% - 9px), -50%); } 82% { transform: translate(calc(-50% + 9px), -50%); } 92% { transform: translate(-50%, -50%); } }
.ba-handle::before,
.ba-handle::after { animation: pm-knob-nudge 4.5s ease-in-out infinite; }
.ba-slider:hover .ba-handle::before,
.ba-slider:hover .ba-handle::after,
.ba-slider:focus-within .ba-handle::before,
.ba-slider:focus-within .ba-handle::after { animation-play-state: paused; }


/* ------------------------------------------------------------
   8. QUESTIONNAIRE PROGRESSIF (repris de la landing devis)
   Une question à la fois, barre de progression, récapitulatif.
   Remplace la carte « Votre chantier ici ? » de la galerie
   avant/après, à hauteur égale grâce au flex du conteneur.
   ------------------------------------------------------------ */
.pm-highlight {
  font-style: normal; background: var(--highlight-glow);
  padding: 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.pm-cta {
  width: 100%; background: var(--gradient-cta); color: #fff; border: none;
  padding: 15px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  animation: pm-cta-breathe 2.6s ease-in-out infinite;
}
.pm-cta:hover:not(:disabled) { transform: scale(1.02); box-shadow: 0 14px 34px rgba(42, 125, 62, 0.42); }
.pm-cta:disabled { opacity: .45; cursor: not-allowed; animation: none; }
.pm-cta:focus-visible, .pm-link-focus:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; }
[data-pm-step-host] > * { animation: pm-step-in .38s var(--ease-out) both; }
.pm-form-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 32px 28px; position: relative; overflow: hidden;
}
.pm-form-card__title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pm-form-card__title img { width: 40px; }
.pm-form-card__title h2 { font-size: 24px; line-height: 1.15; margin: 0; }
.pm-form-card__sub { color: var(--ink-mute); font-size: 12.5px; margin: 0 0 20px; }
.pm-reassure {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
  padding-bottom: 18px; border-bottom: 1px solid var(--slate-100);
}
.pm-reassure span { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-mute); font-weight: 600; }
.pm-reassure svg { color: var(--green-deep); flex: none; }
.pm-progress__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pm-progress__label { font-size: 12.5px; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.pm-back-btn { background: none; border: none; font-size: 13px; font-weight: 700; color: var(--ink-mute); cursor: pointer; padding: 0; }
.pm-back-btn[hidden] { visibility: hidden; display: block; }
.pm-progress__track { height: 6px; background: var(--slate-100); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 26px; }
.pm-progress__fill { height: 100%; background: linear-gradient(90deg, var(--green-bright), var(--green-deep)); border-radius: var(--radius-pill); transition: width .35s ease; }
.pm-step__title { font-size: 18px; margin: 0 0 18px; }
.pm-options { display: flex; flex-direction: column; gap: 10px; }
.pm-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left; padding: 16px 18px; border-radius: 14px;
  border: 2px solid var(--slate-200); background: #fff; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.pm-option:hover { border-color: var(--green-bright); box-shadow: 0 8px 20px rgba(42,125,62,.16); }
.pm-option { animation: pm-option-float 4.2s ease-in-out infinite; }
.pm-option:nth-child(2) { animation-delay: .16s; }
.pm-option:nth-child(3) { animation-delay: .32s; }
.pm-option:nth-child(4) { animation-delay: .48s; }
.pm-option[aria-pressed="true"] { border-color: var(--green-deep); background: #f3f9ec; }
.pm-option svg { color: var(--green-deep); flex: none; }
.pm-input {
  width: 100%; padding: 15px 16px; border: 2px solid var(--slate-200);
  border-radius: var(--radius); font-size: 16px; background: #fff; color: var(--ink);
  transition: border-color .15s ease;
}
.pm-input:focus { outline: none; border-color: var(--green-deep); }
.pm-input-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pm-input-row .pm-input { flex: 1; }
.pm-input-unit { font-weight: 700; color: var(--ink-soft); }
.pm-field-hint { font-size: 12.5px; color: var(--ink-mute); margin: 0 0 16px; }
.pm-mb20 { margin-bottom: 20px; }
.pm-mb8 { margin-bottom: 8px; }
.pm-recap { display: flex; flex-direction: column; border: 1px solid var(--slate-100); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.pm-recap__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; font-size: 13.5px; border-bottom: 1px solid var(--slate-100); }
.pm-recap__row:last-child { border-bottom: none; }
.pm-recap__row span { color: var(--ink-mute); }
.pm-recap__row strong { text-align: right; }
.pm-legal { text-align: center; font-size: 12px; color: var(--ink-mute); margin: 12px 0 0; }
.pm-thanks { text-align: center; padding: 12px 0; }
.pm-thanks img { width: 100px; margin: 0 auto 16px; }
.pm-thanks h3 { font-size: 21px; margin: 0 0 10px; }
.pm-thanks p { color: var(--ink-soft); max-width: 38ch; margin: 0 auto; }
.pm-form-card { padding: 26px 20px; }
@keyframes pm-step-in     { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
/* Icônes « vivantes » : au repos la plupart du temps, petite secousse
   périodique. L'animation porte sur l'icône, jamais sur la carte : les
   :hover des cartes (translateY) restent intacts. */
@keyframes pm-icon-live   { 0%,76%,100% { transform: none; } 82% { transform: rotate(-5deg) scale(1.05); } 88% { transform: rotate(4deg); } 94% { transform: rotate(-2deg); } }
/* Halo respirant autour de la vidéo drone (ombre seule : pas de transform) */
@keyframes pm-media-glow  { 0%,100% { box-shadow: 0 30px 60px rgba(0,0,0,.5); } 50% { box-shadow: 0 30px 64px rgba(0,0,0,.55), 0 0 0 6px rgba(132,196,65,.16); } }
/* Pastille du badge hero : onde qui s'évanouit */
@keyframes pm-dot-pulse   { 0%,100% { box-shadow: 0 0 0 0 rgba(132,196,65,.55); } 60% { box-shadow: 0 0 0 7px rgba(132,196,65,0); } }
@keyframes pm-option-float { 0%,68%,100% { transform: none; } 76% { transform: translateY(-6px); } 84% { transform: translateY(0); } 90% { transform: translateY(-2px); } }
@keyframes pm-cta-breathe { 0%,100% { box-shadow: 0 8px 30px rgba(15,26,31,.18); filter: saturate(1); } 50% { box-shadow: 0 10px 36px rgba(42,125,62,.4); filter: saturate(1.12); } }

/* Le site met les h2 en très grand : on neutralise à l'intérieur de la carte,
   sinon le titre du questionnaire écrase tout le reste du bloc. */
.pm-form-card { text-align: left; }
.pm-form-card h2, .pm-form-card h3 { font-family: var(--font-display); }
.pm-form-card__title h2 { font-size: 24px; line-height: 1.15; margin: 0; }
.pm-form-card h3 { font-size: 18px; margin: 0 0 18px; }

/* 2e exemplaire, dans la colonne droite du bloc contact (à la place de
   l'ancien agenda Calendly). La carte prend la largeur de la colonne. */
.contact .pm-form-card { margin-top: var(--sp-2); }

/* ------------------------------------------------------------
   9. HEADER — tenue sur écrans intermédiaires
   Le contenu du header (logo + 7 liens + 2 boutons) mesure ~1368px pour
   un conteneur de 1240px : en dessous de ~1450px le bouton « Devis
   gratuit » était tronqué. On resserre progressivement au lieu de
   laisser déborder.
   ------------------------------------------------------------ */
@media (max-width: 1450px) {
  .logo { height: 58px; }
  .site-header.scrolled .logo { height: 52px; }
  .nav-main { gap: 14px; }
  .nav-main a { font-size: 0.9rem; }
  .header-cta { gap: 8px; }
  .site-header .btn { padding: 0.7rem 1.05rem; font-size: 0.85rem; }
  .site-header .btn-phone svg { width: 14px; height: 14px; }
}
@media (max-width: 1180px) {
  .nav-main { gap: 10px; }
  .nav-main a { font-size: 0.84rem; }
  .site-header .btn { padding: 0.65rem 0.9rem; font-size: 0.8rem; }
}
/* Entre 980px (bascule hamburger du site) et 1080px, il faut serrer encore */
@media (max-width: 1080px) {
  .logo { height: 48px; }
  .nav-main { gap: 7px; }
  .nav-main a { font-size: 0.78rem; }
  .site-header .btn { padding: 0.55rem 0.75rem; font-size: 0.74rem; }
  .header-inner { gap: 10px; }
}
/* Au-delà de 1240px, le contenu du header (~1368px) débordait du conteneur :
   on lui laisse plus de largeur qu'au reste de la page. */
@media (min-width: 1441px) {
  .site-header .container { max-width: min(1400px, calc(100vw - 48px)); }
}

/* ------------------------------------------------------------
   9bis. MICRO-ANIMATIONS DE VIE
   Icônes qui se secouent périodiquement, halo sur la vidéo, pastille
   du badge hero, FAQ réactive au survol. Décalages volontairement
   désynchronisés pour éviter l'effet « tout bouge en même temps ».
   ------------------------------------------------------------ */
.service-icon img, .drone-feature-icon, .contact-item-icon,
.pm-video-item svg, .envelope-feature svg, .trust-icon {
  animation: pm-icon-live 5.4s ease-in-out infinite;
}
.services-grid > :nth-child(2) .service-icon img,
.drone-feature:nth-child(2) .drone-feature-icon,
.pm-video-item:nth-child(2) svg,
.envelope-feature:nth-child(2) svg { animation-delay: .9s; }
.services-grid > :nth-child(3) .service-icon img,
.drone-feature:nth-child(3) .drone-feature-icon,
.pm-video-item:nth-child(3) svg,
.envelope-feature:nth-child(3) svg { animation-delay: 1.8s; }
.services-grid > :nth-child(4) .service-icon img,
.drone-feature:nth-child(4) .drone-feature-icon { animation-delay: 2.7s; }
.services-grid > :nth-child(5) .service-icon img { animation-delay: 3.6s; }
.services-grid > :nth-child(6) .service-icon img { animation-delay: 4.5s; }
.contact-item:nth-child(2) .contact-item-icon { animation-delay: 1.2s; }
.contact-item:nth-child(3) .contact-item-icon { animation-delay: 2.4s; }
*:hover > .service-icon img { animation-play-state: paused; }

.pm-video-media { animation: pm-media-glow 3.8s ease-in-out infinite; }
.hero-badge .dot { animation: pm-dot-pulse 2.2s ease-in-out infinite; }

/* FAQ : la question glisse légèrement au survol, la couleur suit */
.faq-question { transition: color .18s ease, padding-left .22s ease; }
.faq-question:hover { color: var(--green-deep); padding-left: 8px; }

/* ------------------------------------------------------------
   10. BOUTONS — mouvement d'appel façon landing
   `pm-cta-breathe` ne touche ni transform ni position : aucun conflit
   avec les :hover existants du site, qui restent opérants.
   ------------------------------------------------------------ */
.btn-primary { animation: pm-cta-breathe 2.8s ease-in-out infinite; }
.btn-primary:hover { animation-play-state: paused; }

/* Reflet balayant sur les CTA principaux */
.site-header .btn-primary,
.hero-ctas .btn-primary,
.cta-final .btn-primary,
.calculator-actions .btn-primary {
  position: relative; overflow: hidden;
}
.site-header .btn-primary::after,
.hero-ctas .btn-primary::after,
.cta-final .btn-primary::after,
.calculator-actions .btn-primary::after {
  content: ""; position: absolute; top: 0; left: -55%; width: 38%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); animation: pm-shine 4s ease-in-out infinite; pointer-events: none;
}

/* ------------------------------------------------------------
   11. SECTION QUESTIONNAIRE (pleine largeur, après le hero)
   ------------------------------------------------------------ */
.pm-form-section { padding: var(--sp-16) 0; background: var(--cream); }
.pm-form-section .pm-form-card { max-width: 620px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none !important; }
  .site-header .btn-primary::after,
  .hero-ctas .btn-primary::after,
  .cta-final .btn-primary::after,
  .calculator-actions .btn-primary::after { display: none; }
}
