
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; font-size: 1rem;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--brand-dark); color: #fff; }
img, svg { max-width: 100%; }
a { color: var(--accent-dark); }
.conteneur { max-width: 60rem; margin: 0 auto; padding: 0 1.4rem; }
.conteneur-large { max-width: 70rem; margin: 0 auto; padding: 0 1.4rem; }

h1, h2 { font-family: "Inter", system-ui, sans-serif; font-weight: 800; color: var(--navy); line-height: 1.18; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.12rem; font-weight: 600; color: var(--navy); }
p { margin-bottom: 1rem; }






.fil-ariane {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}
.fil-ariane a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }
.fil-ariane a:hover { color: var(--text); }
.fil-ariane [aria-current="page"] { color: var(--text); }

.sur-titre {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 1rem;
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}






[aria-invalid="true"] {
  border-color: var(--rouge-texte) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rouge-texte) 22%, transparent);
}
.lien-evitement {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 200;
  background: var(--brand-dark); color: #fff; padding: 0.7rem 1.1rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; transition: top 0.15s ease;
}
.lien-evitement:focus { top: 1rem; }
.sur-titre::before { content: ""; width: 2rem; height: 1px; background: var(--accent); opacity: 0.6; }


header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.logo svg { width: 1.8rem; height: 1.8rem; border-radius: 7px; }
.retour { font-size: 0.92rem; font-weight: 500; color: var(--text-soft); text-decoration: none; }
.retour:hover { color: var(--navy); }


.nav-liens { display: none; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-liens a:not(.btn) { text-decoration: none; color: var(--text-soft); font-size: 0.92rem; font-weight: 500; transition: color 0.15s ease; }
.nav-liens a:not(.btn):hover { color: var(--navy); }
.nav-liens a[aria-current="page"]:not(.btn) { color: var(--navy); font-weight: 600; }
.nav-liens a:not(.btn) { position: relative; }
.nav-liens a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--accent); transition: width 0.18s ease; }
.nav-liens a:not(.btn):hover::after, .nav-liens a[aria-current="page"]:not(.btn)::after { width: 100%; }
.btn-nav { padding: 0.55rem 1.1rem; font-size: 0.88rem; box-shadow: none; }
.burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 2.6rem; height: 2.6rem; background: none; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; }
.burger span { display: block; width: 1.1rem; height: 1.5px; background: var(--navy); border-radius: 2px; }
.menu-mobile { display: none; border-top: 1px solid var(--border); background: var(--surface); padding: 0.75rem 1.4rem 1.3rem; }
.menu-mobile.ouvert { display: block; }
.menu-mobile a { display: block; padding: 0.7rem 0; text-decoration: none; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--bg-alt); }
.menu-mobile a:last-child { border-bottom: none; }
@media (min-width: 760px) {
  .nav-liens { display: flex; }
  .burger, .menu-mobile { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .nav-liens a:not(.btn)::after { transition: none; } }

.btn {
  display: inline-block; padding: 0.78rem 1.6rem; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.btn-principal { background: var(--btn-bg); color: #fff; box-shadow: 0 1px 2px rgba(99,91,255,.3), 0 8px 20px -8px rgba(99,91,255,.55); }
.btn-principal:hover { background: var(--btn-bg-survol); transform: translateY(-1px); }
.btn-secondaire { background: var(--surface); color: var(--navy); border: 1px solid var(--border); }
.btn-secondaire:hover { border-color: var(--navy); }

section { padding: 3.5rem 0; }
section.alt { background: var(--bg-alt); }


.hero-sec { padding: 4.5rem 0 3.5rem; background: radial-gradient(48rem 26rem at 50% -10rem, var(--navy-soft) 0%, rgba(238,242,249,0) 68%), var(--bg); text-align: center; }
.hero-sec h1 .accent { font-style: italic; color: var(--accent); }
.hero-sec p.chapeau { font-size: 1.14rem; color: var(--text-soft); max-width: 40rem; margin: 1.3rem auto 2rem; }
.hero-sec .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }


.cadre-animation {
  position: relative; width: 100%; max-width: 62rem; margin: 2.6rem auto 0;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #0C1428;
  box-shadow: 0 30px 70px -30px rgba(20, 33, 61, 0.55), 0 0 0 1px rgba(99, 91, 255, 0.14);
}
.cadre-animation iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}


.liste-p { list-style: none; max-width: 46rem; }
.liste-p li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.3rem 0; border-top: 1px solid var(--border); }
.liste-p li:last-child { border-bottom: 1px solid var(--border); }
.liste-p .num { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.5rem; color: var(--accent); line-height: 1; padding-top: 0.15rem; }
.liste-p h3 { margin-bottom: 0.35rem; }
.liste-p p { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 0; }


.grille { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.carte { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--ombre-carte); }
.carte h3 { margin-bottom: 0.5rem; }



.carte h2 { font-family: inherit; font-size: 1.12rem; font-weight: 600; line-height: inherit; letter-spacing: inherit; margin-bottom: 0.5rem; }
.carte p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0; }
.carte .b { display: block; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--border); font-weight: 600; font-size: 0.92rem; color: var(--accent-dark); }


.preuve { background: linear-gradient(160deg, var(--brand-dark) 0%, var(--navy-deep) 100%); border-radius: 18px; padding: 2.5rem 1.8rem; color: #E8EDF6; }
.preuve h2 { color: #fff; }
.preuve p { color: #BCC7DB; }
.preuve strong { color: #fff; }
.preuve .chiffres { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin-top: 1.5rem; }
.preuve .chiffre .v { font-family: "Fraunces", Georgia, serif; font-size: 1.9rem; font-weight: 600; color: #A5A0FF; }
.preuve .chiffre .l { font-size: 0.85rem; color: #9FADC6; }


.intro-comparatif { max-width: 46rem; }
.comparatif-enveloppe { overflow-x: auto; margin-top: 1.6rem; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--border); }
.comparatif { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 0.92rem; background: var(--surface); }
.comparatif th, .comparatif td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparatif tr:last-child th, .comparatif tr:last-child td { border-bottom: none; }
.comparatif thead th { font-family: "Inter", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); border-bottom: 2px solid var(--border); }
.comparatif tbody th { font-weight: 600; color: var(--navy); }
.comparatif td { color: var(--text-soft); }
.comparatif .col-moi { background: var(--accent-pale); }
.comparatif thead th.col-moi { color: var(--accent-dark); }
.comparatif tbody td.col-moi { color: var(--navy); font-weight: 500; }
.note-comparatif { font-size: 0.9rem; color: var(--text-soft); margin-top: 1rem; }


.aimant { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.7rem 1.9rem; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; box-shadow: var(--ombre-carte); }
.aimant .txt { flex: 1; min-width: 16rem; }
.aimant .txt .sur-titre { margin-bottom: 0.6rem; }
.aimant h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.aimant p { color: var(--text-soft); margin: 0; font-size: 0.95rem; }
.aimant .action { flex-shrink: 0; text-align: center; }
.aimant .action .en-ligne { display: block; margin-top: 0.6rem; font-size: 0.82rem; }


.garantie { background: linear-gradient(160deg, var(--brand-dark) 0%, var(--navy-deep) 100%); border-radius: 18px; padding: 2.4rem 2rem; text-align: center; color: #E8EDF6; }
.garantie .pico { font-size: 1.9rem; line-height: 1; }
.garantie h2 { color: #fff; margin: 0.5rem 0 0.7rem; }
.garantie p { color: #BCC7DB; max-width: 42rem; margin: 0 auto; }
.garantie strong { color: #fff; }
.garantie .appui { display: inline-block; margin-top: 1.1rem; font-size: 0.88rem; color: var(--mint); font-weight: 600; }


.cta-final { background: var(--accent-pale); text-align: center; }
.cta-final .conteneur { max-width: 42rem; }
.cta-final h2 { margin-bottom: 0.6rem; }
.cta-final p { color: var(--text-soft); }


.article { max-width: 44rem; }
.article .meta-a { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 1.4rem; }
.article h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.article h3 { margin: 1.4rem 0 0.4rem; }
.article p, .article li { color: var(--text); }
.article ul { margin: 0 0 1rem 1.2rem; }
.article li { margin-bottom: 0.4rem; }
.article blockquote { border-left: 3px solid var(--accent); padding: 0.4rem 0 0.4rem 1.1rem; margin: 1.2rem 0; color: var(--navy); font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.12rem; }
.article .encart { background: var(--navy-soft); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.article .encart p:last-child { margin-bottom: 0; }


.faq { max-width: 46rem; margin: 1.4rem auto 0; }
.faq details { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.7rem; background: var(--surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); font-weight: 400; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq .rep { padding: 0 1.2rem 1.1rem; color: var(--text-soft); }
.faq .rep p { margin: 0; }


footer { background: var(--navy-deep); color: #9FADC6; padding: 2.5rem 0; font-size: 0.9rem; text-align: center; }
footer a { color: #DCE4F0; }
footer a:hover { color: #fff; }


.simu-carte {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--ombre-carte); overflow: hidden;
  display: grid; grid-template-columns: 1fr; max-width: 52rem;
}
.simu-champs { padding: 1.7rem 1.6rem; }
.simu-champ { margin-bottom: 1.1rem; }
.simu-champ:last-child { margin-bottom: 0; }
.simu-champ label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.15rem; }
.simu-champ .aide { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 0.5rem; }
.simu-champ input[type="range"] { width: 100%; accent-color: var(--accent); }
.note-agenda { font-size: 0.88rem; color: var(--text-soft); margin-top: 0.7rem; max-width: 34rem; }
.simu-champ .valeur-cur { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--accent-dark); font-size: 1.1rem; }
.simu-champ .simu-num {
  width: 6.5rem; margin-top: 0.4rem; padding: 0.35rem 0.5rem; font: inherit; font-size: 1rem;
  color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
}
.simu-resultat {
  background: linear-gradient(160deg, var(--brand-dark) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 1.9rem 1.6rem; display: flex; flex-direction: column; justify-content: center;
}
.simu-resultat .surtitre-r { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #A5A0FF; margin-bottom: 0.6rem; }
.simu-resultat .gros-chiffre { font-family: "Fraunces", Georgia, serif; font-size: clamp(2.1rem, 6vw, 2.9rem); font-weight: 600; line-height: 1.1; color: #fff; }
.simu-resultat .sous-chiffre { color: #BCC7DB; font-size: 0.96rem; margin-top: 0.5rem; }
.simu-resultat .detail-r { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.9rem; color: #C3CDDF; }
.simu-resultat .detail-r strong { color: #fff; }
.simu-resultat .btn { margin-top: 1.3rem; align-self: flex-start; }

@media (min-width: 700px) {
  .grille.g3 { grid-template-columns: repeat(3, 1fr); }
  .simu-carte { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }







.pf-carte { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem 1.8rem; margin-top: 1.4rem; box-shadow: var(--ombre-carte); }
.pf-grille { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
@media (min-width: 640px) { .pf-grille { grid-template-columns: 1fr 1fr; } }
.pf-champ { display: flex; flex-direction: column; gap: 0.25rem; }
.pf-champ.pf-large { grid-column: 1 / -1; }
.pf-champ label { font-size: 0.78rem; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.pf-champ input, .pf-ligne input, .pf-carte select, .pf-carte textarea { font: inherit; font-size: 0.95rem; padding: 0.5rem 0.7rem; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: var(--text); width: 100%; box-sizing: border-box; }
.pf-carte input:focus, .pf-carte select:focus, .pf-carte textarea:focus { outline: 2px solid var(--accent-pale); border-color: var(--accent); }
.pf-titre-bloc { font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; color: var(--navy); margin: 1.4rem 0 0.6rem; }
.pf-ligne { display: grid; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
@media (max-width: 560px) {
  .pf-ligne { display: flex !important; flex-wrap: wrap; }
  .pf-ligne > .pf-col { flex: 1 1 8rem; }
  .pf-ligne > .pf-flex { flex: 1 1 100%; }
  .pf-ligne > .pf-auto, .pf-ligne > .pf-suppr { flex: 0 0 auto; }
}
.pf-auto { font-weight: 700; color: var(--text-soft); text-align: center; }
.pf-suppr { background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text-soft); cursor: pointer; font-size: 1rem; line-height: 1; height: 2.2rem; }
.pf-suppr:hover { color: var(--rouge-texte); border-color: var(--rouge-texte); }
.pf-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.pf-journal { font-size: 0.9rem; color: var(--text-soft); }
.pf-journal.ok { color: var(--vert-texte); } .pf-journal.att { color: var(--ambre-texte); } .pf-journal.err { color: var(--rouge-texte); }

.pf-apercu-note { margin: 1.2rem 0 0.5rem; font-size: 0.82rem; color: var(--text-soft); }
.pf-apercu { margin-top: 0; padding: 1.9rem 2.1rem; border: 1px solid #d8dce4; border-radius: 6px; background: #fff; color: #1d2433; font-family: Georgia, "Times New Roman", serif; font-size: 0.95rem; line-height: 1.55; box-shadow: 0 14px 40px -18px rgba(20,33,61,0.35); max-width: 40rem; }
.pf-apercu h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; color: #14213D; margin: 0 0 0.8rem; border-bottom: 2px solid #1d2433; padding-bottom: 0.4rem; letter-spacing: 0.02em; }
.pf-apercu > div { padding: 0.2rem 0; }
.pf-apercu span { color: #555; }
.pf-apercu .pf-ap-sec { font-weight: 700; color: #14213D; margin: 0.9rem 0 0.3rem; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.05em; }
.pf-apercu ul { margin: 0.25rem 0 0.5rem 1.2rem; }
.pf-apercu li { padding: 0.1rem 0; }
.pf-confid { margin-top: 1.6rem; font-size: 0.9rem; color: var(--text-soft); display: flex; gap: 0.6rem; align-items: flex-start; }
.pf-confid strong { color: var(--navy); }
.pf-historique { margin-top: 1.6rem; }
.pf-hist-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-bottom: 0.7rem; }
.pf-hist-table th, .pf-hist-table td { text-align: left; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--border); }
.pf-hist-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); }
.pf-hist-vide { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 0.7rem; }
.pf-hist-export { font-size: 0.85rem; padding: 0.45rem 0.9rem; }


#pf-zone-impression { display: none; }

@media print {
  




  body.pf-impression > * { display: none !important; }
  body.pf-impression > #pf-zone-impression { display: block !important; }
  body.pf-impression #pf-zone-impression .pf-apercu {
    margin: 0; max-width: none; box-shadow: none; border: none;
  }
}





.barre-action { display: none; }
@media (max-width: 700px) {
  .barre-action {
    display: flex; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px -12px rgba(20, 33, 61, 0.35);
    transform: translateY(115%); transition: transform 0.18s ease-out;
  }
  .barre-action.visible { transform: translateY(0); }
  .barre-action .btn { flex: 1; margin: 0; text-align: center; padding: 0.75rem 0.6rem; font-size: 0.95rem; }
  body.avec-barre-action { padding-bottom: 4.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .barre-action { transition: none; }
}








@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select:not([hidden]),
  textarea:not([readonly]):not([hidden]) { font-size: 16px; }

  









  .burger { width: 2.75rem; height: 2.75rem; }
  .pf-suppr { min-height: 44px; min-width: 44px; }
  .pf-hist-export { min-height: 44px; }
}
