/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #667EEA;
    --dark-blue: #3A4784;
    --yellow: #FFD700;
    --yellow-hover: #FFB300;
    --white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.95);
    --gradient-start: #FF6B6B;
    --gradient-end: #4ECDC4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    min-height: 100vh;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER STYLES - MOBILE FIRST
   =========================== */
.header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(58, 71, 132, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(58, 71, 132, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 20px;
}

/* ===========================
   LOGO
   =========================== */
.logo {
    flex-shrink: 0;
    z-index: 1001;  /* ✅ RÉDUCTION */
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.logo a:hover h1 {
    opacity: 0.8;
}

/* ===========================
   LANGUAGE SELECTOR
   =========================== */
.language-selector {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lang-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lang-dropdown-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--yellow);
    border-width: 2px;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

/* Language Dropdown Menu */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(102, 126, 234, 0.1);
}

.lang-option.active {
    background: rgba(102, 126, 234, 0.2);
}

.lang-option .flag-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lang-option span {
    white-space: nowrap;
}

/* Desktop Language Selector */
.desktop-lang {
    display: none;
    flex-shrink: 0;
    z-index: 1001;  /* ✅ MÊME NIVEAU QUE LE LOGO */
}

/* Mobile Language Selector */
.mobile-lang {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===========================
   MOBILE MENU TOGGLE
   =========================== */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1003;  /* ✅ AU-DESSUS DU MENU */
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   NAVIGATION - MOBILE FIRST
   =========================== */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(74, 99, 179, 0.98);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 1002;  /* ✅ AU-DESSUS DU LOGO */
}

.nav::-webkit-scrollbar {
    width: 6px;
}

.nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.nav.active {
    right: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.nav-list a:hover {
    color: var(--yellow);
}

/* ===========================
   AUTH BUTTONS
   =========================== */
.auth-wrapper {
    position: relative;
}

.auth-dropdown {
    position: relative;
    display: inline-block;
}

.btn-connect {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.auth-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.auth-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.auth-option:hover {
    background: rgba(102, 126, 234, 0.1);
}

.auth-option svg {
    flex-shrink: 0;
    color: #667EEA;
}

/* ===========================
   USER ACCOUNT - GLOBAL STYLES
   =========================== */
.user-account {
    position: relative;
    display: inline-block;
}

.user-account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    padding: 0 15px 0 5px;
    transition: all 0.3s ease;
}

.user-account-btn:hover {
    transform: scale(1.05);
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.15);
}

.user-avatar-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.user-account-text {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    display: inline;
}

.dropdown-arrow {
    display: none;
    transition: transform 0.3s ease;
    color: var(--white);
}

/* ✅ USER MENU - DESKTOP/TABLETTE (PAR DÉFAUT) */
.user-expand-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: visible;
    max-height: none;
}

.user-expand-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 8px 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.user-email {
    font-size: 13px;
    color: #666;
}

.user-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.user-option:hover {
    background: rgba(102, 126, 234, 0.1);
}

.user-option.logout {
    color: #e74c3c;
}

.user-option.logout:hover {
    background: rgba(231, 76, 60, 0.1);
}

.user-option svg {
    flex-shrink: 0;
}

.user-expand-menu hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

/* ===========================
   HERO SECTION - MOBILE FIRST
   =========================== */
.hero {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 100%;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: var(--text-light);
}

.hero-description br {
    display: none;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--yellow);
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    margin-bottom: 50px;
}

.btn-cta:hover {
    background: var(--yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

/* Security Badges */
.security-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.badge {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.badge img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
}

/* ====================
   CARDS SECTION
   ==================== */

.cards-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card-item.featured {
    border: 2px solid #FFD700;
}

.card-item.exclusive {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 240, 255, 0.98) 100%);
}

/* Card Visual Container */
.card-visual {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    overflow: hidden;
    border-radius: 12px;
}

/* Card Image Styles */
.card-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1438 / 905;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

/* Hover Effect */
.card-item:hover .card-image {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Card Header (Titre + Badge) */
.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    text-align: left;
}

/* Card Badge */
.card-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-badge.recommended {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.card-badge.exclusive {
    background: linear-gradient(135deg, #667EEA, #764BA2);
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 8px;
    opacity: 0.9;
}

.card-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.card-number {
    font-size: 18px;
    color: white;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

.card-name {
    font-size: 14px;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    margin-bottom: 25px;
}

.card-features li {
    padding: 10px 0;
    color: #666;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-features li:last-child {
    border-bottom: none;
}

.btn-card {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-card.primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
}

.card-features li {
    padding: 12px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-features li strong {
    color: #667EEA;
    font-weight: 700;
}

.card-item.featured .card-features li strong {
    color: #FFA500;
}

.card-item.exclusive .card-features li strong {
    color: #00BFFF;
}

.card-features li strong.price-highlight {
    color: #1A1A1A;
    font-weight: 600;
}

.card-item.featured .card-features li strong.price-highlight {
    color: #1A1A1A;
    font-weight: 600;
}

.card-item.exclusive .card-features li strong.price-highlight {
    color: #1A1A1A;
    font-weight: 600;
}

/* ===========================
   SECTION AVANTAGES
   =========================== */

.avantages-section {
    padding: 80px 0;
}

.avantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.avantages-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.avantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.avantage-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.avantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.avantage-item:hover::before {
    opacity: 1;
}

.avantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--yellow);
}

.avantage-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.icon-svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: brightness(0) saturate(100%) invert(82%) sepia(78%) saturate(453%) hue-rotate(359deg) brightness(104%) contrast(104%);
}

.avantage-item:hover .avantage-icon {
    background: var(--yellow);
    transform: scale(1.1) rotate(5deg);
}

.avantage-item:hover .icon-svg {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(20%) sepia(30%) saturate(1500%) hue-rotate(200deg) brightness(95%) contrast(90%);
}

.avantage-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.avantage-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    align-items: center;
}



/* Delete Account Button */
.btn-delete {
    background: transparent;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-delete:hover {
    background: #e74c3c;
    color: white;
}

.btn-delete svg {
    flex-shrink: 0;
}

/* User Avatar Icon */
.user-avatar-icon {
    width: 100%;
    height: 100%;
    color: white;
}


/* ===========================
   SECTION TÉMOIGNAGES
   À ajouter dans styles.css
   =========================== */

.temoignages-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.temoignages-header {
    text-align: center;
    margin-bottom: 60px;
}

.temoignages-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
}

/* Wrapper avec overflow */
.temoignages-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Container scroll horizontal */
.temoignages-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox - cache la scrollbar */
    -ms-overflow-style: none; /* IE et Edge - cache la scrollbar */
}

/* Scrollbar cachée pour Chrome, Safari et Opera */
.temoignages-scroll::-webkit-scrollbar {
    display: none;
}

/* Item vidéo */
.temoignage-item {
    flex: 0 0 auto;
    width: 280px;
    aspect-ratio: 9 / 16;
    position: relative;
    scroll-snap-align: start;
}

/* Thumbnail container */
.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.video-thumbnail:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Image thumbnail */
.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-thumbnail:hover .thumbnail-img {
    transform: scale(1.05);
}

/* Bouton Play */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 0;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.play-button:hover svg circle {
    opacity: 1;
    stroke-width: 4;
}

/* Overlay sombre au hover */
.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-thumbnail:hover::before {
    opacity: 1;
}

/* ===========================
   MODAL VIDÉO
   =========================== */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    z-index: 10000;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 10001;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.video-player-wrapper {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* ===========================
   SECTION ILS PARLENT DE NOUS - STYLES COMPLETS
   À intégrer dans styles.css
   =========================== */

/* ===========================
   BASE STYLES - MOBILE FIRST
   =========================== */
.avis-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Header */
.avis-header {
    text-align: center;
    margin-bottom: 60px;
}

.avis-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.avis-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Slider Wrapper */
.avis-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

/* Slider Container */
.avis-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 5px;
}

/* Card Styles */
.avis-card {
    flex: 0 0 calc(100% - 10px);
    max-width: calc(100% - 10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.avis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.avis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.avis-card:hover::before {
    opacity: 1;
}

.avis-card-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header Content */
.avis-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Profile Image */
.avis-profile {
    flex-shrink: 0;
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667EEA;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.avis-card:hover .profile-img {
    transform: scale(1.1);
}

/* User Info */
.avis-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 4px;
    align-items: center;
}

.star {
    flex-shrink: 0;
}

/* Avis Text */
.avis-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: 15px;
}

.avis-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 40px;
    color: #667EEA;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Pagination */
.avis-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.pagination-dot.active {
    background: var(--yellow);
    width: 30px;
    border-radius: 6px;
    transform: scale(1);
}



/* ===========================
   FOOTER STYLES
   =========================== */

.footer {
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    padding: 30px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Brand */
.footer-brand {
    text-align: center;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Footer Columns */
.footer-col {
    text-align: center;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--yellow);
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-copyright a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--white);
    text-decoration: underline;
}


/* ===========================
   Recharge Form Styles
   =========================== */

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #667EEA;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* User Avatar Icon */
.user-avatar-icon {
    width: 100%;
    height: 100%;
    color: white;
}


/* ===========================
   MEDIA QUERIES - RESPONSIVE DESIGN
   =========================== */

/* ===========================
   1. PETITS ÉCRANS MOBILES - 320px
   =========================== */
@media (max-width: 320px) {
    /* Header */
    .header {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }

    /* Language Selector Mobile */
    .mobile-lang {
        justify-content: flex-start;
        margin-bottom: 15px;
        padding-top: 15px;
    }

    .mobile-lang .lang-dropdown-btn {
        width: auto;
        height: auto;
        border-radius: 8px;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .mobile-lang .lang-dropdown-btn .flag-img {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .mobile-lang .lang-dropdown-btn::after {
        content: attr(data-lang-name);
        color: var(--white);
        font-size: 14px;
        font-weight: 500;
    }

    .mobile-lang .lang-dropdown-menu {
        left: 0;
        transform: translateX(0) translateY(-10px);
        min-width: 130px;
    }

    .mobile-lang .lang-dropdown-menu.show {
        transform: translateX(0) translateY(0);
    }

    /* Navigation Mobile */
    .nav {
        padding: 70px 20px 80px;
    }
    
    .nav-list {
        gap: 18px;
        margin-bottom: 18px;
    }
    
    .nav-list a {
        font-size: 16px;
    }

    .btn-connect {
        padding: 10px 24px;
        font-size: 14px;
    }

    /* Menu utilisateur dans le hamburger */
    .nav .user-account {
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav .user-account-btn {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
    }

    /* Afficher la flèche */
    .nav .dropdown-arrow {
        display: block;
    }

    /* Rotation de la flèche quand ouvert */
    .nav .user-account-btn.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Menu étendu (accordéon) */
    .nav .user-expand-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-top: 12px;
        transition: all 0.4s ease;
    }

    .nav .user-expand-menu.show {
        max-height: 400px;
        opacity: 1;
        padding: 15px;
    }

    /* Styles des options */
    .nav .user-info {
        padding: 12px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .nav .user-name {
        display: block;
        font-weight: 700;
        color: var(--white);
        font-size: 16px;
        margin-bottom: 4px;
    }

    .nav .user-email {
        display: block;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav .user-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
        color: var(--white);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        margin-bottom: 6px;
        font-size: 14px;
    }

    .nav .user-option:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .nav .user-option.logout {
        color: #ff6b6b;
    }

    .nav .user-option.logout:hover {
        background: rgba(255, 107, 107, 0.15);
    }

    .nav .user-expand-menu hr {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin: 12px 0;
    }

    /* User Account */
    .user-account-btn {
        height: 36px;
        padding: 0 12px 0 4px;
    }

    .user-avatar-circle {
        width: 28px;
        height: 28px;
    }

    .user-avatar-icon {
        width: 18px;
        height: 18px;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .btn-cta {
        padding: 12px 30px;
        font-size: 14px;
        margin-bottom: 40px;
    }

    /* Security Badges */
    .security-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 280px;
    }

    .badge {
        padding: 10px;
    }

    .badge img {
        max-height: 32px;
    }

    /* Cards Section */
    .cards-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .section-description {
        font-size: 14px;
        max-width: 90%;
    }

    .cards-grid {
        gap: 20px;
        max-width: 100%;
    }

    .card-item {
        padding: 20px;
    }

    .card-visual {
        min-height: 160px;
        margin-bottom: 20px;
    }

    .card-image {
        max-width: 240px;
        border-radius: 12px;
    }

    .card-header {
        gap: 6px;
        margin-bottom: 8px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-badge {
        font-size: 9px;
        padding: 3px 8px;
    }

    .card-description {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .card-features {
        margin-bottom: 20px;
    }

    .card-features li {
        padding: 8px 0;
        font-size: 13px;
    }

    .btn-card {
        padding: 12px 20px;
        font-size: 15px;
    }

    /* Avantages Section */
    .avantages-section {
        padding: 60px 0;
    }

    .avantages-header {
        margin-bottom: 40px;
    }

    .avantages-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .avantages-grid {
        gap: 20px;
    }

    .avantage-item {
        padding: 30px 20px;
        aspect-ratio: auto;
    }

    .avantage-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }

    .icon-svg {
        width: 32px;
        height: 32px;
    }

    .avantage-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .avantage-description {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Témoignages Section */
    .temoignages-section {
        padding: 60px 0;
    }

    .temoignages-header {
        margin-bottom: 40px;
    }

    .temoignages-title {
        font-size: 24px;
    }

    .temoignage-item {
        width: calc(100vw - 50px);
    }

    .temoignages-scroll {
        gap: 12px;
        padding: 8px 0 20px;
    }

    .video-thumbnail {
        border-radius: 14px;
    }

    .play-button svg {
        width: 48px;
        height: 48px;
    }

    .video-modal-close {
        width: 40px;
        height: 40px;
        top: 8px;
        right: 8px;
    }

    .video-modal-close svg {
        width: 20px;
        height: 20px;
    }

    .video-player-wrapper {
        max-width: 92vw;
        border-radius: 16px;
    }


    .avis-section {
        padding: 60px 0;
    }

    .avis-header {
        margin-bottom: 40px;
    }

    .avis-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .avis-subtitle {
        font-size: 13px;
    }

    .avis-card {
        padding: 20px;
        border-radius: 16px;
    }

    .profile-img {
        width: 50px;
        height: 50px;
    }

    .user-name {
        font-size: 16px;
    }

    .rating .star {
        width: 16px;
        height: 16px;
    }

    .avis-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .pagination-dot {
        width: 10px;
        height: 10px;
    }

    .pagination-dot.active {
        width: 24px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 25px;
        margin-bottom: 30px;
    }

    .footer-logo {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .footer-tagline {
        font-size: 13px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links li a {
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-copyright {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* ===========================
   2. MOBILE - up to 767px
   =========================== */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Header */
    .header {
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 22px;
    }

    /* Language Selector Mobile */
    .mobile-lang {
        justify-content: flex-start;
        margin-bottom: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-lang .lang-dropdown-btn {
        width: auto;
        height: auto;
        border-radius: 10px;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .mobile-lang .lang-dropdown-btn .flag-img {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .mobile-lang .lang-dropdown-btn::after {
        content: attr(data-lang-name);
        color: var(--white);
        font-size: 16px;
        font-weight: 500;
    }

    .mobile-lang .lang-dropdown-menu {
        left: 0;
        transform: translateX(0) translateY(-10px);
    }

    .mobile-lang .lang-dropdown-menu.show {
        transform: translateX(0) translateY(0);
    }

    /* Navigation Mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(74, 99, 179, 0.98);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .nav-list a {
        font-size: 18px;
    }

    .btn-connect {
        padding: 12px 30px;
        font-size: 15px;
    }

    /* Menu utilisateur dans le hamburger */
    .nav .user-account {
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav .user-account-btn {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
    }

    /* Afficher la flèche */
    .nav .dropdown-arrow {
        display: block;
    }

    /* Rotation de la flèche quand ouvert */
    .nav .user-account-btn.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Menu étendu (accordéon) */
    .nav .user-expand-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-top: 12px;
        transition: all 0.4s ease;
    }

    .nav .user-expand-menu.show {
        max-height: 500px;
        opacity: 1;
        padding: 15px;
    }

    /* Styles des options */
    .nav .user-info {
        padding: 12px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .nav .user-name {
        display: block;
        font-weight: 700;
        color: var(--white);
        font-size: 16px;
        margin-bottom: 4px;
    }

    .nav .user-email {
        display: block;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav .user-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        color: var(--white);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        margin-bottom: 6px;
    }

    .nav .user-option:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .nav .user-option.logout {
        color: #ff6b6b;
    }

    .nav .user-option.logout:hover {
        background: rgba(255, 107, 107, 0.15);
    }

    .nav .user-expand-menu hr {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin: 12px 0;
    }

    /* Hero Section */
    .hero {
        padding: 130px 0 70px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .hero-description br {
        display: none;
    }

    .btn-cta {
        padding: 14px 35px;
        font-size: 16px;
        margin-bottom: 45px;
    }

    /* Security Badges */
    .security-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 350px;
    }

    .badge {
        padding: 12px;
    }

    .badge img {
        max-height: 36px;
    }

    /* Cards Section */
    .cards-section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
        max-width: 90%;
    }

    .cards-grid {
        gap: 25px;
        max-width: 95%;
    }

    .card-item {
        padding: 25px;
    }

    .card-visual {
        min-height: 180px;
        margin-bottom: 20px;
    }

    .card-image {
        max-width: 300px;
        border-radius: 14px;
    }

    .card-header {
        gap: 8px;
    }

    .card-title {
        font-size: 22px;
    }

    .card-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .card-description {
        font-size: 14px;
    }

    .card-features li {
        font-size: 14px;
        padding: 10px 0;
    }

    /* Avantages Section */
    .avantages-section {
        padding: 70px 0;
    }

    .avantages-title {
        font-size: 28px;
    }

    .avantages-grid {
        gap: 25px;
    }

    .avantage-item {
        padding: 35px 25px;
        aspect-ratio: auto;
    }

    .avantage-icon {
        width: 85px;
        height: 85px;
        margin-bottom: 20px;
    }

    .icon-svg {
        width: 38px;
        height: 38px;
    }

    .avantage-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .avantage-description {
        font-size: 14px;
    }

    /* Témoignages Section */
    .temoignages-section {
        padding: 70px 0;
    }

    .temoignages-title {
        font-size: 28px;
    }

    .temoignage-item {
        width: calc(100vw - 45px);
    }

    .temoignages-scroll {
        gap: 15px;
        padding: 10px 0 25px;
    }

    .video-thumbnail {
        border-radius: 16px;
    }

    .play-button svg {
        width: 52px;
        height: 52px;
    }

    .video-modal-close {
        width: 42px;
        height: 42px;
        top: 12px;
        right: 12px;
    }

    .video-player-wrapper {
        max-width: 88vw;
    }


    .avis-section {
        padding: 70px 0;
    }

    .avis-header {
        margin-bottom: 50px;
    }

    .avis-title {
        font-size: 28px;
    }

    .avis-subtitle {
        font-size: 15px;
    }

    .avis-slider {
        gap: 15px;
    }

    .avis-card {
        flex: 0 0 calc(100% - 5px);
        max-width: calc(100% - 5px);
        padding: 25px;
    }

    .profile-img {
        width: 55px;
        height: 55px;
    }

    .user-name {
        font-size: 17px;
    }

    .avis-text {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 30px;
    }

    .footer-content {
        gap: 35px;
        margin-bottom: 35px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .footer-tagline {
        font-size: 15px;
    }

    .footer-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links li a {
        font-size: 14px;
    }

    .footer-links li a:hover {
        transform: translateX(3px);
    }

    .footer-bottom {
        padding-top: 25px;
    }

    .footer-copyright {
        font-size: 13px;
    }
}

/* ===========================
   3. TABLETTE PORTRAIT - 768px EXACT (STYLE MOBILE)
   =========================== */
@media (min-width: 768px) and (max-width: 768px) {
    /* Container */
    .container {
        max-width: 720px;
    }

    /* Header - Mode MOBILE à 768px */
    .header {
        padding: 16px 0;
    }

    .logo h1 {
        font-size: 24px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-lang {
        display: none;
    }

    .mobile-lang {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 20px;
        padding-top: 20px;
    }

    .mobile-lang .lang-dropdown-btn {
        width: auto;
        height: auto;
        border-radius: 10px;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .mobile-lang .lang-dropdown-btn .flag-img {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .mobile-lang .lang-dropdown-btn::after {
        content: attr(data-lang-name);
        color: var(--white);
        font-size: 16px;
        font-weight: 500;
    }

    /* Menu mobile */
    .nav {
        position: fixed;
        right: -100%;
    }

    .nav.active {
        right: 0;
    }

    /* User menu en mode accordéon mobile */
    .nav .user-account {
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav .user-account-btn {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
    }

    .nav .dropdown-arrow {
        display: block;
    }

    .nav .user-account-btn.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .nav .user-expand-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-top: 12px;
        transition: all 0.4s ease;
    }

    .nav .user-expand-menu.show {
        max-height: 500px;
        opacity: 1;
        padding: 15px;
    }

    .nav .user-info {
        padding: 12px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .nav .user-name {
        color: var(--white);
        font-size: 16px;
    }

    .nav .user-email {
        color: rgba(255, 255, 255, 0.8);
    }

    .nav .user-option {
        color: var(--white);
        margin-bottom: 6px;
    }

    .nav .user-option:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .nav .user-option.logout {
        color: #ff6b6b;
    }

    .nav .user-expand-menu hr {
        border-top-color: rgba(255, 255, 255, 0.2);
    }

    /* Hero Section */
    .hero {
        padding: 150px 0 80px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-description br {
        display: block;
    }

    .btn-cta {
        padding: 16px 40px;
        font-size: 17px;
    }

    /* Security Badges */
    .security-badges {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        max-width: 650px;
    }

    .badge {
        padding: 15px;
    }

    .badge img {
        max-height: 42px;
    }

    /* Cards Section */
    .section-title {
        font-size: 34px;
    }

    .section-description {
        font-size: 17px;
        max-width: 70%;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .card-visual {
        min-height: 190px;
    }

    .card-image {
        max-width: 320px;
    }

    /* Avantages Section */
    .avantages-title {
        font-size: 34px;
    }

    .avantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Cartes carrées */
    .avantage-item {
        aspect-ratio: 1 / 1;
        padding: 38px 28px;
    }

    /* 5ème élément centré */
    .avantage-item:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .avantage-icon {
        width: 95px;
        height: 95px;
    }

    .icon-svg {
        width: 42px;
        height: 42px;
    }

    .avantage-item h3 {
        font-size: 21px;
    }

    .avantage-description {
        font-size: 15px;
    }

    /* Témoignages Section */
    .temoignages-title {
        font-size: 34px;
    }

    .temoignage-item {
        width: 240px;
    }

    .temoignages-scroll {
        gap: 18px;
    }

    .video-player-wrapper {
        max-width: 460px;
    }

    .avis-section {
        padding: 80px 0;
    }

    .avis-title {
        font-size: 34px;
    }

    .avis-subtitle {
        font-size: 17px;
    }

    /* 2 cartes visibles */
    .avis-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .profile-img {
        width: 60px;
        height: 60px;
    }

    /* Footer */
    .footer {
        padding: 60px 0 35px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-col {
        text-align: left;
    }

    .footer-logo {
        font-size: 34px;
    }

    .footer-tagline {
        font-size: 17px;
    }
}

/* ===========================
   4. TABLETTE - 769px to 1024px
   =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Container */
    .container {
        max-width: 960px;
    }

    /* Header */
    .header {
        padding: 18px 0;
    }

    .logo h1 {
        font-size: 26px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .header-content {
        gap: 0;
    }

    .logo {
        order: 1;
    }

    .desktop-lang {
        display: flex;
        order: 2;
        margin-left: 0;
    }

    .desktop-lang .lang-dropdown-menu {
        left: 0;
        transform: translateX(0) translateY(-10px);
    }

    .desktop-lang .lang-dropdown-menu.show {
        transform: translateX(0) translateY(0);
    }

    .mobile-lang {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 25px;
        flex: 1;
        justify-content: flex-end;
        order: 3;
        margin-left: auto;
        overflow: visible;
    }

    .nav-list {
        flex-direction: row;
        gap: 22px;
        margin-bottom: 0;
    }

    .nav-list a {
        font-size: 15px;
    }

    .btn-connect {
        padding: 11px 26px;
        font-size: 15px;
    }

    /* Hero Section */
    .hero {
        padding: 160px 0 100px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-description {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .hero-description br {
        display: block;
    }

    .btn-cta {
        padding: 16px 45px;
        font-size: 17px;
    }

    /* Security Badges */
    .security-badges {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        max-width: 750px;
    }

    .badge {
        padding: 18px;
    }

    .badge img {
        max-height: 46px;
    }

    /* Cards Section */
    .cards-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 40px;
    }

    .section-description {
        font-size: 18px;
        max-width: 65%;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .card-visual {
        min-height: 195px;
    }

    .card-image {
        max-width: 360px;
    }

    /* Avantages Section */
    .avantages-section {
        padding: 80px 0;
    }

    .avantages-title {
        font-size: 40px;
    }

    .avantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    /* Cartes carrées */
    .avantage-item {
        aspect-ratio: 1 / 1;
        padding: 40px 30px;
    }

    /* 5ème élément centré */
    .avantage-item:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 450px;
        margin: 0 auto;
    }

    .avantage-icon {
        width: 105px;
        height: 105px;
    }

    .icon-svg {
        width: 46px;
        height: 46px;
    }

    .avantage-item h3 {
        font-size: 22px;
    }

    .avantage-description {
        font-size: 15px;
    }

    /* Témoignages Section */
    .temoignages-section {
        padding: 80px 0;
    }

    .temoignages-title {
        font-size: 40px;
    }

    .temoignage-item {
        width: 250px;
    }

    .temoignages-scroll {
        gap: 20px;
    }

    .video-player-wrapper {
        max-width: 480px;
    }


    .avis-section {
        padding: 90px 0;
    }

    .avis-header {
        margin-bottom: 70px;
    }

    .avis-title {
        font-size: 40px;
    }

    .avis-subtitle {
        font-size: 18px;
    }

    .avis-slider {
        gap: 25px;
    }

    /* 2 cartes visibles */
    .avis-card {
        flex: 0 0 calc(50% - 12.5px);
        max-width: calc(50% - 12.5px);
        padding: 35px;
    }

    .profile-img {
        width: 65px;
        height: 65px;
    }

    .user-name {
        font-size: 19px;
    }

    .avis-text {
        font-size: 16px;
    }

    .pagination-dot {
        width: 14px;
        height: 14px;
    }

    .pagination-dot.active {
        width: 35px;
    }

    /* Footer */
    .footer {
        padding: 70px 0 40px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 50px;
        align-items: start;
    }

    .footer-brand {
        grid-column: auto;
        text-align: left;
    }

    .footer-col {
        text-align: left;
    }

    .footer-logo {
        font-size: 38px;
        margin-bottom: 12px;
    }

    .footer-tagline {
        font-size: 16px;
        max-width: 340px;
    }

    .footer-links li a:hover {
        transform: translateX(8px);
    }
}



/* Desktop - 1025px and up */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }
    
    .header {
        padding: 20px 0;
    }

    .header-content {
        gap: 30px;
    }

    .logo h1 {
        font-size: 28px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .logo {
        order: 1;
    }

    .desktop-lang {
        display: flex;
        order: 2;
        margin-left: 0;
    }

    .desktop-lang .lang-dropdown-menu {
        left: 0;
        transform: translateX(0) translateY(-10px);
    }

    .desktop-lang .lang-dropdown-menu.show {
        transform: translateX(0) translateY(0);
    }

    .mobile-lang {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 25px;
        flex: 1;
        justify-content: flex-end;
        order: 3;
        margin-left: auto;
        overflow: visible;
    }

    .nav-list {
        flex-direction: row;
        gap: 22px;
        margin-bottom: 0;
    }

    .nav-list a {
        font-size: 15px;
    }

    .btn-connect {
        padding: 11px 26px;
        font-size: 15px;
    }

    
    
    .hero {
        padding: 180px 0 120px;
    }
    
    .hero-content {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 56px;
        margin-bottom: 25px;
    }
    
    .hero-description {
        font-size: 20px;
        margin-bottom: 45px;
    }
    
    .hero-description br {
        display: block;
    }
    
    .btn-cta {
        padding: 18px 50px;
        font-size: 18px;
    }
    
    .security-badges {
        grid-template-columns: repeat(4, 1fr);
        max-width: 900px;
        gap: 25px;
    }
    
    .badge {
        padding: 25px;
    }
    
    .badge img {
        max-height: 50px;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .section-description {
        font-size: 20px;
    }

    .card-visual {
        min-height: 210px;
    }
    
    .card-image {
        max-width: 340px;
    }
    
    .card-header {
        gap: 12px;
    }
    
    .card-title {
        font-size: 26px;
    }

    .avantages-section {
        padding: 100px 0;
    }

    .avantages-title {
        font-size: 48px;
    }

    .avantages-header {
        margin-bottom: 80px;
    }

    /* ✅ GRID AVEC 5 COLONNES POUR CONTRÔLE TOTAL */
    .avantages-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* ✅ CARTES CARRÉES */
    .avantage-item {
        aspect-ratio: 1 / 1;
        padding: 40px 30px;
    }

    /* ✅ LIGNE 1 : 3 CARTES (colonnes 1-2, 3-4, 5-6) */
    .avantage-item:nth-child(1) {
        grid-column: 1 / 3;
    }

    .avantage-item:nth-child(2) {
        grid-column: 3 / 5;
    }

    .avantage-item:nth-child(3) {
        grid-column: 5 / 7;
    }

    /* ✅ LIGNE 2 : 2 CARTES CENTRÉES (colonnes 2-4 et 4-6) */
    .avantage-item:nth-child(4) {
        grid-column: 2 / 4;
        grid-row: 2;
    }

    .avantage-item:nth-child(5) {
        grid-column: 4 / 6;
        grid-row: 2;
    }

    .avantage-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }

    .icon-svg {
        width: 52px;
        height: 52px;
    }

    .avantage-item h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .avantage-description {
        font-size: 16px;
        line-height: 1.8;
    }

    /* Animation au scroll */
    .avantage-item {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .avantage-item:nth-child(1) { animation-delay: 0.1s; }
    .avantage-item:nth-child(2) { animation-delay: 0.2s; }
    .avantage-item:nth-child(3) { animation-delay: 0.3s; }
    .avantage-item:nth-child(4) { animation-delay: 0.4s; }
    .avantage-item:nth-child(5) { animation-delay: 0.5s; }

    .temoignages-section {
        padding: 100px 0;
    }

    .temoignages-title {
        font-size: 48px;
    }

    .temoignages-header {
        margin-bottom: 80px;
    }

    .temoignage-item {
        width: 280px;
    }

    .temoignages-scroll {
        gap: 25px;
    }

    .video-player-wrapper {
        max-width: 500px;
    }

    .temoignage-item {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .temoignage-item:nth-child(1) { animation-delay: 0.1s; }
    .temoignage-item:nth-child(2) { animation-delay: 0.2s; }
    .temoignage-item:nth-child(3) { animation-delay: 0.3s; }
    .temoignage-item:nth-child(4) { animation-delay: 0.4s; }
    .temoignage-item:nth-child(5) { animation-delay: 0.5s; }
    .temoignage-item:nth-child(6) { animation-delay: 0.6s; }


    .avis-section {
        padding: 100px 0;
    }

    .avis-header {
        margin-bottom: 80px;
    }

    .avis-title {
        font-size: 48px;
    }

    .avis-subtitle {
        font-size: 20px;
    }

    .avis-slider {
        gap: 30px;
    }

    /* 2 cartes visibles */
    .avis-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        padding: 40px;
    }

    .avis-header-content {
        gap: 20px;
    }

    .profile-img {
        width: 70px;
        height: 70px;
        border-width: 4px;
    }

    .user-name {
        font-size: 20px;
    }

    .rating .star {
        width: 20px;
        height: 20px;
    }

    .avis-text {
        font-size: 16px;
        line-height: 1.8;
        padding-left: 20px;
    }

    .avis-text::before {
        font-size: 50px;
    }

    .pagination-dot {
        width: 14px;
        height: 14px;
        gap: 14px;
    }

    .pagination-dot.active {
        width: 40px;
    }

    /* Animation au scroll */
    .avis-card {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }


    .footer {
        padding: 80px 0 40px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    .footer-brand {
        grid-column: auto;
        text-align: left;
    }

    .footer-col {
        text-align: left;
    }

    .footer-logo {
        font-size: 40px;
    }

    .footer-tagline {
        font-size: 18px;
        max-width: 350px;
    }

    .footer-links li a:hover {
        transform: translateX(10px);
    }
}


/* Animation fadeInUp */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
