/* Rapid-alliance — maquette accueil
   Palette relevée sur la référence */
:root {
  --nuit: #07252f;
  --petrole: #0a2a34;
  --sarcelle: #185353;
  --citron: #e3fd5e;
  --gris: #f6f6f6;
  --blanc: #ffffff;
  --encre: #0b2730;
  --texte: #5b6670;
  --trait: #e6e9eb;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 15px/1.65 "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--encre); margin: 0; font-weight: 700; line-height: 1.2; hyphens: none; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Kicker + titres */
.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--encre); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sarcelle); box-shadow: 0 0 0 3px var(--citron); }
.kicker--light { color: var(--blanc); }
.kicker--light::before { background: var(--citron); box-shadow: 0 0 0 3px rgba(227,253,94,.25); }
.h2 { font-size: clamp(25px, 2.2vw, 31px); letter-spacing: -.01em; }
.h2--light { color: var(--blanc); }
.lead { margin-top: 18px; max-width: 60ch; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13.5px; line-height: 1; white-space: nowrap;
  transition: transform .2s, background .2s;
}
.btn--lime { background: var(--citron); color: var(--encre); }
.btn--lime:hover { background: #d6f43c; }
.btn__dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--encre); color: var(--citron); transition: transform .25s;
}
.btn:hover .btn__dot { transform: rotate(45deg); }
.btn__dot svg { width: 15px; height: 15px; }

/* Barre supérieure */
.topbar { background: var(--nuit); color: rgba(255,255,255,.78); font-size: 12.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--citron); }
.topbar__promo a { color: var(--citron); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

/* En-tête */
.header { background: var(--blanc); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--trait); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; color: var(--encre); letter-spacing: -.02em; }
.logo__txt span { color: var(--sarcelle); }
.logo__mark { width: 34px; height: 34px; border-radius: 8px; background: var(--encre); display: grid; place-items: center; }
.logo__mark svg { width: 22px; height: 22px; fill: var(--citron); stroke: none; }
.logo--light { color: var(--blanc); }
.logo--light .logo__txt span { color: var(--citron); }
.logo--light .logo__mark { background: var(--citron); }
.logo--light .logo__mark svg { fill: var(--encre); }
.nav { display: flex; gap: 38px; font-size: 14.5px; font-weight: 600; color: var(--encre); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--sarcelle); transition: right .25s; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--encre); margin: 5px 0; }

/* Héros */
.hero { position: relative; min-height: 640px; height: calc(100svh - 118px); max-height: 820px; color: var(--blanc); overflow: hidden; display: flex; align-items: center; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease; }
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__slide--1 { background-image: url(img/hero.jpg); }
.hero__slide--2 { background-image: url(img/simulateur.jpg); }
.hero__slide--3 { background-image: url(img/apropos.jpg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,37,47,.94) 0%, rgba(7,37,47,.82) 38%, rgba(7,37,47,.35) 72%, rgba(7,37,47,.25) 100%); }
.hero__in { position: relative; z-index: 2; }
.hero__title { color: var(--blanc); font-size: clamp(36px, 5.2vw, 66px); line-height: 1.12; letter-spacing: -.02em; max-width: 16ch; font-weight: 700; }
.hero__title em { font-style: normal; color: var(--citron); }
.hero__text { margin-top: 22px; max-width: 52ch; color: rgba(255,255,255,.8); font-size: 15.5px; }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.play { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.play__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--blanc); color: var(--encre); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255,255,255,.14); }
.play__ico svg { fill: currentColor; stroke: none; width: 16px; height: 16px; margin-left: 2px; }
.hero__ctrl { position: absolute; z-index: 2; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 700; }
.hero__arrow { background: none; border: 0; color: var(--blanc); cursor: pointer; opacity: .7; padding: 4px; }
.hero__arrow:hover { opacity: 1; }
.hero__bar { width: 180px; height: 2px; background: rgba(255,255,255,.25); position: relative; }
.hero__bar i { position: absolute; left: 0; top: -1px; height: 4px; width: 33.33%; background: var(--citron); border-radius: 2px; transition: left .6s ease; }
.hero__scroll { position: absolute; z-index: 2; right: 26px; top: 50%; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.hero__scroll::after { content: ""; width: 1px; height: 60px; background: var(--citron); }

/* À propos */
.about { padding: 110px 0 100px; }
.about__top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; font-size: 14px; color: var(--encre); font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--citron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2730' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.about__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.about__bottom { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.about__small img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; border-radius: var(--r); }
.stat { border: 1px solid var(--trait); border-radius: var(--r); padding: 30px 22px; text-align: center; display: flex; flex-direction: column; justify-content: center; transition: border-color .2s, transform .2s; }
.stat:hover { border-color: var(--sarcelle); transform: translateY(-4px); }
.stat strong { display: block; white-space: nowrap; font-size: 34px; line-height: 1; color: var(--encre); letter-spacing: -.02em; font-weight: 700; }
.stat span { display: block; margin: 10px 0 8px; font-weight: 700; color: var(--encre); font-size: 14px; }
.stat p { font-size: 12.5px; line-height: 1.5; }

/* Bandeau */
.band { background: var(--petrole); padding: 38px 0; }
.band__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.band__item { display: flex; gap: 16px; align-items: flex-start; }
.band__item + .band__item { border-left: 1px solid rgba(255,255,255,.1); padding-left: 32px; }
.band h3 { color: var(--blanc); font-size: 16px; margin-bottom: 6px; }
.band p { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.55; }
.ico-sq { flex: none; width: 52px; height: 52px; border-radius: var(--r); background: var(--citron); color: var(--encre); display: grid; place-items: center; }
.ico-sq svg { width: 24px; height: 24px; }

/* En-têtes de section */
.sec-head { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 48px; align-items: end; margin-bottom: 48px; }
.sec-head--two { grid-template-columns: 1fr 1fr; }
.sec-head--btn { grid-template-columns: 1fr auto; }
.sec-head--btn .h2 { max-width: 30ch; }
.sec-head__txt { font-size: 14px; }

/* Services */
.services { padding: 100px 0 90px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { border: 1px solid var(--trait); border-radius: var(--r); padding: 30px 26px 28px; background: var(--blanc); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(7,37,47,.35); border-color: transparent; }
.card__ico { width: 50px; height: 50px; border-radius: var(--r); background: var(--gris); color: var(--sarcelle); display: grid; place-items: center; margin-bottom: 24px; transition: background .25s, color .25s; }
.card:hover .card__ico { background: var(--citron); color: var(--encre); }
.card__ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; margin-bottom: 12px; }
.card p { font-size: 13.5px; line-height: 1.6; }
.card a, .post > a { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--encre); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post--card > a:first-child { display: block; } /* lien-image des cartes : pleine largeur, même si l'image n'est pas encore chargée (loading="lazy") */

/* Marchands */
.partners { padding: 30px 0 100px; }
.partners .sec-head { margin-bottom: 40px; }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--trait); padding-top: 40px; align-items: center; justify-items: center; gap: 20px; }
.lg { color: #9aa3aa; font-size: 21px; white-space: nowrap; transition: color .2s; }
.lg:hover { color: var(--encre); }
.lg--a { font-weight: 800; letter-spacing: .12em; font-size: 17px; }
.lg--b { font-weight: 500; font-size: 22px; }
.lg--c { font-weight: 400; font-size: 24px; letter-spacing: -.03em; }
.lg--c b { font-weight: 800; }
.lg--d { font-weight: 300; letter-spacing: .4em; font-size: 18px; }
.lg--e { font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.lg--f { font-weight: 800; font-size: 24px; letter-spacing: .05em; }

/* Section sombre */
.dark { background: radial-gradient(120% 90% at 85% 0%, #124147 0%, var(--nuit) 60%); padding: 110px 0; }
.dark__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 64px 40px; }
.dark__head { grid-column: span 2; }
.dark__head > p:last-child { color: rgba(255,255,255,.66); margin-top: 18px; font-size: 14px; max-width: 52ch; }
.feat__ico { display: block; color: var(--citron); margin-bottom: 20px; }
.feat__ico svg { width: 40px; height: 40px; stroke-width: 2.4; }
.feat h3 { color: var(--blanc); font-size: 16.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.feat h3 small { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--citron); color: var(--encre); padding: 3px 7px; border-radius: 999px; }
.feat p { color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.6; }
.feat { transition: transform .25s; }
.feat:hover { transform: translateY(-4px); }

/* Simulateur */
.sim { background: var(--gris); padding: 110px 0; }
.sim__in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sim__img { position: relative; }
.sim__img img { width: 100%; aspect-ratio: 5/5.4; object-fit: cover; border-radius: var(--r); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.tab { border: 1px solid var(--trait); background: var(--blanc); color: var(--encre); font-family: inherit; font-weight: 600; font-size: 12.5px; line-height: 1; padding: 11px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s; }
.tab:hover { border-color: var(--sarcelle); }
.tab.is-on { background: var(--citron); border-color: var(--citron); font-weight: 700; }
.range { margin-bottom: 22px; }
.range label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--encre); margin-bottom: 10px; }
.range output { font-weight: 800; }
.range input { width: 100%; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(var(--sarcelle), var(--sarcelle)) 0/var(--p, 50%) 100% no-repeat, #dde2e4; outline: none; }
.range input::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--citron); border: 5px solid var(--encre); cursor: grab; }
.range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--citron); border: 5px solid var(--encre); cursor: grab; }
.range__lim { display: flex; justify-content: space-between; font-size: 11.5px; margin-top: 6px; }
.range__lim i { font-style: normal; }
.sim__res { display: grid; grid-template-columns: 1fr 1fr; background: var(--encre); border-radius: var(--r); margin: 8px 0 28px; }
.sim__res div { padding: 20px 22px; }
.sim__res div + div { border-left: 1px solid rgba(255,255,255,.1); }
.sim__res span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.sim__res strong { color: var(--blanc); font-size: 19px; font-weight: 700; }
.sim__res div:first-child strong { color: var(--citron); font-size: 28px; }
.sim__legal { font-size: 11.5px; line-height: 1.55; margin-top: 18px; max-width: 62ch; }


/* Guides */
.blog { padding: 110px 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; border-radius: var(--r); margin-bottom: 20px; }
.post__meta { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sarcelle); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--sarcelle); }
.post h3 { font-size: 18.5px; margin-bottom: 10px; }
.post p { font-size: 13.5px; }

/* Contact */
.contact { background: var(--gris); padding: 110px 0; }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.contact form { margin-top: 32px; display: grid; gap: 14px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact input, .contact select, .contact textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--encre); background: var(--blanc);
  border: 1px solid var(--trait); border-radius: var(--r); padding: 15px 16px; outline: none; transition: border-color .2s;
}
.contact select { color: #8a949b; appearance: none; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2730' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; }
.contact input:focus, .contact select:focus, .contact textarea:focus { border-color: var(--sarcelle); }
.contact textarea { resize: vertical; }
.contact button { justify-self: start; margin-top: 6px; }
.contact__img { position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; }
.contact__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7,37,47,.92) 100%); }
.contact__img figcaption { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 30px; color: rgba(255,255,255,.82); font-size: 14px; }
.stars { color: var(--citron); letter-spacing: 3px; font-size: 15px; }
.contact__img strong { display: block; color: var(--blanc); font-size: 20px; margin: 8px 0 10px; }
.who { display: block; margin-top: 14px; font-weight: 700; color: var(--blanc); font-size: 13px; }
.dots { display: flex; gap: 8px; margin-top: 18px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.dots i.on { background: var(--citron); width: 24px; border-radius: 4px; }

/* Pied de page */
.footer { background: linear-gradient(180deg, var(--petrole) 0%, var(--sarcelle) 55%, #12404a 100%); color: rgba(255,255,255,.7); padding: 80px 0 0; font-size: 13.5px; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.strip img { width: 100%; aspect-ratio: 1/.9; object-fit: cover; border-radius: var(--r); filter: grayscale(.25); transition: filter .3s, transform .3s; }
.strip img:hover { filter: none; transform: translateY(-4px); }
.news { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--blanc); border-radius: var(--r); padding: 38px 44px; margin: -36px 30px 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.news h2 { font-size: 24px; margin-bottom: 8px; }
.news p { color: var(--texte); font-size: 13.5px; }
.news__field { display: flex; border: 1px solid var(--trait); border-radius: 999px; padding: 5px 5px 5px 20px; }
.news__field input { flex: 1; border: 0; outline: none; font: inherit; font-size: 14px; color: var(--encre); background: none; min-width: 0; }
.news__field button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--citron); color: var(--encre); display: grid; place-items: center; cursor: pointer; }
.news__field button svg { fill: currentColor; stroke: none; width: 14px; }
.news__ok { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 12px; color: var(--texte); }
.news__ok input { accent-color: var(--sarcelle); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 40px; }
.foot__brand p { margin: 18px 0 0; max-width: 34ch; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h4 { color: var(--blanc); font-size: 15px; margin-bottom: 8px; }
.foot__col a:hover { color: var(--citron); }
.foot__wa { display: inline-flex; align-items: center; gap: 8px; }
.foot__wa svg { width: 18px; height: 18px; fill: #25d366; stroke: none; flex: none; }
.warning { border: 1px solid rgba(227,253,94,.35); border-radius: var(--r); padding: 14px 18px; color: var(--blanc); font-weight: 600; text-align: center; }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 30px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; }
.foot__bottom nav { display: flex; gap: 22px; }
.foot__bottom a:hover { color: var(--citron); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .about__bottom { grid-template-columns: repeat(4, 1fr); }
  .about__small { grid-column: 1 / -1; }
  .about__small img { aspect-ratio: 21/8; min-height: 0; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .dark__grid { grid-template-columns: repeat(2, 1fr); }
  .sec-head { grid-template-columns: 1fr auto; }
  .sec-head__txt { grid-row: 2; grid-column: 1 / -1; }
  .sec-head--two .sec-head__txt { grid-row: auto; grid-column: auto; }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .hero__scroll { display: none; }
}
@media (max-width: 860px) {
  .topbar__item { display: none; }
  .topbar__in { justify-content: center; text-align: center; padding: 8px 0; }
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .nav.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--blanc); border-bottom: 1px solid var(--trait); padding: 8px 16px 16px; }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--trait); }
  .nav.is-open a::after { display: none; }
  .header__in { min-height: 66px; }
  .hero { height: auto; min-height: 600px; padding: 90px 0 120px; }
  .hero::before { background: linear-gradient(180deg, rgba(7,37,47,.86), rgba(7,37,47,.92)); }
  .about, .services, .dark, .sim, .contact { padding: 72px 0; }
  .partners { padding: 10px 0 72px; }
  .blog { padding: 72px 0; }
  .about__top, .sim__in, .contact__in { grid-template-columns: 1fr; gap: 40px; }
  .about__bottom { grid-template-columns: 1fr 1fr; gap: 14px; }
  .band__in { grid-template-columns: 1fr; gap: 22px; }
  .band__item + .band__item { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }
  .sec-head, .sec-head--two, .sec-head--btn { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .sec-head .btn { justify-self: start; }
  .logos { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .cards3 { grid-template-columns: 1fr; gap: 40px; }
  .news { grid-template-columns: 1fr; margin: -30px 0 0; padding: 28px 22px; gap: 22px; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip img:nth-child(n+4) { display: none; }
  .contact__img { min-height: 480px; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .checks { grid-template-columns: 1fr; }
  .cards4 { grid-template-columns: 1fr; }
  .dark__grid { grid-template-columns: 1fr; gap: 40px; }
  .dark__head { grid-column: auto; padding: 0; }
  .stat strong { font-size: 32px; }
  .stat { padding: 22px 12px; }
  .sim__res { grid-template-columns: 1fr; }
  .sim__res div:first-child { border-bottom: 1px solid rgba(255,255,255,.1); }
  .sim__res div:nth-child(2) { border-left: 0; }
  .f2 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot__bottom { flex-direction: column; }
  .hero__ctrl { bottom: 26px; }
  .hero__bar { width: 110px; }
  .contact__img figcaption { left: 22px; right: 22px; }
  .logos .lg { font-size: 16px; }
}

/* Sélecteur de langue (créé par i18n.js) */
html.i18n-wait body { visibility: hidden; }
.nav { margin-left: auto; }
.lang { position: relative; margin-left: auto; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); color: var(--encre); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--sarcelle); }
.lang__btn img, .lang__list img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.lang__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; margin: 0; padding: 6px; list-style: none; min-width: 180px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); box-shadow: 0 12px 30px rgba(7,37,47,.12); }
.lang__list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 4px; font-size: 14px; font-weight: 600; color: var(--encre); }
.lang__list a:hover { background: var(--gris); }
.lang__list a[aria-current] { background: var(--gris); color: var(--sarcelle); }
.logo { white-space: nowrap; }
@media (max-width: 860px) {
  .header__in { gap: 10px; }
}
@media (max-width: 420px) {
  .lang__btn { padding: 0 8px; gap: 5px; }
  .lang__btn span { display: none; }
}

/* Formulaires : champ piège anti-robots et message de retour d'envoi */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 12px; font-size: 13.5px; font-weight: 600; color: #c0392b; }
.form-msg.is-ok { color: var(--sarcelle); }
.form-msg[hidden] { display: none; }
form[aria-busy="true"] [type="submit"] { opacity: .6; cursor: progress; }
