* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SCROLLBAR FLUORESCENTE */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #122035;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3ab8d4, #7850ff);
    border-radius: 10px;
    box-shadow: 0 0 8px #3ab8d4, 0 0 16px rgba(0,200,255,0.6);
    border: 1px solid rgba(0,200,255,0.4);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00e5ff, #a066ff);
    box-shadow: 0 0 14px #3ab8d4, 0 0 28px rgba(0,200,255,0.8);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a2d4a;
    color: #e8f4ff;
}

/* FOND ANIMÉ */
#bg-curves {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
#bg-curves svg { width: 100%; height: 100%; }

#bg-curves .curve1 { animation: moveCurve1 14s ease-in-out infinite alternate; }
#bg-curves .curve2 { animation: moveCurve2 18s ease-in-out infinite alternate; }
#bg-curves .curve3 { animation: moveCurve3 11s ease-in-out infinite alternate; }
#bg-curves .curve4 { animation: moveCurve4 16s ease-in-out infinite alternate; }
#bg-curves .bubble1 { animation: floatBall1 9s  ease-in-out infinite alternate; }
#bg-curves .bubble2 { animation: floatBall2 13s ease-in-out infinite alternate; }
#bg-curves .bubble3 { animation: floatBall3 11s ease-in-out infinite alternate; }
#bg-curves .star { animation: twinkleStar 3s ease-in-out infinite alternate; }
#bg-curves .star:nth-child(2n)  { animation-duration: 4s; }
#bg-curves .star:nth-child(3n)  { animation-duration: 5s; }

@keyframes moveCurve1 {
    0%   { d: path("M-100,300 C200,100 400,500 800,250 S1200,50  1700,300"); }
    100% { d: path("M-100,380 C200,180 500,580 900,330 S1300,130 1700,380"); }
}
@keyframes moveCurve2 {
    0%   { d: path("M-100,600 C300,400 600,800 1000,550 S1400,300 1700,600"); }
    100% { d: path("M-100,520 C280,320 580,720 980,470 S1380,220 1700,520"); }
}
@keyframes moveCurve3 {
    0%   { d: path("M-100,150 C300,50  700,350 1100,150 S1450,0   1700,180"); }
    100% { d: path("M-100,100 C350,10  720,310 1120,110 S1470,-40 1700,130"); }
}
@keyframes moveCurve4 {
    0%   { d: path("M-100,750 C400,600 700,900 1100,700 S1500,500 1700,750"); }
    100% { d: path("M-100,700 C380,550 680,850 1080,650 S1480,450 1700,700"); }
}
@keyframes floatBall1 {
    0%   { transform: translate(0,   0);   }
    100% { transform: translate(50px, 70px); }
}
@keyframes floatBall2 {
    0%   { transform: translate(0,    0);    }
    100% { transform: translate(-60px,-50px); }
}
@keyframes floatBall3 {
    0%   { transform: translate(0,    0);   }
    100% { transform: translate(40px,-80px); }
}
@keyframes twinkleStar {
    0%   { opacity: 0.2; r: 1.5; }
    100% { opacity: 1;   r: 3;   }
}

body > *:not(#bg-curves):not(#nav-overlay):not(nav) {
    position: relative;
    z-index: 1;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #122035cc, #1e3d6ecc);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(58,184,212,0.4);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3ab8d4;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: none;
    -webkit-text-stroke: 0.4px rgba(255,255,255,0.6);
}

.logo span {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.logo-svg {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: filter 0.3s;
}

.logo-svg:hover {
    filter: drop-shadow(0 0 12px rgba(0,200,255,0.8));
}

.social-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 7px 14px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.social-links a[href*="t.me"], .social-links a[href*="telegram"] {
    background: rgba(34,158,217,0.12) !important;
    border: 1px solid rgba(34,158,217,0.55) !important;
    box-shadow: 0 2px 12px rgba(34,158,217,0.15), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
.social-links a[href*="t.me"]:hover, .social-links a[href*="telegram"]:hover {
    background: rgba(34,158,217,0.25) !important;
    box-shadow: 0 0 20px rgba(34,158,217,0.35) !important;
    transform: translateY(-1px);
}

.social-links a[href*="youtube"] {
    background: rgba(255,0,0,0.1) !important;
    border: 1px solid rgba(255,60,60,0.55) !important;
    box-shadow: 0 2px 12px rgba(255,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
.social-links a[href*="youtube"]:hover {
    background: rgba(255,0,0,0.22) !important;
    box-shadow: 0 0 20px rgba(255,0,0,0.3) !important;
    transform: translateY(-1px);
}

.social-links a[href*="wa.me"], .social-links a[href*="whatsapp"] {
    background: rgba(37,211,102,0.1) !important;
    border: 1px solid rgba(37,211,102,0.55) !important;
    box-shadow: 0 2px 12px rgba(37,211,102,0.12), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
.social-links a[href*="wa.me"]:hover, .social-links a[href*="whatsapp"]:hover {
    background: rgba(37,211,102,0.22) !important;
    box-shadow: 0 0 20px rgba(37,211,102,0.3) !important;
    transform: translateY(-1px);
}

.social-links a[onclick*="signOut"] {
    background: #229ED9 !important;
    border: 1px solid #229ED9 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(34,158,217,0.3) !important;
    font-weight: 700 !important;
}
.social-links a[onclick*="signOut"]:hover {
    background: #1a8bbf !important;
    border-color: #1a8bbf !important;
    box-shadow: 0 0 20px rgba(34,158,217,0.5) !important;
    transform: translateY(-1px);
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100vh;
    background: linear-gradient(180deg, #122035 0%, #1e3d6e 60%, #122035 100%);
    border-right: 1px solid rgba(58,184,212,0.15);
    box-shadow: 4px 0 30px rgba(0,0,0,0.6);
    z-index: 9998;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    padding-top: 70px;
}

nav.open {
    transform: translateX(0);
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
}

nav ul li a {
    display: block;
    color: rgba(220,240,255,0.85);
    text-decoration: none;
    padding: 12px 25px;
    font-size: 0.86rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    letter-spacing: 0.2px;
}

nav ul li a:hover,
nav ul li a.active {
    background: linear-gradient(90deg, rgba(0,200,255,0.12), transparent);
    color: #00c8ff;
    border-left-color: #00c8ff;
    font-weight: 600;
    padding-left: 30px;
}

nav ul li.has-submenu > a::after { content: ' ▾'; font-size: 0.75rem; }
nav ul li.has-submenu .submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0,200,255,0.05);
    border-left: 2px solid rgba(0,200,255,0.3);
    margin-left: 20px;
}
nav ul li.has-submenu:hover .submenu { display: block; }
nav ul li.has-submenu .submenu li { display: block; }
nav ul li.has-submenu .submenu li a {
    padding: 9px 20px;
    font-size: 0.85rem;
    border-left: none;
    color: #e8f4ff;
}
nav ul li.has-submenu .submenu li a:hover,
nav ul li.has-submenu .submenu li a.active {
    background: rgba(0,200,255,0.12);
    color: #3ab8d4;
    border-left: none;
}

#nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 9997;
    backdrop-filter: blur(2px);
}
#nav-overlay.open { display: block; }

#menu-btn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid rgba(0,200,255,0.35);
    border-radius: 8px;
    background: rgba(0,200,255,0.05);
    transition: all 0.3s;
    flex-shrink: 0;
}
#menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #3ab8d4;
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}
#menu-btn:hover {
    background: rgba(0,200,255,0.15);
    border-color: rgba(0,200,255,0.7);
}
#menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-title {
    padding: 20px 25px 12px;
    color: #3ab8d4;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,200,255,0.2);
    margin-bottom: 5px;
    font-weight: 700;
}

/* HERO */
.hero {
    background: transparent;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #00c8ff 55%, #7850ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    filter: drop-shadow(0 0 30px rgba(0,200,255,0.3));
}

.hero p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 36px;
    color: rgba(220,240,255,0.85);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #0080c0, #00c8ff);
    color: #ffffff;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,200,255,0.4);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,200,255,0.3), 0 4px 15px rgba(0,0,0,0.3);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.btn:hover {
    background: linear-gradient(135deg, #00a0e0, #40d8ff);
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0,200,255,0.6), 0 8px 25px rgba(0,0,0,0.4);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #00c8ff;
    color: #ffffff;
    margin-left: 15px;
    box-shadow: 0 0 10px rgba(0,200,255,0.2);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #0080c0, #00c8ff);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(0,200,255,0.5);
}

/* SECTIONS */
.section {
    padding: 70px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #00c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #e8f4ff;
    margin-bottom: 50px;
    font-size: 1rem;
}

.divider {
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00c8ff, #7850ff, #00c8ff, transparent);
    margin: 15px auto 40px;
    box-shadow: 0 0 12px rgba(0,200,255,0.5);
    border-radius: 2px;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: rgba(12, 28, 58, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,200,255,0.15);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #00c8ff, #7850ff) 1;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,200,255,0.6), rgba(120,80,255,0.6), transparent);
}

.card:hover {
    border-color: rgba(0,200,255,0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,200,255,0.12);
    background: rgba(15, 35, 70, 0.7);
}

.card-icon { font-size: 2.5rem; margin-bottom: 15px; }

.card h3 {
    background: linear-gradient(135deg, #ffffff, #3ab8d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: rgba(220,240,255,0.8);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* BANNER */
.banner { display: none; padding: 50px 20px; text-align: center; }
.banner h2 { font-size: 2rem; color: #0a0a0a; margin-bottom: 15px; font-weight: 800; }
.banner p { color: #1a1a1a; font-size: 1.1rem; margin-bottom: 25px; }
.btn-dark { background-color: #0a0a0a; color: #c9a84c; }
.btn-dark:hover { background-color: #1a1a1a; }

/* PAGE HEADER */
.page-header {
    background: linear-gradient(135deg, #122035, #1e3d6e);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(58,184,212,0.4);
    box-shadow: 0 4px 30px rgba(0,200,255,0.15);
}

.page-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00c8ff 60%, #7850ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 800;
    filter: drop-shadow(0 0 20px rgba(0,200,255,0.25));
}

.page-header p { color: rgba(220,240,255,0.8); font-size: 1rem; }

/* TABLE */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th {
    background: linear-gradient(90deg, rgba(0,200,255,0.15), rgba(120,80,255,0.15));
    color: #00c8ff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,200,255,0.3);
}
td { padding: 12px 16px; border-bottom: 1px solid rgba(0,200,255,0.08); color: rgba(220,240,255,0.85); font-size: 0.9rem; }
tr:hover td { background: rgba(0,200,255,0.05); }

/* ACCORDION */
.accordion-item { border: 1px solid #1e3a5a; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.accordion-header {
    background: linear-gradient(90deg, rgba(0,200,255,0.12), rgba(120,80,255,0.08));
    border-left: 3px solid #00c8ff;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s;
    font-size: 0.95rem;
}
.accordion-header:hover { background: linear-gradient(90deg, rgba(0,200,255,0.2), rgba(120,80,255,0.12)); color: #00c8ff; }
.accordion-body { padding: 20px 24px; display: none; color: rgba(220,240,255,0.85); line-height: 1.8; background: rgba(5,15,35,0.5); border-left: 3px solid rgba(0,200,255,0.2); }
.accordion-body.open { display: block; }

/* CONTACT */
.contact-box { background: rgba(255,255,255,0.2); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.5); border-radius: 10px; padding: 40px; text-align: center; max-width: 600px; margin: 0 auto; }
.contact-box h3 { color: #c9a84c; font-size: 1.5rem; margin-bottom: 20px; }
.contact-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.contact-link { display: flex; align-items: center; gap: 8px; background-color: #1e3a5a; color: #c9a84c; padding: 12px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.3s; }
.contact-link:hover { background-color: #c9a84c; color: #0a0a0a; }

/* FOOTER */
footer { background: #1a2d4a; border-top: 1px solid rgba(0,200,255,0.2); padding: 40px 20px; text-align: center; }
footer .footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
footer .footer-links a { color: #c9a84c; text-decoration: none; font-size: 0.9rem; }
footer .footer-links a:hover { text-decoration: underline; }
footer p { color: #555; font-size: 0.85rem; }

/* ── RESPONSIVE MOBILE ── */

/* Mixins communes aux deux approches */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2rem; }
    .hero { padding: 60px 15px; }
    .hero p { font-size: 1rem; }
    .section { padding: 40px 15px; }
    .section-title { font-size: 1.5rem; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header { padding: 40px 15px; }
    nav ul { flex-direction: column; }
    .header-top { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
    .social-links { flex-wrap: wrap; gap: 6px; }
    .social-links a { font-size: 0.75rem !important; padding: 6px 10px !important; }
    #boutique-btn, #install-btn { font-size: 0.75rem !important; padding: 5px 10px !important; }
    .cards-grid { grid-template-columns: 1fr !important; gap: 15px; }
    .card { padding: 20px; }
    #qui-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    #qui-grid > div:first-child { order: 2; }
    #qui-grid > div:last-child  { order: 1; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .btn-outline { margin-left: 0; margin-top: 10px; }
    table:not(.inv-table) { display: block; overflow-x: auto; }
    .inv-table { display: block !important; }
    .inv-table thead { display: none !important; }
    .inv-table tbody, .inv-table tr { display: block !important; }
    .inv-table tr { margin-bottom:14px !important; border-radius:10px !important; background:rgba(12,28,58,0.7) !important; border:1px solid rgba(0,200,255,0.18) !important; padding:10px 12px !important; }
    .inv-table td { display:flex !important; justify-content:space-between !important; align-items:center !important; padding:6px 0 !important; border-bottom:1px solid rgba(0,200,255,0.07) !important; font-size:0.82rem !important; gap:8px !important; }
    .inv-table td:last-child { border-bottom:none !important; }
    .inv-table td::before { content:attr(data-label); color:#00c8ff; font-size:0.72rem; font-weight:700; text-transform:uppercase; white-space:nowrap; flex-shrink:0; }
}

/* Même chose via classe JS (grands écrans Android) */
body.is-mobile .hero h1 { font-size: 2rem; }
body.is-mobile .hero { padding: 60px 15px; }
body.is-mobile .section { padding: 40px 15px; }
body.is-mobile .section-title { font-size: 1.5rem; }
body.is-mobile .page-header h1 { font-size: 1.8rem; }
body.is-mobile .cards-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
body.is-mobile .card { padding: 20px; }
body.is-mobile #qui-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
body.is-mobile #qui-grid > div:first-child { order: 2; }
body.is-mobile #qui-grid > div:last-child  { order: 1; }
body.is-mobile table:not(.inv-table) { display: block; overflow-x: auto; }
body.is-mobile .inv-table { display: block !important; }
body.is-mobile .inv-table thead { display: none !important; }
body.is-mobile .inv-table tbody, body.is-mobile .inv-table tr { display: block !important; }
body.is-mobile .inv-table tr { margin-bottom:14px !important; border-radius:10px !important; background:rgba(12,28,58,0.7) !important; border:1px solid rgba(0,200,255,0.18) !important; padding:10px 12px !important; }
body.is-mobile .inv-table td { display:flex !important; justify-content:space-between !important; align-items:center !important; padding:6px 0 !important; border-bottom:1px solid rgba(0,200,255,0.07) !important; font-size:0.82rem !important; gap:8px !important; }
body.is-mobile .inv-table td:last-child { border-bottom:none !important; }
body.is-mobile .inv-table td::before { content:attr(data-label); color:#00c8ff; font-size:0.72rem; font-weight:700; text-transform:uppercase; white-space:nowrap; flex-shrink:0; }
