/* =====================================================================
   QuJi.Studio — Design System 2026
   Dark, élégant, dynamique. Un seul fichier pour tout le site.
   ===================================================================== */

/* ===================== VARIABLES ===================== */
:root {
    --bg:          #0b0d12;
    --bg-2:        #0d0f14;
    --surface:     #13161e;
    --surface-2:   #181c26;
    --border:      rgba(255,255,255,0.07);
    --border-2:    rgba(255,255,255,0.12);

    --accent:      #3d7fff;
    --accent-2:    #7faaff;
    --accent-dim:  rgba(61,127,255,0.12);

    --text:        #e8eaf0;
    --muted:       #888ea0;
    --muted-2:     #5d6275;
    --white:       #ffffff;

    --green:       #2ed573;
    --gold:        #f5a623;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius:    16px;
    --radius-lg: 24px;
    --radius-sm: 10px;
    --max-w:     1180px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow:    0 24px 60px rgba(0,0,0,0.45);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(61,127,255,0.3); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #262b38; border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #353c4e; }

/* ===================== AMBIENT BACKGROUND ===================== */
.ambient {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.ambient::before, .ambient::after {
    content: ''; position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.5;
}
.ambient::before {
    width: 620px; height: 620px; top: -180px; left: -120px;
    background: radial-gradient(circle, rgba(61,127,255,0.22), transparent 70%);
    animation: drift1 22s ease-in-out infinite;
}
.ambient::after {
    width: 540px; height: 540px; bottom: -160px; right: -120px;
    background: radial-gradient(circle, rgba(125,90,255,0.16), transparent 70%);
    animation: drift2 26s ease-in-out infinite;
}
@keyframes drift1 { 50% { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(-100px, -70px) scale(1.1); } }

/* ===================== LAYOUT ===================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
section { padding: 90px 0; position: relative; }

/* ===================== HEADER ===================== */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
header.scrolled {
    background: rgba(11,13,18,0.82);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}
nav {
    max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
    height: 66px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
    display: flex; align-items: center; gap: 0.65rem;
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
    color: var(--white); transition: opacity var(--transition);
}
.logo:hover { opacity: 0.82; }
.logo img {
    width: 34px; height: 34px; border-radius: 8px; object-fit: cover;
    background: #fff; padding: 1px;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
    padding: 0.45rem 0.95rem; font-size: 0.9rem; color: var(--muted);
    border-radius: var(--radius-sm); position: relative;
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links .btn-nav {
    background: var(--accent); color: #fff; margin-left: 0.4rem;
    padding: 0.5rem 1.1rem;
}
.nav-links .btn-nav:hover { background: var(--accent); opacity: 0.9; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 6px; z-index: 110;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== BUTTONS ===================== */
.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.8rem 1.7rem; border-radius: 100px;
    font-size: 0.92rem; font-weight: 500; border: 1px solid transparent;
    transition: transform var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 8px 24px rgba(61,127,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(61,127,255,0.4); }
.btn-secondary { border-color: var(--border-2); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-secondary:hover { background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn-ghost { color: var(--muted); padding: 0.6rem 0; }
.btn-ghost:hover { color: var(--white); }

/* Store badge button */
.btn-store {
    display: inline-flex; align-items: center; gap: 0.7rem;
    background: var(--white); color: #111;
    padding: 0.7rem 1.4rem 0.7rem 1.2rem; border-radius: 14px;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
.btn-store svg { width: 26px; height: 26px; flex-shrink: 0; }
.btn-store .store-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-store .store-txt small { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: #555; }
.btn-store .store-txt span { font-size: 0.98rem; font-weight: 600; }

/* ===================== SECTION HEADINGS ===================== */
.section-label {
    display: inline-block;
    font-size: 0.78rem; font-weight: 600; color: var(--accent);
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; color: var(--white);
    line-height: 1.2; margin-bottom: 1.1rem;
}
.section-desc { color: var(--muted); font-size: 1.02rem; max-width: 540px; }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* ===================== HERO ===================== */
.hero { padding: 170px 0 90px; text-align: center; }
.hero-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 1px solid var(--border-2); border-radius: 100px;
    padding: 0.4rem 1rem; font-size: 0.78rem; font-weight: 500;
    color: var(--muted); letter-spacing: 0.04em; margin-bottom: 2rem;
    background: rgba(255,255,255,0.02);
}
.hero-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7.5vw, 5.4rem); font-weight: 400; color: var(--white);
    line-height: 1.08; margin-bottom: 1.5rem; letter-spacing: -0.01em;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(120deg, #3d7fff 0%, #9b7dff 50%, #7faaff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub { max-width: 600px; margin: 0 auto 2.6rem; color: var(--muted); font-size: 1.12rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================== STATS / TRUST BAR ===================== */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.6rem 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 0.5rem 1rem; }
.stat-value {
    font-family: var(--font-display); font-size: 2.5rem; font-weight: 600;
    color: var(--white); line-height: 1; margin-bottom: 0.45rem;
}
.stat-label { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* ===================== APP SHOWCASE (alternating rows) ===================== */
.showcase-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
    padding: 4rem 0;
}
.showcase-row + .showcase-row { border-top: 1px solid var(--border); }
.showcase-row.reverse .showcase-visual { order: -1; }
.showcase-info .app-eyebrow { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem; }
.app-eyebrow img, .app-eyebrow .app-icon {
    width: 56px; height: 56px; border-radius: 15px; object-fit: cover; flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.app-eyebrow .meta .name { font-family: var(--font-display); font-size: 1.7rem; color: var(--white); line-height: 1.1; }
.app-eyebrow .meta .cat { font-size: 0.85rem; color: var(--muted); }
.showcase-info h3 {
    font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 400; color: var(--white); line-height: 1.25; margin-bottom: 1rem;
}
.showcase-info p { color: var(--muted); margin-bottom: 1.6rem; max-width: 460px; }
.rating { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.6rem; }
.rating .stars { color: var(--gold); letter-spacing: 0.05em; }
.rating small { color: var(--muted); font-size: 0.85rem; }
.showcase-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

/* Phone mockup visual */
.showcase-visual { display: flex; justify-content: center; position: relative; }
.phone {
    position: relative; width: 270px; border-radius: 34px; overflow: hidden;
    border: 9px solid #1c1f29; background: #1c1f29;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}
.phone::before {
    content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 20px; background: #1c1f29; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone img { width: 100%; display: block; border-radius: 26px; }
@keyframes float { 50% { transform: translateY(-16px); } }
.showcase-visual .glow {
    position: absolute; inset: 0; z-index: -1; filter: blur(80px); opacity: 0.55;
    background: radial-gradient(circle at center, var(--app-accent, rgba(61,127,255,0.4)), transparent 65%);
}

/* Banner-style visual (horizontal images) */
.showcase-banner {
    border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
    box-shadow: var(--shadow); transition: transform var(--transition);
}
.showcase-banner:hover { transform: translateY(-4px) scale(1.01); }
.showcase-banner img { width: 100%; }

/* ===================== APP / COMING-SOON CARDS GRID ===================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }

.app-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.9rem; display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.app-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--app-accent, var(--accent)); opacity: 0; transition: opacity var(--transition);
}
.app-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); }
.app-card:hover::after { opacity: 1; }
.app-card.clickable { cursor: pointer; }

.app-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.app-card-logo {
    width: 54px; height: 54px; border-radius: 14px; object-fit: cover; flex-shrink: 0;
    background: rgba(255,255,255,0.05);
}
.app-card-logo.gradient { display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.app-card-head h3 { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.app-card-cat { font-size: 0.8rem; color: var(--muted); margin-top: 0.1rem; }
.app-card p.app-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.app-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }

.badge {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.3rem 0.75rem; border-radius: 100px;
}
.badge-available { background: rgba(46,213,115,0.12); color: var(--green); }
.badge-soon { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }
.card-link { font-size: 0.85rem; color: var(--accent); font-weight: 500; }

/* ===================== FEATURES GRID ===================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.9rem; transition: border-color var(--transition), transform var(--transition);
}
.feat-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.feat-icon {
    width: 48px; height: 48px; border-radius: 13px; background: var(--accent-dim);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem;
}
.feat-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.feat-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ===================== FEATURE LIST (app detail) ===================== */
.feature-list { list-style: none; display: grid; gap: 0.3rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.7rem 0; color: var(--muted); font-size: 0.95rem; }
.feature-list .icon {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
    background: var(--app-accent-dim, var(--accent-dim)); color: var(--app-accent, var(--accent));
    display: flex; align-items: center; justify-content: center; font-size: 0.8rem; margin-top: 2px;
}
.feature-list strong { color: var(--text); display: block; margin-bottom: 0.1rem; font-weight: 600; }

/* ===================== SCREENSHOT GALLERY ===================== */
.gallery {
    display: flex; gap: 1.4rem; overflow-x: auto; padding: 0.5rem 0 1.5rem;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery-item {
    flex: 0 0 auto; width: 240px; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--border); scroll-snap-align: center;
    box-shadow: var(--shadow); transition: transform var(--transition);
}
.gallery-item:hover { transform: translateY(-6px); }
.gallery-item img { width: 100%; display: block; }

/* Carrousel : flèches gauche/droite (injectées par main.js si >1 image) */
.carousel { position: relative; }
.carousel-btn {
    position: absolute; top: calc(50% - 10px); transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; z-index: 6;
    border: 1px solid var(--border-2); background: rgba(13,16,22,0.86);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    transition: background var(--transition), border-color var(--transition), opacity 0.2s ease, transform var(--transition);
}
.carousel-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel-btn:active { transform: translateY(-50%) scale(0.92); }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel.no-overflow .carousel-btn { display: none; }

/* ===================== MODES GRID (Dé-Stin) ===================== */
.modes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.mode-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; transition: transform var(--transition), border-color var(--transition);
}
.mode-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.mode-card .emoji { font-size: 1.8rem; margin-bottom: 0.8rem; }
.mode-card h4 { font-size: 1rem; color: var(--white); margin-bottom: 0.35rem; font-weight: 600; }
.mode-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

/* ===================== APP DETAIL HERO ===================== */
.app-hero { padding: 150px 0 60px; text-align: center; position: relative; }
.app-hero .app-hero-logo {
    width: 96px; height: 96px; border-radius: 24px; object-fit: cover; margin: 0 auto 1.5rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.app-hero .app-hero-logo.gradient { display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.app-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); color: var(--white); font-weight: 400; margin-bottom: 0.8rem; }
.app-hero .tagline { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 1.6rem; font-weight: 300; }
.app-hero .rating { margin-bottom: 1.8rem; }
.app-hero .showcase-actions { justify-content: center; }
.breadcrumb { font-size: 0.85rem; color: var(--muted-2); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--text); }

/* ===================== CTA BAND ===================== */
.cta-band {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 4rem; text-align: center; position: relative; overflow: hidden; margin-bottom: 90px;
}
.cta-band::before {
    content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 250px; background: radial-gradient(ellipse, rgba(61,127,255,0.14), transparent 70%);
    pointer-events: none;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 400; color: var(--white); margin-bottom: 0.8rem; position: relative; }
.cta-band p { color: var(--muted); margin: 0 auto 2rem; max-width: 480px; position: relative; }

/* ===================== PROSE (legal pages) ===================== */
.prose { max-width: 760px; margin: 0 auto; padding: 140px 0 90px; }
.prose h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); font-weight: 400; margin-bottom: 0.6rem; }
.prose .updated { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 2.5rem; }
.prose h2 { font-size: 1.3rem; color: var(--white); margin: 2.2rem 0 0.8rem; font-weight: 600; }
.prose p, .prose li { color: var(--muted); margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.3rem; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }

/* ===================== FORM (contact) ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start; }
.form-card, .info-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.4rem;
}
.form-card h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--white); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.78rem 1rem; font-family: var(--font-body);
    font-size: 0.9rem; color: var(--text); outline: none; transition: border-color var(--transition), background var(--transition);
}
.form-group select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888ea0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-group select option { background: #1a1d28; color: var(--text); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted-2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(61,127,255,0.5); background: rgba(61,127,255,0.04); }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
    width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 100px;
    padding: 0.9rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
    transition: transform var(--transition), box-shadow var(--transition); box-shadow: 0 8px 24px rgba(61,127,255,0.25);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(61,127,255,0.4); }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.9rem; }
#formMessage { display: none; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 1rem; text-align: center; }
#formMessage.success { background: rgba(46,213,115,0.1); color: var(--green); border: 1px solid rgba(46,213,115,0.2); }
#formMessage.error { background: rgba(255,71,87,0.1); color: #ff6b7a; border: 1px solid rgba(255,71,87,0.22); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.info-card { padding: 1.8rem; margin-bottom: 1.25rem; }
.info-card h3 { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.contact-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); transition: opacity var(--transition); }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item:hover { opacity: 0.78; }
.contact-icon { width: 38px; height: 38px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-item-label { font-size: 0.74rem; color: var(--muted); }
.contact-item-value { font-size: 0.88rem; color: var(--text); }
.faq-item { padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.faq-item:first-child { padding-top: 0; } .faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q { font-size: 0.9rem; font-weight: 500; color: var(--white); margin-bottom: 0.4rem; }
.faq-a { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ===================== PAGE HERO (sub pages) ===================== */
.page-hero { padding: 150px 0 60px; border-bottom: 1px solid var(--border); }
.page-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 400; color: var(--white); line-height: 1.1; margin-bottom: 1rem; }

/* ===================== FOOTER ===================== */
footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2.5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-top: 0.9rem; max-width: 280px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 600; color: var(--text); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 0.55rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 1.8rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

/* ===================== SCROLL REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 940px) {
    .showcase-row { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
    .showcase-row.reverse .showcase-visual { order: 0; }
    .showcase-info p { max-width: none; }
    .cards-grid, .features-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .container { padding: 0 1.25rem; }
    nav { padding: 0 1.25rem; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 66px; left: 0; right: 0;
        background: rgba(11,13,18,0.98); border-bottom: 1px solid var(--border);
        flex-direction: column; padding: 1rem 1.25rem; gap: 0; backdrop-filter: blur(20px);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.85rem 0.5rem; border-radius: 8px; width: 100%; }
    .nav-links .btn-nav { margin: 0.5rem 0 0; text-align: center; justify-content: center; }
    .hero { padding: 130px 0 60px; }
    section { padding: 64px 0; }
    .cards-grid, .cards-grid.two, .features-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .cta-band { padding: 2.5rem 1.5rem; }
    .form-card, .info-card { padding: 1.6rem; }

    /* Galerie : une image centrée avec un aperçu de la suivante */
    .gallery { gap: 1rem; scroll-padding: 0 1.25rem; }
    .gallery-item { width: 74vw; max-width: 300px; }
    .carousel-btn { width: 42px; height: 42px; }
    .carousel-btn.prev { left: 4px; }
    .carousel-btn.next { right: 4px; }

    /* Mockups téléphone un peu plus compacts */
    .phone { width: 240px; }
    .app-hero { padding: 130px 0 50px; }
    .app-hero .app-hero-logo { width: 84px; height: 84px; }
    .showcase-actions { gap: 0.7rem; }
    .showcase-actions .btn-store, .showcase-actions .btn-secondary { flex: 1 1 auto; justify-content: center; }
    .breadcrumb { margin-bottom: 1.2rem; }
}
@media (max-width: 380px) {
    .phone { width: 210px; }
    .hero h1 { font-size: 2.5rem; }
}
