/**
 * ============================================
 * ATLANTIS - Landing Pages Public CSS
 * ============================================
 * Design system : fond sombre, cyan/pink/purple, Outfit, responsive
 * Extrait de landing_components.php pour cache navigateur
 *
 * v1.0 - 2026-03-30
 */

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --cyan: #1ac8db;
    --purple: #a855f7;
    --pink: #ec4899;
    --gold: #fbbf24;
    --green: #10b981;
    --bg: #030712;
    --bg-card: rgba(15, 23, 42, 0.8);
    --border: rgba(26, 200, 219, 0.15);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
}

/* ============================================
   RESET & BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}
@media (min-width: 768px) { body { font-size: 18px; } }

/* Selection text */
::selection {
    background: rgba(26, 200, 219, 0.3);
    color: #fff;
}

/* ============================================
   BACKGROUND ANIMATIONS
   ============================================ */
.bg-animated {
    position: fixed; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(26,200,219,.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(168,85,247,.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236,72,153,.1) 0%, transparent 50%),
        var(--bg);
    animation: bgMove 20s ease-in-out infinite;
}
@keyframes bgMove {
    0%,100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
    50% { background-position: 100% 100%, 0% 0%, 50% 0%; }
}
.grid-overlay {
    position: fixed; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(26,200,219,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,200,219,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ============================================
   CONTAINER
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVBAR
   ============================================ */
.lp-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 12px 0;
    background: rgba(3,7,18,.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.lp-navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-navbar-logo img { height: 36px; }
.lp-navbar-links { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; overflow-x: auto; }
.lp-navbar-links a {
    color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 500;
    padding: 6px 10px; border-radius: 8px; white-space: nowrap;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.lp-navbar-links a::after {
    content: '';
    position: absolute; bottom: 2px; left: 10px; right: 10px; height: 2px;
    background: var(--cyan);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-navbar-links a:hover::after,
.lp-navbar-links a.active::after { transform: scaleX(1); }
.lp-navbar-links a:hover, .lp-navbar-links a.active { color: var(--cyan); background: rgba(26,200,219,.1); }
.lp-navbar-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
@media (max-width: 992px) { .lp-navbar-links { display: none; } }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 12px;
    font-weight: 600; font-size: 14px; text-decoration: none;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; border: none; font-family: inherit;
}
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: rgba(26,200,219,.1); border-color: var(--cyan); }
.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #000; box-shadow: 0 4px 20px rgba(26,200,219,.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,200,219,.4);
}
.btn-lg { font-size: 17px; padding: 16px 36px; }

/* ============================================
   HERO
   ============================================ */
.lp-hero { padding: 140px 0 80px; }
.lp-hero-content { text-align: center; max-width: 850px; margin: 0 auto; }
.lp-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(26,200,219,.1); border: 1px solid rgba(26,200,219,.3);
    padding: 8px 20px; border-radius: 50px;
    font-size: 14px; color: var(--cyan); margin-bottom: 24px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(26,200,219,.4); }
    50% { box-shadow: 0 0 0 10px rgba(26,200,219,0); }
}
.lp-hero h1 {
    font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-wrap: balance;
    background: linear-gradient(135deg, var(--text) 0%, var(--cyan) 50%, var(--purple) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.lp-hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px); color: var(--text-muted);
    margin-bottom: 36px; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.lp-hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.lp-hero-cta .btn-primary {
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(26,200,219,.3); }
    50% { box-shadow: 0 4px 30px rgba(26,200,219,.5), 0 0 60px rgba(26,200,219,.15); }
}
.lp-hero-reassurance { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.lp-hero-illustration {
    margin-top: 50px; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--border); max-width: 900px; margin-left: auto; margin-right: auto;
}
.lp-hero-illustration img { width: 100%; height: auto; display: block; }
.lp-hero-illustration .placeholder {
    width: 100%; height: 350px;
    background: linear-gradient(135deg, rgba(26,200,219,.1), rgba(168,85,247,.1));
    display: flex; align-items: center; justify-content: center; font-size: 80px;
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.section-title p { font-size: clamp(16px, 2.5vw, 20px); color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* ============================================
   PROBLEM / SOLUTION
   ============================================ */
.lp-ps { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.lp-ps-col { padding: 32px; border-radius: 20px; border: 1px solid var(--border); }
.lp-ps-col.problem { background: rgba(248,113,113,.05); border-color: rgba(248,113,113,.2); }
.lp-ps-col.solution { background: rgba(74,222,128,.05); border-color: rgba(74,222,128,.2); }
.lp-ps-col h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.lp-ps-col.problem h3 { color: #f87171; }
.lp-ps-col.solution h3 { color: #4ade80; }
.lp-ps-col ul { list-style: none; }
.lp-ps-col ul li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 15px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 10px; }
.lp-ps-col ul li:last-child { border: none; }
.lp-ps-col ul li svg { flex-shrink: 0; margin-top: 2px; }
.lp-ps-col.problem ul li svg { color: #f87171; }
.lp-ps-col.solution ul li svg { color: #4ade80; }
@media (max-width: 768px) { .lp-ps { grid-template-columns: 1fr; } }

/* ============================================
   FEATURE GRID
   ============================================ */
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.lp-feature-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-feature-card:hover {
    transform: translateY(-6px); border-color: var(--cyan);
    box-shadow: 0 20px 40px rgba(26,200,219,.12);
    background: rgba(15, 23, 42, 0.95);
}
.lp-feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(26,200,219,.15), rgba(168,85,247,.15));
    display: flex; align-items: center; justify-content: center; color: var(--cyan); margin-bottom: 16px;
}
.lp-feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.lp-feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   IMAGE + TEXT BLOCKS
   ============================================ */
.lp-imgtext { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.lp-imgtext.reverse { direction: rtl; }
.lp-imgtext.reverse > * { direction: ltr; }
.lp-imgtext-content h3 {
    font-size: clamp(22px, 3.5vw, 32px); font-weight: 700; margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.lp-imgtext-content p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.lp-imgtext-content ul { list-style: none; }
.lp-imgtext-content ul li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.lp-imgtext-content ul li svg { color: var(--cyan); flex-shrink: 0; }
.lp-imgtext-image { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.lp-imgtext-image img { width: 100%; height: 350px; object-fit: cover; display: block; }
.lp-imgtext-image .placeholder {
    width: 100%; height: 350px;
    background: linear-gradient(135deg, rgba(26,200,219,.1), rgba(168,85,247,.1));
    display: flex; align-items: center; justify-content: center; font-size: 64px;
}
@media (max-width: 992px) {
    .lp-imgtext, .lp-imgtext.reverse { grid-template-columns: 1fr; direction: ltr; gap: 30px; }
    .lp-imgtext-image img, .lp-imgtext-image .placeholder { height: 260px; }
}

/* ============================================
   STATS
   ============================================ */
.lp-stats {
    background: linear-gradient(135deg, rgba(26,200,219,.05), rgba(168,85,247,.05));
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.lp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.lp-stat-value {
    font-family: 'JetBrains Mono', monospace; font-size: 42px; font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.lp-stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 768px) { .lp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .lp-stat-value { font-size: 32px; } }

/* ============================================
   PRICING TEASER
   ============================================ */
.lp-pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-pricing-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
    padding: 28px 24px; text-align: center;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.lp-pricing-card:hover { transform: translateY(-4px); }
.lp-pricing-card.highlighted { border-color: var(--cyan); box-shadow: 0 0 30px rgba(26,200,219,.2); }
.lp-pricing-card.highlighted::before {
    content: 'Recommande'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #000; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 20px; text-transform: uppercase;
}
.lp-pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.lp-pricing-price { font-family: 'JetBrains Mono', monospace; font-size: 36px; font-weight: 700; color: var(--cyan); }
.lp-pricing-price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.lp-pricing-desc { font-size: 13px; color: var(--text-muted); margin: 12px 0 20px; min-height: 40px; }
.lp-pricing-features { list-style: none; text-align: left; margin-bottom: 24px; }
.lp-pricing-features li { font-size: 14px; padding: 6px 0; display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.lp-pricing-features li svg { color: var(--cyan); flex-shrink: 0; }
.lp-pricing-features li.disabled { opacity: .4; }
.lp-pricing-features li.disabled svg { color: var(--text-muted); }
.lp-pricing-features li.highlight { color: var(--text); font-weight: 600; }
@media (max-width: 992px) { .lp-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .lp-pricing-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ
   ============================================ */
.lp-faq-list { max-width: 800px; margin: 0 auto; }
.lp-faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--bg-card); }
.lp-faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; cursor: pointer; font-weight: 600; font-size: 16px;
    transition: color .2s;
}
.lp-faq-q:hover { color: var(--cyan); }
.lp-faq-q svg { transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; }
.lp-faq-item.open .lp-faq-q svg { transform: rotate(180deg); }
.lp-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.lp-faq-item.open .lp-faq-a { max-height: 500px; }
.lp-faq-a-inner { padding: 0 24px 20px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   CTA FINAL
   ============================================ */
.lp-cta { text-align: center; padding: 100px 0; }
.lp-cta h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.lp-cta p { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }

/* ============================================
   FOOTER
   ============================================ */
.lp-footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.lp-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.lp-footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.lp-footer-brand img { height: 32px; }
.lp-footer-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cyan); margin-bottom: 16px; }
.lp-footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 14px; padding: 4px 0; transition: color .2s; }
.lp-footer-col a:hover { color: var(--cyan); }
.lp-footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
@media (max-width: 768px) { .lp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lp-footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in { opacity: 0; transform: translateY(20px); transition: all .6s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   HUB CARDS
   ============================================ */
.lp-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.lp-hub-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
    padding: 32px; text-decoration: none; color: var(--text);
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); display: block;
}
.lp-hub-card:hover { transform: translateY(-8px); border-color: var(--cyan); box-shadow: 0 20px 40px rgba(26,200,219,.15); }
.lp-hub-card-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(26,200,219,.15), rgba(168,85,247,.15));
    display: flex; align-items: center; justify-content: center; color: var(--cyan); margin-bottom: 16px;
}
.lp-hub-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.lp-hub-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.lp-hub-card-link { color: var(--cyan); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* ============================================
   CATEGORY HEADERS
   ============================================ */
.lp-category { margin-bottom: 60px; }
.lp-category-title {
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    color: var(--cyan); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
