/* ==========================================================
   AS Communication Digital — Styles du site
   Les couleurs et polices viennent de charte.css
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--as-police-texte);
  font-size: 17px;
  line-height: 1.65;
  color: var(--as-texte);
  background: var(--as-fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--as-police-titres);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--as-marine);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { color: var(--as-texte-doux); }

.conteneur { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--as-fond-alt); }
.centre { text-align: center; }
.centre .intro { margin-inline: auto; }
.intro { max-width: 640px; font-size: 1.1rem; margin-top: 18px; }

/* Le motif du logo : capitales espacées encadrées de deux traits ("— DIGITAL —") */
.surtitre {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--as-police-titres);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--as-bleu);
  margin-bottom: 18px;
}
.surtitre::before, .surtitre::after {
  content: ""; width: 28px; height: 1.5px; background: currentColor;
}
.surtitre--gauche::before { display: none; }

.accent { color: var(--as-bleu); }

/* Champs encore à compléter (visibles dans la maquette) */
.a-completer {
  background: #FFF3C4;
  border-bottom: 1.5px dashed #D99A00;
  padding: 0 4px;
  border-radius: 3px;
  color: #6B4E00;
  cursor: help;
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.bouton svg { width: 18px; height: 18px; transition: transform .2s ease; }
.bouton:hover svg { transform: translateX(3px); }
.bouton--plein { background: var(--as-bleu); color: #fff; box-shadow: 0 10px 24px rgba(31, 107, 255, .28); }
.bouton--plein:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31, 107, 255, .36); }
.bouton--contour { border-color: var(--as-bordure); color: var(--as-marine); background: #fff; }
.bouton--contour:hover { border-color: var(--as-marine); }
.bouton--blanc { background: #fff; color: var(--as-marine); }
.bouton--blanc:hover { transform: translateY(-2px); }
.bouton--large { width: 100%; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.entete.defile { border-color: var(--as-bordure); box-shadow: 0 6px 20px rgba(11, 28, 72, .05); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }

/* Logo recadré en CSS (le fichier d'origine a beaucoup de blanc autour) */
.logo { display: block; width: 112px; aspect-ratio: 675 / 480; overflow: hidden; flex-shrink: 0; }
.logo img { height: auto; width: 185.78%; max-width: none; margin-left: -42.96%; margin-top: -54.81%; mix-blend-mode: multiply; }
.logo--grand { width: 150px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--as-marine); position: relative; }
.nav a:not(.bouton)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--as-bleu); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.bouton):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .bouton { padding: 11px 20px; font-size: .93rem; }

.menu-mobile { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-mobile span { display: block; width: 24px; height: 2px; background: var(--as-marine); margin: 5px auto; transition: transform .25s, opacity .25s; }

/* ---------- Héros ---------- */
.heros { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.heros::before {
  /* Fond : quadrillage de plan très léger + halo bleu */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 420px at 85% 30%, rgba(31, 107, 255, .14), transparent 70%),
    linear-gradient(rgba(11, 28, 72, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(11, 28, 72, .045) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.heros__grille { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.heros h1 { margin-bottom: 22px; }
.heros__texte > p { font-size: 1.18rem; max-width: 520px; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.garanties { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.garanties li { display: flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 500; color: var(--as-marine); }
.garanties svg { width: 18px; height: 18px; color: var(--as-bleu); flex-shrink: 0; }

/* Maquette de recherche locale (le moment clé de la page) */
.recherche { position: relative; }
.recherche__carte {
  background: #fff; border-radius: 22px; border: 1px solid var(--as-bordure);
  box-shadow: 0 30px 70px rgba(11, 28, 72, .14);
  overflow: hidden;
}
.recherche__barre {
  display: flex; align-items: center; gap: 12px;
  margin: 16px; padding: 13px 18px;
  border: 1px solid var(--as-bordure); border-radius: 999px;
  font-size: .95rem; color: var(--as-marine);
}
.recherche__barre svg { width: 18px; height: 18px; color: var(--as-texte-doux); }
.curseur { display: inline-block; width: 1.5px; height: 1.1em; background: var(--as-bleu); vertical-align: -2px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }

.plan { position: relative; height: 170px; background: #EEF2F8; overflow: hidden; }
.plan svg.routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.epingle { position: absolute; width: 26px; height: 26px; transform: translate(-50%, -100%); }
.epingle svg { width: 100%; height: 100%; }
.epingle--client { width: 40px; height: 40px; animation: rebond 0.7s 1.7s both cubic-bezier(.3, 1.6, .5, 1); z-index: 2; }
.epingle--client::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 34px; height: 10px; transform: translateX(-50%);
  background: radial-gradient(rgba(31, 107, 255, .35), transparent 70%); border-radius: 50%;
}
@keyframes rebond { from { transform: translate(-50%, -160%) scale(.4); opacity: 0; } to { transform: translate(-50%, -100%) scale(1); opacity: 1; } }

.resultats { position: relative; padding: 14px 16px 18px; display: grid; gap: 10px; }
.resultat {
  --h: 82px;
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px;
  height: 72px; padding: 0 14px;
  border-radius: 14px; border: 1px solid var(--as-bordure); background: #fff;
}
.resultat__icone { width: 44px; height: 44px; border-radius: 12px; background: var(--as-fond-alt); display: grid; place-items: center; font-weight: 700; color: var(--as-texte-doux); font-size: .9rem; }
.resultat__nom { font-weight: 600; font-size: .98rem; color: var(--as-marine); line-height: 1.3; }
.resultat__note { font-size: .84rem; color: var(--as-texte-doux); }
.etoiles { color: #F5A524; letter-spacing: 1px; }
.etoiles .vide { color: #D6DBE5; }
.resultat__statut { font-size: .78rem; font-weight: 600; color: #178A4C; }
.resultat--client { border-color: var(--as-bleu); box-shadow: 0 10px 26px rgba(31, 107, 255, .18); z-index: 2; animation: monte 1s .9s both cubic-bezier(.65, 0, .25, 1); }
.resultat--client .resultat__icone { background: var(--as-bleu); color: #fff; }
.resultat--autre { animation: descend 1s .9s both cubic-bezier(.65, 0, .25, 1); }
.badge-tete { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--as-bleu); background: var(--as-bleu-clair); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@keyframes monte { from { transform: translateY(calc(var(--h) * 2)); } to { transform: none; } }
@keyframes descend { from { transform: translateY(calc(var(--h) * -1)); } to { transform: none; } }

.puce-flottante {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 11px 15px;
  box-shadow: 0 16px 40px rgba(11, 28, 72, .14);
  font-size: .86rem; font-weight: 600; color: var(--as-marine);
  animation: apparait .6s both ease-out;
}
.puce-flottante small { display: block; font-weight: 500; color: var(--as-texte-doux); font-size: .76rem; }
.puce-flottante .rond { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--as-bleu-clair); color: var(--as-bleu); flex-shrink: 0; }
.puce-flottante .rond svg { width: 17px; height: 17px; }
.puce-flottante--1 { top: 34%; left: -46px; animation-delay: 2.2s; }
.puce-flottante--2 { bottom: -22px; right: -24px; animation-delay: 2.6s; }
@keyframes apparait { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Bandeau secteurs ---------- */
.secteurs { border-block: 1px solid var(--as-bordure); padding: 26px 0; }
.secteurs__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; }
.secteurs__titre { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--as-texte-doux); }
.secteurs__ligne span:not(.secteurs__titre) { font-family: var(--as-police-titres); font-weight: 700; color: var(--as-marine); font-size: 1.02rem; }
.secteurs__ligne i { width: 5px; height: 5px; border-radius: 50%; background: var(--as-bleu); display: inline-block; }

/* ---------- Bénéfices ---------- */
.benefices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--as-bordure); }
.benefice { padding: 40px 36px 8px 0; }
.benefice + .benefice { padding-left: 36px; border-left: 1px solid var(--as-bordure); }
.benefice__num { font-family: var(--as-police-titres); font-weight: 800; font-size: .9rem; color: var(--as-bleu); letter-spacing: .1em; }
.benefice h3 { margin: 14px 0 10px; font-size: 1.45rem; }

/* ---------- Mois type ---------- */
.mois { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.calendrier { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.semaine { background: #fff; border: 1px solid var(--as-bordure); border-radius: 18px; padding: 20px 18px; display: grid; gap: 12px; align-content: start; }
.semaine__titre { font-family: var(--as-police-titres); font-weight: 800; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--as-texte-doux); }
.tache { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: var(--as-marine); line-height: 1.3; }
.tache i { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.tache--post i { background: var(--as-bleu); }
.tache--photo i { background: #7AA6FF; }
.tache--avis i { background: #F5A524; }
.tache--promo i { background: var(--as-marine); }
.legende { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.legende .tache { font-size: .85rem; color: var(--as-texte-doux); }

/* ---------- Offres ---------- */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; align-items: stretch; }
.offre {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--as-bordure); border-radius: 24px;
  padding: 38px 32px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.offre:hover { transform: translateY(-4px); box-shadow: var(--as-ombre); }
.offre__niveau { font-family: var(--as-police-titres); font-size: .76rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--as-bleu); }
.offre h3 { font-size: 1.75rem; margin: 10px 0 8px; }
.offre__accroche { font-size: .96rem; min-height: 3.2em; }
.prix { display: flex; align-items: baseline; gap: 6px; margin: 26px 0 4px; }
.prix strong { font-family: var(--as-police-titres); font-size: 3.2rem; font-weight: 800; color: var(--as-marine); line-height: 1; letter-spacing: -0.03em; }
.prix span { font-weight: 600; color: var(--as-marine); }
.prix-ht { font-size: .86rem; color: var(--as-texte-doux); }
.offre__liste { display: grid; gap: 13px; margin: 28px 0 32px; padding-top: 26px; border-top: 1px solid var(--as-bordure); flex-grow: 1; }
.offre__liste li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; font-size: .96rem; line-height: 1.45; color: var(--as-marine); }
.offre__liste svg { width: 20px; height: 20px; color: var(--as-bleu); margin-top: 1px; }
.offre__liste .inclus { font-weight: 700; grid-template-columns: 1fr; color: var(--as-texte-doux); font-size: .88rem; }
.offre__badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--as-bleu); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  padding: 6px 13px; border-radius: 999px;
}
.offre--sombre { background: var(--as-marine); border-color: var(--as-marine); color: #fff; }
.offre--sombre::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px 260px at 100% 0%, rgba(31, 107, 255, .45), transparent 70%);
}
.offre--sombre > * { position: relative; }
.offre--sombre > .offre__badge { position: absolute; }
.offre--sombre h3, .offre--sombre .prix strong, .offre--sombre .prix span, .offre--sombre .offre__liste li { color: #fff; }
.offre--sombre .offre__niveau, .offre--sombre .offre__liste svg { color: #7AA6FF; }
.offre--sombre p, .offre--sombre .prix-ht, .offre--sombre .offre__liste .inclus { color: rgba(255, 255, 255, .7); }
.offre--sombre .offre__liste { border-color: rgba(255, 255, 255, .15); }
.offre--sombre .offre__badge { background: #fff; color: var(--as-marine); }
.offre--mise-en-avant { border: 2px solid var(--as-bleu); }
.mention-prix { margin-top: 28px; font-size: .92rem; }

/* ---------- Méthode ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; counter-reset: etape; position: relative; }
.etapes::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--as-bleu) 0 8px, transparent 8px 16px); opacity: .5; }
.etape { position: relative; }
.etape__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--as-bleu); color: var(--as-bleu);
  font-family: var(--as-police-titres); font-weight: 800; font-size: 1.05rem; margin-bottom: 22px;
}
.etape:first-child .etape__num { background: var(--as-bleu); color: #fff; }
.etape h3 { margin-bottom: 8px; }
.etape p { font-size: .97rem; }

/* ---------- Pourquoi nous ---------- */
.pourquoi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.atout { background: #fff; border: 1px solid var(--as-bordure); border-radius: 20px; padding: 26px; }
.atout__icone { width: 46px; height: 46px; border-radius: 13px; background: var(--as-bleu-clair); color: var(--as-bleu); display: grid; place-items: center; margin-bottom: 16px; }
.atout__icone svg { width: 22px; height: 22px; }
.atout h3 { font-size: 1.08rem; margin-bottom: 6px; }
.atout p { font-size: .93rem; line-height: 1.55; }
.drapeau { display: inline-flex; height: 14px; width: 21px; border-radius: 2px; overflow: hidden; vertical-align: -2px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.drapeau i { flex: 1; }

/* ---------- Portraits & équipe ---------- */
.portrait { display: block; width: 160px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--as-fond-alt); box-shadow: 0 0 0 6px #fff, 0 0 0 7.5px var(--as-bordure); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.duo { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.duo__photos { display: flex; }
.duo .portrait { width: 46px; box-shadow: 0 0 0 3px #fff; }
.duo .portrait + .portrait { margin-left: -12px; }
.duo p { font-size: .92rem; line-height: 1.4; }
.duo strong { color: var(--as-marine); }

.equipe { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.associe {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center;
  background: #fff; border: 1px solid var(--as-bordure); border-radius: 26px; padding: 34px;
  overflow: hidden;
}
.associe::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(var(--as-bleu-clair), transparent 70%); pointer-events: none;
}
.associe h3 { font-size: 1.5rem; }
.associe__role { display: block; font-family: var(--as-police-titres); font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--as-bleu); margin: 6px 0 12px; }
.associe p { font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 52px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--as-bordure); border-radius: 16px; padding: 0 26px; transition: border-color .2s; }
.faq details[open] { border-color: var(--as-bleu); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.05rem; color: var(--as-marine); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--as-bleu); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; }

/* ---------- Appel à l'action ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--as-marine); color: #fff; border-radius: 30px;
  padding: clamp(48px, 7vw, 84px) clamp(28px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 300px at 100% 100%, rgba(31, 107, 255, .55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .75); margin-top: 14px; font-size: 1.08rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--as-fond-alt); border-top: 1px solid var(--as-bordure); padding: 64px 0 28px; margin-top: clamp(72px, 10vw, 128px); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pied__titre { font-family: var(--as-police-titres); font-weight: 800; color: var(--as-marine); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.pied li { margin-bottom: 9px; font-size: .94rem; overflow-wrap: anywhere; }
.pied a { text-decoration: none; color: var(--as-texte-doux); }
.pied a:hover { color: var(--as-bleu); }
.pied__desc { font-size: .93rem; margin-top: 16px; max-width: 320px; }
.pied .logo img { mix-blend-mode: multiply; }
.pied__bas { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--as-bordure); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--as-texte-doux); }

/* ---------- Pages intérieures ---------- */
.page-titre { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-titre::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(31, 107, 255, .12), transparent 70%),
    linear-gradient(rgba(11, 28, 72, .04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(11, 28, 72, .04) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}

/* Tableau comparatif */
.tableau-wrap { overflow-x: auto; margin-top: 48px; border: 1px solid var(--as-bordure); border-radius: 22px; background: #fff; }
.comparatif { width: 100%; border-collapse: collapse; min-width: 680px; }
.comparatif th, .comparatif td { padding: 17px 22px; text-align: center; border-bottom: 1px solid var(--as-bordure); font-size: .96rem; }
.comparatif th:first-child, .comparatif td:first-child { text-align: left; color: var(--as-marine); font-weight: 500; }
.comparatif thead th { font-family: var(--as-police-titres); font-size: 1.15rem; color: var(--as-marine); padding-top: 26px; }
.comparatif thead th small { display: block; font-family: var(--as-police-texte); font-weight: 600; color: var(--as-bleu); font-size: .95rem; margin-top: 4px; }
.comparatif tr:last-child td { border-bottom: 0; }
.comparatif .col-forte { background: var(--as-bleu-clair); }
.comparatif svg { width: 22px; height: 22px; color: var(--as-bleu); margin: auto; }
.comparatif td:not(:first-child) { color: var(--as-bleu); font-weight: 700; }
.comparatif td.non { color: #C3CAD7; font-weight: 400; }

.bloc-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.carte-info { background: #fff; border: 1px solid var(--as-bordure); border-radius: 22px; padding: 32px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pastilles span { border: 1px solid var(--as-bordure); background: #fff; border-radius: 999px; padding: 8px 15px; font-size: .9rem; font-weight: 500; color: var(--as-marine); }

/* Plaque NFC */
.plaque {
  width: min(300px, 100%); aspect-ratio: 1; margin: auto; border-radius: 28px;
  background: linear-gradient(145deg, #12275E, var(--as-marine));
  box-shadow: 0 30px 60px rgba(11, 28, 72, .3), inset 0 1px 0 rgba(255,255,255,.15);
  color: #fff; display: grid; place-items: center; text-align: center; padding: 30px;
  transform: rotate(-4deg);
}
.plaque__qr { width: 120px; height: 120px; background: #fff; border-radius: 14px; padding: 10px; margin: 14px auto; }
.plaque__qr svg { width: 100%; height: 100%; }
.plaque strong { font-family: var(--as-police-titres); font-size: 1.1rem; }
.plaque small { color: rgba(255,255,255,.7); font-size: .8rem; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Formulaire */
.contact-grille { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; }
.formulaire { background: #fff; border: 1px solid var(--as-bordure); border-radius: 24px; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.champ { display: grid; gap: 7px; }
.champ--plein { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .92rem; color: var(--as-marine); }
.champ label .facultatif { font-weight: 400; color: var(--as-texte-doux); }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--as-bordure); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--as-bleu); box-shadow: 0 0 0 4px rgba(31, 107, 255, .14); }
.consentement { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .88rem; color: var(--as-texte-doux); }
.consentement input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--as-bleu); }
.info-rgpd { grid-column: 1 / -1; font-size: .8rem; line-height: 1.5; }
.message-envoi { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 12px; background: var(--as-bleu-clair); color: var(--as-marine); font-weight: 500; }
.message-envoi.visible { display: block; }
.coordonnees { display: grid; gap: 16px; }
.coordonnee { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--as-bordure); border-radius: 18px; padding: 18px; }
.coordonnee strong { display: block; color: var(--as-marine); font-size: .95rem; }
.coordonnee span, .coordonnee a { font-size: .92rem; color: var(--as-texte-doux); text-decoration: none; overflow-wrap: anywhere; }
.coordonnee a:hover { color: var(--as-bleu); }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin: 48px 0 14px; padding-top: 8px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal p, .legal li { margin-bottom: 12px; color: var(--as-texte-doux); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal strong { color: var(--as-marine); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: .95rem; }
.legal td { border-bottom: 1px solid var(--as-bordure); padding: 11px 8px; vertical-align: top; color: var(--as-texte-doux); }
.legal td:first-child { color: var(--as-marine); font-weight: 600; width: 38%; }
.sommaire { background: var(--as-fond-alt); border-radius: 18px; padding: 24px 28px; margin-top: 8px; }
.sommaire ol { padding-left: 20px; columns: 2; column-gap: 32px; }
.sommaire li { margin-bottom: 6px; font-size: .94rem; }
.sommaire a { color: var(--as-marine); text-decoration: none; }
.sommaire a:hover { color: var(--as-bleu); }
.maj { font-size: .9rem; margin-top: 12px; }

/* ---------- Apparition au défilement ---------- */
.revele { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.revele.visible { opacity: 1; transform: none; }
.revele[data-delai="1"] { transition-delay: .1s; }
.revele[data-delai="2"] { transition-delay: .2s; }
.revele[data-delai="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revele { opacity: 1; transform: none; }
}

/* ---------- Tablette et mobile ---------- */
@media (max-width: 1200px) {
  .calendrier { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .heros__grille, .mois, .pourquoi, .bloc-2col, .contact-grille { grid-template-columns: 1fr; }
  .recherche { max-width: 540px; margin: 0 auto; }
  .puce-flottante--1 { left: -12px; }
  .puce-flottante--2 { right: -8px; }
  .offres { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .etapes { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .etapes::before { display: none; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-mobile { display: block; }
  .nav {
    position: fixed; inset: 92px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--as-bordure); padding: 8px 20px 24px;
    box-shadow: 0 20px 40px rgba(11, 28, 72, .08);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .entete.ouvert .nav { opacity: 1; visibility: visible; }
  .nav a:not(.bouton) { padding: 15px 0; border-bottom: 1px solid var(--as-bordure); }
  .nav a:not(.bouton)::after { display: none; }
  .nav .bouton { margin-top: 18px; }
  .entete.ouvert .nav { transform: none; }
  .entete.ouvert .menu-mobile span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .entete.ouvert .menu-mobile span:nth-child(2) { opacity: 0; }
  .entete.ouvert .menu-mobile span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .benefices { grid-template-columns: 1fr; }
  .benefice, .benefice + .benefice { padding: 30px 0 4px; border-left: 0; }
  .benefice + .benefice { border-top: 1px solid var(--as-bordure); }
  .calendrier { grid-template-columns: 1fr 1fr; }
  .atouts { grid-template-columns: 1fr; }
  .equipe { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; }
  .sommaire ol { columns: 1; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .conteneur { width: calc(100% - 32px); }
  .etapes { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; }
  .associe { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .associe .portrait { margin: 0 auto; width: 140px; }
  .puce-flottante { display: none; }
  .heros__actions .bouton { width: 100%; }
  .resultat { grid-template-columns: 40px 1fr; }
  .resultat .badge-tete, .resultat__statut { display: none; }
}

/* Surtitre placé dans le H1 (mot-clé lu par Google, même rendu visuel) */
h1 .surtitre { display: flex; width: max-content; max-width: 100%; }
.centre h1 .surtitre { margin-inline: auto; }
