/* Page « Analyse gratuite » (/analyse/ et /analyse/merci/).
   12/10/2026 : contenu de la page de Tommy (paquet LocalRank), remis au design du site : la page est
   construite comme les pages services (css/service.css : halo, pilules, titres avec un mot orange,
   panneaux bleu marine, étapes et FAQ de l'accueil, CTA dégradé, cartes « mini » des services).
   13/10/2026 : textes d'Emma ; apparitions d'abord limitées à 300 ms sans rien au-dessus de la ligne de flottaison,
   puis (même jour, demande d'Emma) arrivée de page et apparitions des pages services (.svc-apparait) ; fond orange
   (classe an-orange sur le body : l'orange du dégradé de la charte, entre l'orange et le sable, adouci) ;
   colonne de gauche du haut de page collante avec l'aperçu de l'annonce ; chiffres des preuves qui défilent ;
   icônes des engagements légèrement animées. Ce fichier ne contient que ce qui est propre à la page (sous .an). */

:where(.an) :is(h1, h2, h3, ul, li, form, label) {
  margin: 0;
  padding: 0;
}

html:has(.an) {
  scroll-behavior: smooth;
}

/* ---------- Fond orange (essai du 13/10/2026) ----------
   Orange du dégradé de la charte (#FF6B35 → #FFD580), éclairci pour ne pas être trop vif.
   Choisi par Emma le 13/10 : juste milieu entre l'orange du premier essai (#FFB37B, mot d'accent #B03C0F)
   et le pêche clair testé (#FFDCBF, mot d'accent #C4471A).
   Pour revenir au bleu ciel des pages services : retirer la classe an-orange du <body> des deux pages. */
body.svc-page.an-orange {
  --svc-fond: #ffc89d;
  --svc-halo: #ffeddc;
  --svc-carte: #ffffff8c;
  --svc-carte-forte: #ffffffd9;
  --svc-trait: #7a2e1022;
  --svc-accent: #ba4214;            /* le mot orange des titres, plus sombre pour rester lisible sur l'orange */
}

/* sur l'orange, ce qui était orange passe en bleu marine pour rester visible */
.an-orange .an .svc-coche {
  background-color: var(--svc-marine);
}

.an-orange .svc-mini-pilule {
  background-color: var(--svc-halo);
}

/* dans les cartes blanches, l'orange vif de la charte reste lisible */
.an-orange .an .an-form-titre span {
  color: #e4531f;
}

.an-orange .an-cta-mobile .button {
  box-shadow: 0 0 0 3px #fff, 0 18px 34px -14px #0b1f33b3;
}

/* ---------- Arrivée de page et apparitions : celles des pages services (13/10/2026, demande d'Emma) ----------
   css/service.css et js/service.js : le haut de page arrive élément par élément (90 ms d'écart), le grand titre
   mot à mot (1 s par mot, 55 ms d'écart), les blocs montent en se défloutant (0,9 s). js/analyse.js découpe en plus
   les titres H2 et sépare pilule, titre et paragraphe des en-têtes. */

/* les mots découpés des titres gardent la couleur de leur groupe (seule la fin du titre est en couleur) */
.an .an-h1 .svc-w,
.an .an-h1 .svc-w > span,
.an h2 .svc-w,
.an h2 .svc-w > span {
  color: inherit;
}

/* une fois apparues, les cartes se soulèvent toujours au survol : la règle d'apparition de service.css fixe
   transform: none et ne fait la transition que de l'opacité, du mouvement et du flou */
html.w-mod-js:not(.svc-secours) .an .an-case.svc-apparait.est-la,
html.w-mod-js:not(.svc-secours) .an .an-services a.svc-mini.svc-apparait.est-la {
  transition: opacity .9s ease, transform .9s var(--svc-courbe), filter .9s ease, background-color .3s ease, box-shadow .3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  html.w-mod-js:not(.svc-secours) .an .an-case.svc-apparait.est-la:hover,
  html.w-mod-js:not(.svc-secours) .an .an-services a.svc-mini.svc-apparait.est-la:hover {
    transform: translateY(-4px);
  }
}

/* ---------- 1. Haut de page : texte + aperçu de l'annonce à gauche, formulaire à droite ---------- */
.an .an-hero {
  align-items: start;
}

/* la colonne de gauche reste en place pendant qu'on fait défiler le formulaire (ordinateur) */
.an-hero-gauche {
  position: sticky;
  top: 7rem;
}

.an .an-hero .svc-hero-texte {
  gap: 1rem;
}

/* texte d'introduction un peu plus petit que sur les pages services : la colonne de gauche doit rester moins
   haute que le formulaire pour pouvoir rester en place pendant qu'on le fait défiler */
.an .an-hero .svc-chapo {
  font-size: 1.05rem !important;
}

/* le titre de la page (H1) */
.an .an-h1 {
  font-family: Parkinsans, Arial, sans-serif;
  font-size: clamp(2.3rem, 3.9vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--svc-titre);
  text-wrap: balance;
}

.an .an-h1 span {
  color: var(--svc-accent);
}

/* l'accroche : un gros texte sous le titre, la fin en orange */
.an .an-accroche {
  max-width: 34rem;
  font-family: Parkinsans, Arial, sans-serif;
  font-size: clamp(1.25rem, 1.75vw, 1.4rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--svc-titre);
}

.an .an-accroche span {
  color: var(--svc-accent);
}

/* les quatre atouts : la liste à coches des pages services, sur deux colonnes */
.an .an-atouts {
  max-width: 34rem;
  margin: .1rem 0 0;
}

.an .an-atouts li {
  font-weight: 500;
  color: var(--svc-titre);
}

/* l'aperçu de l'annonce : le visuel d'annonces de la page Local Services, en petit */
.an-apercu {
  display: flex;
  flex-flow: column;
  gap: .65rem;
  max-width: 30rem;
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem .95rem;
  border: 1px solid #ffffff24;
  border-radius: 1.5rem;
  background-color: var(--svc-marine);
  background-image: radial-gradient(circle at 50% -40%, #9ad6ff, #1f4e7900 60%);
  box-shadow: 0 30px 60px -36px #0b1f33b3;
}

.an .an-apercu-titre {
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}

.an .an-apercu-titre span {
  color: #ffd580;
}

.an .an-apercu .svc-lsa {
  max-width: none;
  gap: .55rem;
  transition: opacity .3s ease;
}

.an .an-apercu .svc-pack-recherche {
  padding: .55rem .9rem;
  font-size: .82rem;
}

/* en petit : pas de cadre autour de l'annonce, et la ligne « Artisans sponsorisé(e)s » est masquée
   (la barre de recherche dit déjà le métier et la ville ; js/analyse.js continue de la remplir) */
.an .an-apercu .svc-lsa-bloc {
  gap: 0;
  padding: 0;
  border: 0;
  background: none;
}

.an .an-apercu .svc-lsa-titre {
  display: none;
}

.an .an-apercu .svc-lsa-carte {
  gap: .45rem;
  padding: .75rem .9rem;
}

.an .an-recherche {
  font-weight: inherit;
}

.an .an-ls-vous {
  background-color: var(--svc-orange);
}

.an .an-ls-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  color: #ffffffbf;
  font-size: .82rem;
  line-height: 1.35;
}

.an .an-ls-meta .svc-pack-etoiles svg {
  width: .85rem;
  height: .85rem;
}

.an-ls-bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.an-ls-appel {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background-color: var(--svc-orange);
  color: #fff;
  font-size: .78rem;
  font-style: normal;
  line-height: 1.2;
}

.an-ls-appel svg {
  width: .8rem;
  height: .8rem;
}

.an .an-ls-legende {
  font-size: .8rem;
  line-height: 1.45;
  color: #ffffffa6;
}

/* ---------- Le formulaire, dans une carte blanche en verre ---------- */
.an-formulaire {
  position: relative;
  padding: 2.25rem;
  border: 1px solid #ffffffb3;
  border-radius: 2rem;
  background-color: #ffffffe6;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 70px -40px #0b1f33b3, inset 0 1px 0 #fff;
  scroll-margin-top: 6.5rem;
}

/* le titre du formulaire : un texte en gras, pas une balise de titre */
.an .an-form-titre {
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--svc-titre);
  text-wrap: balance;
}

.an .an-form-titre strong {
  font-weight: 600;
}

.an .an-form-titre span {
  color: var(--svc-accent);
}

.an .an-sous {
  margin: .4rem 0 .6rem;
  font-size: .95rem;
  color: var(--svc-texte);
}

.an label {
  display: block;
  margin: 1rem 0 .45rem;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--svc-titre);
}

.an label .an-precision {
  font-weight: 400;
  color: #24425cb3;
}

.an input[type=text],
.an input[type=tel],
.an input[type=email],
.an select {
  width: 100%;
  height: auto;
  margin: 0;
  padding: .85rem 1rem;
  border: 1px solid #1f4e7933;
  border-radius: .9rem;
  background-color: #fff;
  color: var(--svc-titre);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.an input::placeholder {
  color: #24425c80;
}

.an select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%231f4e79' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.an select:invalid {
  color: #24425c80;
}

.an select option {
  color: #12304b;
}

.an input:hover,
.an select:hover {
  border-color: #1f4e7966;
}

.an input:focus,
.an select:focus {
  outline: none;
  border-color: var(--svc-orange);
  box-shadow: 0 0 0 4px #ff6b3526;
}

.an-deux {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 .9rem;
}

.an-piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* le message « éligible ou non », qui change selon le métier choisi */
.an-eligibilite {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: .8rem;
  padding: .75rem .9rem;
  border-radius: .9rem;
  font-size: .92rem;
  line-height: 1.45;
}

.an-eligibilite svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .05rem;
}

.an-eligibilite.oui { background-color: #e3f5ec; color: #155f3e; }
.an-eligibilite.a_confirmer { background-color: #fff3d6; color: #7a4a0c; }
.an-eligibilite.non { background-color: #e9f6ff; color: var(--svc-titre); }

/* bouton d'envoi : le « bouton orange » du site, sur toute la largeur (comme sur la page contact) */
.an button.an-envoi {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.375;
  letter-spacing: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.an button.an-envoi .button-text,
.an button.an-envoi .button-innershadow {
  display: block;
}

.an .an-envoi .button-inner {
  justify-content: center;
  width: 100%;
}

/* le texte des boutons est animé lettre par lettre : il doit tenir sur une ligne */
.an .button-text,
.an-cta-mobile .button-text {
  white-space: nowrap;
}

.an .an-rassure {
  margin-top: .85rem;
  font-size: .82rem;
  line-height: 1.5;
  text-align: center;
  color: #24425cb3;
}

/* « Vous préférez en parler de vive voix ? » juste sous le formulaire */
.an .an-vive-voix {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #1f4e7926;
  font-size: .95rem;
  line-height: 1.5;
  text-align: center;
  color: var(--svc-titre);
}

.an .an-vive-voix a {
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 2. Ce que contient votre analyse : six cartes, chacune avec son dessin ---------- */
.an .an-intro {
  max-width: 36rem;
  color: var(--svc-texte);
}

.an-contenu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.an-case {
  display: flex;
  flex-flow: column;
  gap: .55rem;
  padding: .75rem .75rem 1.6rem;
  border: 1px solid var(--svc-trait);
  border-radius: 1.5rem;
  background-color: var(--svc-carte);
  transition: opacity .3s ease, transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.an-case:hover {
  background-color: var(--svc-carte-forte);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px #0b1f3380;
}

.an .an-case h3 {
  margin: .9rem .75rem 0;
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--svc-titre);
}

.an .an-case p {
  margin: 0 .75rem;
  font-size: .98rem;
  line-height: 1.55;
  color: var(--svc-texte);
}

/* la carte bonus : bleu marine et titre en sable (comme les engagements), pour la distinguer des cinq autres ;
   son dessin passe sur un fond translucide pour ne pas se fondre dans la carte */
.an-case.est-bonus,
.an-case.est-bonus:hover {
  border-color: #ffffff1f;
  background-color: #12304b;
  background-image: radial-gradient(circle at 85% -30%, #2c669b, #12304b00 55%);
}

.an .an-case.est-bonus h3 {
  color: #ffd580;
}

.an .an-case.est-bonus p {
  color: #ffffffcc;
}

.an-case.est-bonus .an-vignette {
  border-color: #ffffff1f;
  background-color: #ffffff0d;
  background-image: radial-gradient(circle at 50% 115%, #ff6b354d, #ff6b3500 65%);
}

/* la vignette : un petit panneau bleu marine, comme les visuels des pages services */
.an-vignette {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 9.5rem;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 1.1rem;
  background-color: var(--svc-marine);
  background-image: radial-gradient(circle at 50% -40%, #9ad6ff, #1f4e7900 60%);
}

/* la position sur Google Maps : 25 points sur un quadrillage de carte, le point du milieu = chez vous */
.an-vignette.est-carte {
  background-image:
    radial-gradient(circle at 50% -40%, #9ad6ff, #1f4e7900 60%),
    linear-gradient(#ffffff0d 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: auto, 1.1rem 1.1rem, 1.1rem 1.1rem;
}

.an-grille {
  display: grid;
  grid-template-columns: repeat(5, .95rem);
  gap: .5rem;
}

.an-grille i {
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ffffff1f;
  transition: transform .2s ease;
  transition-delay: calc(var(--i, 0) * 4ms);
}

.an-grille .v { background-color: #2fbf7f; }
.an-grille .o { background-color: #ffb547; }
.an-grille .r { background-color: #ff6b5e; }
.an-grille .g { background-color: #ffffff38; box-shadow: none; }

.an-grille i:nth-child(13) {
  box-shadow: 0 0 0 3px #fff, 0 0 14px 3px #ffffff80;
}

/* vous face à vos concurrents : deux barres pleines, la vôtre en orange */
.an-barres {
  display: flex;
  flex-flow: column;
  gap: .7rem;
  width: 74%;
}

.an-barres div {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.an-barres b {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background-color: #ffffff4d;
}

.an-barres i {
  display: block;
  height: .6rem;
  border-radius: 999px;
  background-color: #ffffff59;
  transform-origin: left;
  transition: transform .3s ease;
}

.an-barres .an-vous b {
  background-color: var(--svc-orange);
  box-shadow: 0 0 0 2px #ffffffd9;
}

.an-barres .an-vous i {
  background-color: var(--svc-orange);
  box-shadow: 0 0 12px #ff6b3599;
}

/* votre site internet : un petit téléphone, son écran et le bouton « Appeler » orange */
.an-telephone {
  position: relative;
  width: 5.4rem;
  height: 8.3rem;
  padding: .75rem .5rem .55rem;
  border: 2px solid #ffffff73;
  border-radius: 1rem;
  background-color: #ffffff12;
  box-shadow: 0 14px 24px -12px #0b1f33;
}

.an-telephone::before {
  content: "";
  position: absolute;
  top: .3rem;
  left: 50%;
  width: 1.2rem;
  height: .22rem;
  border-radius: 999px;
  background-color: #ffffff59;
  transform: translateX(-50%);
}

.an-tel-ecran {
  display: flex;
  flex-flow: column;
  gap: .32rem;
  height: 100%;
}

.an-tel-ecran i {
  display: block;
  height: .3rem;
  border-radius: 999px;
  background-color: #ffffff59;
}

.an-tel-ecran i.an-tel-titre {
  width: 70%;
  height: .42rem;
  margin-bottom: .1rem;
  background-color: #ffffffb3;
}

.an-tel-ecran i.court {
  width: 60%;
}

.an-tel-ecran b {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .18rem;
  margin-top: auto;
  padding: .28rem 0;
  border-radius: 999px;
  background-color: var(--svc-orange);
  color: #fff;
  font-family: var(--font-family--text);
  font-size: .62rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 10px #ff6b3599;
}

.an-tel-ecran b svg {
  width: .6rem;
  height: .6rem;
}

/* vos corrections prioritaires : une liste numérotée, pastilles orange */
.an-liste-num {
  display: flex;
  flex-flow: column;
  gap: .7rem;
  width: 74%;
}

.an-liste-num div {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.an-liste-num b {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background-color: var(--svc-orange);
  color: #fff;
  font-family: var(--font-family--text);
  font-size: .75rem;
  font-weight: 600;
  box-shadow: 0 0 10px #ff6b3580;
}

.an-liste-num i {
  flex: 1;
  height: .55rem;
  border-radius: 999px;
  background-color: #ffffff59;
}

/* les annonces de votre zone : une mini-annonce bordée d'orange */
.an-mini-annonce {
  display: flex;
  flex-flow: column;
  gap: .45rem;
  width: 78%;
  padding: .75rem .85rem;
  border: 1px solid var(--svc-orange);
  border-radius: .8rem;
  background-color: #ff6b3526;
}

.an-mini-annonce i {
  display: block;
  height: .45rem;
  border-radius: 999px;
  background-color: #ffffff73;
}

.an-mini-annonce i.an-vous {
  width: 60%;
  background-color: var(--svc-orange);
}

/* sous les traits : les étoiles et le bouton Appeler, dessinés */
.an-mini-annonce em {
  display: flex;
  align-items: center;
  margin-top: .15rem;
}

.an-mini-annonce em::before {
  content: "";
  width: 3.4rem;
  height: .45rem;
  background-image: radial-gradient(circle, #ffd580 .2rem, transparent .22rem);
  background-size: .68rem .45rem;
}

.an-mini-annonce em::after {
  content: "";
  width: 2.4rem;
  height: .85rem;
  margin-left: auto;
  border-radius: 999px;
  background-color: var(--svc-orange);
}

/* le bonus : le cadeau, en trait orange lumineux */
.an-cadeau-ico {
  display: flex;
  color: #ff8a5c;
  filter: drop-shadow(0 0 6px #ff6b35cc) drop-shadow(0 0 14px #ff6b3566);
}

/* les dessins s'animent quand la carte arrive à l'écran (sans JavaScript, ils restent affichés) */
html.w-mod-js:not(.svc-secours) .an-case.svc-apparait:not(.est-la) .an-grille i { transform: scale(0); }
html.w-mod-js:not(.svc-secours) .an-case.svc-apparait:not(.est-la) .an-barres i { transform: scaleX(0); }

/* ---------- 3. Les preuves : le panneau sombre des pages services, quatre cartes ---------- */
.an .an-preuves {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.an-preuve {
  display: flex;
  flex-flow: column;
  gap: .35rem;
  padding: 1.9rem 1.6rem;
  border: 1px solid #ffffff1a;
  border-radius: 1.5rem;
  background-color: #ffffff0a;
  background-image: linear-gradient(180deg, #ffffff0f, #ffffff00);
  transition: background-color .3s ease, transform .3s ease;
}

.an-preuve:hover {
  background-color: #ffffff14;
  transform: translateY(-4px);
}

/* le grand chiffre, qui défile jusqu'à sa valeur (js/analyse.js) */
.an-p-chiffre {
  margin-bottom: .5rem;
  font-family: Parkinsans, Arial, sans-serif;
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  color: #ff8a5c;
  text-shadow: 0 0 18px #ff6b3566;
}

.an-compte {
  font-variant-numeric: tabular-nums;
}

.an-p-chiffre small {
  font-size: .42em;
  letter-spacing: 0;
}

.an-p-libelle {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.an-p-qui {
  margin-top: .5rem;
  font-size: .92rem;
  font-weight: 600;
  color: #ffd580;
}

.an-p-detail {
  font-size: .85rem;
  line-height: 1.5;
  color: #ffffff99;
}

/* ---------- 5. Et ensuite ? Titre collant à gauche, cartes services à droite (.svc-duo.est-colle) ----------
   Les libellés des boutons sont plus longs que « Découvrir » : la colonne de texte des cartes est un peu plus large. */
.an .an-services .svc-duo-texte .svc-h2 {
  text-align: left;
}

.an .an-services a.svc-mini {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.an .an-services .ll-bouton-carte .button-inner {
  padding-right: 1.15rem;
  padding-left: 1.15rem;
}

/* écrans moyens : les cartes passent sous le titre, en pleine largeur (les boutons n'auraient plus la place) */
@media screen and (max-width: 1199px) {
  .an .an-services.svc-duo.est-colle {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .an .an-services .svc-duo-texte {
    position: static;
    max-width: 44rem;
  }
}

/* ---------- 6. Les engagements : quatre encadrés bleu marine, titre en sable, icônes animées ---------- */
.an-engagements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 65rem;
  margin: 0 auto;
}

.an-engagement {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid #ffffff1f;
  border-radius: 1.75rem;
  background-color: #12304b;
  background-image:
    radial-gradient(ellipse 45% 90% at 0% 50%, #ff6b3547, #ff6b3500 70%),
    radial-gradient(circle at 85% -30%, #2c669b, #12304b00 55%);
  box-shadow: 0 40px 70px -40px #0b1f33e6;
}

.an-engagement-ico {
  flex: none;
  display: flex;
  color: #ff8a5c;
  filter: drop-shadow(0 0 6px #ff6b35cc) drop-shadow(0 0 14px #ff6b3566);
}

.an .an-engagement h3 {
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: #ffd580;
}

.an .an-engagement p {
  margin-top: .4rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #ffffffcc;
}

/* les icônes bougent un peu, comme celles de « Votre tranquillité d'esprit. Garantie. » sur l'accueil :
   elles flottent, et un détail s'anime (le € brille, la signature s'écrit, l'anse se lève, le centre bat) */
.an-engagement-ico .an-flotte {
  animation: an-flotte 3s ease-in-out infinite;
}

.an-engagement:nth-child(2) .an-flotte { animation-delay: -.8s; }
.an-engagement:nth-child(3) .an-flotte { animation-delay: -1.6s; }
.an-engagement:nth-child(4) .an-flotte { animation-delay: -2.4s; }

@keyframes an-flotte {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.6px); }
}

.an-engagement-ico .an-brille {
  animation: an-brille 2.4s ease-in-out infinite;
}

@keyframes an-brille {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.an-engagement-ico .an-signature {
  stroke-dasharray: 12;
  stroke-dashoffset: 12;
  animation: an-signe 2.6s ease-in-out infinite;
}

@keyframes an-signe {
  0% { stroke-dashoffset: 12; opacity: 1; }
  60% { stroke-dashoffset: 0; opacity: 1; }
  85% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 12; opacity: 0; }
}

.an-engagement-ico .an-anse {
  transform-box: fill-box;
  transform-origin: 0 100%;
  animation: an-anse 3s ease-in-out infinite;
}

@keyframes an-anse {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-1px) rotate(-8deg); }
}

.an-engagement-ico .an-coeur {
  transform-box: fill-box;
  transform-origin: center;
  animation: an-coeur 1.6s ease-in-out infinite;
}

@keyframes an-coeur {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.7); }
}

/* ---------- 7. Bloc final et 8. FAQ ---------- */
.an-cta-boutons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.an .svc-faq .heading-style-h2 .text-span-4 {
  color: var(--svc-accent);
}

/* ouverture des questions : 300 ms au plus */
.an .svc-faq .faq-item-bottom-wrap,
.an .svc-faq .faq-item-icon-icon {
  transition-duration: .3s;
}

/* titres : lignes équilibrées (pas de mot seul sur la dernière ligne) */
.an .svc-h2 {
  text-wrap: balance;
}

/* ---------- Barre fixe en bas d'écran sur téléphone (cachée quand le formulaire est à l'écran) ---------- */
.an-cta-mobile {
  display: none;
}

/* ---------- Page de remerciement ---------- */
.an .an-merci {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.an-merci .an-rond {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-image: linear-gradient(#2c669b, #1f4e79);
  color: #fff;
  box-shadow: inset 0 1px 1px #ffffff66, 0 12px 20px -12px #1f4e79cc;
}

.an-merci .an-rond svg {
  width: 1.9rem;
  height: 1.9rem;
}

.an .an-merci .an-h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.an .an-merci p {
  margin-top: .9rem;
  color: var(--svc-texte);
  text-wrap: pretty;
}

.an-merci .an-cta-boutons {
  margin-top: 1.75rem;
}

.an .an-retour {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: .95rem;
  font-weight: 500;
}

/* ---------- Tablette et téléphone ---------- */
@media screen and (max-width: 991px) {
  /* plus de colonne collante : texte, formulaire, puis aperçu de l'annonce */
  .an-hero-gauche {
    display: contents;
  }

  .an-hero-gauche > .svc-hero-texte { order: 1; }
  .an .an-hero > .an-formulaire { order: 2; }
  .an-hero-gauche > .an-apercu { order: 3; margin-top: 0; }

  .an-contenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .an .an-preuves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .an-formulaire {
    padding: 1.75rem 1.25rem;
    border-radius: 1.5rem;
  }

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

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

  .an-engagement {
    padding: 1.6rem 1.4rem;
  }

  .an .an-services a.svc-mini {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 560px) {
  .an-deux {
    grid-template-columns: minmax(0, 1fr);
  }

  .an-contenu,
  .an .an-preuves {
    grid-template-columns: minmax(0, 1fr);
  }

  .an-vignette {
    height: 8rem;
  }

  .an-telephone {
    width: 4.8rem;
    height: 7rem;
  }

  /* sur téléphone, les boutons des cartes prennent la largeur et restent sur une ligne */
  .an .an-services a.svc-mini {
    padding: .9rem;
  }

  .an .an-services .svc-mini-texte {
    padding: 0 .25rem .25rem;
  }

  .an .an-services .ll-bouton-carte {
    align-self: stretch;
  }

  .an .an-services .ll-bouton-carte .button-inner {
    padding-right: .9rem;
    padding-left: .9rem;
  }

  .an .an-services .ll-bouton-carte .button-text {
    font-size: .84rem;
  }

  .an-cta-mobile {
    display: block;
    position: fixed;
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
    z-index: 50;
    transition: transform .3s ease, opacity .3s ease;
  }

  .an-cta-mobile.an-cache {
    transform: translateY(6rem);
    opacity: 0;
    pointer-events: none;
  }

  .an-cta-mobile .button {
    width: 100%;
    box-shadow: 0 18px 34px -14px #0b1f33b3;
  }

  .an-cta-mobile .button-inner {
    justify-content: center;
    width: 100%;
  }

  /* la barre fixe ne doit pas cacher le bas du pied de page */
  .an-avec-barre .footer {
    padding-bottom: 5rem;
  }
}

/* très petits écrans : les textes de bouton restent sur une ligne */
@media screen and (max-width: 380px) {
  .an .an-envoi .button-inner,
  .an-cta-mobile .button-inner {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .an .an-envoi .button-text,
  .an-cta-mobile .button-text {
    font-size: .86rem;
  }

  .an-formulaire {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* moins d'animations demandées : rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  /* la règle « réduire les animations » de service.css est moins forte que sa règle d'apparition :
     sans ceci, les blocs glisseraient et apparaîtraient quand même en fondu pendant 0,9 s */
  html.w-mod-js:not(.svc-secours) .an .svc-apparait:not(.svc-mots) {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  html.w-mod-js:not(.svc-secours) .an .svc-mots .svc-w > span {
    transform: none;
    transition: none;
  }

  html:has(.an) {
    scroll-behavior: auto;
  }

  .an-grille i,
  .an-barres i,
  .an-case,
  .an-preuve,
  .an-cta-mobile,
  .an .an-services a.svc-mini {
    transition: none;
  }

  .an-case:hover,
  .an-preuve:hover,
  .an .an-services a.svc-mini:hover {
    transform: none;
  }

  .an-engagement-ico .an-flotte,
  .an-engagement-ico .an-brille,
  .an-engagement-ico .an-signature,
  .an-engagement-ico .an-anse,
  .an-engagement-ico .an-coeur {
    animation: none;
  }

  .an-engagement-ico .an-signature {
    stroke-dashoffset: 0;
  }
}
