/* ==========================================================================
   Habillage « LWS » : bleu nuit #0B1E4A et bleu vif #0A4FD6, boutons orange
   #F28B00, fond blanc / bleu très clair, police Poppins, cartes à ombre
   douce, bandeau promo orange, pied de page bleu foncé en colonnes.
   Chargé après style.css et finishers.css : il remplace leur palette.
   Couleurs estimées d'après le rendu de lws.fr : ajustez les variables.
   ========================================================================== */

:root {
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --lw-blue: #0A4FD6; --lw-blue-deep: #083DA6; --lw-blue-soft: #E3ECFC; --lw-blue-xsoft: #F2F6FC;
    --lw-navy: #0B1E4A; --lw-navy-2: #12327E;
    --lw-orange: #F28B00; --lw-orange-deep: #D97700; --lw-red: #E5322D; --lw-green: #1BA34B; --lw-gray: #5F6B85;
    --radius: 12px;
}
:root, :root[data-theme="light"] {
    --bg: #FFFFFF; --surface: #F2F6FC; --ink: #0B1E4A; --muted: #5F6B85;
    --line: #DCE4F2; --line-strong: #C3CFE6;
    --glass: #FFFFFF; --glass-strong: #F2F6FC; --glass-line: #DCE4F2; --field: #FFFFFF;
    --brand: #0A4FD6; --brand-deep: #083DA6; --brand-ink: #FFFFFF; --brand-soft: #E3ECFC;
    --cta: #F28B00; --cta-deep: #D97700; --cta-ink: #FFFFFF;
    --band: #0B1E4A; --aqua: #0A4FD6; --violet: #0A4FD6; --paint: #F28B00; --paint-ink: #FFFFFF; --focus: #0A4FD6;
    --grad: linear-gradient(120deg, #0A4FD6 0%, #12327E 100%);
    --shadow: 0 2px 6px rgba(11,30,74,.06), 0 14px 34px -14px rgba(10,79,214,.28);
}
:root[data-theme="dark"] {
    --bg: #0B1633; --surface: #12224A; --ink: #FFFFFF; --muted: #AEBBD8;
    --line: #223562; --line-strong: #31477E;
    --glass: #12224A; --glass-strong: #1B2F61; --glass-line: #223562; --field: #12224A;
    --brand: #6FA0FF; --brand-deep: #9DBEFF; --brand-ink: #0B1633; --brand-soft: rgba(111,160,255,.16);
    --cta: #F5A030; --cta-deep: #FFB656; --cta-ink: #1A1000; --band: #12327E;
    --paint: #F5A030; --paint-ink: #1A1000; --focus: #6FA0FF;
}

body { font-family: var(--font); background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--lw-navy); }
:root[data-theme="dark"] :is(h1, h2, h3) { color: #fff; }
.section > h2 { font-size: clamp(26px, 3.6vw, 36px); text-align: center; }
.section > p { text-align: center !important; margin-left: auto; margin-right: auto; }
.eyebrow, .section > .eyebrow { color: var(--lw-orange); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; text-align: center; max-width: none; }
.page-head::after { background: var(--lw-orange); height: 4px; border-radius: 4px; }

/* ---- Bandeau promo orange ---- */
.hs-promo { background: var(--lw-orange); color: #fff; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; }
.hs-promo a { color: inherit; text-decoration: none; display: block; }
.hs-promo .track { display: inline-flex; gap: 56px; padding: 10px 0; animation: hs-marquee 38s linear infinite; }
.hs-promo b { color: #000; font-weight: 600; }
.hs-promo:hover .track { animation-play-state: paused; }
@keyframes hs-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hs-promo .track { animation: none; } }

/* ---- En-tête ---- */
.site-head .ins { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px -10px rgba(11,30,74,.25); }
:root[data-theme="dark"] .site-head .ins { background: var(--bg); }
.site-head .in { padding-top: 12px; padding-bottom: 12px; }
.nav a, .nav button { border-radius: 6px; font-weight: 600; color: var(--lw-navy); }
:root[data-theme="dark"] .nav a, :root[data-theme="dark"] .nav button { color: #fff; }
.nav a:hover, .nav button:hover { background: var(--lw-blue-xsoft); color: var(--lw-blue); }
:root[data-theme="dark"] .nav a:hover { background: var(--glass-strong); color: var(--brand); }
.nav a[aria-current=page] { background: transparent; color: var(--lw-blue); box-shadow: inset 0 -3px 0 var(--lw-orange); border-radius: 0; }
.nav a.cta { background: var(--lw-orange); color: #fff; border-radius: 6px; padding: 0 22px; font-weight: 700; box-shadow: none; }
.nav a.cta:hover { background: var(--lw-orange-deep); color: #fff; }
.nav a[href="login.php"] { color: var(--lw-blue); }
.lang a[aria-current] { color: var(--lw-blue); }

/* ---- Boutons orange ---- */
button, .btn { background: var(--lw-orange); color: #fff; border-radius: 6px; min-height: 48px; font-weight: 700; letter-spacing: 0; box-shadow: 0 6px 16px -8px rgba(242,139,0,.7); }
button:hover, .btn:hover { background: var(--lw-orange-deep); color: #fff; box-shadow: 0 8px 20px -8px rgba(242,139,0,.8); }
.btn.alt, .logout { background: transparent; color: var(--lw-blue); border: 1.5px solid var(--lw-blue); box-shadow: none; }
.btn.alt:hover, .logout:hover { background: var(--lw-blue-xsoft); border-color: var(--lw-blue); }
.nav button, .theme-toggle, .nav-toggle { background: none; color: var(--ink); box-shadow: none; }

/* ---- Cartes et champs ---- */
form, .box, .tile, .stat, .done, .tblwrap, .kpi, .slide, .g-item { border-radius: 12px; border: 1px solid var(--line); background: var(--glass); box-shadow: 0 2px 10px -6px rgba(11,30,74,.18); }
.tile:hover, a.tile:hover { border-color: var(--lw-blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.tile .price, .kpi b { color: var(--lw-blue); }
:root[data-theme="dark"] .tile .price, :root[data-theme="dark"] .kpi b { color: var(--brand); }
input, select, textarea { border-radius: 6px; border: 1px solid var(--line-strong); }
input:focus, select:focus, textarea:focus { border-color: var(--lw-blue); box-shadow: 0 0 0 3px var(--lw-blue-soft); }

/* ---- Héro : dégradé bleu nuit → bleu, titre blanc, bouton orange ---- */
.hero { width: 100%; max-width: none; margin: 0; border-radius: 0; background: linear-gradient(120deg, #0B1E4A 0%, #12327E 55%, #0A4FD6 130%); color: #fff; }
.hero::before { display: none; }
.hero .in { max-width: 1200px; margin: 0 auto; padding: clamp(52px, 8vw, 110px) 24px; text-align: left; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.hero h2, .hero.has-video h2 { color: #FFC670; -webkit-text-fill-color: #FFC670; background: none; font-weight: 600; text-transform: none; font-size: clamp(25px, 3.6vw, 38px); text-transform: uppercase;font-weight: 601;}
.hero .lead { color: rgba(255,255,255,.88); font-size: 17px; max-width: 56ch; }
.hero .kicker { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: #fff; }
.hero .btn { background: var(--lw-orange); color: #fff; min-height: 52px; padding: 0 30px; font-size: 16px; }
.hero .btn:hover { background: #FFA21F; }
.hero .btn.alt { background: transparent; border: 1.5px solid #fff; color: #fff; box-shadow: none; }
.hero .btn.alt:hover { background: rgba(255,255,255,.12); }
.hero .actions { justify-content: flex-start; }
.hero-shade { background: linear-gradient(120deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.1)); }
.hero-guarantee { margin-top: 18px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 14px; }
.hero-guarantee svg { color: #5BE08A; }
.cd-unit { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; color: #fff; }

/* ---- Bande de confiance ---- */
.hs-trust { border-bottom: 1px solid var(--line); background: var(--lw-blue-xsoft); }
:root[data-theme="dark"] .hs-trust { background: var(--surface); }
.hs-trust .in { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: center; color: var(--lw-navy); font-weight: 600; font-size: 14px; }
:root[data-theme="dark"] .hs-trust .in { color: #fff; }
.hs-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hs-trust svg { color: var(--lw-blue); }

/* ---- Cartes « challenges » façon offres d'hébergement ---- */
.tiles .tile { position: relative; padding: 30px 24px 26px; display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; }
.tiles .tile h3 { font-size: 20px; color: var(--lw-blue); }
:root[data-theme="dark"] .tiles .tile h3 { color: var(--brand); }
.tiles .tile .price { font-size: 38px; font-weight: 700; margin: 6px 0 10px; color: var(--lw-navy); }
:root[data-theme="dark"] .tiles .tile .price { color: #fff; }
.tiles .tile .btn { margin-top: auto; width: 100%; text-align: center; justify-content: center; }
.tiles-challenges .tile:nth-child(2) { border: 2px solid var(--lw-orange); box-shadow: var(--shadow); }
.tiles-challenges .tile:nth-child(2)::before { content: "Le + populaire"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--lw-red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.ticks { list-style: none; padding: 0; margin: 10px 0 22px; text-align: left; width: 100%; }
.ticks li { padding-left: 28px; position: relative; margin: 9px 0; /*! display: flex; *//*! align-items: center; */}
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: #F28B00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231BA34B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---- Valeurs : « Pourquoi choisir… » en 3 colonnes ---- */
.v-ico { background: var(--lw-blue-soft); color: var(--lw-blue); border-radius: 50%; }
.values-band { background: var(--lw-blue-xsoft) !important; }
:root[data-theme="dark"] .values-band { background: var(--surface) !important; }
.tile.value { text-align: left; align-items: flex-start; }

/* ---- Chiffres clés ---- */
.kpi b { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; }
.kpi-l { color: var(--lw-navy); font-weight: 600; }
:root[data-theme="dark"] .kpi-l { color: #fff; }

/* ---- Bandeau CTA bleu ---- */
.cta-band { background: linear-gradient(120deg, #0B1E4A 0%, #0A4FD6 100%); border-radius: 16px; padding: clamp(32px, 5vw, 60px); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .btn, :root[data-theme="light"] .cta-band .btn { background: var(--lw-orange); color: #fff; }
.cta-band .btn:hover, :root[data-theme="light"] .cta-band .btn:hover { background: #FFA21F; color: #fff; }
.cta-band .btn.alt { background: transparent; color: #fff; border-color: #fff; }

/* ---- FAQ (accordéon) ---- */
.hs-faq { /*! max-width: 900px; */ }
.hs-faq details { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 10px 0; background: var(--glass); }
.hs-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--lw-navy); }
:root[data-theme="dark"] .hs-faq summary { color: #fff; }
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::after { content: "+"; color: var(--lw-orange); font-size: 24px; line-height: 1; }
.hs-faq details[open] summary::after { content: "−"; }
.hs-faq p { color: var(--muted); margin: 10px 0 0; text-align: left; }

/* ---- Pied de page bleu foncé ---- */
.site-foot { margin-top: 72px; }
.site-foot .ins { background: var(--lw-navy); border-top: 4px solid var(--lw-orange); }
.site-foot, .site-foot p, .site-foot .legal { color: #C9D4EE; }
.site-foot h2 { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: #fff; }
.site-foot a { color: #C9D4EE; font-weight: 500; }
.site-foot a:hover { color: var(--lw-orange); }
.site-foot .cols > div:first-child h2 { text-transform: none; letter-spacing: 0; font-size: 18px; line-height: 1.35; }

/* ---- Sélecteur de langue : menu déroulant avec drapeaux ---- */
.lang-dd { position: relative; flex: none; }
.lang-dd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--glass); color: var(--ink); font: 600 14px/1 var(--font); user-select: none; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover, .lang-dd[open] summary { border-color: var(--lw-blue); }
.lang-dd summary:focus-visible { outline: 2px solid var(--lw-blue); outline-offset: 2px; }
.lang-flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11,30,74,.15); flex: none; }
.lang-chev { transition: transform .2s; }
.lang-dd[open] .lang-chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--glass); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.lang-menu li { margin: 0; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 0; border-radius: 6px; color: var(--ink); font: 500 14px/1.2 var(--font); text-decoration: none; letter-spacing: 0; }
.lang-menu a:hover { background: var(--lw-blue-xsoft); color: var(--lw-blue); }
:root[data-theme="dark"] .lang-menu a:hover { background: var(--glass-strong); color: var(--brand); }
.lang-menu a[aria-current="true"] { background: var(--lw-blue-soft); color: var(--lw-blue); font-weight: 700; }
:root[data-theme="dark"] .lang-menu a[aria-current="true"] { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 520px) { .lang-dd .lang-name { display: none; } .lang-dd summary { padding: 0 10px; } }

/* ---- Pied de page : boutons réseaux sociaux ---- */
.foot-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-foot .soc { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); transition: background .2s, border-color .2s, transform .2s; }
.site-foot .soc:hover { background: var(--lw-orange); border-color: var(--lw-orange); color: #fff; transform: translateY(-2px); }
.site-foot .soc:focus-visible { outline: 2px solid var(--lw-orange); outline-offset: 2px; }
