/* ═══════════════════════════════════════════════════════════════════════════
   MonIP.lws.fr — Design System (LWS Brand)
   Couleurs : Orange #FF6600 · Navy #0e1f45 · Blanc #ffffff
   Police   : Open Sans (Google Fonts)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');

/* ─── Reset & Base ────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* LWS Brand */
    --lws-orange:   #FF6600;
    --lws-orange-d: #e05500;
    --lws-orange-l: #fff1e6;
    --lws-navy:     #1e3082;   /* bleu LWS réel */
    --lws-navy-d:   #162368;
    --lws-navy-m:   #263a9a;

    /* Neutrals */
    --gray-50:  #f7f8fc;
    --gray-100: #eef0f7;
    --gray-200: #dde1ef;
    --gray-300: #c4cade;
    --gray-400: #9aa3be;
    --gray-500: #6b7592;
    --gray-600: #4b5370;
    --gray-700: #2e3655;
    --gray-800: #1a2240;
    --gray-900: #0e1530;

    /* Semantic */
    --green-100:#e6f9ef; --green-600:#16a34a;
    --blue-100: #e0eeff; --blue-600: #2563eb;
    --purple-100:#f0e8ff; --purple-600:#7c3aed;
    --teal-100: #e0faf5; --teal-600: #0d9488;
    --red-100:  #fee2e2; --red-600:  #dc2626;
    --amber-100:#fff8e1; --amber-600:#d97706;
    --indigo-100:#e8eeff; --indigo-600:#4338ca;

    /* Spacing / UI */
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(14,31,69,.08);
    --shadow:    0 4px 20px rgba(14,31,69,.10), 0 1px 4px rgba(14,31,69,.06);
    --shadow-lg: 0 16px 48px rgba(14,31,69,.16), 0 4px 12px rgba(14,31,69,.08);
    --transition: 200ms cubic-bezier(.4,0,.2,1);

    --header-h: 66px;
    --font: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
    font-size: 16px;
}
body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--lws-orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lws-orange-d); }
code {
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: .875em;
}
sup { font-size: .65em; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ HEADER ════════════════════════════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--lws-navy);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 28px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-img {
    height: 26px;
    width: auto;
    display: block;
}
.logo-sep {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,.2);
}
.logo-service {
    font-size: .85rem;
    font-weight: 700;
    color: var(--lws-orange);
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-link {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.btn-lws {
    padding: 8px 20px;
    background: var(--lws-orange);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: .02em;
    transition: background var(--transition), transform var(--transition);
}
.btn-lws:hover {
    background: var(--lws-orange-d);
    color: #fff;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none;
    cursor: pointer; padding: 4px;
    margin-left: auto;
}
.nav-toggle span {
    display: block; height: 2px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language selector */
.lang-select {
    position: relative;
    flex-shrink: 0;
}
.lang-select__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,.85);
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition);
}
.lang-select__toggle:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.25);
}
.lang-select__chevron {
    width: 14px; height: 14px;
    transition: transform var(--transition);
}
.lang-select.is-open .lang-select__chevron {
    transform: rotate(180deg);
}
.lang-select__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: var(--lws-navy);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    padding: 6px 0;
    z-index: 200;
    list-style: none;
    margin: 0;
}
.lang-select.is-open .lang-select__dropdown {
    display: block;
}
.lang-select__option {
    display: block;
    padding: 8px 16px;
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.lang-select__option:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.lang-select__option--active {
    color: var(--lws-orange);
    font-weight: 700;
}

/* ═══ BUTTONS ═══════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
    background: var(--lws-orange);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,102,0,.35);
}
.btn--primary:hover {
    background: var(--lws-orange-d);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,102,0,.42);
}

.btn--secondary {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,.25);
}
.btn--secondary:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.5);
    color: #fff;
    transform: translateY(-2px);
}

/* ═══ BADGES ════════════════════════════════════════════════════════════════ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.badge--v4   { background: rgba(255,255,255,.15); color: #fff; }
.badge--v6   { background: rgba(124,58,237,.25); color: #c4b5fd; }
.badge--public  { background: rgba(22,163,74,.2); color: #86efac; }
.badge--private { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.badge--warn    { background: rgba(217,119,6,.25); color: #fcd34d; }

/* ═══ HERO ═══════════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 56px 0 68px;
    /* Hero très sombre pour se distinguer nettement du header bleu */
    background: #05090f;
    color: #fff;
}

.hero-bg {
    position: absolute; inset: 0;
    overflow: hidden; pointer-events: none;
}

/* Canvas plein écran pour l'animation réseau */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Vignette : dégradé sombre sur les bords pour que le texte soit lisible */
.hero-vignette {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, transparent 30%, rgba(5,9,15,.75) 100%),
        linear-gradient(to bottom, rgba(5,9,15,.4) 0%, transparent 40%, transparent 60%, rgba(5,9,15,.5) 100%);
}

/* Orange accent strip at bottom of hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--lws-orange);
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* H1 SEO — visible mais discret visuellement */
.hero-h1 {
    font-size: clamp(.9rem, 1.5vw, 1.05rem);
    font-weight: 700;
    color: var(--lws-orange);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

/* Grande IP — visuel principal (div, pas h1) */
.hero-ip {
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 28px;
}
.flag { font-size: 1.3em; }

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-hostname {
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}
.hero-hostname span {
    font-family: monospace;
    color: rgba(255,255,255,.6);
}

/* ═══ SEARCH SECTION ════════════════════════════════════════════════════════ */

.search-section {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 32px 0;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.search-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
}

.search-row { display: flex; gap: 10px; }

.search-input {
    flex: 1;
    padding: 13px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    color: var(--gray-900);
    background: var(--gray-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.search-input::placeholder { color: var(--gray-400); font-family: var(--font); }
.search-input:focus {
    border-color: var(--lws-orange);
    box-shadow: 0 0 0 3px rgba(255,102,0,.12);
    background: #fff;
}

.search-btn { flex-shrink: 0; }

/* ═══ SECTION TITLES ════════════════════════════════════════════════════════ */

.section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--lws-navy);
    margin-bottom: 8px;
    letter-spacing: -.02em;
}
/* Orange underline accent */
.section-title::after {
    content: '';
    display: block;
    width: 40px; height: 3px;
    background: var(--lws-orange);
    border-radius: 2px;
    margin-top: 10px;
}

.section-sub {
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 560px;
    margin-top: 12px;
}

/* ═══ INFO CARDS ════════════════════════════════════════════════════════════ */

.info-section { padding: 64px 0; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 22px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: var(--lws-orange);
}

.info-card__icon {
    width: 46px; height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-card__icon svg { width: 22px; height: 22px; }

/* Icon color variants */
.info-card__icon--orange { background: var(--lws-orange-l); color: var(--lws-orange); }
.info-card__icon--blue   { background: var(--blue-100);     color: var(--blue-600);   }
.info-card__icon--green  { background: var(--green-100);    color: var(--green-600);  }
.info-card__icon--purple { background: var(--purple-100);   color: var(--purple-600); }
.info-card__icon--teal   { background: var(--teal-100);     color: var(--teal-600);   }
.info-card__icon--red    { background: var(--red-100);      color: var(--red-600);    }
.info-card__icon--amber  { background: var(--amber-100);    color: var(--amber-600);  }
.info-card__icon--indigo { background: var(--indigo-100);   color: var(--indigo-600); }
.info-card__icon--navy   { background: var(--gray-100);     color: var(--lws-navy);   }

.info-card__content { flex: 1; min-width: 0; }
.info-card__label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.info-card__value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lws-navy);
    line-height: 1.3;
    word-break: break-word;
}
.info-card__value--mono {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: .9rem;
    font-weight: 600;
}
.info-card__sub {
    font-size: .82rem;
    color: var(--gray-500);
    margin-top: 3px;
}

/* ═══ MAP ════════════════════════════════════════════════════════════════════ */

.map-section {
    padding: 64px 0 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.map-container {
    width: 100%;
    height: 460px;
    background: var(--gray-100);
    margin-top: 32px;
}

.map-footer {
    padding: 14px 0;
    font-size: .8rem;
    color: var(--gray-400);
}
.map-footer p {
    display: flex;
    align-items: center;
    gap: 6px;
}
.map-footer__icon { width: 14px; height: 14px; flex-shrink: 0; }

/* Leaflet overrides */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--gray-200);
}
.leaflet-popup-content {
    font-family: var(--font);
    font-size: .9rem;
    line-height: 1.5;
    margin: 12px 16px !important;
}
.leaflet-popup-content strong {
    font-family: monospace;
    font-size: 1rem;
    color: var(--lws-orange);
}

/* ═══ EXPLAINER ══════════════════════════════════════════════════════════════ */

.explainer-section {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.explainer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.explainer-card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--lws-orange);
}
.explainer-card__num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 14px;
}
.explainer-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lws-navy);
    margin-bottom: 14px;
}
.explainer-card p {
    font-size: .92rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 10px;
}
.explainer-card p:last-child { margin-bottom: 0; }

/* ═══ BANNIÈRE LWS ═══════════════════════════════════════════════════════════ */

.lws-promo {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 56px 0;
}

.lws-promo__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.lws-promo__label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--lws-orange);
    margin-bottom: 12px;
}

.lws-promo__logo {
    height: 36px;
    width: auto;
    display: block;
    margin: 0 auto 20px;
}

.lws-promo__desc {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--gray-600);
    max-width: 520px;
    margin: 0 auto 8px;
}
.lws-promo__desc strong { color: var(--lws-navy); }

.btn--promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: var(--lws-orange);
    color: #fff;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255,102,0,.3);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn--promo svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--promo:hover {
    background: var(--lws-orange-d);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,102,0,.4);
}

.lws-promo__banner-link {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    margin-top: 8px;
}
.lws-promo__banner-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.lws-promo__banner {
    display: block;
    /* Taille réelle du GIF, pas de contrainte */
    max-width: 100%;
    height: auto;
}

/* ═══ FOOTER ══════════════════════════════════════════════════════════════════ */

.site-footer {
    background: var(--lws-navy-d);
    color: rgba(255,255,255,.65);
    border-top: 3px solid var(--lws-orange);
}

.footer-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    padding-top: 60px;
    padding-bottom: 48px;
    align-items: start;
}

.footer-brand {}
.footer-logo { display: block; margin-bottom: 16px; }
.footer-logo-img { height: 30px; width: auto; }
.footer-tagline {
    font-size: .875rem;
    line-height: 1.65;
    color: rgba(255,255,255,.45);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.footer-col h4 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--lws-orange);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
}
.footer-phone svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--lws-orange); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
}
.footer-bottom p {
    font-size: .78rem;
    color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ═══ RESPONSIVE ══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }

    .nav, .btn-lws, .lang-select { display: none; }
    .nav-toggle { display: flex; }

    .nav.is-open {
        display: flex;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0; bottom: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--lws-navy);
        padding: 20px;
        gap: 4px;
        z-index: 99;
        border-top: 1px solid rgba(255,255,255,.1);
    }
    .nav.is-open .nav-link {
        padding: 14px 18px;
        font-size: .95rem;
        border-radius: var(--radius);
    }
    .nav.is-open ~ .lang-select {
        display: block;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        padding: 16px 20px;
        background: var(--lws-navy);
        border-top: 1px solid rgba(255,255,255,.1);
        z-index: 100;
    }
    .nav.is-open ~ .lang-select .lang-select__dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        columns: 2;
        padding: 8px 0 0;
    }
    .nav.is-open ~ .lang-select.is-open .lang-select__dropdown {
        display: block;
    }

    .hero { padding: 60px 0 80px; }
    .hero-ip { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }

    .search-row { flex-direction: column; }
    .search-btn { width: 100%; justify-content: center; }

    .info-grid { grid-template-columns: 1fr; }
    .explainer-grid { grid-template-columns: 1fr; }
    .map-container { height: 320px; }
    .footer-links { grid-template-columns: 1fr; gap: 20px; }
    .footer-inner { padding-top: 36px; padding-bottom: 28px; }
}

@media (max-width: 480px) {
    .hero-ip { font-size: 1.65rem; }
    .btn { padding: 11px 20px; font-size: .9rem; }
    .container { padding: 0 16px; }
}

/* ═══ ANIMATIONS ══════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
    animation: fadeUp .55s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: .04s; }
.hero-inner > *:nth-child(2) { animation-delay: .10s; }
.hero-inner > *:nth-child(3) { animation-delay: .16s; }
.hero-inner > *:nth-child(4) { animation-delay: .22s; }
.hero-inner > *:nth-child(5) { animation-delay: .28s; }
.hero-inner > *:nth-child(6) { animation-delay: .34s; }

.info-card,
.explainer-card {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .45s ease,
        transform .45s ease,
        box-shadow var(--transition),
        border-color var(--transition),
        transform var(--transition);
}
.info-card.visible,
.explainer-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ FAQ ════════════════════════════════════════════════════════════════════ */

.faq-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
}
.faq-section .section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--gray-500);
    margin: -16px auto 40px;
    max-width: 560px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }

.faq-question__icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--lws-orange-l);
    color: var(--lws-orange);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.faq-question__icon svg { width: 16px; height: 16px; }

.faq-question__text {
    flex: 1;
    font-size: .95rem;
    font-weight: 600;
    color: var(--lws-navy);
    transition: color var(--transition);
    text-align: left;
}

.faq-question__chevron {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform var(--transition), color var(--transition);
    display: flex;
}
.faq-question__chevron svg { width: 18px; height: 18px; }

.faq-question:hover {
    background: var(--gray-50);
}
.faq-question:hover .faq-question__text {
    color: var(--lws-orange);
}

.faq-item[open] .faq-question {
    background: #fff8f3;
}
.faq-item[open] .faq-question__text {
    color: var(--lws-orange);
}
.faq-item[open] .faq-question__icon {
    background: var(--lws-orange);
    color: #fff;
}
.faq-item[open] .faq-question__chevron {
    transform: rotate(180deg);
    color: var(--lws-orange);
}

.faq-answer {
    padding: 0 24px 20px 66px;
    border-top: 1px solid var(--gray-100);
    background: #fff8f3;
}
.faq-answer p {
    font-size: .9rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin: 14px 0 0;
}
.faq-answer code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: .83em;
    background: var(--gray-100);
    color: var(--lws-navy);
    padding: 1px 5px;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .faq-answer { padding-left: 24px; }
    .faq-question { padding: 16px 18px; gap: 10px; }
}
