/* assets/ekovio.css */
/* Thème piloté par classe sur <body> */
body.is-dark {
    --bg: #0b1020;
    --card: #0f1530;
    --text: #e9eefc;
    --muted: #adb7d0;
    --brand: #4fb6ff;
    --brand-2: #8fffcb;
    --accent: #d6b3ff;
    --danger: #ff6b6b;
    --success: #2ecc71;
    --glass: rgba(255, 255, 255, 0.06);
    --ring: rgba(79, 182, 255, 0.35);
}

body.is-light {
    --bg: #fcfdff;
    --card: #ffffff;
    --text: #121625;
    --muted: #667085;
    --brand: #0a66ff;
    --brand-2: #00b894;
    --accent: #6f3cff;
    --glass: rgba(15, 15, 40, 0.06);
    --ring: rgba(10, 102, 255, 0.25);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #fcfdff;
        --card: #ffffff;
        --text: #121625;
        --muted: #667085;
        --brand: #0a66ff;
        --brand-2: #00b894;
        --accent: #6f3cff;
        --glass: rgba(15, 15, 40, 0.06);
        --ring: rgba(10, 102, 255, 0.25);
    }
}

a {
    color: var(--muted);
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    position: relative;
    overflow-x: hidden;
}

/* Orbes répétées */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 31% 30%, var(--muted) 0%, transparent 15%),
        radial-gradient(circle at 10% 45%, var(--card) 0%, transparent 15%),
        radial-gradient(circle at 60% 70%, var(--muted) 0%, transparent 10%),
        radial-gradient(circle at 30% 50%, var(--card) 0%, transparent 15%);
    background-size: 100vh 100vw;
    background-repeat: repeat;
    opacity: 0.15;
}



/* Layout */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent);
}

.brand img {
    display: block;
    height: 32px;
    width: auto;
}

.nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
}

.nav .btn-ghost {
    background: transparent;
    border: 1px solid var(--glass);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 20px 20px;
    max-width: 1120px;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }
}

.hero__content h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    margin: 0 0 12px;
}

.grad {
    background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--muted);
    max-width: 60ch;
}

.notice {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--glass);
}

.notice.success {
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.35);
}

.notice.error {
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.35);
}

.waitlist {
    margin-top: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    border: 1px solid var(--glass);
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: end;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field input[type="email"] {
    width: 100%;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--glass);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}

.form-field input:focus {
    box-shadow: 0 0 0 4px var(--ring);
    border-color: transparent;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
}

.check input {
    transform: translateY(1px);
}

.btn-primary,
.btn-secondary {
    padding: 12px 16px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: var(--bg);
    box-shadow: 0 10px 22px rgba(79, 182, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass);
    color: var(--text);
}

.btn-ghost:hover,
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.muted {
    color: var(--muted);
}

.xs {
    font-size: 12px;
}

.bp-md {
    display: none;
}

@media(max-width: 960px) {
    .bp-md {
        display: inline;
    }
}

.hero__stats {
    list-style: none;
    padding: 10px 0 0;
    margin: 0;
    color: var(--muted);
}

.hero__stats li {
    margin: 6px 0;
}

.hero__art {
    position: relative;
    min-height: 360px;
    height: 100%;
}

.card.glass {
    position: absolute;
    top: 20%;
    right: 8%;
    background: var(--glass);
    border: 1px solid var(--glass);
    color: var(--text);
    padding: 16px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.card__title {
    font-size: 13px;
    color: var(--muted);
}

.card__value {
    font-size: 22px;
    margin-top: 6px;
}

/* ===== Hero animation: papers -> checks ===== */
.hero__art {
    position: relative;
    min-height: 320px;
}

.hero__art .admin-killer {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    align-items: center;
    pointer-events: none;
}

/* Papiers (gauche) */
.hero__art .papers {
    display: grid;
    gap: 10px;
    justify-items: end;
    padding-right: 8px;
}

.hero__art .paper {
    width: 120px;
    height: 78px;
    border-radius: 10px;
    background:
        linear-gradient(#0000 10px, #0000) padding-box,
        linear-gradient(var(--glass), var(--glass)) border-box;
    border: 1px solid var(--glass);
    position: relative;
    opacity: .9;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .08));
    animation: float-in 6s linear infinite;
}

.hero__art .paper::before,
.hero__art .paper::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: .25;
}

.hero__art .paper::before {
    top: 18px;
    box-shadow: 0 10px currentColor, 0 20px currentColor, 0 30px currentColor;
}

.hero__art .paper::after {
    top: 46px;
    box-shadow: 0 10px currentColor, 0 20px currentColor;
}

/* Couleurs adaptatives */
.hero__art body.is-dark .paper {
    color: #e9eefc;
}

.hero__art body.is-light .paper {
    color: #121625;
}

/* Rayon (centre) */
.hero__art .beam {
    width: 8px;
    height: 220px;
    border-radius: 999px;
    margin-inline: auto;
    background: linear-gradient(180deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 32px rgba(0, 0, 0, .12), 0 0 24px var(--brand);
    animation: pulse 2s ease-in-out infinite;
}

/* Checks (droite) */
.hero__art .checks {
    display: grid;
    gap: 14px;
    padding-left: 8px;
}

.hero__art .check {
    --s: 24px;
    display: inline-block;
    width: 150px;
    min-height: 42px;
    background: var(--card);
    border: 1px solid var(--glass);
    border-radius: 12px;
    position: relative;
    opacity: 0;
    transform: translateY(8px) scale(.98);
    animation: pop-in 6s ease-in-out infinite;
}

.hero__art .check::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    translate: 0 -50%;
    width: var(--s);
    height: var(--s);
    border-radius: 8px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}

.hero__art .check::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    translate: 0 -40%;
    width: 8px;
    height: 14px;
    rotate: 45deg;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
}

/* Décalages de timing pour effet “pipeline” */
.hero__art .paper:nth-child(1),
.hero__art .check:nth-child(1) {
    animation-delay: 0s;
}

.hero__art .paper:nth-child(2),
.hero__art .check:nth-child(2) {
    animation-delay: 0.6s;
}

.hero__art .paper:nth-child(3),
.hero__art .check:nth-child(3) {
    animation-delay: 1.2s;
}

.hero__art .paper:nth-child(4) {
    animation-delay: 1.8s;
}

.hero__art .paper:nth-child(5) {
    animation-delay: 2.4s;
}

/* Animations */
@keyframes float-in {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: .0;
    }

    10% {
        opacity: 1;
    }

    45% {
        transform: translateX(70px);
    }

    50% {
        transform: translateX(90px) translateY(0) rotate(0deg);
        filter: blur(0);
    }

    60% {
        transform: translateX(110px) scale(.96);
        opacity: .9;
        filter: blur(0);
    }

    70% {
        transform: translateX(130px) scale(.92);
        opacity: .7;
        filter: blur(2px);
    }

    85% {
        transform: translateX(160px) scale(.88);
        opacity: .4;
        filter: blur(4px);
    }

    100% {
        transform: translateX(190px) scale(.85);
        opacity: 0;
        filter: blur(6px);
    }
}

@keyframes pop-in {

    0%,
    45% {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }

    55% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-6px) scale(.995);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 24px rgba(0, 0, 0, .12), 0 0 18px var(--brand);
        opacity: .9;
    }

    50% {
        box-shadow: 0 0 28px rgba(0, 0, 0, .16), 0 0 28px var(--brand-2);
        opacity: 1;
    }
}

/* Accessibilité : réduire les animations si demandé */
@media (prefers-reduced-motion: reduce) {

    .hero__art .paper,
    .hero__art .check,
    .hero__art .beam {
        animation: none;
    }

    .hero__art .paper,
    .hero__art .check {
        opacity: 1;
        transform: none;
    }
}


.hero__art .orbit {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(79, 182, 255, 0.25), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(143, 255, 203, 0.25), transparent 50%);
    animation: float 10s ease-in-out infinite;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(12deg);
    }
}

/* Sections */
.section {
    max-width: 1120px;
    margin: 60px auto;
    padding: 0 20px;
    z-index: 0;
}

.section.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 40px 20px;
    border-top: 1px solid var(--glass);
    border-bottom: 1px solid var(--glass);
    border-radius: 16px;
}

.section__head h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3.2vw, 36px);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

@media (max-width: 960px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 2fr;
    }

    .grid-5 {
        grid-template-columns: 1fr;
    }
}

.feature {
    background: var(--card);
    border: 1px solid var(--glass);
    border-radius: 16px;
    padding: 18px;
}

.logo-skel {
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0
    }

    100% {
        background-position: 200px 0
    }
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--glass);
    padding: 18px;
    border-radius: 16px;
}

@media(max-width: 720px) {
    .cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cta__actions {
    text-align: center;
}

/* Footer */
.footer {
    max-width: 1120px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 2fr;
    gap: 18px;
}

@media (max-width: 960px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer__logo {
    display: block;
    margin-bottom: 8px;
    width: 100px;
    height: 30px;
}

/* Honeypot hidden */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* Language Switcher */
.app-lang-switcher {
    position: relative;
    margin-right: 8px;
}

.app-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--glass);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.app-lang-menu {
    position: absolute;
    right: 0;
    margin-top: 8px;
    min-width: 200px;
    background: var(--card);
    border: 1px solid var(--glass);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    z-index: 20;
}

.app-lang-menu[hidden] {
    display: none;
}

.app-lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    color: var(--text);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.app-lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.app-flag svg {
    display: block;
}

/* Logos */
.logos--real {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 100%;
    margin: 24px auto 0;
    list-style: none;
    padding: 0;
}

@media (max-width: 960px) {
    .logos--real {
        grid-template-columns: repeat(2, 1fr);
    }
}

.logo {
    background: var(--card);
    border: 1px solid var(--glass);
    border-radius: 12px;
    height: 56px;
    align-content: center;
}

.logo .app-card__logo-container {
    width: 100%;
    padding: 8px 16px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    fill: var(--muted);
    letter-spacing: .5px;
}

.logo .app-card__logo-container img {
    max-width: 32px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.logo .app-card__logo-container .app-card__title-text {
    align-content: center;
}

/* Modale : Popup */
.modal::backdrop {
    background: rgba(0, 0, 0, 0.45);
}

.modal {
    border: 0;
    padding: 0;
    border-radius: 16px;
    width: min(640px, 92vw);
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--glass);
}

.modal__close {
    position: absolute;
    right: 8px;
    top: 6px;
}

.modal__close button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 22px;
    cursor: pointer;
}

.modal__content {
    padding: 20px;
}

/* Liste des filières */
.sector-list__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

@media (max-width: 960px) {
    .sector-list__items {
        grid-template-columns: 1fr;
    }
}

.sector-list__item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--glass);
    border-radius: 14px;
    padding: 12px 14px;
}

.sector-list__logo img {
    width: 26px;
    height: 26px;
    color: var(--brand);
}

.sector-list__title {
    margin: 0;
    font-size: 15px;
}

.sector-list__flag svg {
    display: block;
    border-radius: 3px;
}


/* Pricing */
.pricing__billing {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--glass);
    padding: 6px;
    border-radius: 12px;
    margin: 8px 0 16px;
}

.pricing__btn {
    background: transparent;
    border: 0;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.pricing__btn.is-active {
    background: var(--glass);
}

.badge {
    display: inline-block;
    font-size: 11px;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #fff;
}

.pricing__grid {
    margin-top: 10px;
}

.pricing__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}
.pricing__card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing__popular {
    font-size: 12px;
    color: var(--text);
    background: var(--glass);
    border: 1px solid var(--glass);
    padding: 4px 8px;
    border-radius: 10px;
}

.pricing__title {
    margin: 0 0 6px;
    font-size: 18px;
}

.pricing__tag {
    background: var(--glass);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--muted);
}

.pricing__price {
    font-size: 22px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pricing__amount {
    font-weight: 700;
}

.pricing__currency,
.pricing__period {
    color: var(--muted);
}

.pricing__annual-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.pricing__bullets {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    color: var(--text);
}

.pricing__bullets li {
    margin: 6px 0;
}

.pricing__actions {
    margin-top: 8px;
    text-align: center;
}

.pricing__advantages {
    margin-top: 8px;
}

.pricing__slogan {
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* Avantages Marketing */
.advantage-card {
    background: var(--card);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform .2s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
}

.advantage-card__icon {
    font-size: 2rem;
    margin-bottom: .5rem;
}


/* Countdown */
.launch-countdown {
  display: inline-flex;
  gap: 10px;
  align-items: stretch;
  margin: 8px 0 10px;
}

.countdown__pill {
  display: grid;
  place-items: center;
  min-width: 74px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--glass);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.countdown__num {
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.countdown__label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

@media (max-width: 520px) {
  .launch-countdown { gap: 6px; }
  .countdown__pill { min-width: 62px; padding: 8px 10px; }
  .countdown__num { font-size: 18px; }
  .countdown__label { font-size: 10px; }
}
