/* Speed Glass — styles des pages intérieures (chargés après styles.css) */

/* Navigation */
.nav a{position:relative}
.nav a[aria-current]{color:var(--blue)}
.nav a[aria-current]::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;border-radius:2px;background:var(--blue)}
.mmenu{max-height:calc(100vh - 110px);overflow-y:auto}
.mmenu a.mmenu__sub{padding:10px 14px 10px 30px;font-size:15px;font-weight:600;color:var(--muted)}
.mmenu a[aria-current="page"]{background:var(--blue-l);color:var(--blue-d)}

/* En-tête des pages */
.phero{position:relative;overflow:hidden;background:var(--blue);color:#fff}
.phero picture{position:absolute;inset:0}
.phero__bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--pos,50% 50%)}
.phero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(48,101,192,.97) 0%,rgba(48,101,192,.9) 38%,rgba(48,101,192,.55) 66%,rgba(48,101,192,.18) 100%)}
.phero__content{position:relative;z-index:2;padding-top:162px;padding-bottom:150px;display:flex;flex-direction:column;gap:26px}
.phero--noform .phero__content{padding-bottom:96px}
.phero--plain{background:linear-gradient(115deg,var(--blue) 0%,var(--blue-d) 100%)}
.phero--plain .phero__content{padding-top:150px;padding-bottom:64px;gap:18px}
.phero__text{max-width:660px;display:flex;flex-direction:column;gap:18px}
.phero__tag{align-self:flex-start;padding:8px 14px;border-radius:999px;background:#fff;color:var(--blue-d);font-size:14px;font-weight:800;line-height:1.2}
.phero__h1{font-size:clamp(40px,4.4vw,60px);font-weight:800;line-height:1.04;letter-spacing:-.035em;color:#fff}
.phero__lead{max-width:34em;font-size:18px;line-height:1.6;color:rgba(255,255,255,.9)}
.phero .hero__btns{margin-top:6px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;font-weight:600;color:rgba(255,255,255,.8)}
.crumbs a{color:#fff;text-decoration:none}
.crumbs a:hover{color:#fff;text-decoration:underline}
.crumbs .ic{width:14px;height:14px;opacity:.7}

/* Texte + photo */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,5vw,72px);align-items:center}
.split--rev .split__img{order:-1}
.split__txt{min-width:0;display:flex;flex-direction:column;gap:18px}
.split__txt .lead{max-width:none}
.split__p{font-size:16px;line-height:1.7;color:var(--muted)}
.split__label{margin-top:4px;font-size:15px;font-weight:800}
.split__img{position:relative;margin:0;border-radius:28px;overflow:hidden;aspect-ratio:4/3;background:var(--line)}
.split__img img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.split__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.split__btns .btn{height:54px}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tags li{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:14.5px;font-weight:700}
.sec--white .tags li{background:var(--bg)}
.ticks{display:flex;flex-direction:column;gap:10px}
.ticks li{position:relative;padding-left:32px;font-size:15.5px;font-weight:600;line-height:1.45}
.ticks .ic{position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:var(--green-l);color:var(--green);stroke-width:2.6}
.note-card{display:flex;align-items:flex-start;gap:14px;padding:18px;border-radius:20px;background:var(--blue-l)}
.note-card p{font-size:15px;line-height:1.55;color:var(--ink)}
.note-card .card__ic{width:44px;height:44px;background:#fff}

/* Cartes */
.cards{margin-top:40px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.card{display:flex;flex-direction:column;gap:10px;padding:26px;border-radius:24px;background:var(--bg);color:var(--ink);text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.sec:not(.sec--white) .card,.tone-bg .card{background:#fff}
a.card:hover{color:var(--ink);transform:translateY(-3px);box-shadow:0 18px 40px -26px rgba(6,20,43,.45)}
.card__ic{flex-shrink:0;width:52px;height:52px;border-radius:16px;background:var(--blue-l);color:var(--blue);display:flex;align-items:center;justify-content:center}
.card__ic .ic{width:25px;height:25px;stroke-width:1.9}
.card__t{margin-top:6px;font-size:19px;font-weight:800;line-height:1.2;letter-spacing:-.01em}
.card__d{font-size:15px;line-height:1.5;color:var(--muted)}
.card__more{margin-top:auto;padding-top:8px;display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--blue)}
.card__more .ic{width:17px;height:17px;stroke-width:2.2}
.tone-bg > section{background:var(--bg)}
.tone-bg .steps li,.tone-bg .faq__list details{background:#fff}

/* Offre */
.offer__h{font-size:clamp(40px,4.4vw,60px);font-weight:800;line-height:1.04;letter-spacing:-.035em;color:#fff}
.offer .cta__btns{margin-top:6px}

/* Deux solutions */
.duo{margin-top:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.duo__card{display:flex;flex-direction:column;gap:14px;padding:32px;border-radius:28px;background:#fff;box-shadow:0 24px 50px -38px rgba(6,20,43,.45)}
.duo__card h3{margin-top:4px;font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-.025em}
.duo__when{font-size:13.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--blue)}
.duo__card > p:not(.duo__when){font-size:16px;line-height:1.6;color:var(--muted)}
.duo__card--blue{background:var(--blue);color:#fff;box-shadow:none}
.duo__card--blue .card__ic{background:rgba(255,255,255,.18);color:#fff}
.duo__card--blue .duo__when{color:rgba(255,255,255,.8)}
.duo__card--blue > p:not(.duo__when){color:rgba(255,255,255,.92)}
.duo__card .btn{align-self:flex-start;margin-top:auto;height:52px;padding:0 22px;font-size:15.5px}

/* Chiffres */
.stats{margin-top:40px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.stats li{padding:28px;border-radius:24px;background:#fff;display:flex;flex-direction:column;gap:6px}
.stats strong{font-size:clamp(36px,3.6vw,48px);line-height:1;letter-spacing:-.03em;color:var(--blue)}
.stats span{font-size:15px;font-weight:600;color:var(--muted)}

/* Contact */
.contact-sec{padding-top:56px}
.contact-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:start}
.contact-info{display:flex;flex-direction:column;gap:14px}
.info-card{display:flex;align-items:center;gap:16px;padding:20px;border-radius:22px;background:#fff;color:var(--ink);text-decoration:none;transition:box-shadow .15s ease}
a.info-card:hover{color:var(--ink);box-shadow:0 18px 40px -28px rgba(6,20,43,.45)}
.info-card > span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}
.info-card small{font-size:12.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.info-card strong{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.info-card em{font-style:normal;font-size:14px;line-height:1.45;color:var(--muted)}
.info-card--blue{background:var(--blue);color:#fff}
.info-card--blue small,.info-card--blue em{color:rgba(255,255,255,.85)}
.info-card--blue .card__ic{background:rgba(255,255,255,.18);color:#fff}
.form-card{padding:34px;border-radius:28px;background:#fff;box-shadow:0 30px 60px -40px rgba(6,20,43,.5)}
.form-card__h{font-size:30px;font-weight:800;line-height:1.1;letter-spacing:-.03em}
.form-card__p{margin-top:8px;font-size:16px;color:var(--muted)}
.wixform--stack{margin-top:24px;display:flex;flex-direction:column;gap:18px}
.wixform--stack .form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wixform--stack .field{flex:none}
.wixform--stack .field--wide{grid-column:1 / -1}
.wixform--stack .field__error{position:static;margin-top:2px}
.wixform--stack .js-submit{align-self:flex-start;height:56px;padding:0 28px}
.input--skel{display:flex;align-items:center;color:#66778C}
textarea.input,.input--skel.input--area{min-height:132px}
.input--skel.input--area{align-items:flex-start;padding-top:16px}
textarea.input,select.input{font-family:inherit}
select.input{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:44px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/18px}
select.input.is-empty{color:#66778C}
select.input option{color:var(--ink)}
.wixform.is-done .js-fields,.wixform.is-done .js-submit,.wixform.is-done .js-error{display:none}

/* Pages légales */
.legal-sec{padding-top:56px}
.prose{max-width:820px;padding:40px 44px;border-radius:28px;background:#fff;font-size:16.5px;line-height:1.7;color:var(--muted)}
.prose h2{margin:30px 0 10px;font-size:20px;font-weight:800;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.prose h2:first-child{margin-top:0}
.prose p + p{margin-top:12px}
.prose ul{margin-top:10px;padding-left:22px;list-style:disc;display:flex;flex-direction:column;gap:6px}
.prose ul.prose__links{list-style:none;padding-left:0}
.prose a{font-weight:600}
.prose strong{font-weight:700;color:var(--ink)}

/* Avis : carrousel */
.reviews{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.reviews::-webkit-scrollbar{display:none}
.reviews:focus-visible{outline-offset:6px}
.review{flex:0 0 calc((100% - 40px) / 3);scroll-snap-align:start}
.reviews__nav{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.reviews__nav .dots{justify-content:flex-start;margin-top:0}
.reviews__arrows{display:flex;gap:10px}
.rv-btn{width:50px;height:50px;padding:0;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.rv-btn:hover:not(:disabled){background:var(--blue);border-color:var(--blue);color:#fff}
.rv-btn:disabled{opacity:.4;cursor:default}
.rv-btn .ic{width:20px;height:20px;stroke-width:2.2}
.rv-btn--prev .ic{transform:rotate(180deg)}

/* Tablette */
@media (max-width:1100px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:980px){
  .review{flex-basis:calc((100% - 20px) / 2)}
  .contact-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:860px){
  .split{grid-template-columns:minmax(0,1fr)}
  .split__img{order:-1}
  .duo,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile */
@media (max-width:640px){
  .phero__bg{object-position:50% 50%}
  .phero__shade{background:linear-gradient(0deg,rgba(48,101,192,.98) 0%,rgba(48,101,192,.92) 50%,rgba(48,101,192,.5) 78%,rgba(48,101,192,.25) 100%)}
  .phero__content{padding-top:150px;padding-bottom:76px;gap:16px}
  .phero--noform .phero__content{padding-bottom:48px}
  .phero--plain .phero__content{padding-top:112px;padding-bottom:36px;gap:12px}
  .phero__text{gap:14px}
  .phero__tag{padding:6px 12px;font-size:12.5px}
  .phero__h1{font-size:36px;line-height:1.08}
  .phero__lead{font-size:16px;line-height:1.55}
  .crumbs{font-size:12.5px}

  .split{gap:22px}
  .split__txt{gap:14px}
  .split__img{border-radius:22px;aspect-ratio:16/11}
  .split__p{font-size:15px;line-height:1.65}
  .ticks li{font-size:14.5px}
  .split__btns .btn{width:100%}
  .tags li{padding:6px 12px;font-size:13.5px}

  .cards{margin-top:20px;gap:12px}
  .card{padding:16px;border-radius:18px;gap:8px}
  .card__ic{width:40px;height:40px;border-radius:12px}
  .card__ic .ic{width:21px;height:21px}
  .card__t{margin-top:2px;font-size:15px}
  .card__d{font-size:13px;line-height:1.45}
  .card__more{font-size:13.5px}

  .offer__h{font-size:34px;line-height:1.08}

  .duo{margin-top:20px;grid-template-columns:minmax(0,1fr);gap:14px}
  .duo__card{padding:22px;border-radius:22px;gap:12px}
  .duo__card h3{font-size:22px}
  .duo__card > p:not(.duo__when){font-size:15px}
  .duo__card .btn{align-self:stretch}

  .stats{margin-top:20px;gap:12px}
  .stats li{padding:18px;border-radius:18px}
  .stats strong{font-size:30px}
  .stats span{font-size:13px}

  .note-card{padding:14px;gap:12px}
  .note-card p{font-size:14px}

  .contact-sec{padding-top:28px}
  .form-card{padding:22px;border-radius:24px}
  .form-card__h{font-size:24px}
  .form-card__p{font-size:15px}
  .wixform--stack{margin-top:18px;gap:14px}
  .wixform--stack .form-fields{grid-template-columns:minmax(0,1fr);gap:14px}
  .wixform--stack .js-submit{align-self:stretch}
  .info-card{padding:16px;gap:14px}
  .info-card strong{font-size:16px}

  .legal-sec{padding-top:28px}
  .prose{padding:24px 20px;border-radius:22px;font-size:15.5px}
  .prose h2{font-size:18px;margin-top:24px}

  .reviews{gap:12px}
  .review{flex:0 0 300px}
  .reviews__nav{margin-top:18px;padding:0 20px;justify-content:center}
  .reviews__nav .dots{justify-content:center}
  .reviews__arrows{display:none}
}

/* En-tête fixe : toujours visible sur ordinateur, se range quand on descend sur mobile */
.topbar{position:fixed;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.topbar__in{transition:height .3s ease,box-shadow .3s ease}
.topbar__logo img{transition:height .3s ease}
.topbar.is-scrolled .topbar__in{box-shadow:0 16px 36px -18px rgba(6,20,43,.42),0 0 0 1px rgba(11,22,38,.06)}
.topbar.is-hidden{transform:translateY(calc(-100% - 30px))}
html{scroll-padding-top:128px}
@media (min-width:1101px){
  .topbar.is-scrolled .topbar__in{height:74px}
  .topbar.is-scrolled .topbar__logo img{height:58px}
}

/* Apparition douce au défilement */
.rv{opacity:0;transform:translateY(22px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:var(--rv-d,0s)}
.rv.is-in{opacity:1;transform:none}
@media print{.rv{opacity:1;transform:none}}

/* Note Google sous les boutons des pages intérieures */
.phero__rating{margin-top:2px}

/* Chiffres clés */
.stats{gap:0;padding:8px;border-radius:28px;background:#fff;box-shadow:0 24px 50px -40px rgba(6,20,43,.45)}
.stats li{padding:30px 32px;border-radius:0;background:none}
.stats li + li{border-left:1px solid var(--line)}
.stats strong{font-size:clamp(42px,4.4vw,62px)}

/* Pied de page */
.foot{background:#0B1626;border-top:0;color:rgba(255,255,255,.66)}
.foot__brand > a{align-self:flex-start;display:inline-flex}
.foot__brand img{width:170px;height:auto}
.foot__brand p,.foot__col{color:rgba(255,255,255,.66)}
.foot__h{color:#fff}
.foot__col a,.foot__legal a{color:rgba(255,255,255,.74)}
.foot__col a:hover,.foot__legal a:hover{color:#fff}
.foot__col .foot__tel{color:#fff}
.foot__bottom{border-top-color:rgba(255,255,255,.12);color:rgba(255,255,255,.5)}

@media (max-width:860px){
  .stats li + li{border-left:0}
  .stats li:nth-child(even){border-left:1px solid var(--line)}
  .stats li:nth-child(n+3){border-top:1px solid var(--line)}
}
@media (max-width:640px){
  html{scroll-padding-top:16px}
  .stats{padding:4px;border-radius:22px}
  .stats li{padding:18px 16px;border-radius:0}
  .stats strong{font-size:32px}
  .foot__brand img{width:140px}
}