/* ==========================================================================
   Page « Le duo » (a-propos.html), refaite le 09/10/2026.
   Même ligne que les pages services (css/service.css : pilules, titres, boutons, processus,
   panneau sombre, CTA dégradé, FAQ), mais sa propre couleur et une mise en page « album » :
   accueil blanc, services bleu ciel, Le duo sable, blog et contact bleu marine.
   ========================================================================== */

/* ---------- Le fond : sable (choisi par Emma le 09/10/2026, plutôt que crème ou gris sable) ----------
   Les blocs de la page lisent ces variables (css/service.css). */
body.svc-page.duo-page {
  --svc-fond: #ffe9bf;
  --svc-halo: #fff8ea;
  --svc-carte: #ffffff8c;
  --svc-carte-forte: #ffffffe6;
  --svc-trait: #8c5a1424;
  --duo-cadre: linear-gradient(160deg, #fff6e0, #ffd98a);
}

/* les cadres des blocs « vedette » prennent la couleur de la page */
.duo-page .svc-vedette-visuel {
  background-image: var(--duo-cadre);
}

/* ---------- Haut de page « album » : texte centré, puis trois polaroids ---------- */
.duo-hero {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 3rem;
}

.svc-hero-texte.duo-hero-texte {
  align-items: center;
  max-width: 56rem;
  text-align: center;
}

.duo-hero .svc-h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
}

.duo-hero .svc-chapo {
  max-width: 44rem;
}

.duo-hero .svc-boutons {
  justify-content: center;
}

.duo-album {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 0 0 2.5rem;
}

.duo-pola {
  position: relative;
  z-index: 1;
  flex: none;
  width: 15rem;
  margin: 0;
  padding: .7rem .7rem 0;
  border-radius: .6rem;
  background-color: #fff;
  box-shadow: 0 30px 50px -28px #0b1f3399, 0 2px 6px #0b1f331a;
  transition: transform 1.3s var(--svc-courbe) .15s, box-shadow .4s ease;
}

.duo-pola.est-tommy { transform: translate(1rem, 2.5rem) rotate(-7deg); }
.duo-pola.est-duo { z-index: 2; width: 17.5rem; transform: rotate(-1.5deg); }
.duo-pola.est-emma { transform: translate(-.5rem, 2rem) rotate(6deg); }

.duo-pola-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: .3rem;
  background-color: var(--svc-marine);
}

.duo-pola-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duo-pola.est-tommy img { object-position: 50% 30%; }
.duo-pola.est-emma img { object-position: 50% 15%; }

.duo-pola figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .1rem .45rem;
  padding: .8rem .25rem 1rem;
  color: var(--svc-titre);
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
}

.duo-pola figcaption small {
  color: var(--svc-accent);
  font-family: var(--font-family--text);
  font-size: .8rem;
  font-weight: var(--font-weight--medium);
}

/* à l'arrivée, les photos partent empilées au centre puis s'étalent */
html.w-mod-js:not(.svc-secours) .duo-album:not(.est-la) .duo-pola.est-tommy { transform: translate(100%, 3rem) rotate(0); }
html.w-mod-js:not(.svc-secours) .duo-album:not(.est-la) .duo-pola.est-duo { transform: translateY(2rem) rotate(0); }
html.w-mod-js:not(.svc-secours) .duo-album:not(.est-la) .duo-pola.est-emma { transform: translate(-100%, 3rem) rotate(0); }

/* au survol, la photo se redresse et passe devant */
@media (hover: hover) {
  .duo-album.est-la .duo-pola:hover,
  html.svc-secours .duo-album .duo-pola:hover {
    z-index: 3;
    transform: translateY(-.75rem) rotate(0) scale(1.03);
    box-shadow: 0 40px 60px -30px #0b1f33b3, 0 2px 6px #0b1f331a;
    transition-delay: 0s;
    transition-duration: .6s;
  }
}

/* ---------- Qui sommes-nous : une carte par personne, côte à côte ---------- */
.duo-persos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.duo-perso {
  display: flex;
  flex-flow: column;
  gap: 1.25rem;
  padding: 2.25rem;
  border: 1px solid #ffffffb3;
  border-radius: 2rem;
  background-color: var(--svc-carte);
  box-shadow: 0 30px 60px -40px #0b1f3380;
  transition: background-color .3s ease, box-shadow .4s ease;
}

.duo-perso:hover {
  background-color: var(--svc-carte-forte);
  box-shadow: 0 34px 60px -36px #0b1f3399;
}

.duo-perso-tete {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* le portrait rond, cerclé du dégradé de la charte */
.duo-perso-rond {
  flex: none;
  width: 5.25rem;
  height: 5.25rem;
  padding: 3px;
  border-radius: 50%;
  background-image: radial-gradient(circle at 30% 30%, #ff6b35, #ffd580 45%, #b3e2ff 75%, #1f4e79);
  transition: transform .6s var(--svc-courbe);
}

.duo-perso:hover .duo-perso-rond {
  transform: rotate(-6deg) scale(1.05);
}

.duo-perso-rond img {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
}

.duo-perso-titre {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--svc-titre);
}

.duo-perso-titre span {
  display: block;
  color: var(--svc-accent);
}

.duo-perso > p {
  font-size: 1.02rem;
}

/* « Ce que je gère » : la liste à coches, calée en bas de la carte */
.duo-perso-gere {
  display: flex;
  flex-flow: column;
  gap: .85rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--svc-trait);
}

.duo-perso-label {
  color: var(--svc-accent);
  font-size: .78rem;
  font-weight: var(--font-weight--medium);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.duo-perso .svc-coches {
  margin: 0;
}

/* ---------- La citation « personne d'autre » ---------- */
.duo-citation {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.duo-citation-guillemet {
  height: 3rem;
  color: var(--svc-orange);
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 7rem;
  line-height: .75;
}

.duo-citation blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  line-height: inherit;
}

.duo-citation blockquote p {
  color: var(--svc-titre);
  font-family: Parkinsans, Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.duo-citation blockquote span {
  color: var(--svc-accent);
}

.duo-citation figcaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--svc-texte);
  font-size: .95rem;
  font-weight: var(--font-weight--medium);
}

.duo-citation-ronds {
  display: flex;
}

.duo-citation-ronds img {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
}

.duo-citation-ronds img + img {
  margin-left: -.65rem;
}

/* ---------- Grands blocs « vedette » : variantes de cette page ---------- */
/* un bloc vedette seul dans sa section n'a pas d'écart au-dessus */
.svc-vedette.est-seule {
  margin-top: 0;
}

/* le visuel à droite */
.svc-vedette.est-inverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
}

.svc-vedette.est-inverse > .svc-vedette-visuel {
  order: 2;
}

.svc-vedette.est-inverse > .svc-vedette-texte {
  padding: 1rem 0 1rem 1rem;
}

/* ---------- Pourquoi LocaLeads existe : deux scènes dans le visuel du récit ----------
   étapes 1 et 2 : la page de résultats Google (classes .svc-serp des pages métier) ;
   étapes 3 et 4 : « souvent ailleurs » puis « chez LocaLeads » */
.duo-scenes {
  display: grid;
  width: 100%;
  max-width: 26rem;
}

.duo-scene {
  grid-area: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .6s ease, transform .8s var(--svc-courbe), visibility .6s;
}

.duo-scene.est-contre,
.duo-recit[data-etage-actif="3"] .duo-scene.est-recherche,
.duo-recit[data-etage-actif="4"] .duo-scene.est-recherche {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.97);
}

.duo-recit[data-etage-actif="3"] .duo-scene.est-recherche,
.duo-recit[data-etage-actif="4"] .duo-scene.est-recherche {
  transform: translateY(-16px) scale(.97);
}

.duo-recit[data-etage-actif="3"] .duo-scene.est-contre,
.duo-recit[data-etage-actif="4"] .duo-scene.est-contre {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* sur la page de résultats, le petit badge « Avis récents » est jaune comme le « Ouvert » des pages métier */
.duo-recit .svc-serp .svc-pack-ligne b small {
  display: table;
  margin: .4rem 0 0;
  background-color: #ffd580;
  white-space: nowrap;
}

.duo-contre {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  width: 100%;
}

.duo-contre-col {
  display: flex;
  flex-flow: column;
  gap: 1.15rem;
  padding: 1.35rem 1.15rem 1.5rem;
  border: 1px solid #ffffff1f;
  border-radius: 1.1rem;
  background-color: #ffffff0f;
  transition: opacity .5s ease, transform .6s var(--svc-courbe), border-color .5s ease, background-color .5s ease, box-shadow .5s ease;
}

.duo-contre-tete {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

.duo-contre-tete i {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background-color: var(--svc-orange);
}

.duo-contre ul {
  display: flex;
  flex-flow: column;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.duo-contre li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: #ffffffd9;
  font-size: .92rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .6s var(--svc-courbe);
}

.duo-contre li:nth-child(2) { transition-delay: .12s; }
.duo-contre li:nth-child(3) { transition-delay: .24s; }

.duo-contre-marque {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: -.05rem;
  border-radius: 50%;
}

.est-ailleurs .duo-contre-marque {
  background-color: #ffffff1f;
  color: #ffb3a0;
}

.est-nous .duo-contre-marque {
  background-color: var(--svc-orange);
  color: #fff;
}

/* étape 3 : ce qu'on voit souvent ailleurs */
.duo-recit[data-etage-actif="3"] .est-ailleurs li,
.duo-recit[data-etage-actif="4"] .est-ailleurs li {
  opacity: 1;
  transform: none;
}

.duo-recit[data-etage-actif="3"] .est-ailleurs {
  border-color: #ffffff40;
  background-color: #ffffff1a;
  box-shadow: 0 18px 30px -18px #0b1f33;
}

.duo-recit[data-etage-actif="3"] .est-nous {
  opacity: .45;
}

/* étape 4 : l'inverse, chez LocaLeads */
.duo-recit[data-etage-actif="4"] .est-ailleurs {
  opacity: .5;
}

.duo-recit[data-etage-actif="4"] .est-ailleurs li {
  text-decoration: line-through;
  text-decoration-color: #ffffff80;
}

.duo-recit[data-etage-actif="4"] .est-nous {
  border-color: var(--svc-orange);
  background-color: #ff6b3524;
  transform: scale(1.04);
  box-shadow: 0 24px 40px -20px #0b1f33, 0 0 0 4px #ff6b3526;
}

.duo-recit[data-etage-actif="4"] .est-nous li {
  opacity: 1;
  transform: none;
}

/* ---------- Où on travaille : la carte de France en points (celle de la page contact) ---------- */
.duo-carte-cadre {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.25rem;
}

.duo-carte {
  position: relative;
  width: 100%;
  max-width: 26rem;
  color: var(--svc-marine);
}

.duo-carte-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.duo-carte-points {
  opacity: .42;
  stroke-width: 6;
}

/* les liens partent de la base et se dessinent quand le bloc arrive */
.duo-carte-lien {
  fill: none;
  stroke: var(--svc-orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
  opacity: .75;
  transition: stroke-dashoffset 1.6s var(--svc-courbe);
  transition-delay: calc(.3s + var(--d, 0s));
}

html.w-mod-js:not(.svc-secours) .duo-ou:not(.est-la) .duo-carte-lien {
  stroke-dashoffset: 1;
}

.duo-carte-pulse {
  fill: var(--svc-orange);
  stroke: #fff;
  stroke-width: 3.5;
}

.duo-carte-pulse.est-base,
.duo-carte-halo.est-base {
  fill: var(--svc-marine);
}

/* un halo qui s'élargit et s'efface, à tour de rôle */
.duo-carte-halo {
  fill: var(--svc-orange);
  transform-box: fill-box;
  transform-origin: center;
  animation: duo-halo 2.8s ease-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes duo-halo {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(3.2); opacity: 0; }
}

.duo-carte-etiquette {
  position: absolute;
  padding: .3rem .7rem;
  border-radius: 999px;
  background-color: #fff;
  color: var(--svc-titre);
  font-size: .76rem;
  font-weight: var(--font-weight--medium);
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 10px 20px -12px #0b1f3380;
  transform: translate(-50%, calc(-100% - .85rem));
  transition: opacity .5s ease;
  transition-delay: calc(.9s + var(--d, 0s));
}

.duo-carte-etiquette.est-bas {
  transform: translate(-50%, .85rem);
}

.duo-carte-etiquette.est-base {
  background-color: var(--svc-marine);
  color: #fff;
}

html.w-mod-js:not(.svc-secours) .duo-ou:not(.est-la) .duo-carte-etiquette {
  opacity: 0;
}

/* ---------- Nous suivre : l'extrait de reel de l'accueil, au format vertical ---------- */
.duo-video-cadre {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem;
}

.duo-video-cadre .ll-preuves-video {
  width: 100%;
  max-width: 16rem;
  transform: rotate(-2deg);
  transition: transform .8s var(--svc-courbe);
}

.duo-suivre:hover .ll-preuves-video {
  transform: none;
}

/* ---------- Tablette et téléphone ---------- */
@media screen and (max-width: 991px) {
  .svc-vedette.est-inverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-vedette.est-inverse > .svc-vedette-visuel {
    order: 0;
  }

  .svc-vedette.est-inverse > .svc-vedette-texte {
    padding: 0 .5rem .5rem;
  }

  .duo-pola { width: 12rem; }
  .duo-pola.est-duo { width: 14rem; }
}

@media screen and (max-width: 767px) {
  .duo-hero {
    gap: 2rem;
  }

  .duo-persos {
    grid-template-columns: minmax(0, 1fr);
  }

  .duo-perso {
    padding: 1.75rem 1.5rem;
  }

  .duo-pola { width: 8.5rem; padding: .45rem .45rem 0; }
  .duo-pola.est-duo { width: 10rem; }
  .duo-pola.est-tommy { transform: translate(.75rem, 1.75rem) rotate(-7deg); }
  .duo-pola.est-emma { transform: translate(-.4rem, 1.5rem) rotate(6deg); }

  .duo-pola figcaption {
    padding: .55rem .15rem .7rem;
    font-size: .85rem;
  }

  .duo-pola figcaption small {
    font-size: .68rem;
  }

  .duo-citation-guillemet {
    height: 2.2rem;
    font-size: 5rem;
  }
}

@media screen and (max-width: 479px) {
  .duo-pola { width: 6.9rem; }
  .duo-pola.est-duo { width: 8.4rem; }

  .duo-perso-rond {
    width: 4.25rem;
    height: 4.25rem;
  }

  .duo-contre {
    gap: .5rem;
  }

  .duo-contre-col {
    padding: .9rem .75rem 1rem;
  }

  .duo-contre li {
    font-size: .8rem;
  }

  .duo-carte-cadre,
  .duo-video-cadre {
    padding: 1.5rem 1rem;
  }

  .duo-carte-etiquette {
    font-size: .68rem;
    padding: .25rem .55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .duo-carte-halo {
    animation: none;
    opacity: 0;
  }

  .duo-pola,
  .duo-perso-rond,
  .duo-scene,
  .duo-contre li,
  .duo-contre-col,
  .duo-carte-lien,
  .duo-carte-etiquette,
  .duo-video-cadre .ll-preuves-video {
    transition: none;
  }
}
