/* ==========================================================================
   Dominex — Thème « Solimi » (page d'accueil uniquement)
   Design inspiré de solimi.co : navy #001634 / cyan #02d9f9, typographie
   Century Gothic, animations (typewriter, marquee, révélations au scroll).
   Toutes les règles sont scope via `body.page-home` pour ne pas affecter
   les autres pages du site.
   ========================================================================== */

body.page-home {
    font-family: "Century Gothic", CenturyGothic, "Trebuchet MS", "Segoe UI",
        system-ui, -apple-system, sans-serif;
    --c-navy: #001634;
    --c-navy-2: #012a62;
    --c-navy-3: #052850;
    --c-cyan: #02d9f9;
    --c-cyan-soft: #22d3ee;
    --c-cyan-100: #cffafe;
    --c-cyan-50: #ecfeff;
    --c-slate: #f1f5f9;
    --c-slate-2: #f8fafc;
    --c-orange: #ef821d;
    color: var(--c-navy-2);
    background: #fff;
}

body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-home h4 {
    font-family: "Century Gothic", CenturyGothic, "Trebuchet MS", "Segoe UI",
        system-ui, sans-serif;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   En-tête (restylé uniquement sur l'accueil)
   ========================================================================== */
body.page-home .site-header {
    position: sticky;
    background: #f1f5f9;
    border-bottom: 1px solid rgba(1, 42, 98, 0.06);
    box-shadow: none;
}
body.page-home .site-header.is-scrolled {
    border-color: rgba(1, 42, 98, 0.08);
    box-shadow: 0 6px 24px rgba(0, 22, 52, 0.08);
}
body.page-home .nav { height: 76px; }
body.page-home .brand__name {
    color: var(--c-navy);
    font-family: "Century Gothic", CenturyGothic, "Trebuchet MS", sans-serif;
}
body.page-home .brand__img { height: 52px; }
body.page-home a.brand:hover .brand__name { color: var(--c-navy-2); }
body.page-home .nav__links a { color: var(--c-navy); font-weight: 700; }
body.page-home .nav__links a:hover { color: var(--c-cyan); }
body.page-home .nav__toggle span { background: var(--c-navy); }
body.page-home .nav__cta {
    background: var(--c-navy-2);
    color: #fff;
    border-radius: 10px;
}
body.page-home .nav__cta:hover {
    background: var(--c-navy);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Boutons
   ========================================================================== */
body.page-home .btn { border-radius: 12px; font-weight: 700; }
body.page-home .btn--primary {
    background: var(--c-navy-2);
    color: #fff;
    box-shadow: 0 10px 24px rgba(1, 42, 98, 0.22);
}
body.page-home .btn--primary:hover {
    background: var(--c-navy);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(1, 42, 98, 0.28);
}
body.page-home .btn--light {
    background: var(--c-cyan);
    color: var(--c-navy);
}
body.page-home .btn--light:hover {
    background: #22e2ff;
    color: var(--c-navy);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(2, 217, 249, 0.35);
}
body.page-home .btn--ghost {
    background: transparent;
    color: var(--c-navy-2);
    border: 1.5px solid rgba(1, 42, 98, 0.25);
}
body.page-home .btn--ghost:hover {
    border-color: var(--c-navy-2);
    color: var(--c-navy-2);
    transform: translateY(-3px);
    background: rgba(1, 42, 98, 0.04);
}
/* ==========================================================================
   Vagues décoratives (diviseurs de sections)
   ========================================================================== */
.wave {
    display: block;
    width: 100%;
    height: 70px;
    line-height: 0;
    margin: 0;
}
.wave svg { display: block; width: 100%; height: 70px; }
.wave--flip svg { transform: rotate(180deg); }
.wave--navy { background: #001634; }

/* ==========================================================================
   HERO
   ========================================================================== */
body.page-home .hero {
    position: relative;
    padding: 40px 0 0;
    background:
        radial-gradient(1000px 460px at 88% -10%, rgba(2, 217, 249, 0.16) 0%, transparent 60%),
        radial-gradient(700px 420px at 0% 10%, rgba(1, 42, 98, 0.08) 0%, transparent 60%),
        #fff;
    overflow: hidden;
}
body.page-home .hero::before,
body.page-home .hero::after { display: none; }

body.page-home .hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    padding: 48px 0 60px;
}

body.page-home .hero__content h1 {
    color: var(--c-navy);
    font-size: clamp(2.3rem, 5.2vw, 3.55rem);
    font-weight: 800;
    margin: 18px 0 20px;
    line-height: 1.12;
}
body.page-home .hero__content .lead {
    color: #5b6b83;
    font-size: 1.1rem;
    max-width: 480px;
}

body.page-home .badge {
    background: rgba(2, 217, 249, 0.12);
    color: #0a7f96;
    border: 1px solid rgba(2, 217, 249, 0.35);
}

body.page-home .hero__checks li { color: #5b6b83; font-weight: 600; }
body.page-home .hero__checks li::before { color: var(--c-cyan-soft); }

/* Effet machine à écrire */
.type-window {
    display: inline-flex;
    align-items: center;
    color: var(--c-navy-2);
    font-weight: 800;
}
.type-caret {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 4px;
    background: var(--c-cyan);
    animation: blink 0.75s step-end infinite;
    border-radius: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* Maquette dashboard (carte navy / cyan) */
body.page-home .mockup {
    background: linear-gradient(160deg, #012a62 0%, #001634 100%);
    border: 1px solid rgba(2, 217, 249, 0.25);
    border-radius: 24px;
    box-shadow: 0 32px 70px rgba(0, 22, 52, 0.35);
    overflow: hidden;
    position: relative;
}
body.page-home .mockup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 220px at 85% 0%, rgba(2, 217, 249, 0.28), transparent 60%);
    pointer-events: none;
}
body.page-home .mockup__bar {
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.page-home .mockup__bar i:first-child { background: #02d9f9; }
body.page-home .mockup__bar i:nth-child(2) { background: #fbbf24; }
body.page-home .mockup__bar i:nth-child(3) { background: #34d399; }
body.page-home .mockup__body { position: relative; }
body.page-home .mockup__label { color: rgba(255, 255, 255, 0.65); }
body.page-home .mockup__row strong { color: #fff; }
body.page-home .mockup__row strong .accent { color: var(--c-cyan); }
body.page-home .mockup__chart {
    height: 96px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(2, 217, 249, 0.35), rgba(2, 217, 249, 0.02));
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(2, 217, 249, 0.2);
}
body.page-home .mockup__chart::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: repeating-linear-gradient(
        90deg,
        rgba(2, 217, 249, 0.0) 0px,
        rgba(2, 217, 249, 0.0) 12px,
        rgba(2, 217, 249, 0.55) 12px,
        rgba(2, 217, 249, 0.55) 18px
    );
}
body.page-home .mockup__bar-cta {
    margin-top: 6px;
    padding: 12px;
    border-radius: 12px;
    background: var(--c-cyan);
    color: var(--c-navy);
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* Puces flottantes */
body.page-home .float-chip {
    position: absolute;
    z-index: 3;
    background: #fff;
    color: var(--c-navy);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: 100px;
    box-shadow: 0 12px 28px rgba(0, 22, 52, 0.2);
    border: 1px solid rgba(1, 42, 98, 0.08);
    animation: chipFloat 5s ease-in-out infinite;
}
body.page-home .float-chip.chip--1 { top: -18px; left: -14px; }
body.page-home .float-chip.chip--2 { bottom: 40px; left: -30px; animation-delay: 1.4s; }
body.page-home .float-chip.chip--3 { top: 30%; right: -18px; animation-delay: 2.6s; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
/* ==========================================================================
   CARTES CONCEPT (bandeau cyan sous le hero)
   ========================================================================== */
body.page-home .concept {
    background: var(--c-cyan-100);
    padding: 30px 0;
}
body.page-home .concept__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
body.page-home .concept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
}
body.page-home .concept-card:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-4px);
}
body.page-home .concept-card .concept-card__icon {
    width: 62px;
    height: 62px;
    font-size: 2.2rem;
    display: grid;
    place-items: center;
}
body.page-home .concept-card h3 {
    color: var(--c-navy);
    font-size: 1.05rem;
    line-height: 1.3;
}
body.page-home .concept-card h3 span { font-weight: 800; }
body.page-home .concept-card p { color: #33517a; font-size: 0.92rem; max-width: 300px; }

/* ==========================================================================
   MARQUEE (ruban défilant)
   ========================================================================== */
body.page-home .marquee {
    background: var(--c-navy);
    color: #fff;
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid rgba(2, 217, 249, 0.2);
    border-bottom: 1px solid rgba(2, 217, 249, 0.2);
}
body.page-home .marquee__track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 30s linear infinite;
}
body.page-home .marquee__group {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}
body.page-home .marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
body.page-home .marquee__item .dot {
    color: var(--c-cyan);
    font-size: 1.4rem;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Sections / titres
   ========================================================================== */
body.page-home .section { padding: 86px 0; }
body.page-home .section--alt { background: var(--c-slate-2); }

body.page-home .eyebrow {
    color: #0a7f96;
    background: rgba(2, 217, 249, 0.12);
    border: 1px solid rgba(2, 217, 249, 0.3);
}
body.page-home .section__head h2 {
    color: var(--c-navy);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
}
body.page-home .section__head p { color: #5b6b83; }
/* ==========================================================================
   AUDIENCES (pensé pour chacun)
   ========================================================================== */
body.page-home .audiences { gap: 22px; }
body.page-home .audiences--4 { grid-template-columns: repeat(4, 1fr); }
body.page-home .audience {
    background: #fff;
    border: 1px solid rgba(1, 42, 98, 0.08);
    border-radius: 20px;
    padding: 32px 26px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 22, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
body.page-home .audience:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(0, 22, 52, 0.12);
    border-color: rgba(2, 217, 249, 0.5);
}
body.page-home .audience__icon {
    font-size: 2.4rem;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(2, 217, 249, 0.12);
    margin-bottom: 16px;
}
body.page-home .audience h3 { color: var(--c-navy); font-size: 1.15rem; margin-bottom: 8px; }
body.page-home .audience p { color: #5b6b83; font-size: 0.92rem; margin-bottom: 14px; }
body.page-home .audience__link {
    color: #0a7f96;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
body.page-home .audience__link:hover { color: var(--c-navy-2); }
body.page-home .audience__link span { transition: transform 0.2s ease; }
body.page-home .audience:hover .audience__link span { transform: translateX(4px); }

/* ==========================================================================
   FEATURES / SERVICES (cartes)
   ========================================================================== */
body.page-home .features { gap: 22px; }
body.page-home .feature,
body.page-home .card {
    background: #fff;
    border: 1px solid rgba(1, 42, 98, 0.08);
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(0, 22, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
body.page-home .feature:hover,
body.page-home .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(0, 22, 52, 0.13);
    border-color: rgba(2, 217, 249, 0.55);
}
body.page-home .feature__icon,
body.page-home .card__icon {
    font-size: 2rem;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(2, 217, 249, 0.12);
}
body.page-home .feature h3,
body.page-home .card h3 { color: var(--c-navy); }
body.page-home .feature p,
body.page-home .card p { color: #5b6b83; }

/* Valeurs (« Pourquoi nous ? ») */
body.page-home .values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
body.page-home .value {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(1, 42, 98, 0.08);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 26px rgba(0, 22, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.page-home .value:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(0, 22, 52, 0.12); }
body.page-home .value__num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--c-navy);
    color: var(--c-cyan);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
}
body.page-home .value h3 { color: var(--c-navy); font-size: 1.15rem; margin-bottom: 6px; }
body.page-home .value p { color: #5b6b83; font-size: 0.94rem; }

/* ==========================================================================
   ÉTAPES (comment ça marche)
   ========================================================================== */
body.page-home .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
body.page-home .step {
    position: relative;
    text-align: center;
    padding: 30px 22px;
}
body.page-home .step__num {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--c-cyan);
    color: var(--c-navy);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 10px 24px rgba(2, 217, 249, 0.4);
}
body.page-home .step h3 { color: var(--c-navy); font-size: 1.05rem; margin-bottom: 8px; }
body.page-home .step p { color: #5b6b83; font-size: 0.9rem; }
/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
body.page-home .cards--testi { grid-template-columns: repeat(3, 1fr); gap: 22px; }
body.page-home .card--testi { padding: 28px; }
body.page-home .card--testi p { font-size: 0.98rem; color: #3a4f6f; }
body.page-home .card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(1, 42, 98, 0.1);
}
body.page-home .card__author strong { color: var(--c-navy); }
body.page-home .card__author span {
    color: var(--c-cyan-soft);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
body.page-home .faq { max-width: 780px; margin: 0 auto; }
body.page-home .faq__item {
    background: #fff;
    border: 1px solid rgba(1, 42, 98, 0.08);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
body.page-home .faq__item.is-open {
    border-color: rgba(2, 217, 249, 0.55);
    box-shadow: 0 12px 28px rgba(0, 22, 52, 0.08);
}
body.page-home .faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-navy);
}
body.page-home .faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(2, 217, 249, 0.14);
    color: #0a7f96;
    display: grid;
    place-items: center;
    font-weight: 800;
    transition: transform 0.25s ease;
}
body.page-home .faq__item.is-open .faq__icon { transform: rotate(45deg); }
body.page-home .faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
body.page-home .faq__item.is-open .faq__answer { max-height: 240px; }
body.page-home .faq__answer p { padding: 0 22px 20px; color: #5b6b83; }
/* ==========================================================================
   CTA final (bannière navy)
   ========================================================================== */
body.page-home .cta {
    background: linear-gradient(120deg, #001634 0%, #012a62 55%, #052850 100%);
    color: #fff;
    padding: 86px 0;
    position: relative;
    overflow: hidden;
}
body.page-home .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 15% 20%, rgba(2, 217, 249, 0.22), transparent 60%),
        radial-gradient(600px 340px at 90% 90%, rgba(2, 217, 249, 0.16), transparent 60%);
    pointer-events: none;
}
body.page-home .cta__inner {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    background: transparent;
    color: #fff;
    padding: 0;
    border-radius: 0;
}
body.page-home .cta h2 {
    color: #fff;
    font-size: clamp(1.9rem, 4.4vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 14px;
}
body.page-home .cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    margin-bottom: 24px;
}
body.page-home .cta .app-badges__label { color: rgba(255, 255, 255, 0.6); }
body.page-home .app-badge {
    background: #000;
    border-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Transparence
   ========================================================================== */
body.page-home .disclaimer { background: #fff; padding: 34px 0; }
body.page-home .disclaimer__inner {
    background: rgba(2, 217, 249, 0.08);
    border: 1px solid rgba(2, 217, 249, 0.3);
    color: #33517a;
    border-radius: 14px;
}
body.page-home .disclaimer a { color: #0a7f96; font-weight: 700; }
body.page-home .disclaimer__inner p { color: #33517a; }

/* ==========================================================================
   Pied de page (navy)
   ========================================================================== */
body.page-home .site-footer {
    background: var(--c-navy);
    color: rgba(255, 255, 255, 0.72);
}
body.page-home .site-footer .brand__name { color: #fff; }
body.page-home .site-footer .brand__img { background: #fff; border-radius: 10px; padding: 6px 10px; }
body.page-home .site-footer h3 { color: #fff; font-size: 1rem; }
body.page-home .site-footer a { color: rgba(255, 255, 255, 0.72); }
body.page-home .site-footer a:hover { color: var(--c-cyan); }
body.page-home .site-footer .footer__social a {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
body.page-home .site-footer .footer__social a:hover {
    background: var(--c-cyan);
    color: var(--c-navy);
}
body.page-home .footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
body.page-home .footer__bottom a { color: rgba(255, 255, 255, 0.6); }
body.page-home .footer__bottom a:hover { color: var(--c-cyan); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    body.page-home .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    body.page-home .audiences--4 { grid-template-columns: repeat(2, 1fr); }
    body.page-home .values { grid-template-columns: 1fr; }
    body.page-home .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    body.page-home .marquee__track { animation-duration: 15s; }
    body.page-home .concept__grid { grid-template-columns: 1fr; gap: 8px; }
    body.page-home .audiences--4 { grid-template-columns: 1fr; }
    body.page-home .steps { grid-template-columns: 1fr; }
    body.page-home .float-chip { display: none; }
    body.page-home .hero { padding-top: 24px; }
    body.page-home .cards--testi { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    body.page-home .marquee__track { animation: none; }
    .type-caret { animation: none; }
    body.page-home .float-chip { animation: none; }
}