/* ═══════════════════════════════════════════════════════════════
   THALASENS — FEUILLE DE STYLE COMMUNE
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────────────────────── */
:root {
    --bg-deep:      #071220;
    --bg-mid:       #0c1e30;
    --bg-light:     #112840;
    --bg-card:      #0e2035;
    --accent:       #00c8e0;
    --accent2:      #0088bb;
    --accent-dark:  #005580;
    --text:         #e8f4f8;
    --text-muted:   #7aaabf;
    --border:       rgba(0, 180, 220, 0.22);
    --border-hover: rgba(0, 200, 224, 0.55);
    --shadow:       rgba(0, 100, 160, 0.25);
}

/* ── RESET ───────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── BASE ────────────────────────────────────────────────────── */
body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    height: 120px;
    background: rgba(7, 18, 32, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 24px rgba(0, 80, 130, 0.3);
    overflow: visible;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-container img {
    height: 180px;
    width: auto;
    margin-top: 10px;
    filter: drop-shadow(0 4px 12px rgba(0, 180, 220, 0.25));
    transition: filter 0.3s;
}

.logo-container img:hover {
    filter: drop-shadow(0 4px 20px rgba(0, 200, 224, 0.5));
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
    flex-shrink: 0;
}

.nav-links a {
    color: #b8d8e8;
    text-decoration: none;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--accent); }

.nav-links .btn-cloud {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: #071220;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 3px 12px rgba(0, 180, 220, 0.3);
    line-height: 1;
}

.nav-links .btn-cloud:hover {
    background: linear-gradient(135deg, var(--accent), #00e8ff);
    color: #071220;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(0, 200, 224, 0.45);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: #071220 !important;
    padding: 9px 22px;
    border-radius: 20px;
    font-weight: 700 !important;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.3s !important;
    box-shadow: 0 3px 12px rgba(0, 180, 220, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 224, 0.5) !important;
}

/* ── HAMBURGER ───────────────────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════ */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.8rem;
    color: #5a8aa0;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.breadcrumb a { color: var(--accent2); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 4px; }

/* ═══════════════════════════════════════════════════════════════
   BOUTONS GLOBAUX
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: #071220;
    border: none;
    border-radius: 28px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 180, 220, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 180, 220, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: rgba(0, 180, 220, 0.06);
    color: var(--accent);
    border: 1px solid rgba(0, 200, 224, 0.35);
    border-radius: 28px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(0, 200, 224, 0.12);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════ */
.badge { padding: 5px 13px; border-radius: 18px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.4px; }
.badge-blue   { background: rgba(0,136,187,0.18);   border: 1px solid rgba(0,136,187,0.4);   color: #40c8e8; }
.badge-cyan   { background: rgba(0,200,224,0.12);   border: 1px solid rgba(0,200,224,0.35);  color: var(--accent); }
.badge-green  { background: rgba(0,200,140,0.12);   border: 1px solid rgba(0,200,140,0.3);   color: #00d4a0; }
.badge-orange { background: rgba(255,160,40,0.12);  border: 1px solid rgba(255,160,40,0.3);  color: #f0aa44; }
.badge-purple { background: rgba(120,100,240,0.12); border: 1px solid rgba(120,100,240,0.3); color: #a090f0; }

/* ═══════════════════════════════════════════════════════════════
   EN-TÊTES DE SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 60px; }

.section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent2);
    margin-bottom: 12px;
}

.section-title { font-size: 2rem; font-weight: 700; color: var(--text); }
.section-title span {
    background: linear-gradient(135deg, var(--accent), #40e8d0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-title--gradient {
    font-size: 2.1rem; font-weight: 700; text-align: center; margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.section-sub {
    text-align: center; color: var(--text-muted); font-size: 1rem;
    margin-bottom: 60px; max-width: 600px;
    margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.carousel-container { position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-mid); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0, 40, 80, 0.5); }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-mid), #091828); position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-icon  { font-size: 5rem; margin-bottom: 20px; opacity: 0.35; }
.placeholder-text  { color: var(--accent2); font-size: 0.9rem; opacity: 0.55; letter-spacing: 1px; }
.placeholder-num   { position: absolute; bottom: 15px; right: 20px; font-size: 0.75rem; color: var(--accent2); opacity: 0.35; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,136,187,0.35); border: 1px solid rgba(0,200,224,0.4); color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; z-index: 10; backdrop-filter: blur(6px); }
.carousel-btn:hover { background: rgba(0,136,187,0.7); transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 14px; background: rgba(0,0,0,0.25); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,180,220,0.3); cursor: pointer; transition: all 0.3s; border: none; }
.dot.active { background: var(--accent); transform: scale(1.3); }

/* ═══════════════════════════════════════════════════════════════
   HERO PRODUIT
   ═══════════════════════════════════════════════════════════════ */
.product-hero { padding: 130px 60px 60px; background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%); position: relative; overflow: hidden; }
.product-hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,136,187,0.1) 0%, transparent 70%); pointer-events: none; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.product-info h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 15px; background: linear-gradient(135deg, var(--text), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-tagline   { font-size: 1.05rem; color: var(--accent2); margin-bottom: 20px; font-weight: 500; letter-spacing: 0.4px; }
.product-description { color: #9abfd8; line-height: 1.8; margin-bottom: 30px; font-size: 0.97rem; }
.product-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.product-cta    { display: flex; gap: 15px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   VOLUME SELECTOR
   ═══════════════════════════════════════════════════════════════ */
.volume-selector { background: rgba(255,255,255,0.03); border: 1px solid rgba(0,160,200,0.2); border-radius: 14px; padding: 18px; margin-bottom: 25px; }
.volume-selector h3, .volume-selector h4 { font-size: 0.78rem; color: #5a8aa0; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.vol-tabs, .volume-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.vol-tab { padding: 7px 15px; border-radius: 8px; border: 1px solid rgba(0,136,187,0.3); background: transparent; color: #9abfd8; cursor: pointer; font-size: 0.83rem; transition: all 0.3s; font-family: 'Segoe UI', sans-serif; }
.vol-tab:hover  { border-color: var(--accent2); color: var(--accent); }
.vol-tab.active { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #071220; border-color: transparent; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════════ */
.stats-strip { padding: 60px; background: linear-gradient(135deg, rgba(0,136,187,0.08), rgba(0,85,128,0.05)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; max-width: 1000px; margin: 0 auto; text-align: center; }
.stat-value  { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), #40e8d0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }

.stats-bar { background: linear-gradient(135deg, var(--bg-mid), var(--bg-light)); padding: 40px 60px; display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item  { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; letter-spacing: 1px; text-transform: uppercase; margin-top: 5px; }

/* ═══════════════════════════════════════════════════════════════
   ECOSYSTEME
   ═══════════════════════════════════════════════════════════════ */
.ecosystem-section { padding: 80px 60px; background: linear-gradient(135deg, var(--bg-mid), var(--bg-deep)); }
.ecosystem-grid    { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; max-width: 1100px; margin: 0 auto; }
.eco-item { text-align: center; padding: 20px 10px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.025); transition: all 0.3s; text-decoration: none; }
.eco-item:hover { border-color: var(--border-hover); background: rgba(0,170,210,0.08); transform: translateY(-3px); }
.eco-item.active-product { border-color: var(--accent2); background: rgba(0,136,187,0.14); }
.eco-icon { font-size: 1.8rem; margin-bottom: 8px; }
.eco-name { font-size: 0.74rem; color: #9abfd8; line-height: 1.3; }
.eco-item.active-product .eco-name { color: var(--accent); font-weight: 700; }
.eco-connector { display: flex; align-items: center; justify-content: center; color: rgba(0,170,210,0.4); font-size: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section { padding: 80px 60px; background: var(--bg-deep); text-align: center; }
.cta-box { max-width: 700px; margin: 0 auto; background: linear-gradient(135deg, rgba(0,136,187,0.1), rgba(0,200,224,0.05)); border: 1px solid rgba(0,180,220,0.3); border-radius: 22px; padding: 60px; }
.cta-box h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; color: var(--text); }
.cta-box p  { color: var(--text-muted); margin-bottom: 35px; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   SPECS TABLE
   ═══════════════════════════════════════════════════════════════ */
.specs-section { padding: 80px 60px; background: var(--bg-deep); }
.specs-table-wrapper, .specs-table-wrap { max-width: 1100px; margin: 0 auto; overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead { background: linear-gradient(135deg, rgba(0,136,187,0.22), rgba(0,200,224,0.1)); }
thead th { padding: 18px 20px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); border-bottom: 1px solid var(--border); }
thead th:first-child { color: #5a8aa0; }
tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.2s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(0,136,187,0.06); }
tbody td { padding: 15px 20px; font-size: 0.88rem; color: #9abfd8; }
tbody td:first-child { color: var(--text); font-weight: 600; font-size: 0.85rem; }
.spec-ok, .spec-available   { color: #00d4a0; font-weight: 600; }
.spec-option                 { color: #f0aa44; font-weight: 600; }
.spec-tbc, .spec-to-complete { color: #2d5068; font-style: italic; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer { background: #050f1c; border-top: 1px solid var(--border); padding: 50px 60px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 15px; }
.footer-brand p   { font-size: 0.85rem; color: #5a8aa0; line-height: 1.7; max-width: 280px; margin-top: 15px; }
.footer-col h4    { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent2); margin-bottom: 18px; }
.footer-col ul    { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #5a8aa0; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px; text-align: center; font-size: 0.8rem; color: #2d5068; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 968px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 968px) {
    nav { padding: 0 20px; height: 75px; }
    .logo-container img { height: 120px; margin-top: 5px; }

    /* Hamburger visible */
    .nav-toggle { display: flex; }

    /* Menu caché par défaut, visible quand .open */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 75px;
        left: 0; right: 0;
        background: rgba(7, 18, 32, 0.98);
        backdrop-filter: blur(12px);
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1rem; padding: 8px 0; }

    .product-hero { padding: 110px 20px 40px; }
    .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-info h1 { font-size: 2rem; }

    .stats-strip { padding: 40px 20px; }
    .stats-grid  { grid-template-columns: repeat(2,1fr); }
    .stats-bar   { padding: 30px 20px; gap: 40px; }

    .ecosystem-section { padding: 60px 20px; }
    .ecosystem-grid    { grid-template-columns: repeat(3,1fr); }

    .specs-section { padding: 60px 20px; }
    .cta-section   { padding: 60px 20px; }
    .cta-box       { padding: 40px 25px; }

    footer       { padding: 40px 20px 25px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 600px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .footer-grid    { grid-template-columns: 1fr; }
    .stats-grid     { grid-template-columns: repeat(2,1fr); }
    .ecosystem-grid { grid-template-columns: repeat(2,1fr); }
}