:root {
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --accent-amazon: #ff9900;
    --accent-hover: #e68a00;
    --primary-blue: #0ea5e9;
    --hero-bg: #0f172a;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.text-center { text-align: center; }
.section-header { margin-bottom: 60px; max-width: 700px; margin-inline: auto; }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.section-subtitle { font-size: 1.15rem; color: var(--text-muted); }
.mt-40 { margin-top: 40px; }

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-blue); }

.nav-cta {
    background: var(--text-dark);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--primary-blue); transform: translateY(-2px); }

/* HERO SECTION */
.hero {
    background-color: var(--hero-bg);
    background-image: radial-gradient(circle at top right, rgba(14, 165, 233, 0.15), transparent 50%);
    padding: 160px 0 100px;
    color: #fff;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-amazon);
    color: #000;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }

/* INTRO SECTION */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

/* AVANTAGES (FEATURES GRID) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* STORE SHOWCASE (PRODUCTS) */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.store-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.store-img {
    height: 250px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.store-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.store-card:hover .store-img img { transform: scale(1.05); }

.store-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.store-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amazon-buy-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-amazon);
    color: #000;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.amazon-buy-btn:hover { background-color: var(--accent-hover); }

.amazon-buy-btn img {
    height: 20px;
    width: auto;
}

/* MODELS SHOWCASE */
.models-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.model-row {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.model-row h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.model-desc {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.bullet-list {
    list-style: none;
}

.bullet-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05rem;
}

.bullet-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10b981;
}

/* TABLE */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.landing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
}

.landing-table th, .landing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.landing-table th {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.col-highlight {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.price {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.info-panel {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 30px;
    border-radius: var(--radius-md);
}

.info-panel ul {
    margin-left: 20px;
    margin-top: 15px;
}

.info-panel li { margin-bottom: 10px; }

/* CRITERIA GRID */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.criteria-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    position: relative;
}

.crit-num {
    font-size: 4rem;
    font-weight: 800;
    color: #f1f5f9;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    z-index: 1;
}

.criteria-card h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

.criteria-card p {
    position: relative;
    z-index: 2;
}

/* FAQ */
.faq-container { max-width: 800px; }

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-btn i {
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-btn.active i { transform: rotate(45deg); color: var(--primary-blue); }

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 25px;
}

.faq-content.show { padding: 0 25px 25px; }

/* FOOTER */
.footer-area {
    background: var(--text-dark);
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer-conclusion {
    max-width: 800px;
    margin: 0 auto 60px;
}

.footer-conclusion h3 { color: #fff; font-size: 2rem; }

.copyright { border-top: 1px solid #1e293b; padding-top: 30px; }

.legal-links { margin-top: 15px; }
.legal-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; padding: 0 10px; }
.legal-links a:hover { color: #fff; text-decoration: underline; }

/* RE-STYLING POPUP FOR LIGHT THEME E-COMMERCE */
.popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; opacity: 0; visibility: hidden; transition: 0.4s;
}

.popup-overlay.show { opacity: 1; visibility: visible; }

.popup-box {
    background: var(--bg-white); padding: 40px; border-radius: 20px;
    width: 90%; max-width: 450px; text-align: center; position: relative;
    transform: translateY(50px) scale(0.9); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); border: 1px solid var(--border-light);
}

.popup-overlay.show .popup-box { transform: translateY(0) scale(1); }

.close-btn {
    position: absolute; top: 15px; right: 15px;
    background: none; border: none; color: var(--text-muted);
    font-size: 1.5rem; cursor: pointer;
}
.close-btn:hover { color: var(--text-dark); }

.popup-icon { font-size: 3rem; color: var(--accent-amazon); margin-bottom: 15px; }
.popup-box h2 { color: var(--text-dark); }
.popup-box p { color: var(--text-main); margin-bottom: 25px; }

.input-group { position: relative; margin-bottom: 15px; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-group input {
    width: 100%; padding: 15px 15px 15px 45px; border-radius: 10px;
    border: 1px solid var(--border-light); background: #f8fafc; color: var(--text-dark);
    font-size: 1rem; outline: none; transition: 0.3s;
}
.input-group input:focus { border-color: var(--primary-blue); background: #fff; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }

.submit-btn {
    width: 100%; padding: 15px; border: none; border-radius: 10px;
    background: var(--accent-amazon); color: #000; font-size: 1rem; font-weight: 700;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px;
}
.submit-btn:hover { background: var(--accent-hover); }

/* RESPONSIVE (Mobiles & Tablettes) */
@media (max-width: 900px) {
    .nav-links { display: none; } /* On cache les liens pour simplifier le header, on garde l'appel à l'action si voulu, mais mieux vaut tout masquer ou laisser que le bouton */
    .hero h1 { font-size: 2.8rem; }
    .intro-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .intro-image { order: -1; } /* L'image passe au-dessus du texte sur mobile */
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .hero { padding: 120px 0 40px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; width: 100%; padding: 0 10px; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    
    .section-title { font-size: 1.9rem; }
    
    .features-grid, .store-grid, .criteria-grid { 
        grid-template-columns: 1fr; 
    }
    
    .model-row { padding: 25px 20px; }
    .model-row h3 { font-size: 1.5rem; }
    
    .icon-circle { width: 150px; height: 150px; font-size: 4rem; margin: 0 auto; }
    
    /* Le tableau doit pouvoir défiler de gauche à droite sans casser la page */
    .table-wrapper {
        margin-left: -5vw;
        margin-right: -5vw;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .landing-table th, .landing-table td { padding: 15px 10px; }
    
    .faq-btn { font-size: 1.05rem; padding: 15px 20px; }
}

@media (max-width: 480px) {
    .popup-box { padding: 30px 20px; }
    .popup-box h2 { font-size: 1.4rem; }
    .nav-content { justify-content: center; } /* Centre le logo sur mobile */
}
