/* ============================================================
   UMEOS — Landing Page
   Design System exact de l'app mobile
   Font: Work Sans / Playfair Display | Palette: bleu #41A7F2 / menthe #81E6B6
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; background: #163265; }
body { font-family: 'Work Sans', -apple-system, sans-serif; background: #163265; color: #0E1B24; overflow-x: hidden; line-height: 1.55; display: flex; flex-direction: column; min-height: 100dvh; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TOKENS ---- */
:root {
    /* exact app palette */
    --blue:        #2855b4;
    --blue-dark:   #163265;
    --blue-deep:   #0E1B24;
    --blue-light:  #E9F0FB;
    --blue-sky:    #9AC0F5;
    --mint:        #2855b4;
    --mint-dark:   #163265;
    --mint-light:  #E9F0FB;
    --white:       #FFFFFF;
    --off-white:   #F6F8FA;
    --grey:        #E1E1E1;
    --grey-mid:    #C7C7C7;
    --text:        #0E1B24;
    --text-muted:  #6B7A8D;

    /* exact app gradients */
    --grad-blue:  linear-gradient(130.76deg, #2855b4 0%, #163265 100%);
    --grad-green: linear-gradient(130.76deg, #2855b4 0%, #163265 100%);
    --grad-hero:  linear-gradient(135deg, #2855b4 0%, #163265 100%);

    /* UI */
    --radius:    16px;
    --radius-sm: 10px;
    --radius-pill: 50px;
    --shadow-sm:  0 2px 12px rgba(14,27,36,.06);
    --shadow-md:  0 8px 32px rgba(14,27,36,.10);
    --shadow-lg:  0 20px 56px rgba(14,27,36,.14);
    --t: .3s cubic-bezier(.4,0,.2,1);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 14px;
    letter-spacing: .02em; text-transform: uppercase;
    border-radius: var(--radius-pill); padding: 13px 30px;
    border: 2px solid transparent;
    transition: var(--t); position: relative; overflow: hidden;
    cursor: pointer; white-space: nowrap;
}
/* CTA principal — gradient bleu exact de l'app */
.btn--primary {
    background: var(--grad-blue);
    color: var(--white);
}
.btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(40,85,180,.35);
}

/* Bouton blanc très contrasté pour l'entête sombre */
.btn--white {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}
.btn--white:hover {
    background: var(--blue-light);
    color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,255,255,.25);
}

/* Outlined blanc (hero) */
.btn--outline-white {
    background: transparent;
    border-color: rgba(255,255,255,.45);
    color: var(--white);
}
.btn--outline-white:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.8);
    transform: translateY(-2px);
}

/* Outlined bleu */
.btn--outline-blue {
    background: transparent;
    border-color: var(--blue);
    color: var(--blue);
}
.btn--outline-blue:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

/* Pill tag */
.btn--pill-white {
    font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0;
    padding: 9px 20px;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.25);
    color: rgba(255,255,255,.9);
    border-radius: var(--radius-pill);
}
.btn--pill-white:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }

.btn--full { width: 100%; }

/* ---- NAV ---- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    transition: background .35s, box-shadow .35s;
    padding-top: env(safe-area-inset-top, 0px);
}
.nav.scrolled {
    background: rgba(22, 50, 101, 0.92); /* exact brand dark blue semi-transparent */
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav__inner {
    max-width: 1300px; margin: 0 auto; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; position: relative; z-index: 201; }
.nav__logo-img { height: 160px; object-fit: contain; flex-shrink: 0; border-radius: 10px; }
.nav__logo-text {
    font-family: 'Work Sans'; font-weight: 700; font-size: 16px; letter-spacing: .1em;
    color: #fff; transition: color .3s;
}
.nav.scrolled .nav__logo-text { color: #fff; }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
    font-size: 13px; font-weight: 500; color: rgba(255,255,255,.8);
    transition: color .25s; letter-spacing: .01em;
}
.nav.scrolled .nav__link { color: rgba(255, 255, 255, 0.85); }
.nav__link:hover { color: var(--blue-sky); }
.nav.scrolled .nav__link:hover { color: var(--blue-sky); }

.nav__cta-wrap { display: flex; align-items: center; gap: 12px; }
.nav__mobile-cta { display: none; }
.nav__cta {
    font-family: 'Work Sans'; font-size: 13px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--grad-blue); color: #fff;
    padding: 10px 22px; border-radius: var(--radius-pill);
    transition: var(--t);
}
.nav__cta:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(40,85,180,.35); }
.nav.scrolled .nav__cta { }

/* burger */
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; position: relative; z-index: 201; }
.nav__burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.nav.scrolled .nav__burger span { background: #fff; }
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- HERO ---- */
.hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: center;
    background: var(--grad-hero);
    overflow: hidden;
}
.hero__blobs {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18;
}
.hero__blob--1 { width: 520px; height: 520px; background: var(--mint); top: -120px; right: -80px; }
.hero__blob--2 { width: 360px; height: 360px; background: var(--blue-sky); bottom: -60px; left: -60px; }
.hero__blob--3 { width: 200px; height: 200px; background: var(--mint-dark); top: 40%; right: 30%; }

.hero__inner {
    position: relative; z-index: 2; max-width: 1300px; margin: 0 auto;
    padding: 110px 28px 80px;
    display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 80px; width: 100%;
}

.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue-sky); background: rgba(154,192,245,.12);
    border: 1px solid rgba(154,192,245,.25);
    padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.hero__dot { width: 6px; height: 6px; background: var(--blue-sky); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }

.hero__title {
    font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800; line-height: 1.08; color: #fff; margin-bottom: 20px;
}
.hero__title span { color: var(--blue-sky); display: block; }

.hero__sub {
    font-size: 1.05rem; font-weight: 400; color: rgba(255,255,255,.72);
    max-width: 460px; line-height: 1.7; margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual { display: flex; justify-content: flex-end; align-items: center; }
.hero__phone {
    width: 100%; max-width: 380px;
    filter: drop-shadow(0 32px 64px rgba(0,0,0,.35));
    animation: floatPhone 7s ease-in-out infinite;
}
@keyframes floatPhone {
    0%,100%{transform:translateY(0) rotate(0deg)}
    50%{transform:translateY(-12px) rotate(.5deg)}
}

.hero__scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 3;
}
.hero__scroll span { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.hero__scroll-bar { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent); animation: scrollBar 2.2s ease-in-out infinite; }
@keyframes scrollBar { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1} 100%{opacity:0;transform:scaleY(1);transform-origin:bottom} }

/* ---- STATS ---- */
.stats {
    background: var(--blue-dark);
    background: var(--grad-hero);
    border-bottom: none;
    padding: 80px 28px;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(154, 192, 245, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.stats__row {
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    position: relative; z-index: 2;
}
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 36px 24px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 16px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.stat-card__icon-wrap {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.1); border-radius: 50%;
    margin-bottom: 4px;
}
.stat-card__icon { width: 24px; height: 24px; stroke: var(--blue-sky) !important; }
.stat-card__icon path,
.stat-card__icon rect,
.stat-card__icon line,
.stat-card__icon circle {
    stroke: var(--blue-sky) !important;
}
.stat__n {
    font-family: 'Work Sans'; font-size: 2.5rem; font-weight: 800; line-height: 1.1;
    color: #fff;
    background: none; -webkit-background-clip: unset; -webkit-text-fill-color: unset; background-clip: unset;
    display: inline-block;
}
.stat__l { font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }

/* ---- SECTION HELPERS ---- */
.section { padding: 96px 28px; }
.section--grey { background: var(--off-white); }
.section--blue { background: var(--grad-hero); }

.s-eyebrow {
    display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--blue); background: var(--blue-light);
    padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.s-eyebrow--white { color: var(--mint); background: rgba(129,230,182,.12); }
.s-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: var(--text); line-height: 1.15; margin-bottom: 12px; }
.s-title--white { color: #fff; }
.s-sub { font-size: 1rem; font-weight: 400; color: var(--text-muted); max-width: 540px; line-height: 1.7; }
.s-sub--white { color: rgba(255,255,255,.7); }
.s-header { max-width: 1300px; margin: 0 auto 52px; }
.s-header--center { text-align: center; }
.s-header--center .s-sub { margin: 0 auto; }

/* ---- POUR QUI ---- */
#pour-qui { background: #fff; }
.profiles { max-width: 1300px; margin: 0 auto; }
.profiles__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

.p-card {
    background: #fff; border-radius: var(--radius);
    border: 1px solid rgba(14,27,36,.07);
    box-shadow: var(--shadow-sm);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(65,167,242,.2); }

/* accent bar top */
.p-card::before {
    content: ''; display: block; height: 3px;
    background: var(--grad-blue);
}
.p-card--green::before { background: var(--grad-green); }

.p-card__img-wrap { aspect-ratio: 16 / 10; height: auto; overflow: hidden; position: relative; background: var(--blue-light); }
.p-card__img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.p-card:hover .p-card__img { transform: scale(1.04); }
.p-card__img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-sky));
    font-size: 3rem;
}

.p-card__body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.p-card__icon-header { display: flex; align-items: center; margin-bottom: 12px; }
.p-card__tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--blue); background: var(--blue-light);
    padding: 6px 14px; border-radius: var(--radius-pill);
}
.p-card__tag-icon {
    width: 14px; height: 14px;
    stroke: currentColor; stroke-width: 2.2;
    stroke-linecap: round; stroke-linejoin: round;
    fill: none; flex-shrink: 0;
}
.p-card--green .p-card__tag { color: var(--mint-dark); background: var(--mint-light); }
.p-card__title { font-family:'Work Sans'; font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.25; }
.p-card__lead { font-size: .95rem; font-weight: 600; color: var(--blue); margin-bottom: 12px; line-height: 1.5; }
.p-card--green .p-card__lead { color: var(--mint-dark); }
.p-card__text { font-size: .88rem; font-weight: 400; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.p-card__text:last-child { margin-bottom: 0; }

.p-card__discover {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Work Sans'; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: var(--blue); border: 1.5px solid var(--blue);
    padding: 10px 20px; border-radius: var(--radius-pill); margin-top: 18px;
    transition: var(--t); width: fit-content;
}
.p-card__discover:hover, .p-card__discover[aria-expanded="true"] {
    background: var(--grad-blue); color: #fff; border-color: transparent;
}
.p-card__discover .arrow { transition: transform .3s; display: inline-block; font-style: normal; }
.p-card__discover[aria-expanded="true"] .arrow { transform: rotate(180deg); }

/* ---- SPÉCIALITÉS ---- */
.specs {
    max-width: 1300px; margin: 0 auto;
    overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height .55s cubic-bezier(.4,0,.2,1), opacity .4s ease;
}
.specs.open { max-height: 700px; opacity: 1; }

.specs__tabs {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 28px 0 20px;
    border-top: 1px solid rgba(14,27,36,.08);
}
.spec-tab {
    font-family: 'Work Sans'; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
    color: var(--text-muted); background: var(--off-white);
    border: 1.5px solid var(--grey); border-radius: var(--radius-pill);
    padding: 8px 18px; transition: var(--t);
}
.spec-tab:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-light); }
.spec-tab.active { background: var(--grad-blue); color: #fff; border-color: transparent; }

.specs__panel {
    background: #fff; border: 1px solid rgba(14,27,36,.07); border-radius: var(--radius);
    padding: 32px 36px; margin-bottom: 28px;
    display: none; animation: panelIn .3s ease;
}
.specs__panel.active { display: block; }
@keyframes panelIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

.specs__panel-icon-wrap {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-light); border-radius: 50%;
    margin-bottom: 16px; color: var(--blue);
}
.specs__panel-icon {
    width: 24px; height: 24px;
    stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    fill: none;
}
.specs__panel-title { font-family:'Work Sans'; font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.specs__panel-text { font-size: .93rem; font-weight: 400; color: var(--text-muted); line-height: 1.75; max-width: 640px; }

/* ---- FEATURES ---- */
.features-grid {
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.feat-item {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius); padding: 28px 24px;
    transition: var(--t); backdrop-filter: blur(4px);
}
.feat-item:hover { background: rgba(255,255,255,.13); border-color: rgba(129,230,182,.3); transform: translateY(-4px); }
.feat-item__icon-wrap {
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: background var(--t);
}
.feat-item:hover .feat-item__icon-wrap {
    background: rgba(154, 192, 245, 0.18);
}
.feat-item__svg {
    width: 22px; height: 22px;
    display: block;
}
.feat-item__title { font-family:'Work Sans'; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feat-item__text { font-size: .85rem; font-weight: 400; color: rgba(255,255,255,.58); line-height: 1.7; }

/* ---- SHOWCASE SPLIT ---- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.showcase__img-wrap { overflow: hidden; position: relative; width: 100%; height: 100%; }
.showcase__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.showcase__content {
    background: var(--off-white); padding: 72px 60px;
    display: flex; flex-direction: column; justify-content: center;
    align-items: flex-start;
}
.showcase__title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem,2.8vw,2.2rem); font-weight: 800; color: var(--text); line-height: 1.15; margin-bottom: 16px; }
.showcase__text { font-size: .95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.showcase__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.showcase__list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; font-weight: 500; color: var(--text);
}
.showcase__check {
    flex-shrink: 0; width: 20px; height: 20px; background: var(--grad-green);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #fff; margin-top: 1px;
}

/* ---- PRÉ-INSCRIPTION SECTION ---- */
.preinscription { padding: 96px 28px; background: var(--grad-hero); }
.preinscription__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.preinscription__title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.preinscription__sub { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 36px; }
.preinscription__cta-wrap { display: flex; justify-content: center; }

/* ---- MODALE PRÉ-INSCRIPTION ---- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(14,27,36,.6); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    background: #fff; border-radius: var(--radius); padding: 40px 36px;
    width: 100%; max-width: 480px;
    box-shadow: 0 32px 80px rgba(14,27,36,.2);
    transform: translateY(24px); transition: transform .35s cubic-bezier(.4,0,.2,1);
    position: relative;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal__close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--off-white); border: none;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 18px; line-height: 1;
    cursor: pointer; transition: var(--t);
}
.modal__close:hover { background: var(--grey); color: var(--text); }

.modal__logo { display: flex; justify-content: center; margin-bottom: 20px; }
.modal__logo img { width: 48px; height: 48px; border-radius: 12px; }

.modal__title { font-family:'Work Sans'; font-size: 1.4rem; font-weight: 800; color: var(--text); text-align: center; margin-bottom: 6px; }
.modal__sub { font-size: .88rem; color: var(--text-muted); text-align: center; line-height: 1.6; margin-bottom: 28px; }

.modal__form { display: flex; flex-direction: column; gap: 16px; }
.modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal__field { display: flex; flex-direction: column; gap: 6px; }
.modal__label { font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: .02em; text-transform: uppercase; }
.modal__input {
    font-family: 'Work Sans'; font-size: 14px; font-weight: 400;
    color: var(--text); background: var(--off-white);
    border: 1.5px solid var(--grey); border-radius: var(--radius-sm);
    padding: 11px 14px; outline: none;
    transition: border-color .25s, background .25s; -webkit-appearance: none;
}
.modal__input::placeholder { color: var(--grey-mid); }
.modal__input:focus { border-color: var(--mint); background: #fff; }
.modal__select { color: var(--text); }
.modal__select option { background: #fff; color: var(--text); }
.modal__privacy { font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.5; margin-top: 4px; }
.modal__success {
    display: none; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 20px 0;
}
.modal__success.show { display: flex; }
.modal__success-icon { font-size: 3rem; }
.modal__success-title { font-family:'Work Sans'; font-weight: 800; font-size: 1.2rem; color: var(--text); }
.modal__success-text { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ---- FOOTER ---- */
.footer { background: var(--blue-dark); margin-top: auto; }
.footer__top {
    max-width: 1300px; margin: 0 auto; padding: 56px 28px 40px;
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 260px; }
.footer__logo-row { display: flex; align-items: center; gap: 10px; }
.footer__logo-img { height: 220px; object-fit: contain; border-radius: 15px; }
.footer__logo-text { font-family:'Work Sans'; font-weight: 700; font-size: 15px; letter-spacing: .08em; color: #fff; }
.footer__tagline { font-size: .83rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer__nav-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { font-size: .85rem; color: rgba(255,255,255,.5); transition: color .25s; }
.footer__nav a:hover { color: var(--mint); }
.footer__bottom {
    max-width: 1300px; margin: 0 auto; padding: 18px 28px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer__bottom p { font-size: .75rem; color: rgba(255,255,255,.2); }
.footer__bottom a { font-size: .75rem; color: rgba(255,255,255,.25); transition: color .25s; }
.footer__bottom a:hover { color: var(--mint); }

/* ---- REVEAL ANIMATION ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet 1024px */
@media (max-width:1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; padding: 100px 28px 64px; gap: 48px; }
    .hero__sub { margin: 0 auto 32px; }
    .hero__actions { justify-content: center; }
    .hero__visual { justify-content: center; }
    .hero__phone { max-width: 300px; }
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .showcase { grid-template-columns: 1fr; }
    .showcase__img-wrap { height: 360px; }
    .showcase__content { padding: 56px 40px; }
    .stats__row { grid-template-columns: repeat(2,1fr); gap: 20px; }
}

/* Mobile 768px */
@media (max-width:768px) {
    /* nav mobile */
    .nav__links { display: none; position: fixed; top: 0; left: 0; right: 0; height: 100vh; background: rgba(14, 27, 36, 0.98); backdrop-filter: blur(12px); flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 120px; gap: 28px; z-index: 199; }
    .nav__links.open { display: flex; }
    .nav__links.open .nav__link { font-size: 1.1rem; color: rgba(255,255,255,.85); }
    .nav__cta-wrap { display: none; }
    .nav__mobile-cta { display: list-item; }
    .nav__burger { display: flex; }

    .hero__inner { padding: 88px 20px 56px; gap: 40px; }
    .hero__phone { max-width: 240px; }

    .profiles__grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .section { padding: 72px 20px; }
    .s-header { margin-bottom: 36px; }

    .showcase__content { padding: 48px 20px; }
    .modal { padding: 32px 22px; }
    .modal__row { grid-template-columns: 1fr; }

    .stats__row { grid-template-columns: repeat(2,1fr); gap: 16px; }
    .stat-card { padding: 24px 16px; gap: 12px; }
    .stat__n { font-size: 2rem; }

    .specs__tabs { gap: 6px; }
    .spec-tab { font-size: 11px; padding: 7px 14px; }
    .specs__panel { padding: 24px 20px; }
    .preinscription { padding: 72px 20px; }
    .footer__top { flex-direction: column; }
}

/* Mobile XS 480px */
@media (max-width:480px) {
    .hero__title { font-size: 2.1rem; }
    .p-card__body { padding: 20px 20px 24px; }
    .stats__row { grid-template-columns: 1fr; }
}

/* ============================================================
   UMEOS — PREMIUM STYLING ADDITIONS & RESPONSIVE FIXES
   ============================================================ */

/* ---- SIGNUP FORM SECTION (PRE-REGISTRATION) ---- */
.section--signup {
    background-color: var(--off-white);
    padding: 80px 28px;
}
.signup-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
}
.signup-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(40, 85, 180, 0.15);
    border-radius: 24px;
    padding: 44px 36px;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 480px;
    width: 100%;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.signup-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(40, 85, 180, 0.35);
}
.signup-logo-container {
    margin-bottom: 20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.signup-logo {
    font-family: 'Work Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--blue);
    margin-bottom: 4px;
}
.signup-logo-img {
    height: 72px;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 12px;
}
.signup-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(40, 85, 180, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}
.signup-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 12px;
}
.signup-sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 26px;
}
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.signup-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.signup-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232855b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
    cursor: pointer;
    color: #0E1B24;
}
.signup-select option[value=""] { color: #9CA3AF; }
.signup-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.signup-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 4px;
}
.signup-input {
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--grey);
    background: var(--off-white);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .25s, background .25s;
    -webkit-appearance: none;
}
.signup-input:focus {
    border-color: var(--blue);
    background: #ffffff;
}
.signup-message {
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
    text-align: center;
}
.signup-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}
.signup-success-state {
    animation: signupFadeIn 0.5s ease;
    text-align: center;
}
.signup-success-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 12px;
}
@keyframes signupFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Spinner */
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #fff;
    width: 16px;
    height: 16px;
    animation: signupSpin 1s linear infinite;
    display: none;
}
@keyframes signupSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---- PHONE MOCKUP RESPONSIVE CENTERING & SCALING FIXES ---- */
.hero__phone {
    display: block;
    width: 100%;
    height: auto;
    max-width: 380px;
    margin: 0 auto;
}
.hero__visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero__phone {
        max-width: 290px;
    }
}
@media (max-width: 768px) {
    .hero__phone {
        max-width: 240px;
    }
}

/* ---- HIGH-CONTRAST SVG OVERRIDES FOR FONCTIONNALITÉS ---- */
.feat-item__svg circle,
.feat-item__svg rect[width="50"],
.feat-item__svg rect[fill="#E9F0FB"] {
    display: none !important;
}
.feat-item__svg path,
.feat-item__svg rect:not([width="50"]) {
    fill: var(--blue-sky) !important;
}
.s-eyebrow--white {
    color: var(--blue-sky) !important;
    background: rgba(154, 192, 245, 0.12) !important;
}
.feat-item:hover {
    border-color: rgba(154, 192, 245, 0.4) !important;
}
.p-card--green::before {
    background: var(--grad-blue) !important;
}
.p-card--green .p-card__tag {
    color: var(--blue) !important;
    background: var(--blue-light) !important;
}
.showcase__check {
    background: var(--grad-blue) !important;
}

/* ---- PRESENTATION SECTION (MOCKUP + COPYWRITING) ---- */
.section--presentation {
    background-color: var(--off-white);
    padding: 96px 28px;
}
.presentation-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.presentation-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
}
.presentation-row--reverse .presentation__visual {
    order: 2;
}
.presentation-row--reverse .presentation__content {
    order: 1;
}
.presentation-row--reverse {
    grid-template-columns: 0.7fr 1.3fr;
}
.presentation__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.presentation__mockup-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(14, 27, 36, 0.08);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}
.presentation-row:hover .presentation__mockup-img {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(14, 27, 36, 0.12);
}
.presentation__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.presentation__features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}
.presentation__feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.presentation__feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--blue);
    font-weight: 700;
    margin-top: 2px;
}
.presentation__feature-item strong {
    display: block;
    font-size: 1rem;
    color: var(--blue-dark);
    margin-bottom: 4px;
    font-family: 'Work Sans', sans-serif;
}
.presentation__feature-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .section--presentation {
        padding: 72px 20px;
    }
    .presentation-container {
        gap: 64px;
    }
    .presentation-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .presentation-row--reverse {
        grid-template-columns: 1fr;
    }
    .presentation-row--reverse .presentation__visual {
        order: 1;
    }
    .presentation-row--reverse .presentation__content {
        order: 2;
    }
    .presentation__content {
        align-items: center;
        text-align: center;
    }
    .presentation__feature-item {
        text-align: left;
    }
    .presentation__mockup-img {
        max-width: 440px;
    }
}
@media (max-width: 768px) {
    .presentation__visual {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        overflow: hidden;
        background: #f4f6f8;
        height: 290px; /* Increased to avoid vertical cropping */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .presentation__mockup-img {
        max-width: none;
        width: auto;
        height: 118%; /* Perfect sweet spot: maximum enlargement without any corner clipping */
        border-radius: 0;
        box-shadow: none;
        transform: none;
        transform-origin: center;
    }
}


@media (max-width: 400px) {
    .signup-name-row { grid-template-columns: 1fr; }
}
