/*
Theme Name: DM Design
Theme URI: https://www.dm-design.fr/
Author: DM Design
Description: Thème bloc sur mesure de DM Design, issu de la maquette validée. Tout le contenu se modifie dans l'éditeur de blocs.
Version: 1.5.5
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dm-design
*/

/* =========================================================
   DM Design — maquette d'accueil
   Mise en page relevée sur agence-slrdigital.fr.
   Couleurs, boutons, survols, curseur et cartes taupe relevés
   sur sheragency.com, à la demande du client (16/10/2026).
   ========================================================= */

:root {
  /* Couleurs relevées sur sheragency.com */
  --noir: #1c1c1c;
  --sombre-haut: #2f2f2f;
  --anthracite: #232323;
  --graphite: #3c3c3c;
  --gris-fonce: #525252;
  --gris: #858585;
  --gris-clair: #e4e4e4;
  --fumee: #f5f5f5;
  --blanc: #ffffff;
  --taupe: #c9baac;
  --etoile: #f8b84e;

  --encre: var(--gris-fonce);
  --degrade-sombre: linear-gradient(180deg, var(--sombre-haut), var(--noir));
  --halo: radial-gradient(circle, rgba(255, 255, 255, .21), rgba(255, 255, 255, 0) 72%);

  --titre: "Poppins", sans-serif;
  --texte: "Inter", sans-serif;

  --enveloppe: 1240px;
  --rayon: 15px;
  --rayon-bouton: 44px;
  --rayon-bande: 80px;
  --courbe: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 124px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Étoile dorée réutilisable (symbole #etoile, dégradé #etoile-or) */
.etoile {
  width: 22px;
  height: 22px;
  fill: url(#etoile-or);
  stroke: url(#etoile-or);
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 400;
  hyphens: none;
  text-wrap: balance;
}
h1 strong, h2 strong, h3 strong { font-weight: 700; }

.enveloppe {
  position: relative;
  z-index: 1;
  width: min(var(--enveloppe), 100% - 2 * 5vw);
  margin-inline: auto;
}

.titre-section {
  font-size: 64px;
  line-height: 72px;
  color: var(--noir);
  letter-spacing: -0.01em;
}
.sombre .titre-section { color: var(--blanc); }

/* =========================================================
   Boutons (relevés sur sheragency.com)
   Pilule de 52 px, pastille ronde avec flèche. Au survol, un
   voile entre par le côté d'arrivée de la souris et ressort
   par le côté de sortie (voir app.js).
   ========================================================= */

.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.bouton {
  --fond: var(--noir);
  --texte-bouton: var(--blanc);
  --survol: var(--gris-fonce);
  --texte-survol: var(--blanc);
  --pastille: var(--gris-fonce);
  --pastille-survol: var(--noir);
  --fleche: var(--blanc);
  --fleche-survol: var(--blanc);

  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--rayon-bouton);
  background: var(--fond);
  color: var(--texte-bouton);
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: color .45s var(--courbe), border-color .45s;
}
.bouton:has(.bouton-pastille) { padding-right: 12px; }

.bouton-libelle { display: block; }
.bouton-libelle > span { display: block; }

/* Voile de survol : copie du contenu aux couleurs de survol,
   révélée par clip-path depuis le côté d'entrée de la souris */
.bouton-voile {
  position: absolute;
  inset: -1px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  padding: inherit;
  border: 1px solid transparent;
  border-radius: inherit;
  background: var(--survol);
  color: var(--texte-survol);
  clip-path: inset(0 100% 0 0 round var(--rayon-bouton));
  pointer-events: none;
}
.bouton-voile.anime { transition: clip-path .26s var(--courbe); }
.bouton-voile .bouton-pastille { background: var(--pastille-survol); color: var(--fleche-survol); }
.bouton:focus-visible .bouton-voile { clip-path: inset(0 0 0 0 round var(--rayon-bouton)) !important; }

.bouton-pastille {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pastille);
  color: var(--fleche);
}
.bouton-pastille svg { width: 11px; height: 11px; }

/* Variante graphite, sur fond sombre */
.bouton-graphite {
  --fond: var(--graphite);
  --survol: var(--blanc);
  --texte-survol: var(--noir);
  --pastille: var(--anthracite);
  --pastille-survol: var(--gris-clair);
  --fleche-survol: var(--noir);
}

/* Variante claire */
.bouton-clair {
  --fond: var(--blanc);
  --texte-bouton: var(--noir);
  --survol: var(--gris-clair);
  --texte-survol: var(--noir);
  --pastille: var(--gris-clair);
  --pastille-survol: var(--blanc);
  --fleche: var(--noir);
  --fleche-survol: var(--noir);
}

/* Variante contour, sur fond clair */
.bouton-contour {
  --fond: transparent;
  --texte-bouton: var(--anthracite);
  --survol: var(--noir);
  --texte-survol: var(--blanc);
  border-color: var(--anthracite);
}

/* =========================================================
   Fonds sombres : dégradé + halo lumineux
   ========================================================= */

.sombre {
  position: relative;
  background: var(--degrade-sombre);
  color: var(--fumee);
  overflow: hidden;
}
.sombre-plein { background: var(--noir); }
.sombre > :not(.halo) { position: relative; z-index: 1; }

.halo {
  position: absolute;
  z-index: 0;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: var(--halo);
  opacity: .65;
  pointer-events: none;
  will-change: transform;
}
.halo-haut-droite { top: -260px; right: -220px; }
.halo-gauche { top: 10%; left: -420px; }
.halo-bas-droite { bottom: -320px; right: -300px; }
.halo-centre { top: 14%; left: calc(50% - 350px); opacity: .45; }

/* Cartes taupe inclinées derrière les médias (relevé sheragency) */
.cadre-taupe {
  position: relative;
  isolation: isolate;
}
.cadre-taupe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--rayon);
  background: var(--taupe);
  transform: rotate(1.5deg);
}
.cadre-taupe-leger::before { transform: rotate(1deg); }

/* =========================================================
   En-tête + héros
   ========================================================= */

.hero {
  position: relative;
  min-height: 887px;
  padding: 124px 0 120px;
  background: var(--degrade-sombre);
  border-radius: 0 0 var(--rayon-bande) var(--rayon-bande);
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

/* Couche décorative : lignes verticales et traînées lumineuses */
.hero-lignes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .06) 0 1px, transparent 1px 160px);
  background-position: center;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.hero-lignes span {
  position: absolute;
  top: -40%;
  width: 1px;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .9), transparent);
  box-shadow: 0 0 12px rgba(255, 255, 255, .35);
  animation: trainee 7s linear infinite;
}
.hero-lignes span:nth-child(1) { left: calc(50% - 480px); animation-delay: 0s; }
.hero-lignes span:nth-child(2) { left: calc(50% - 160px); animation-delay: -2.4s; animation-duration: 9s; }
.hero-lignes span:nth-child(3) { left: calc(50% + 160px); animation-delay: -5s; }
.hero-lignes span:nth-child(4) { left: calc(50% + 480px); animation-delay: -1.2s; animation-duration: 8s; }
.hero-lignes span:nth-child(5) { left: calc(50% - 640px); animation-delay: -6.3s; animation-duration: 10s; }
.hero-lignes span:nth-child(6) { left: calc(50% + 640px); animation-delay: -3.7s; animation-duration: 11s; }

@keyframes trainee {
  to { transform: translateY(380%); }
}

/* En-tête fixe : reste en haut de l'écran au défilement */
.site-entete {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 32px;
  pointer-events: none;
  transition: padding-top .35s var(--courbe);
}
.site-entete .entete { pointer-events: auto; }
.site-entete.defile { padding-top: 12px; }
.site-entete.defile .entete {
  background: rgba(28, 28, 28, .9);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
}

.entete {
  position: relative;
  z-index: 2;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 16px 16px 32px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--blanc);
  border-radius: var(--rayon);
  background: rgba(28, 28, 28, .55);
  backdrop-filter: blur(6px);
}

.logo { display: flex; align-items: center; }
.logo img { width: 76px; height: 76px; margin: -10px 0; }

/* Menu : trois liens alignés à droite, juste avant le bouton d'appel
   (écart avec le bouton = gap de l'en-tête 24 px + marge droite) */
.menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 32px 0 auto;
  font-family: var(--titre);
  font-size: 15px;
  white-space: nowrap;
}
.menu a {
  position: relative;
  color: var(--blanc);
  line-height: 18px;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--courbe);
}
.menu a:hover::after { transform: scaleX(1); transform-origin: left; }
/* Page en cours : le même soulignement discret qu'au survol */
.menu a[aria-current="page"]::after { transform: scaleX(1); }

/* Bouton d'appel (mobile et tablette) : rond, juste à gauche du burger.
   Trait de l'icône à 2 px, comme les traits du burger. */
.bouton-appel {
  --survol: var(--blanc);
  --texte-survol: var(--noir);
  position: relative;
  isolation: isolate;
  display: none;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -14px;
  padding: 0;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--blanc);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.bouton-appel svg { width: 19px; height: 19px; }
.bouton-appel svg path { vector-effect: non-scaling-stroke; }

/* Burger sobre : deux traits de longueurs différentes, qui forment une croix une fois ouvert */
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  position: absolute;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blanc);
  transition: top .4s var(--courbe), width .4s var(--courbe), transform .4s var(--courbe);
}
.burger span:nth-child(1) { top: 17px; width: 28px; }
.burger span:nth-child(2) { top: 25px; width: 18px; }
.burger:hover span:nth-child(2) { width: 28px; }
.menu-ouvert .burger span:nth-child(1),
.menu-ouvert .burger span:nth-child(2) { top: 21px; width: 26px; }
.menu-ouvert .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { transform: rotate(-45deg); }

.hero-contenu {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 72px;
}

/* Preuve sociale : visages + compteur, puis étoiles et note */
.preuve {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 36px;
  text-align: left;
}
.preuve-visages { display: flex; }
.preuve-visages img,
.preuve-compteur {
  width: 46px;
  height: 46px;
  margin-left: -14px;
  border: 2px solid var(--fumee);
  border-radius: 50%;
}
.preuve-visages img { object-fit: cover; background: var(--graphite); }
.preuve-visages img:first-child { margin-left: 0; }
.preuve-compteur {
  display: grid;
  place-items: center;
  background: #000;
  color: var(--blanc);
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.preuve-note { display: grid; gap: 6px; }
.preuve-etoiles { display: flex; gap: 8px; }
.preuve-note span {
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fumee);
}

/* Trois atouts entre le titre et les boutons */
.atouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 56px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--titre);
  font-size: 17px;
  line-height: 24px;
  color: var(--fumee);
}
.atouts li { display: flex; align-items: center; gap: 14px; }
.atouts li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--taupe);
  box-shadow: 0 0 0 4px rgba(201, 186, 172, .18);
}

.hero h1 {
  max-width: 1100px;
  font-size: 80px;
  line-height: 84px;
  letter-spacing: -0.015em;
}

.hero .boutons { justify-content: center; margin-top: 44px; }

/* =========================================================
   Sections communes
   ========================================================= */

.section { padding: 130px 0; }

.deux-colonnes {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 120px;
  align-items: center;
}

/* ---------- Approche (média vertical + texte) ---------- */

.media-vertical {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--noir);
}
.media-vertical > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: lent-zoom 24s ease-in-out infinite alternate;
}
@keyframes lent-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1) translateY(-2%); }
}

.media-legende {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--rayon);
  background: rgba(28, 28, 28, .82);
  backdrop-filter: blur(8px);
  color: var(--blanc);
  font-size: 13px;
  line-height: 18px;
}
.media-legende img { width: 36px; height: 36px; flex: none; }
.media-legende strong { display: block; font-family: var(--titre); font-weight: 500; font-size: 14px; }

.approche .texte { max-width: 580px; }
.approche .titre-section { margin-bottom: 32px; }

/* ---------- Services (accordéon) ---------- */

.services .deux-colonnes {
  grid-template-columns: 1fr 575px;
  align-items: start;
}
.services .titre-section { padding-top: 4px; }

.accordeon { display: flex; flex-direction: column; gap: 30px; }

/* H3 enveloppant le déclencheur : neutre, le rendu reste porté par .pli-titre */
.pli-entete { margin: 0; font: inherit; hyphens: manual; text-wrap: wrap; }

.pli-titre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  background: none;
  color: var(--blanc);
  font-family: var(--titre);
  font-size: 22px;
  line-height: 30px;
  text-align: left;
  cursor: pointer;
  transition: border-color .3s;
}
.pli-titre:hover { border-bottom-color: var(--blanc); }
.pli-titre svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform .3s;
}
.pli.ouvert .pli-titre svg { transform: rotate(180deg); }

.pli-corps {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.pli-corps > div { overflow: hidden; }
.pli-corps > div > :first-child { margin-top: 18px; }
.pli.ouvert .pli-corps { grid-template-rows: 1fr; }

/* Lien en fin de réponse (ex. vers une page de service) : blanc souligné et
   petite flèche. Pli fermé, il est masqué pour ne pas recevoir le focus
   clavier ; il disparaît après l'animation de fermeture. */
.pli-lien { visibility: hidden; transition: visibility 0s .35s; }
.pli.ouvert .pli-lien { visibility: visible; transition-delay: 0s; }
/* Même style pour le lien d'une carte de service (page SEO : .carte-service-lien) */
.pli-lien a,
.carte-service .carte-service-lien a {
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: var(--blanc);
  /* Soulignement fin (1 px) et discret (blanc à 40 %), un peu décollé du texte */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .4);
  text-underline-offset: 5px;
  transition: text-decoration-color .3s;
}
/* Lien sur deux lignes équilibrées dès qu'il ne tient pas sur une seule :
   la flèche, qui suit le dernier mot, ne se retrouve jamais seule. */
.pli-lien,
.carte-service-lien { text-wrap: balance; }
.pli-lien a::after,
.carte-service .carte-service-lien a::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  vertical-align: 1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--courbe);
}
.pli-lien a:hover,
.carte-service .carte-service-lien a:hover { text-decoration-color: var(--blanc); }
.pli-lien a:hover::after,
.carte-service .carte-service-lien a:hover::after { transform: translate(2px, -2px); }

.services-intro p { max-width: 400px; margin-top: 24px; font-size: 17px; line-height: 27px; }
.services-intro .boutons { margin-top: 36px; }

/* ---------- Résultats ---------- */

.resultats .deux-colonnes {
  grid-template-columns: 1fr 340px;
  gap: 120px;
}
.resultats .texte { max-width: 744px; }
.resultats .titre-section { margin-bottom: 28px; }

.chiffres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  margin-top: 36px;
  max-width: 620px;
}
.chiffre strong {
  display: inline-block;
  font-family: var(--titre);
  font-weight: 400;
  font-size: 34px;
  line-height: 40px;
  color: var(--noir);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.chiffre span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--encre);
}

/* Écran vertical : les exemples de sites défilent en continu */
.ecran-defilant {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--noir);
  border: 8px solid var(--noir);
}
.ecran-piste {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: defile 38s linear infinite;
}
.ecran-piste img {
  width: 100%;
  aspect-ratio: 604 / 383;
  object-fit: cover;
  border-radius: 5px;
}
.ecran-defilant:hover .ecran-piste { animation-play-state: paused; }
@keyframes defile {
  to { transform: translateY(calc(-50% - 4px)); }
}
.ecran-barre {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(28, 28, 28, .96) 55%, rgba(28, 28, 28, 0));
  color: var(--blanc);
  font-size: 12px;
  line-height: 16px;
}
.ecran-barre i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.ecran-barre i::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: var(--blanc);
  transform-origin: left;
  animation: progression 38s linear infinite;
}
@keyframes progression { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Témoignages */
.avis {
  margin-top: 110px;
  text-align: center;
}
.etoiles { display: flex; justify-content: center; gap: 6px; }
.etoiles .etoile { width: 18px; height: 18px; filter: none; }

.avis-liste { display: grid; margin-top: 14px; }
.temoignage {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s, visibility .5s;
}
.temoignage.actif { opacity: 1; visibility: visible; transform: none; }

.temoignage-auteur {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--noir);
}
.temoignage-auteur img { width: 36px; height: 36px; border-radius: 50%; filter: grayscale(1); }
.temoignage-auteur span { font-weight: 400; color: var(--encre); }

.temoignage blockquote {
  max-width: 900px;
  margin: 22px auto 0;
  font-size: 32px;
  line-height: 40px;
  color: var(--noir);
  text-wrap: balance;
}

.points { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.point {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--noir);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color .25s, width .25s;
}
.point.actif { background: var(--noir); width: 28px; border-radius: 5px; }

/* ---------- Appel découverte ---------- */

.appel .deux-colonnes {
  grid-template-columns: 420px 1fr;
  gap: 110px;
  align-items: center;
}

/* Agenda Calendly : carte blanche sur cadre taupe, à la place et à la taille
   de l'ancienne carte de rendez-vous. Hauteur fixe : les étapes plus longues
   défilent dans l'agenda sans agrandir la section. Chargé par le script à
   l'approche du bloc ; sans script, le lien « Choisir un créneau » reste. */
.calendly-zone {
  position: relative;
  border-radius: var(--rayon);
  background: var(--blanc);
  color: var(--noir);
  overflow: hidden;
}
.calendly-cible { height: 600px; }
.calendly-cible iframe { display: block; }
.calendly-repli {
  display: grid;
  place-items: center;
  min-height: 600px;
  margin: 0;
}
.calendly-repli a {
  padding: 14px 26px;
  border-radius: var(--rayon-bouton);
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 500;
}
.appel-note {
  margin: 0;
  font-size: 13px;
  color: var(--gris);
}

/* Lien dans une note sous un formulaire ou un agenda */
.appel-note a,
.contact-note a,
.formulaire-note a {
  color: var(--blanc);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .4);
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: text-decoration-color .3s;
}
.appel-note a:hover,
.contact-note a:hover,
.formulaire-note a:hover { text-decoration-color: var(--blanc); }

.appel .titre-section { margin-bottom: 28px; }
.appel .texte { max-width: 692px; }

.liste-coches {
  display: grid;
  gap: 10px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}
.liste-coches li { display: flex; align-items: flex-start; gap: 14px; color: var(--blanc); }
/* Même pastille que les atouts du héros, centrée sur la première ligne du texte */
.liste-coches li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  margin-top: calc((1lh - 10px) / 2);
  border-radius: 50%;
  background: var(--taupe);
  box-shadow: 0 0 0 4px rgba(201, 186, 172, .18);
}

.formulaire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.champ {
  width: 100%;
  height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--rayon-bouton);
  background: rgba(255, 255, 255, .06);
  color: var(--blanc);
  font-family: var(--texte);
  font-size: 14px;
  transition: border-color .3s, background-color .3s;
}
.champ::placeholder { color: #a8a8a8; }
.champ:hover { border-color: rgba(255, 255, 255, .4); }
.champ:focus { outline: none; border-color: var(--blanc); background: rgba(255, 255, 255, .1); }
/* Champ multiligne : pleine largeur, 3 lignes. Arrondi de 26 px = celui que
   rendent les champs de 52 px (44 px ramené à la moitié de la hauteur). */
.champ-projet {
  display: block;
  grid-column: 1 / -1;
  height: calc(4.5em + 32px);
  padding: 15px 22px;
  border-radius: 26px;
  line-height: 1.5;
  resize: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.formulaire .bouton { justify-self: start; margin-top: 10px; }
.formulaire-note {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 13px;
  color: var(--gris);
}

/* ---------- Exemples (carrousel) ---------- */

.exemples { text-align: center; }
.exemples .chapeau {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 22px;
}

.carrousel {
  position: relative;
  margin-top: 56px;
  padding: 0 40px;
}
.carrousel-fenetre { overflow: hidden; touch-action: pan-y; }
.carrousel-piste {
  display: flex;
  gap: 24px;
  transition: transform .6s var(--courbe);
  user-select: none;
}
.carte-exemple {
  flex: 0 0 calc((100% - 48px) / 3);
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
  text-align: left;
}
.carte-exemple figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.carte-exemple figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) contrast(1.05);
  transition: filter .6s, transform .8s;
  -webkit-user-drag: none;
}
.carte-exemple:hover figure img { filter: none; transform: scale(1.04); }
.carte-exemple-legende { padding: 16px 20px 20px; }
.carte-exemple-legende small { display: block; font-size: 12px; line-height: 16px; color: var(--gris); }
.carte-exemple-legende strong { display: block; margin-top: 2px; font-family: var(--titre); font-weight: 400; font-size: 18px; line-height: 26px; }

.fleche {
  position: absolute;
  top: calc(50% - 30px);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--noir);
  cursor: pointer;
}
.fleche svg { width: 20px; height: 20px; }
.fleche-prec { left: 0; }
.fleche-suiv { right: 0; }
.fleche:disabled { opacity: .25; cursor: default; }

.exemples .points { margin-top: 28px; }

/* Exemples sur fond sombre */
.sombre .carte-exemple { background: #262626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sombre .fleche { color: var(--blanc); }
.sombre .point { border-color: var(--blanc); }
.sombre .point.actif { background: var(--blanc); }

/* ---------- FAQ (bloc encarté sur carte taupe) ---------- */

.faq { position: relative; isolation: isolate; padding: 130px 0 140px; }
.faq-cadre {
  position: relative;
  width: min(1283px, 100% - 2 * 5vw);
  margin: 0 auto;
}
.faq-cadre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--rayon);
  background: var(--taupe);
  transform: rotate(.5deg);
}
.faq-bloc {
  padding: 110px max(48px, calc((100% - 1100px) / 2));
  border-radius: var(--rayon);
}
.faq-bloc .deux-colonnes {
  grid-template-columns: 1fr 575px;
  align-items: start;
}
.faq .pli-titre { font-size: 24px; line-height: 32px; padding-bottom: 10px; }
.faq .accordeon { gap: 26px; }

/* ---------- Méthode : frise qui se remplit au défilement ---------- */

.methode { text-align: center; padding: 140px 0 150px; }
.methode-chapeau { max-width: 560px; margin: 20px auto 0; font-size: 15px; line-height: 24px; }

.etapes {
  --progression: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 40px;
  margin: 80px 0 0;
  padding: 44px 0 0;
  list-style: none;
  text-align: left;
}
/* Ligne de fond + ligne de progression (pilotée par app.js) */
.etapes::before,
.etapes::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gris-clair);
}
.etapes::after {
  background: var(--noir);
  transform: scaleX(var(--progression));
  transform-origin: left;
}

.etape { position: relative; }
.js .etape {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--courbe), transform .8s var(--courbe);
}
.js .etapes.visible .etape { opacity: 1; transform: none; }
.etape:nth-child(2) { transition-delay: .12s; }
.etape:nth-child(3) { transition-delay: .24s; }
.etape:nth-child(4) { transition-delay: .36s; }
.etape:nth-child(5) { transition-delay: .48s; }

.etape-point {
  position: absolute;
  top: -51px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gris);
  border-radius: 50%;
  background: var(--blanc);
  transition: background-color .5s, border-color .5s, box-shadow .5s;
}
.etape.atteinte .etape-point {
  background: var(--noir);
  border-color: var(--noir);
  box-shadow: 0 0 0 7px rgba(201, 186, 172, .35);
}

.etape b {
  display: block;
  font-family: var(--titre);
  font-size: 64px;
  font-weight: 300;
  line-height: 64px;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gris);
  transition: color .6s var(--courbe), -webkit-text-stroke-color .6s;
}
.etape.atteinte b { color: var(--noir); -webkit-text-stroke-color: var(--noir); }
.etape h3 {
  margin: 26px 0 10px;
  font-size: 19px;
  line-height: 26px;
  font-weight: 500;
  color: var(--noir);
}
.etape p { font-size: 14px; line-height: 22px; color: var(--encre); }

/* =========================================================
   Pied de page
   ========================================================= */

.pied {
  position: relative;
  overflow: hidden;
  padding: 120px 0 36px;
  border-radius: var(--rayon-bande) var(--rayon-bande) 0 0;
  background: var(--noir);
  color: var(--fumee);
}

.pied-appel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 96px;
}
.pied-appel h2 { max-width: 860px; font-size: 64px; line-height: 72px; color: var(--blanc); }

.pied-colonnes {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.pied-marque img { width: 84px; height: 84px; margin: -10px 0 12px -10px; }
.pied-marque p { max-width: 300px; margin-bottom: 0; font-size: 14px; line-height: 21px; }

/* Réseaux sociaux : icône en trait fin, discrète */
.pied-reseaux { display: flex; gap: 10px; margin-top: 22px; }
.pied-reseau {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .6);
  transition: color .3s, border-color .3s, transform .35s var(--courbe);
}
.pied-reseau svg { width: 17px; height: 17px; }
.pied-reseau:hover,
.pied-reseau:focus-visible {
  color: var(--blanc);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}
.pied-titre {
  margin: 0 0 16px;
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 500;
  color: var(--blanc);
  hyphens: none;
  text-wrap: balance;
}
.pied ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.pied ul a { position: relative; }
.pied ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .35s var(--courbe);
}
.pied ul a:hover { color: var(--blanc); }
.pied ul a:hover::after { width: 100%; }

.pied-bas {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-size: 12px;
  color: var(--gris);
}

/* =========================================================
   Pages internes : titre de page, textes légaux, contact
   ========================================================= */

.hero.hero-page { min-height: 0; padding: 124px 0 100px; }
.hero.hero-page .hero-contenu { padding-top: 76px; }
.hero.hero-page h1 { font-size: 64px; line-height: 72px; }
/* Sous-titre de page : même style que les phrases sous les titres de section */
.hero-page-chapeau {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--fumee);
}

/* Textes légaux */
.section.legal { padding: 110px 0 130px; }
.texte-legal { max-width: 820px; }
.texte-legal h2 {
  margin: 56px 0 16px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  color: var(--noir);
}
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--noir);
}
.texte-legal p,
.texte-legal li { line-height: 27px; }
.texte-legal ul,
.texte-legal ol { margin: 0 0 16px; padding-left: 22px; }
.texte-legal a {
  color: var(--noir);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.texte-legal a:hover { text-decoration-thickness: 2px; }
.texte-legal strong { color: var(--noir); }

/* Contact : téléphone et e-mail */
.section.coordonnees { padding: 110px 0; }
.coordonnees-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.coordonnee {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 32px 28px;
  border: 1px solid var(--gris-clair);
  border-radius: var(--rayon);
  color: var(--noir);
  transition: border-color .35s, background-color .35s;
}
.coordonnee:hover { border-color: var(--noir); background: var(--fumee); }
.coordonnee-icone {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
}
.coordonnee-icone svg { width: 22px; height: 22px; }
.coordonnee-texte { flex: 1; min-width: 0; }
.coordonnee-texte small { display: block; font-size: 13px; line-height: 18px; color: var(--gris); }
.coordonnee-texte strong {
  display: block;
  margin-top: 4px;
  font-family: var(--titre);
  font-size: 26px;
  font-weight: 500;
  line-height: 34px;
  overflow-wrap: anywhere;
}
.coordonnee-fleche {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gris-clair);
  color: var(--noir);
  transition: background-color .35s, color .35s;
}
.coordonnee-fleche svg { width: 11px; height: 11px; }
.coordonnee:hover .coordonnee-fleche { background: var(--noir); color: var(--blanc); }

/* Contact : formulaire dans un bloc sombre posé sur un cadre taupe, comme la FAQ */
.contact-cadre {
  position: relative;
  isolation: isolate;
  margin-top: 40px;
}
.contact-cadre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--rayon);
  background: var(--taupe);
  transform: rotate(.5deg);
}
.contact-bloc {
  padding: 72px max(48px, calc((100% - 860px) / 2));
  border-radius: var(--rayon);
}
/* Titre du cadre : même style que les titres des cartes téléphone et e-mail */
.contact-titre {
  margin: 0 0 8px;
  font-family: var(--titre);
  font-size: 26px;
  font-weight: 500;
  line-height: 34px;
  color: var(--blanc);
}
.contact-chapeau { margin: 0 0 32px; font-size: 15px; line-height: 24px; color: var(--gris-clair); }
.contact-note { margin: 18px 0 0; font-size: 13px; color: var(--gris); }

@media (max-width: 1024px) {
  .hero.hero-page { padding-bottom: 80px; }
  .hero.hero-page h1 { font-size: 48px; line-height: 56px; }
  .coordonnees-grille { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero.hero-page { padding: 92px 0 64px; }
  .hero.hero-page .hero-contenu { padding-top: 56px; }
  .hero.hero-page h1 { font-size: 38px; line-height: 46px; }
  .section.legal { padding: 72px 0 88px; }
  .texte-legal h2 { margin-top: 44px; font-size: 22px; line-height: 30px; }
  .texte-legal h3 { font-size: 18px; line-height: 26px; }
  .section.coordonnees { padding: 72px 0; }
  .coordonnee { padding: 20px 16px; gap: 14px; }
  .coordonnee-icone { width: 46px; height: 46px; }
  .coordonnee-texte strong { font-size: 17px; line-height: 24px; overflow-wrap: normal; white-space: nowrap; }
  .contact-cadre { margin-top: 32px; }
  .contact-bloc { padding: 48px 6vw; }
  .contact-titre { font-size: 22px; line-height: 30px; }
  .contact-chapeau { margin-bottom: 28px; font-size: 14px; line-height: 22px; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .menu { gap: 32px; margin-right: 24px; }
  .deux-colonnes,
  .services .deux-colonnes,
  .faq-bloc .deux-colonnes { gap: 72px; }
  .resultats .deux-colonnes { grid-template-columns: 1fr 300px; gap: 72px; }
  .appel .deux-colonnes { grid-template-columns: 360px 1fr; gap: 72px; }
  .etapes { gap: 0 28px; }
}

@media (max-width: 1024px) {
  .menu, .entete > .bouton { display: none; }
  .burger { display: block; }
  .bouton-appel { display: grid; }
  .entete.menu-ouvert { flex-wrap: wrap; }
  .entete.menu-ouvert .menu {
    display: flex;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 18px;
    margin: 0;
    padding: 18px 0 8px;
    font-size: 18px;
  }
  .entete.menu-ouvert .menu a { padding: 0; border: 0; }
  .entete.menu-ouvert .menu a::after { left: 0; right: 0; }
  /* Verre dépoli (barre et menu ouvert) : flou fort et fond plus opaque,
     pour que le texte de la page ne se lise plus derrière */
  .entete,
  .site-entete.defile .entete {
    background: rgba(28, 28, 28, .85);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .entete,
    .site-entete.defile .entete { background: rgba(28, 28, 28, .95); }
  }

  .hero { min-height: 760px; }
  .hero h1 { font-size: 64px; line-height: 68px; }

  .titre-section, .pied-appel h2 { font-size: 48px; line-height: 56px; }

  .deux-colonnes,
  .services .deux-colonnes,
  .resultats .deux-colonnes,
  .appel .deux-colonnes,
  .faq-bloc .deux-colonnes { grid-template-columns: 1fr; gap: 56px; }

  .cadre-taupe { width: 100%; justify-self: center; }
  .approche .cadre-taupe { max-width: 380px; }
  .resultats .cadre-taupe { max-width: 320px; }
  .appel .cadre-taupe { max-width: 420px; order: 2; }

  /* Nos expertises : le bouton passe sous l'accordéon */
  .services .deux-colonnes { gap: 0; }
  .services-intro { display: contents; }
  .services-intro p { margin-top: 20px; }
  .services .accordeon { margin-top: 48px; }
  .services-intro .boutons { order: 1; margin-top: 40px; }

  .carte-exemple { flex-basis: calc((100% - 24px) / 2); }

  /* Frise verticale */
  .etapes { grid-template-columns: 1fr; gap: 48px; max-width: 560px; margin: 56px auto 0; padding: 0 0 0 48px; }
  .etapes::before, .etapes::after { top: 6px; bottom: 6px; left: 7px; right: auto; width: 1px; height: auto; }
  .etapes::after { transform: scaleY(var(--progression)); transform-origin: top; }
  .etape-point { top: 25px; left: -48px; }

  .pied-appel { flex-direction: column; align-items: flex-start; }
  .pied-colonnes { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 88px 0; }
  .site-entete { padding-top: 16px; }
  .site-entete.defile { padding-top: 8px; }
  .hero { min-height: 0; padding: 92px 0 96px; border-radius: 0 0 40px 40px; }
  .hero-contenu { padding-top: 64px; }
  .hero h1 { font-size: 44px; line-height: 50px; }
  .preuve { gap: 14px; margin-bottom: 28px; }
  .preuve-visages img, .preuve-compteur { width: 40px; height: 40px; margin-left: -12px; }
  .preuve-etoiles { gap: 5px; }
  .preuve .etoile { width: 18px; height: 18px; }
  .atouts { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; font-size: 16px; }
  .entete { padding: 12px 10px 12px 20px; }
  .logo img { width: 60px; height: 60px; margin: -8px 0; }

  .titre-section, .pied-appel h2 { font-size: 38px; line-height: 46px; }
  /* Boutons compacts, côte à côte quand ils tiennent ; empilés dans le héros */
  .boutons { gap: 12px; }
  .hero .boutons { flex-direction: column; align-items: stretch; }
  .bouton {
    justify-content: center;
    height: auto;
    min-height: 48px;
    padding: 9px 18px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
  .bouton:has(.bouton-pastille) { padding-right: 8px; }
  .bouton-pastille { width: 24px; height: 24px; }
  .hero .bouton { min-height: 52px; padding: 11px 26px; font-size: 16px; }
  .hero .bouton:has(.bouton-pastille) { padding-right: 12px; }
  .hero .bouton-pastille { width: 28px; height: 28px; }
  .bouton-libelle { height: auto; overflow: visible; }
  .bouton-libelle > span { text-shadow: none; transform: none !important; }

  .pli-titre, .faq .pli-titre { font-size: 19px; line-height: 26px; }

  .chiffres { gap: 24px 20px; }
  .chiffre strong { font-size: 28px; line-height: 34px; }

  .cadre-taupe { width: calc(100% - 16px); }

  .avis { margin-top: 80px; }
  .temoignage blockquote { font-size: 22px; line-height: 31px; }

  .formulaire { grid-template-columns: 1fr; }
  .formulaire .bouton { justify-self: start; }

  .carrousel { padding: 0; }
  .carte-exemple { flex-basis: 100%; }
  .fleche { display: none; }
  .exemples .points { margin-top: 36px; }

  .faq-cadre { width: calc(100% - 24px); }
  .faq { padding: 88px 0; }
  .faq-bloc { padding: 72px 6vw; }

  .etapes { gap: 40px; padding-left: 40px; }
  .etape-point { top: 19px; left: -40px; }
  .etape b { font-size: 52px; line-height: 52px; }
  .etape h3 { margin-top: 18px; }

  .pied { border-radius: 40px 40px 0 0; padding-top: 88px; }
  .pied-colonnes { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lignes span, .ecran-piste, .ecran-barre i::after, .media-vertical > img { animation: none; }
  .js .etape { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Pages de service (Agence SEO à Troyes)
   Mêmes composants que l'accueil ; seuls les blocs propres à
   la page sont décrits ici, avec leurs points de rupture.
   ========================================================= */

/* Bloc de réservation placé juste avant le pied de page (sombre lui aussi) :
   un arrondi et un blanc les séparent, comme sur la page Contact. */
main > .appel:last-child { border-radius: 0 0 var(--rayon-bande) var(--rayon-bande); margin-bottom: 110px; }

/* ---------- Héros : texte à gauche, maquette de résultats à droite ---------- */

.hero.hero-seo { min-height: 0; padding: 124px 0 120px; }
.hero-seo .hero-contenu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 80px;
  align-items: center;
  justify-content: normal;
  text-align: left;
  padding-top: 88px;
}
.surtitre {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fumee);
}
.surtitre::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--taupe);
  box-shadow: 0 0 0 4px rgba(201, 186, 172, .18);
}
.hero.hero-seo h1 { font-size: 60px; line-height: 66px; }
.hero-seo-phrase {
  max-width: 580px;
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--fumee);
}
.hero-seo .boutons { justify-content: flex-start; margin-top: 40px; }

/* Maquette stylisée d'une page de résultats, en noir et blanc */
.serp {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--rayon);
  background: var(--blanc);
  color: var(--noir);
  font-size: 13px;
  line-height: 18px;
}
.serp-recherche {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gris-clair);
  border-radius: var(--rayon-bouton);
  font-size: 14px;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .25);
}
.serp-recherche svg { width: 16px; height: 16px; flex: none; color: var(--gris); }
.serp-onglets {
  display: flex;
  gap: 18px;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--gris-clair);
  font-size: 12px;
  color: var(--gris);
}
.serp-onglets .actif { position: relative; color: var(--noir); font-weight: 600; }
.serp-onglets .actif::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  border-radius: 2px;
  background: var(--noir);
}
.serp-ia {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  border-radius: 12px;
  background: var(--fumee);
}
.serp-ia-titre {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 500;
}
.serp-ia-titre svg { width: 15px; height: 15px; }
.serp-source {
  justify-self: start;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: var(--rayon-bouton);
  background: var(--noir);
  color: var(--blanc);
  font-size: 11px;
  line-height: 14px;
}
.serp-ligne {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--gris-clair);
}
.serp-ligne.courte { width: 62%; }
.serp-ligne.epaisse { height: 10px; width: 78%; background: #d6d6d6; }
.serp-ligne.mini { width: 90px; }
.serp-ligne.micro { width: 60px; height: 5px; margin-top: 5px; }
.serp-resultat { display: grid; gap: 8px; padding: 4px 4px 2px; }
.serp-resultat-vous {
  padding: 14px 16px 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--noir), 0 0 0 4px rgba(201, 186, 172, .35);
}
.serp-site { display: flex; align-items: center; gap: 10px; }
.serp-site b { display: block; font-weight: 600; font-size: 12px; line-height: 16px; }
.serp-site small { display: block; font-size: 11px; line-height: 14px; color: var(--gris); }
.serp-favicon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gris-clair);
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
}
.serp-resultat-vous .serp-favicon { background: var(--noir); color: var(--blanc); }
.serp-titre {
  margin: 2px 0 0;
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

/* ---------- Points de douleur : phrases entendues, en cartes ---------- */

.douleurs { text-align: center; }
.douleurs .titre-section { max-width: 980px; margin-inline: auto; }
.citations {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.citations li {
  grid-column: span 2;
  display: flex;
  align-items: center;
  padding: 28px 30px;
  border-radius: var(--rayon);
  background: var(--fumee);
  color: var(--noir);
  font-family: var(--titre);
  font-size: 18px;
  line-height: 28px;
}
.citations li:nth-child(4) { grid-column: 2 / span 2; }
.citations li:nth-child(5) { grid-column: 4 / span 2; }
.douleurs-texte {
  max-width: 700px;
  margin: 56px auto 0;
  font-size: 17px;
  line-height: 27px;
}
.douleurs .boutons { justify-content: center; }

/* ---------- Méthode : même frise que l'accueil ---------- */

.methode-seo { padding-top: 40px; }

/* ---------- Ce que comprend l'accompagnement : 6 cartes ---------- */

.accompagnement { text-align: center; }
.section-chapeau {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 24px;
}
.cartes-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
  text-align: left;
}
.carte-service {
  padding: 36px 32px 38px;
  border-radius: var(--rayon);
  background: #262626;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: box-shadow .35s;
}
.carte-service:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.carte-service-icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: var(--blanc);
}
.carte-service-icone svg { width: 24px; height: 24px; }
.carte-service h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--blanc);
}
.carte-service p { font-size: 15px; line-height: 24px; color: rgba(245, 245, 245, .72); }
.carte-service a {
  color: var(--blanc);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .4);
  text-underline-offset: 3px;
  transition: text-decoration-color .3s;
}
.carte-service a:hover { text-decoration-color: var(--blanc); }

/* ---------- Appel à l'action : bloc sombre sur cadre taupe ---------- */

.cta { position: relative; isolation: isolate; padding: 130px 0 0; }
.cta-cadre {
  position: relative;
  width: min(1100px, 100% - 2 * 5vw);
  margin: 0 auto;
}
.cta-cadre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--rayon);
  background: var(--taupe);
  transform: rotate(-.5deg);
}
.cta-bloc {
  padding: 100px max(48px, calc((100% - 820px) / 2));
  border-radius: var(--rayon);
  text-align: center;
}
.cta-bloc p {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 27px;
}
.cta-bloc .boutons { justify-content: center; }

@media (max-width: 1180px) {
  .hero-seo .hero-contenu { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .hero.hero-seo h1 { font-size: 52px; line-height: 58px; }
}

@media (max-width: 1024px) {
  .hero-seo .hero-contenu { grid-template-columns: 1fr; gap: 64px; }
  .hero-seo-visuel { width: 100%; max-width: 460px; }
  .citations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citations li,
  .citations li:nth-child(4) { grid-column: auto; }
  .citations li:nth-child(5) { grid-column: 1 / -1; }
  .cartes-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  main > .appel:last-child { border-radius: 0 0 40px 40px; margin-bottom: 72px; }
  .hero.hero-seo { padding: 92px 0 96px; }
  .hero-seo .hero-contenu { gap: 48px; padding-top: 64px; }
  .hero.hero-seo h1 { font-size: 38px; line-height: 44px; }
  .surtitre { align-items: flex-start; margin-bottom: 22px; }
  .surtitre::before { margin-top: 4px; }
  .hero-seo-phrase { font-size: 16px; line-height: 25px; }
  .serp { padding: 16px; }
  .citations { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .citations li { padding: 22px 24px; font-size: 17px; line-height: 26px; }
  .douleurs-texte { margin-top: 40px; font-size: 16px; line-height: 25px; text-align: left; }
  .methode-seo { padding-top: 16px; }
  /* « accompagnement » en gras ne tient pas à 38 px sur un téléphone : le titre suit la largeur */
  .accompagnement .titre-section { font-size: min(38px, 9vw); line-height: 1.2; }
  .cartes-services { grid-template-columns: 1fr; gap: 16px; margin-top: 44px; }
  .carte-service { padding: 28px 24px 30px; }
  .carte-service h3 { margin-top: 22px; }
  .cta { padding-top: 88px; }
  .cta-cadre { width: calc(100% - 24px); }
  .cta-bloc { padding: 64px 6vw; }
  .cta-bloc p { font-size: 16px; line-height: 25px; }
}

/* =========================================================
   Variante v2 de la page SEO (comparaison, non indexée)
   Déroulé inspiré d'une page modèle, identité DM Design.
   ========================================================= */

.surtitre-clair { color: var(--gris-fonce); }
.surtitre-centre { justify-content: center; }

/* ---------- Héros : écran de recherche incliné qui déborde à droite ---------- */

.hero-seo2 .hero-contenu { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 64px; }

/* Le H1 (« Agence SEO à Troyes ») est placé dans le surtitre : il en garde
   exactement l'apparence (petites capitales, taille, couleur, pastille). */
.hero.hero-seo .surtitre h1 {
  display: inline;
  max-width: none;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-wrap: inherit;
  hyphens: inherit;
  color: inherit;
}
/* La grande phrase n'est plus un titre : même rendu que l'ancien H1 du héros */
.hero-seo-titre {
  margin: 0;
  font-family: var(--titre);
  font-size: 60px;
  font-weight: 400;
  line-height: 66px;
  letter-spacing: -0.015em;
  hyphens: none;
  text-wrap: balance;
}
.seo2-visuel { perspective: 1800px; }
.seo2-navigateur {
  width: 680px;
  border-radius: 18px;
  background: var(--blanc);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .75);
  transform: rotateY(-16deg) rotateX(6deg) rotateZ(-3deg);
  transform-origin: left center;
}
.seo2-barre {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: var(--gris-clair);
}
.seo2-barre i { width: 10px; height: 10px; border-radius: 50%; background: #c2c2c2; }
.seo2-barre span {
  margin-left: 14px;
  padding: 2px 16px;
  border-radius: var(--rayon-bouton);
  background: var(--blanc);
  font-size: 11px;
  line-height: 16px;
  color: var(--gris);
}
.seo2-serp { gap: 12px; padding: 20px 24px 26px; border-radius: 0; }

/* Bloc local : plan stylisé + fiches */
.seo2-local {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--gris-clair);
  border-radius: 12px;
}
.seo2-plan {
  position: relative;
  min-height: 128px;
  border-radius: 8px;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(0, 0, 0, .05) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, .05) 22px 23px),
    #efefef;
}
.seo2-route { position: absolute; display: block; border-radius: 4px; background: var(--blanc); }
.seo2-route.a { left: -10%; right: -10%; top: 46%; height: 7px; transform: rotate(-12deg); }
.seo2-route.b { top: -10%; bottom: -10%; left: 58%; width: 7px; transform: rotate(9deg); }
.seo2-epingle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: #a3a3a3;
  transform: rotate(-45deg);
}
.seo2-epingle.vous {
  left: 32%;
  top: 24%;
  width: 18px;
  height: 18px;
  background: var(--noir);
  box-shadow: 0 0 0 5px rgba(201, 186, 172, .5);
}
.seo2-epingle.p2 { left: 70%; top: 58%; }
.seo2-epingle.p3 { left: 18%; top: 70%; }
.seo2-fiches { display: grid; gap: 8px; align-content: center; }
.seo2-fiche { display: grid; gap: 3px; padding: 8px 10px; border-radius: 8px; }
.seo2-fiche.vous { background: var(--fumee); box-shadow: inset 0 0 0 1px var(--noir); }
.seo2-fiche b { font-size: 12px; line-height: 16px; font-weight: 600; }
.seo2-fiche small { font-size: 11px; line-height: 14px; color: var(--gris); }
.seo2-puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.seo2-puces em {
  padding: 3px 9px;
  border: 1px solid #cfcfcf;
  border-radius: var(--rayon-bouton);
  font-size: 10px;
  font-style: normal;
  line-height: 12px;
}
.seo2-fiche.vous .seo2-puces em:first-child { border-color: var(--noir); background: var(--noir); color: var(--blanc); }

/* ---------- Points de douleur : photo + phrases entendues ---------- */

.seo2-douleurs { padding-bottom: 100px; }
.seo2-douleurs .deux-colonnes { grid-template-columns: 460px minmax(0, 1fr); gap: 100px; }

/* Téléphone codé en HTML/CSS : recherche locale, 3 concurrents, une place libre */
.seo2-douleurs-visuel { display: grid; place-items: center; padding: 24px 0; }
.seo2-mobile {
  width: 300px;
  padding: 11px;
  border-radius: 44px;
  background: #0f0f0f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 40px 70px -28px rgba(0, 0, 0, .55);
  transform: rotate(-4deg);
}
.seo2-mobile .seo2-ecran { height: auto; padding-bottom: 18px; }
.seo2-epingle.c1 { left: 30%; top: 26%; background: var(--noir); }
.seo2-epingle.c2 { left: 68%; top: 52%; background: var(--noir); }
.seo2-epingle.c3 { left: 18%; top: 66%; background: var(--noir); }
.seo2-fiche.concurrent { box-shadow: inset 0 0 0 1px var(--gris-clair); }
.seo2-fiche.concurrent .seo2-puces em:first-child { border-color: var(--noir); background: var(--noir); color: var(--blanc); }
.seo2-etoile { color: var(--noir); }
.seo2-fiche-vide {
  display: grid;
  place-items: center;
  min-height: 64px;
  border: 1.5px dashed #9a9a9a;
  border-radius: 8px;
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 600;
  color: var(--noir);
}
.seo2-douleurs .texte { max-width: 660px; }
.seo2-douleurs .titre-section { margin-bottom: 32px; }
.seo2-phrases {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gris-clair);
}
.seo2-phrases li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gris-clair);
}
.seo2-phrases li::before {
  content: "";
  grid-row: span 2;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: var(--noir);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.seo2-phrases span { font-family: var(--titre); font-size: 16px; line-height: 25px; color: var(--noir); }
.seo2-phrases small {
  grid-column: 2;
  font-family: var(--titre);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ---------- Témoignage déjà publié sur l'accueil ---------- */

.seo2-temoignage {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 56px;
  border-radius: var(--rayon);
  background: var(--fumee);
}
.seo2-temoignage blockquote {
  margin: 0;
  font-family: var(--titre);
  font-size: 24px;
  line-height: 34px;
  color: var(--noir);
}
.seo2-temoignage figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 500;
  color: var(--noir);
}
.seo2-temoignage figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.seo2-temoignage figcaption span { margin-left: -8px; font-weight: 400; color: var(--encre); }

/* ---------- Méthode : intro fixe à gauche, étapes détaillées à droite ---------- */

.seo2-methode .deux-colonnes { grid-template-columns: 440px minmax(0, 1fr); gap: 100px; align-items: start; }
.seo2-methode-intro { position: sticky; top: 150px; }
.seo2-methode-intro .titre-section { margin-bottom: 28px; }
/* Effet de défilement : l'intro reste fixe à gauche ; à droite, une ligne se
   remplit au fil du scroll et chaque étape s'allume quand elle est atteinte
   (même principe que la frise de l'accueil). Sans script, tout reste visible. */
.seo2-etapes { position: relative; margin: 0; padding: 0 0 0 48px; list-style: none; }
.seo2-etapes::before,
.seo2-etapes::after {
  content: "";
  position: absolute;
  left: 7px;
  top: var(--ligne-debut, 32px);
  bottom: var(--ligne-fin, 0px);
  width: 1px;
  background: var(--gris-clair);
}
.seo2-etapes::after {
  z-index: 0;
  background: var(--noir);
  transform: scaleY(var(--progression, 0));
  transform-origin: top;
}
/* Étapes : <li> dans la maquette, groupes .seo2-etape dans WordPress (> *) ;
   numéro : <b> dans la maquette, paragraphe .seo2-numero dans WordPress */
.seo2-etapes > * {
  --haut: 36px;
  --centre: 26px;
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--gris-clair);
}
.seo2-etapes > :first-child { --haut: 6px; padding-top: 6px; }
.seo2-etapes > *::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -48px;
  top: calc(var(--haut) + var(--centre) - 7.5px);
  width: 15px;
  height: 15px;
  border: 1px solid var(--gris);
  border-radius: 50%;
  background: var(--blanc);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.seo2-etapes > .atteinte::before {
  border-color: var(--noir);
  background: var(--noir);
  box-shadow: 0 0 0 7px rgba(201, 186, 172, .35);
}
/* Étapes pas encore atteintes : estompées mais lisibles */
.js .seo2-etapes > * > * {
  opacity: .55;
  transform: translateY(14px);
  transition: opacity .6s var(--courbe), transform .6s var(--courbe), color .6s var(--courbe);
}
.js .seo2-etapes > .atteinte > * { opacity: 1; transform: none; }
.seo2-etapes :is(b, .seo2-numero) {
  margin: 0;
  font-family: var(--titre);
  font-size: 52px;
  font-weight: 400;
  line-height: 52px;
  color: transparent;
  -webkit-text-stroke: 1px var(--noir);
}
.seo2-etapes > .atteinte :is(b, .seo2-numero) { color: var(--noir); }
/* Grand écran : 140 px entre deux étapes, pour en voir 2 ou 3 à la fois
   pendant que l'intro reste fixe ; 140 px de blanc après la dernière */
@media (min-width: 1025px) {
  .seo2-etapes > *,
  .seo2-etapes > :first-child { --haut: 0px; min-height: 0; padding: 0 0 140px; border-bottom: 0; }
  .seo2-etapes > :last-child { min-height: 0; padding-bottom: 0; }
  .seo2-methode { padding-bottom: 140px; }
}
@media (max-height: 820px) and (min-width: 1025px) {
  .seo2-methode-intro { top: 120px; }
  .seo2-methode-intro .titre-section { font-size: 48px; line-height: 56px; }
}
.seo2-etapes h3 { margin: 6px 0 12px; font-size: 22px; font-weight: 500; line-height: 30px; color: var(--noir); }
.seo2-etapes p { font-size: 15px; line-height: 25px; }

/* ---------- Appel à l'action : texte + téléphone qui sort du bas du bloc ---------- */

.seo2-cta { padding: 130px 0 0; }
.seo2-cta-bloc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  padding: 0 80px;
  border-radius: var(--rayon);
}
.seo2-cta-texte { padding: 80px 0; }
.seo2-cta .titre-section { font-size: 52px; line-height: 60px; }
.seo2-cta-texte > p:not(.surtitre) { max-width: 540px; margin-top: 24px; font-size: 17px; line-height: 27px; }
.seo2-cta-texte .boutons { margin-top: 36px; }
.seo2-cta-texte > p.seo2-cta-note { margin-top: 20px; font-size: 13px; line-height: 20px; color: var(--gris); }
.seo2-cta-visuel { position: relative; align-self: end; height: 460px; }
.seo2-telephone {
  position: absolute;
  left: 50%;
  bottom: -70px;
  width: 260px;
  height: 510px;
  margin-left: -130px;
  padding: 11px;
  border-radius: 42px;
  background: #0f0f0f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .7);
  transform: rotate(5deg);
}
.seo2-ecran {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 38px 14px 14px;
  border-radius: 32px;
  background: var(--blanc);
  color: var(--noir);
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
}
.seo2-ecran .serp-recherche { height: 38px; padding: 0 14px; font-size: 12px; }
.seo2-plan.petit { min-height: 140px; }
.seo2-badge {
  position: absolute;
  z-index: 2;
  display: grid;
  margin: 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(28, 28, 28, .85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
}
.seo2-badge strong { font-family: var(--titre); font-size: 22px; font-weight: 500; line-height: 26px; color: var(--blanc); }
.seo2-badge span { font-size: 12px; line-height: 16px; color: var(--gris-clair); }
.seo2-badge.haut { top: 56px; left: -24px; }
.seo2-badge.bas { bottom: 120px; right: -16px; }

/* ---------- FAQ : encart de contact sous le titre ---------- */

.seo2-faq-intro .titre-section { margin-bottom: 36px; }
.seo2-encart {
  max-width: 420px;
  padding: 28px;
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.seo2-encart-titre { margin: 0 0 8px; font-family: var(--titre); font-size: 20px; font-weight: 500; line-height: 28px; color: var(--blanc); }
.seo2-encart p { font-size: 15px; line-height: 24px; }
.seo2-encart .boutons { margin-top: 24px; }
.seo2-encart .seo2-encart-tel { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--gris); }
.seo2-encart-tel a {
  color: var(--blanc);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .4);
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .hero-seo2 .hero-contenu { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .hero-seo-titre { font-size: 52px; line-height: 58px; }
  .seo2-navigateur { width: 600px; }
  .seo2-douleurs .deux-colonnes { grid-template-columns: 380px minmax(0, 1fr); gap: 72px; }
  .seo2-methode .deux-colonnes { grid-template-columns: 360px minmax(0, 1fr); gap: 64px; }
  .seo2-cta-bloc { grid-template-columns: minmax(0, 1fr) 320px; padding: 0 56px; }
}

@media (max-width: 1024px) {
  .hero-seo2 .hero-contenu { grid-template-columns: 1fr; }
  .seo2-navigateur { width: 100%; max-width: 640px; transform: none; }
  .seo2-douleurs .deux-colonnes { grid-template-columns: 1fr; gap: 56px; }
  .seo2-douleurs-visuel { padding: 0; }
  .seo2-methode .deux-colonnes { grid-template-columns: 1fr; gap: 48px; }
  .seo2-methode-intro { position: static; }
  .seo2-cta-bloc { grid-template-columns: 1fr; gap: 0; padding: 0 48px; }
  /* Sur tablette, 66 px sous le texte : le haut du téléphone ne recouvre pas
     la note « Gratuit et sans engagement… » (même écart de 18 px qu'en mobile) */
  .seo2-cta-texte { padding: 64px 0 66px; }
  .seo2-cta .titre-section { font-size: 44px; line-height: 52px; }
  .seo2-cta-visuel { justify-self: center; width: 320px; height: 400px; }
}

@media (max-width: 640px) {
  .hero-seo-titre { font-size: 38px; line-height: 44px; }
  .seo2-local { grid-template-columns: 1fr; }
  .seo2-plan { min-height: 96px; }
  .seo2-serp { padding: 16px; }
  /* Écran plus court sur téléphone : seuls les éléments « vous » restent */
  .seo2-serp > .serp-resultat:not(.serp-resultat-vous),
  .seo2-fiches .seo2-fiche:not(.vous) { display: none; }
  .seo2-douleurs { padding-bottom: 72px; }
  .seo2-phrases span { font-size: 15px; line-height: 24px; }
  .seo2-temoignage { padding: 32px 24px; }
  .seo2-temoignage blockquote { font-size: 19px; line-height: 28px; }
  .seo2-temoignage figcaption { flex-wrap: wrap; font-size: 14px; }
  .seo2-etapes { padding-left: 36px; }
  .seo2-etapes > * { --haut: 28px; --centre: 20px; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .seo2-etapes > :first-child { --haut: 6px; }
  .seo2-etapes > *::before { left: -36px; }
  .seo2-etapes :is(b, .seo2-numero) { font-size: 38px; line-height: 40px; }
  .seo2-mobile { width: 270px; }
  .seo2-etapes h3 { margin-top: 0; font-size: 19px; line-height: 26px; }
  .seo2-cta { padding-top: 88px; }
  .seo2-cta-bloc { padding: 0 6vw; }
  .seo2-cta-texte { padding-top: 52px; padding-bottom: 24px; }
  .seo2-cta .titre-section { font-size: 34px; line-height: 42px; }
  .seo2-cta-texte > p:not(.surtitre) { font-size: 16px; line-height: 25px; }
  .seo2-cta-visuel { width: 100%; height: 360px; }
  .seo2-telephone { width: 220px; height: 440px; margin-left: -110px; bottom: -80px; }
  .seo2-badge { padding: 10px 14px; }
  .seo2-badge strong { font-size: 18px; line-height: 22px; }
  .seo2-badge.haut { top: 24px; left: 0; }
  .seo2-badge.bas { bottom: 96px; right: 0; }
  .seo2-encart { padding: 24px 20px; }
}


/* =========================================================
   ADAPTATIONS GUTENBERG
   Le CSS ci-dessus est celui de la maquette, inchangé. Cette couche
   ne fait qu'adapter ce que la structure des blocs natifs modifie
   (figure autour des images, boutons et menu de WordPress, éléments
   décoratifs passés en pseudo-éléments). Le CSS d'un bloc étant
   imprimé après cette feuille, les surcharges sont plus spécifiques.
   ========================================================= */

:root {
  --fleche-blanche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4 3h5v5'/%3E%3C/svg%3E");
  --fleche-noire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231c1c1c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4 3h5v5'/%3E%3C/svg%3E");
  --icone-fleche-bas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14m-6-6 6 6 6-6'/%3E%3C/svg%3E");
  --icone-telephone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --icone-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
  --icone-tel-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --icone-mail-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E");
  --etoiles-22: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 22'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fcd27e'/%3E%3Cstop offset='1' stop-color='%23f4a83a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='scale(.9167)'%3E%3Cpath d='M12 3.2l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L3.4 9.5l6-.8z' fill='url(%23o)' stroke='url(%23o)' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E");
  --etoiles-18-5: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 18'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fcd27e'/%3E%3Cstop offset='1' stop-color='%23f4a83a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='scale(.75)'%3E%3Cpath d='M12 3.2l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L3.4 9.5l6-.8z' fill='url(%23o)' stroke='url(%23o)' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E");
  --etoiles-18: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fcd27e'/%3E%3Cstop offset='1' stop-color='%23f4a83a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='scale(.75)'%3E%3Cpath d='M12 3.2l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L3.4 9.5l6-.8z' fill='url(%23o)' stroke='url(%23o)' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E");
}

img { height: auto; }
:where(.wp-block-group) > :where(*),
:where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }

/* Barre d'administration (connecté) : l'en-tête fixe passe dessous */
.admin-bar .site-entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-entete { top: 46px; } }

/* ---------- En-tête ---------- */

.entete .wp-block-image.logo a { display: block; }
.entete .wp-block-navigation.menu .wp-block-navigation__container { flex-wrap: nowrap; gap: 40px; }
@media (max-width: 1180px) { .entete .wp-block-navigation.menu .wp-block-navigation__container { gap: 32px; } }
.entete .wp-block-navigation.menu .wp-block-navigation-item__content {
  padding: 0;
  color: var(--blanc);
  font-family: var(--titre);
  font-size: 15px;
  line-height: 18px;
}
.entete > .wp-block-buttons.entete-cta,
.entete > .wp-block-buttons.bouton-appel { gap: 0; }

/* Menu « Services » : sous-menu du bloc Navigation, ouvert au clic par
   WordPress (aria-expanded, Échap, focus), au survol en plus sur ordinateur.
   Même aspect que la barre d'en-tête : panneau sombre, bordure fine, arrondi. */
/* .has-child = l'élément « Services » (WordPress met aussi wp-block-navigation-submenu sur la liste) */
.entete .wp-block-navigation.menu .has-child { position: relative; gap: 6px; }
.entete .wp-block-navigation.menu .wp-block-navigation-submenu__toggle {
  position: relative;
  margin-right: -18px;
  padding: 0 18px 0 0;
  border: 0;
  background: none;
  color: var(--blanc);
  cursor: pointer;
}
/* Soulignement discret de « Services », comme les autres liens : au survol,
   et quand la page en cours fait partie du sous-menu */
.entete .wp-block-navigation.menu .wp-block-navigation-submenu__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--courbe);
}
.entete .wp-block-navigation.menu .wp-block-navigation-submenu__toggle:hover::after,
.entete .wp-block-navigation.menu .has-child:has([aria-current="page"]) > .wp-block-navigation-submenu__toggle::after { transform: scaleX(1); transform-origin: left; }
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-icon {
  width: 12px;
  height: 12px;
  margin: 0;
  pointer-events: none;
}
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-icon svg {
  width: 12px;
  height: 12px;
  margin: 0;
  transition: transform .3s var(--courbe);
}
.entete .wp-block-navigation.menu .wp-block-navigation-submenu__toggle[aria-expanded="true"] + .wp-block-navigation__submenu-icon svg { transform: rotate(180deg); }
.entete .wp-block-navigation.menu .has-child .wp-block-navigation__submenu-container {
  top: calc(100% + 41px);
  left: -20px;
  z-index: 3;
  min-width: 290px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--rayon);
  background: rgba(28, 28, 28, .92);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
  color: var(--blanc);
  transform: translateY(-6px);
  transition: opacity .25s var(--courbe), transform .25s var(--courbe), visibility 0s .25s;
}
.entete .wp-block-navigation.menu .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container { transform: none; transition-delay: 0s; }
/* Pont invisible entre « Services » et le panneau : le survol ne se perd pas en chemin */
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 44px;
}
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background-color .25s;
}
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
/* Survol, focus clavier et page en cours : le même fond discret */
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible,
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container [aria-current="page"] { background: rgba(255, 255, 255, .08); }
@media (min-width: 1025px) and (hover: hover) {
  .entete .wp-block-navigation.menu .has-child:hover > .wp-block-navigation__submenu-container {
    width: auto;
    height: auto;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .entete .wp-block-navigation.menu .has-child:hover > .wp-block-navigation__submenu-icon svg { transform: rotate(180deg); }
}

/* Bouton d'appel : la classe est sur le conteneur core/buttons */
.entete .wp-block-buttons.bouton-appel { display: none; }
.bouton-appel .wp-block-button { display: block; width: 100%; height: 100%; margin: 0; }
.bouton-appel .wp-block-button__link {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--blanc);
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.bouton-appel .wp-block-button__link::before,
.bouton-appel .bouton-voile::before {
  content: "";
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: var(--icone-telephone) center / contain no-repeat;
  mask: var(--icone-telephone) center / contain no-repeat;
}
.bouton-appel .bouton-voile-texte { display: none; }

/* Burger : paragraphe « Menu » (texte masqué), deux traits en pseudo-éléments */
p.burger {
  margin: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  user-select: none;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blanc);
  transition: top .4s var(--courbe), width .4s var(--courbe), transform .4s var(--courbe);
}
.burger::before { top: 17px; width: 28px; }
.burger::after { top: 25px; width: 18px; }
.burger:hover::after { width: 28px; }
.menu-ouvert .burger::before,
.menu-ouvert .burger::after { top: 21px; width: 26px; }
.menu-ouvert .burger::before { transform: rotate(45deg); }
.menu-ouvert .burger::after { transform: rotate(-45deg); }
.burger:focus-visible { outline: 2px solid var(--blanc); outline-offset: 2px; border-radius: 50%; }

/* ---------- Boutons (core/button : la classe est sur le conteneur) ---------- */

.wp-block-buttons.boutons { gap: 16px; }
.wp-block-button.btn { display: inline-flex; margin: 0; }
.btn {
  --fond: var(--noir);
  --texte-bouton: var(--blanc);
  --survol: var(--gris-fonce);
  --texte-survol: var(--blanc);
  --pastille: var(--gris-fonce);
  --pastille-survol: var(--noir);
  --fleche: var(--fleche-blanche);
  --fleche-survol: var(--fleche-blanche);
}
.btn-graphite {
  --fond: var(--graphite);
  --survol: var(--blanc);
  --texte-survol: var(--noir);
  --pastille: var(--anthracite);
  --pastille-survol: var(--gris-clair);
  --fleche-survol: var(--fleche-noire);
}
.btn-clair {
  --fond: var(--blanc);
  --texte-bouton: var(--noir);
  --survol: var(--gris-clair);
  --texte-survol: var(--noir);
  --pastille: var(--gris-clair);
  --pastille-survol: var(--blanc);
  --fleche: var(--fleche-noire);
  --fleche-survol: var(--fleche-noire);
}
.btn-contour {
  --fond: transparent;
  --texte-bouton: var(--anthracite);
  --survol: var(--noir);
  --texte-survol: var(--blanc);
}
.wp-block-button.btn > .wp-block-button__link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--rayon-bouton);
  background: var(--fond);
  color: var(--texte-bouton);
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.wp-block-button.btn-contour > .wp-block-button__link { border-color: var(--anthracite); }
.wp-block-button.btn-pastille > .wp-block-button__link { padding-right: 12px; }
.btn-pastille > .wp-block-button__link::after,
.btn-pastille .bouton-voile::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pastille) var(--fleche) center / 11px no-repeat;
}
.btn-pastille .bouton-voile::after {
  background-color: var(--pastille-survol);
  background-image: var(--fleche-survol);
}
.wp-block-button__link:focus-visible .bouton-voile { clip-path: inset(0 0 0 0 round var(--rayon-bouton)) !important; }

/* ---------- Héros ---------- */

.preuve-note p {
  margin: 0;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fumee);
}
.preuve-note::before {
  content: "";
  display: block;
  width: 142px;
  height: 22px;
  background: var(--etoiles-22) 0 0 / 30px 22px repeat-x;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}
/* Le chevauchement des visages passe de l'image à sa figure */
.preuve-visages > .wp-block-image { flex: none; margin-left: -14px; }
.preuve-visages > .wp-block-image:first-child { margin-left: 0; }
.preuve-visages .wp-block-image img { margin-left: 0; }
.preuve-compteur { margin: 0 0 0 -14px; }
.hero-page-chapeau { margin-bottom: 0; }

/* ---------- Médias ---------- */

.media-vertical > .wp-block-image,
.media-vertical > .wp-block-image img { width: 100%; height: 100%; }
.media-vertical > .wp-block-image img {
  object-fit: cover;
  animation: lent-zoom 24s ease-in-out infinite alternate;
}
.media-legende::before {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  background: url("/wp-content/themes/dm-design/assets/img/logo-dm-design.svg") center / contain no-repeat;
}
.media-legende p { margin: 0; }

/* ---------- Accordéons : titre H3 + bouton ajouté par le script ---------- */

h3.pli-titre { text-wrap: wrap; hyphens: manual; }
.pli-titre::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--icone-fleche-bas) center / contain no-repeat;
  mask: var(--icone-fleche-bas) center / contain no-repeat;
  transition: transform .3s;
}
.pli.ouvert .pli-titre::after { transform: rotate(180deg); }
.pli-bouton {
  flex: 1;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
.pli-bouton:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

/* ---------- Résultats ---------- */

.chiffre-valeur {
  display: inline-block;
  margin: 0;
  font-family: var(--titre);
  font-weight: 400;
  font-size: 34px;
  line-height: 40px;
  color: var(--noir);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.chiffre-libelle {
  display: block;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--encre);
}
.ecran-piste > .wp-block-image { width: 100%; }
p.ecran-barre { margin: 0; }
.ecran-barre::after {
  content: "";
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background:
    linear-gradient(var(--blanc), var(--blanc)) 0 0 / 0 100% no-repeat,
    rgba(255, 255, 255, .25);
  animation: progression-fond 38s linear infinite;
}
@keyframes progression-fond { from { background-size: 0 100%, auto; } to { background-size: 100% 100%, auto; } }

.avis::before {
  content: "";
  display: block;
  width: 114px;
  height: 18px;
  margin: 0 auto;
  background: var(--etoiles-18) 0 0 / 24px 18px repeat-x;
}
.temoignage-auteur p { margin: 0; font-weight: 400; color: var(--encre); }
.temoignage-auteur strong { font-weight: 600; color: var(--noir); }

/* ---------- Exemples ---------- */

.carte-exemple-type { display: block; margin: 0; font-size: 12px; line-height: 16px; color: var(--gris); }
.carte-exemple-nom { margin: 2px 0 0; font-family: var(--titre); font-weight: 400; font-size: 18px; line-height: 26px; }

/* ---------- Méthode : point de chaque étape en pseudo-élément ---------- */

/* Le numéro est un paragraphe : plus spécifique que la règle .etape p de la maquette */
.etape p.etape-numero {
  display: block;
  margin: 0;
  font-family: var(--titre);
  font-size: 64px;
  font-weight: 300;
  line-height: 64px;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gris);
  transition: color .6s var(--courbe), -webkit-text-stroke-color .6s;
}
.etape.atteinte p.etape-numero { color: var(--noir); -webkit-text-stroke-color: var(--noir); }
.etape::before {
  content: "";
  position: absolute;
  top: -51px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gris);
  border-radius: 50%;
  background: var(--blanc);
  transition: background-color .5s, border-color .5s, box-shadow .5s;
}
.etape.atteinte::before {
  background: var(--noir);
  border-color: var(--noir);
  box-shadow: 0 0 0 7px rgba(201, 186, 172, .35);
}


/* ---------- Formulaire Contact Form 7 ---------- */

.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .wpcf7-form-control-wrap[data-name="projet"] { grid-column: 1 / -1; }
.formulaire .envoyer {
  position: relative;
  display: inline-flex;
  justify-self: start;
  margin-top: 10px;
}
.formulaire .wpcf7-submit {
  height: 52px;
  padding: 0 52px 0 26px;
  border: 0;
  border-radius: var(--rayon-bouton);
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .3s;
}
.formulaire .wpcf7-submit:hover { background: var(--gris-clair); }
.formulaire .envoyer::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gris-clair) var(--fleche-noire) center / 11px no-repeat;
  pointer-events: none;
  transition: background-color .3s;
}
.formulaire .envoyer:hover::after { background-color: var(--blanc); }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: #f3b0a8; }
.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--rayon);
  color: var(--fumee);
  font-size: 14px;
}

/* ---------- Pied de page ---------- */

.pied-marque .wp-block-image img { width: 84px; height: 84px; margin: -10px 0 12px -10px; }
.pied-marque p.pied-reseaux { margin-top: 22px; }
.pied-reseaux a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .6);
  font-size: 0;
  line-height: 0;
  transition: color .3s, border-color .3s, transform .35s var(--courbe);
}
.pied-reseaux a::before {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: var(--icone-facebook) center / contain no-repeat;
  mask: var(--icone-facebook) center / contain no-repeat;
}
.pied-reseaux a:hover,
.pied-reseaux a:focus-visible { color: var(--blanc); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
p.pied-titre { margin: 0 0 16px; }
p.pied-bas { margin: 0; }

/* ---------- Contact : cartes téléphone et e-mail ---------- */

.coordonnee { position: relative; }
.coordonnee::before {
  content: "";
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--noir) var(--icone-tel-blanc) center / 22px no-repeat;
}
.coordonnee-mail::before { background-image: var(--icone-mail-blanc); }
.coordonnee::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gris-clair) var(--fleche-noire) center / 11px no-repeat;
  transition: background-color .35s;
}
.coordonnee:hover::after { background-color: var(--noir); background-image: var(--fleche-blanche); }
.coordonnee-libelle { display: block; margin: 0; font-size: 13px; line-height: 18px; color: var(--gris); }
.coordonnee-valeur {
  margin: 4px 0 0;
  font-family: var(--titre);
  font-size: 26px;
  font-weight: 500;
  line-height: 34px;
  color: var(--noir);
  overflow-wrap: anywhere;
}
.coordonnee-valeur a::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }

/* ---------- Responsive (même points de rupture que la maquette) ---------- */

@media (max-width: 1024px) {
  .entete .wp-block-navigation.menu,
  .entete > .wp-block-buttons.entete-cta { display: none; }
  .entete .wp-block-buttons.bouton-appel { display: grid; }
  .entete.menu-ouvert .wp-block-navigation.menu { display: flex; }
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation-item__content { font-size: 18px; }
  /* Menu burger : « Services » se déplie en accordéon sous son libellé,
     sur le même fond flouté que le reste du menu */
  .entete.menu-ouvert .wp-block-navigation.menu .has-child { flex-wrap: wrap; width: 100%; }
  .entete.menu-ouvert .wp-block-navigation.menu .has-child .wp-block-navigation__submenu-container {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .18);
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    transform: none;
  }
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container { margin-top: 14px; }
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation__submenu-container::before { display: none; }
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    flex-grow: 0;
    padding: 7px 0;
    font-size: 16px;
    white-space: normal;
  }
  /* Dans le burger, survol et page en cours : le soulignement des autres liens */
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation__submenu-container [aria-current="page"] { background: none; }
  .entete.menu-ouvert .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: block; bottom: 2px; }
  .etape::before { top: 25px; left: -48px; }
}

@media (max-width: 640px) {
  .wp-block-buttons.boutons { gap: 12px; }
  .hero .wp-block-buttons.boutons { flex-direction: column; align-items: stretch; }
  .hero .wp-block-button.btn,
  .hero .wp-block-button.btn > .wp-block-button__link { width: 100%; }
  .wp-block-button.btn > .wp-block-button__link {
    height: auto;
    min-height: 48px;
    padding: 9px 18px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .wp-block-button.btn-pastille > .wp-block-button__link { padding-right: 8px; }
  .btn-pastille > .wp-block-button__link::after,
  .btn-pastille .bouton-voile::after { width: 24px; height: 24px; }
  .hero .wp-block-button.btn > .wp-block-button__link { min-height: 52px; padding: 11px 26px; font-size: 16px; }
  .hero .wp-block-button.btn-pastille > .wp-block-button__link { padding-right: 12px; }
  .hero .btn-pastille > .wp-block-button__link::after,
  .hero .btn-pastille .bouton-voile::after { width: 28px; height: 28px; }
  .preuve-note::before { width: 110px; height: 18px; background: var(--etoiles-18-5) 0 0 / 23px 18px repeat-x; }
  .formulaire .wpcf7-submit { height: 48px; padding: 0 44px 0 18px; font-size: 14px; }
  .formulaire .envoyer::after { width: 24px; height: 24px; right: 8px; }
  .preuve-visages > .wp-block-image { margin-left: -12px; }
  .preuve-visages > .wp-block-image:first-child { margin-left: 0; }
  .preuve-compteur { margin-left: -12px; }
  .chiffre-valeur { font-size: 28px; line-height: 34px; }
  .etape::before { top: 19px; left: -40px; }
  .etape p.etape-numero { font-size: 52px; line-height: 52px; }
  .coordonnee-valeur { font-size: 17px; line-height: 24px; overflow-wrap: normal; white-space: nowrap; }
  .coordonnee::before { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .media-vertical > .wp-block-image img,
  .ecran-barre::after { animation: none; }
}

/* =========================================================
   Page « Agence SEO à Troyes »
   Les règles de la maquette s'appliquent telles quelles ; ici, seulement ce
   que la structure des blocs change (paragraphes, listes, figure, icônes).
   Les trois illustrations sont insérées par le script du thème.
   ========================================================= */

/* Surtitre du héros : H1 et suite côte à côte, comme une seule ligne de texte */
.surtitre-texte > .surtitre-h1,
.surtitre-texte > .surtitre-suite { display: inline; margin: 0; }

/* Phrases entendues : la phrase, puis le métier (em) sur la ligne suivante */
.seo2-phrases li { font-family: var(--titre); font-size: 16px; line-height: 25px; color: var(--noir); }
.seo2-phrases li em {
  grid-column: 2;
  font-family: var(--titre);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gris);
}

/* Témoignage : citation (core/quote) et auteur (image + paragraphe) */
.seo2-temoignage .wp-block-quote { margin: 0; padding: 0; border: 0; }
.seo2-temoignage blockquote p { margin: 0; }
.seo2-temoignage-auteur {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 500;
  color: var(--noir);
}
.seo2-temoignage-auteur .wp-block-image { flex: none; }
.seo2-temoignage-auteur .wp-block-image img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.seo2-temoignage-auteur p { margin: 0; }
.seo2-temoignage-auteur em { font-style: normal; font-weight: 400; color: var(--encre); }

/* Cartes de l'accompagnement : cercle et icône fine en pseudo-éléments */
.carte-service { position: relative; }
.carte-service::before {
  content: "";
  display: block;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
}
.carte-service::after {
  content: "";
  position: absolute;
  top: 50px;
  left: 46px;
  width: 24px;
  height: 24px;
  background: var(--blanc);
  -webkit-mask: var(--icone-carte) center / contain no-repeat;
  mask: var(--icone-carte) center / contain no-repeat;
}
.carte-service-mots-cles { --icone-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.6-4.6M8 9h5M8 12h3.5'/%3E%3C/svg%3E"); }
.carte-service-ia { --icone-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3l1.9 4.9 4.9 1.9-4.9 1.9L11 16.6l-1.9-4.9-4.9-1.9 4.9-1.9z'/%3E%3Cpath d='M18 14.5l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E"); }
.carte-service-contenus { --icone-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
.carte-service-technique { --icone-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.6 17.5a8.5 8.5 0 1 1 14.8 0'/%3E%3Cpath d='m12 13.5 4-4'/%3E%3Ccircle cx='12' cy='13.5' r='1.2'/%3E%3C/svg%3E"); }
.carte-service-local { --icone-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.carte-service-suivi { --icone-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M6.5 16.5v-4M11.5 16.5V8.5M16.5 16.5v-6'/%3E%3Cpath d='m5 8 4.5-3.5 4 2.5L19 3.5'/%3E%3C/svg%3E"); }

/* Badges du bloc d'appel : le chiffre (strong), puis le libellé */
p.seo2-badge { font-size: 12px; line-height: 16px; color: var(--gris-clair); }

/* Bloc de réservation en fin de page, juste avant le pied de page sombre */
.wp-block-post-content > .appel:last-child { border-radius: 0 0 var(--rayon-bande) var(--rayon-bande); margin-bottom: 110px; }

@media (max-width: 640px) {
  .seo2-phrases li { font-size: 15px; line-height: 24px; }
  .seo2-temoignage-auteur { flex-wrap: wrap; font-size: 14px; }
  .carte-service::after { top: 42px; left: 38px; }
  .wp-block-post-content > .appel:last-child { border-radius: 0 0 40px 40px; margin-bottom: 72px; }
}
