/* ================================
   GOOGLE FONTS + VARIABLES
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #FF006E;
    --secondary-color: #00D9FF;
    --accent-purple: #8B5CF6;
    --accent-orange: #FF6B35;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --border-light: #E5E5E5;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
body.dark-mode {
    --text-dark: #FFFFFF;
    --text-light: #B0B8D4;
    --bg-light: #1a1a2e;
    --bg-white: #0f0f1e;
    --border-light: #2a2a3e;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0a0a14 0%, #151528 50%, #0f151f 100%);
}

body.dark-mode .hero::before {
    background: radial-gradient(circle, rgba(255, 0, 110, 0.12) 0%, transparent 70%);
}

body.dark-mode .hero::after {
    background: radial-gradient(circle, rgba(0, 217, 255, 0.12) 0%, transparent 70%);
}

body.dark-mode #features {
    background: #1a1a2e;
    border-color: #2a2a3e;
}

body.dark-mode .feature-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #151528 100%);
}

body.dark-mode .feature-background {
    opacity: 0.25;
}

body.dark-mode .feature-card:hover {
    box-shadow: 0 40px 80px rgba(255, 0, 110, 0.2);
}

body.dark-mode .feature-card:hover .feature-background {
    opacity: 0.4;
}

body.dark-mode .feature-card h3 {
    color: var(--text-light);
}

body.dark-mode .feature-card p {
    color: var(--text-gray);
}

body.dark-mode .contact-form-container {
    background: #151528;
    border-color: #2a2a3e;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #0f0f1e;
    border-color: #2a2a3e;
    color: var(--text-dark);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.15);
}

body.dark-mode .footer {
    background: #0f0f1e;
    border-top-color: #2a2a3e;
}

body.dark-mode .footer-bottom p {
    color: var(--text-light);
}

body.dark-mode .newsletter-form input {
    background: #1a1a2e;
    border-color: #2a2a3e;
    color: var(--text-dark);
}

body.dark-mode .navbar {
    background: transparent;
    border-bottom-color: #2a2a3e;
}

body.dark-mode .theme-toggle {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    color: var(--text-dark);
}

body.dark-mode .theme-toggle:hover {
    background: #252538;
    border-color: #3a3a5e;
}

body.dark-mode .social-icon {
    border-color: #2a2a3e;
}

body.dark-mode .social-icon:hover {
    border-color: var(--primary-color);
    background: rgba(255, 0, 110, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #FF1A80, #00E6FF);
}

/* Sélection de texte */
::selection {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   HEADER / NAVBAR
   ================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-connexion {
    background: linear-gradient(135deg, var(--primary-color), #FF1A80);
    color: white;
    padding: 0.6rem 1.6rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 0, 110, 0.3);
}

.btn-connexion:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 110, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 0;
}

.theme-toggle:hover {
    background: var(--border-light);
    transform: scale(1.05);
}

.theme-toggle svg {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

body.dark-mode .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

body.dark-mode .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F5F0FF 0%, #FFF0F5 50%, #F0FFFF 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
    filter: blur(40px);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: var(--primary-color);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideDown 0.8s ease;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: var(--text-dark);
    animation: slideDown 0.8s ease;
    letter-spacing: -1px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease 0.4s both;
}

.btn-primary, .btn-secondary {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #FF1A80);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 110, 0.4);
}

.btn-secondary {
    border: 2px solid var(--text-light);
    color: var(--text-dark);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-dark);
    transform: translateY(-3px);
}

/* ================================
   SECTIONS
   ================================ */

section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

section h2 .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section .subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* ================================
   FEATURES SECTION
   ================================ */

#features {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 20px;
    border: none;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-background {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card-1 .feature-background {
    background: linear-gradient(135deg, #FF006E, #FF1A80);
}

.feature-card-2 .feature-background {
    background: linear-gradient(135deg, #00D9FF, #00F0FF);
}

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

.feature-card-4 .feature-background {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

.feature-card-5 .feature-background {
    background: linear-gradient(135deg, #06B6D4, #06DDDC);
}

.feature-card-6 .feature-background {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.feature-card:hover .feature-background {
    opacity: 0.3;
}

.feature-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feature-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 40px 80px rgba(255, 0, 110, 0.15);
}

.feature-icon-box {
    font-size: 3.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: transform 0.3s ease;
    margin-bottom: 0.5rem;
}

.feature-card-1 .feature-icon-box {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 26, 128, 0.2));
}

.feature-card-2 .feature-icon-box {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 240, 255, 0.2));
}

.feature-card-3 .feature-icon-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
}

.feature-card-4 .feature-icon-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.2));
}

.feature-card-5 .feature-icon-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 221, 220, 0.2));
}

.feature-card-6 .feature-icon-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.2));
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.2;
}

.feature-stat {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ================================
   CTA SECTION
   ================================ */

.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF1A80 50%, var(--secondary-color) 100%);
    background-size: 400% 400%;
    padding: 5rem 3rem;
    border-radius: 24px;
    text-align: center;
    max-width: 900px;
    margin: 5rem auto;
    box-shadow: 0 30px 80px rgba(255, 0, 110, 0.35), 0 0 60px rgba(0, 217, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradientShift 4s ease infinite;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 40%;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 30%;
    bottom: -30px;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    top: 50%;
    right: 5%;
    animation: float 7s ease-in-out infinite;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 20%, rgba(255, 255, 255, 0.15) 50%, transparent 80%);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.cta-banner h2 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    letter-spacing: -1px;
}

.highlight-text {
    background: linear-gradient(135deg, #FFFF00, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cta-banner > p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 0.3rem;
}

.divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.btn-cta {
    position: relative;
    z-index: 2;
    padding: 1.2rem 3rem !important;
    font-size: 1.1rem !important;
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: white !important;
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
}

/* ================================
   PARTNERS SECTION
   ================================ */

#partners {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.partners-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.partners-coming-soon {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08), rgba(0, 217, 255, 0.08));
    border: 2px solid rgba(255, 0, 110, 0.2);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.partners-coming-soon:hover {
    border-color: rgba(255, 0, 110, 0.4);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.15);
    transform: translateY(-8px);
}

.soon-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.partners-coming-soon h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.partners-coming-soon p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #FF1A80);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.3);
    animation: slideDown 0.8s ease;
}

body.dark-mode #partners {
    background: #1a1a2e;
    border-top-color: #2a2a3e;
}

body.dark-mode .partners-coming-soon {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.12), rgba(0, 217, 255, 0.12));
    border-color: rgba(255, 0, 110, 0.25);
}

body.dark-mode .partners-coming-soon:hover {
    border-color: rgba(255, 0, 110, 0.45);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.25);
}

body.dark-mode .partners-coming-soon h3 {
    color: var(--text-dark);
}

body.dark-mode .partners-coming-soon p {
    color: var(--text-light);
}

/* ================================
   ABOUT SECTION
   ================================ */

#about {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 6rem 0;
}

#about h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

#about h3 {
    color: var(--text-dark);
}

#about p {
    color: var(--text-light);
}

body.dark-mode #about {
    background: #1a1a2e;
    border-top-color: #2a2a3e;
}

body.dark-mode #about h2,
body.dark-mode #about h3 {
    color: var(--text-dark);
}

body.dark-mode #about p {
    color: var(--text-light);
}

/* ================================
   CONTACT FORM
   ================================ */

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
    padding: 0;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icon:hover {
    border-color: var(--primary-color);
    background: rgba(255, 0, 110, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.2);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #FF1A80);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 110, 0.3);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.2rem;
    display: block;
}

.footer-brand {
    position: relative;
}

.footer-brand h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.footer-newsletter h3 {
    font-size: 0.95rem;
}

.footer-newsletter p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.3rem;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #FF1A80);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 110, 0.3);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    margin: 2rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    color: var(--text-light);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

body.dark-mode .newsletter-form input {
    background: #1a1a2e;
    border-color: #2a2a3e;
    color: var(--text-dark);
}

body.dark-mode .newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.15);
}

body.dark-mode .footer-divider {
    background: linear-gradient(90deg, transparent, #2a2a3e, transparent);
}

body.dark-mode .footer-section h3 {
    color: var(--text-dark);
}

body.dark-mode .footer-brand h3 {
    color: var(--text-dark);
}

/* ================================
   DASHBOARD - DARK MODE
   ================================ */

body.dark-mode section {
    background: #1a1a2e !important;
    color: var(--text-dark) !important;
}

body.dark-mode section h1,
body.dark-mode section h2,
body.dark-mode section h3 {
    color: var(--text-dark) !important;
}

body.dark-mode section p,
body.dark-mode section label {
    color: var(--text-light) !important;
}

/* ================================
   DASHBOARD DARK MODE
   ================================ */

body.dark-mode .dashboard-section {
    background: #1a1a2e !important;
}

/* Cartes blanches du dashboard (profil, stats, actions) */
body.dark-mode .dashboard-section div[style*="background: white"] {
    background: #151528 !important;
    border: 1px solid #2a2a3e !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    color: var(--text-light) !important;
}

/* Alternative: cibler par box-shadow */
body.dark-mode .dashboard-section div[style*="box-shadow: 0 10px 30px"] {
    background: #151528 !important;
    border: 1px solid #2a2a3e !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Cartes avec padding 1.5rem (stat cards) */
body.dark-mode .dashboard-section div[style*="padding: 1.5rem"] {
    background: #151528 !important;
    border: 1px solid #2a2a3e !important;
}

/* Cartes avec padding 2rem (action cards et profil) */
body.dark-mode .dashboard-section div[style*="padding: 2rem"] {
    background: #151528 !important;
    border: 1px solid #2a2a3e !important;
}

/* Textes du dashboard */
body.dark-mode .dashboard-section h1,
body.dark-mode .dashboard-section h2,
body.dark-mode .dashboard-section h3 {
    color: var(--text-dark) !important;
}

body.dark-mode .dashboard-section p {
    color: var(--text-light) !important;
}

body.dark-mode .dashboard-section a[style*="color: var(--primary-color)"] {
    color: var(--primary-color) !important;
}

/* Header banner gradient en dark mode */
body.dark-mode div[style*="background: linear-gradient(135deg, #0a0a14"] {
    background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 50%, #0f151f 100%) !important;
}

/* Cartes avec padding 1.75rem (action cards) */
body.dark-mode div[style*="padding: 1.75rem"] {
    background: #151528 !important;
    border: 1px solid #2a2a3e !important;
}

body.dark-mode input[type="email"],
body.dark-mode input[type="password"],
body.dark-mode input[type="text"],
body.dark-mode textarea,
body.dark-mode select {
    background: #0f0f1e !important;
    color: var(--text-dark) !important;
    border-color: #2a2a3e !important;
}

body.dark-mode input[type="email"]:focus,
body.dark-mode input[type="password"]:focus,
body.dark-mode input[type="text"]:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.15) !important;
}

body.dark-mode a[style*="color: var(--primary-color)"] {
    color: var(--primary-color) !important;
}

body.dark-mode [style*="color: rgba"] {
    color: var(--text-light) !important;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animations au scroll */
.reveal {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.reveal-delay-1 {
    animation-delay: 0.1s;
}

.reveal-delay-2 {
    animation-delay: 0.2s;
}

.reveal-delay-3 {
    animation-delay: 0.3s;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .btn-connexion {
        display: none;
    }

    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-banner {
        padding: 2.5rem 1.5rem;
        margin: 2rem auto;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .navbar-brand .logo {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 35px;
    }

    .btn-primary, .btn-secondary {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* ================================
   REVIEWS CAROUSEL
   ================================ */

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.15);
}

body.dark-mode .review-card {
    background: #151528 !important;
    border-color: #2a2a3e !important;
}

body.dark-mode #reviews .reviews-carousel > div:first-of-type ~ div[style*="linear-gradient"] {
    background: linear-gradient(to right, #0f0f1e, transparent) !important;
}

body.dark-mode #reviews .reviews-carousel > div:last-child {
    background: linear-gradient(to left, #0f0f1e, transparent) !important;
}

/* ================================
   DARK MODE - PAGES AUTH (login, register, settings)
   ================================ */

body.dark-mode section[style*="background: var(--bg-light)"] {
    background: #0f0f1e !important;
}

body.dark-mode div[style*="background: white"],
body.dark-mode div[style*="background: #fff"],
body.dark-mode div[style*="background:#fff"] {
    background: #151528 !important;
    border-color: #2a2a3e !important;
}

body.dark-mode .advantage-card {
    background: #1a1a2e !important;
    border: 1px solid #2a2a3e !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

body.dark-mode div[style*="background: linear-gradient(135deg, rgba(255, 0, 110, 0.05)"] {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: var(--text-dark) !important;
}

body.dark-mode p {
    color: var(--text-light) !important;
}

body.dark-mode label {
    color: var(--text-dark) !important;
}

body.dark-mode a[style*="color: var(--text-dark)"] {
    color: var(--text-dark) !important;
}

/* Fix form containers en dark mode */
body.dark-mode div[style*="box-shadow: 0 20px 60px"] {
    background: #151528 !important;
    border: 1px solid #2a2a3e !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode div[style*="box-shadow: 0 10px 30px"] {
    background: #151528 !important;
    border: 1px solid #2a2a3e !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode div[style*="box-shadow: 0 4px 15px"] {
    background: #1a1a2e !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Reviews carousel dark mode */
body.dark-mode .review-card {
    background: #151528 !important;
    border-color: #2a2a3e !important;
}

body.dark-mode #reviews {
    background: var(--bg-white);
}

/* ================================
   FEATURES - ANIMATIONS AMÉLIORÉES
   ================================ */

.feature-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-stat {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-stat {
    transform: scale(1.2);
}

.feature-icon-box {
    animation: float 4s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon-box { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon-box { animation-delay: 1s; }
.feature-card:nth-child(4) .feature-icon-box { animation-delay: 1.5s; }
.feature-card:nth-child(5) .feature-icon-box { animation-delay: 2s; }
.feature-card:nth-child(6) .feature-icon-box { animation-delay: 2.5s; }

.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 40px 80px rgba(255, 0, 110, 0.2);
}

.feature-card:hover .feature-background {
    opacity: 0.4;
}

.feature-card:hover .feature-icon-box {
    animation: none;
    transform: scale(1.2) rotate(-10deg);
}

/* Glow spécifique par couleur au hover */
.feature-card-1:hover { box-shadow: 0 40px 80px rgba(255, 0, 110, 0.25); }
.feature-card-2:hover { box-shadow: 0 40px 80px rgba(0, 217, 255, 0.25); }
.feature-card-3:hover { box-shadow: 0 40px 80px rgba(255, 215, 0, 0.25); }
.feature-card-4:hover { box-shadow: 0 40px 80px rgba(139, 92, 246, 0.25); }
.feature-card-5:hover { box-shadow: 0 40px 80px rgba(6, 182, 212, 0.25); }
.feature-card-6:hover { box-shadow: 0 40px 80px rgba(16, 185, 129, 0.25); }

/* ================================
   MENU MOBILE - BURGER ANIMÉ
   ================================ */

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .navbar-menu.active {
        right: 0;
    }

    body.dark-mode .navbar-menu {
        background: #0f0f1e;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark) !important;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary-color) !important;
    }

    .btn-connexion {
        display: block !important;
        width: 100%;
        text-align: center;
        margin-top: 2rem;
        padding: 1rem;
        font-size: 1rem;
    }

    .theme-toggle {
        margin-top: 1.5rem;
        align-self: center;
    }

    /* Burger animation -> X */
    .menu-toggle {
        z-index: 1001;
        position: relative;
    }

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

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

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

    /* Overlay sombre derrière le menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ================================
   FIX RESPONSIVE GLOBAL
   ================================ */

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .feature-card {
        min-height: 280px;
    }

    .feature-stat {
        font-size: 2.2rem;
    }

    .feature-icon-box {
        font-size: 2.5rem;
    }

    .review-card {
        flex: 0 0 280px !important;
        padding: 1.5rem !important;
    }

    .reviews-track {
        gap: 1rem !important;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .cta-banner p {
        font-size: 0.95rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    section h2 {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    section .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .feature-card {
        min-height: 240px;
    }

    .feature-stat {
        font-size: 1.8rem;
    }

    .review-card {
        flex: 0 0 250px !important;
        padding: 1.2rem !important;
    }

    .cta-banner {
        padding: 2rem 1rem !important;
        border-radius: 12px;
    }

    .cta-banner h2 {
        font-size: 1.3rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .hero-buttons {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .review-card {
        flex: 0 0 220px !important;
    }

    .navbar-brand .logo {
        font-size: 1rem;
    }

    .logo-icon, .logo-img {
        font-size: 1.3rem;
        height: 30px !important;
    }
}

/* Fix menu mobile - boutons connexion/profil */
@media (max-width: 768px) {
    .navbar-menu > div[style] {
        flex-direction: column !important;
        width: 100%;
        gap: 0.8rem !important;
        margin-top: 1.5rem;
    }

    .navbar-menu > div[style] a[href='/dashboard.php'] {
        width: 100%;
        justify-content: center;
        padding: 1rem !important;
        border-radius: 10px !important;
        font-size: 0.95rem;
    }

    .navbar-menu > div[style] a[href='/logout.php'] {
        width: 100% !important;
        text-align: center;
        margin: 0 !important;
        padding: 1rem !important;
        font-size: 0.95rem;
        box-sizing: border-box;
    }

    .navbar-menu .theme-toggle {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
    }
}

/* ================================
   RESPONSIVE GLOBAL - TOUTES PAGES
   ================================ */

@media (max-width: 768px) {
    /* Login & Register: grid 2 colonnes -> 1 colonne */
    section > div > div[style*='grid-template-columns: 1fr 1fr'] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Cacher la colonne présentation sur mobile (login/register) */
    section > div > div[style*='grid-template-columns: 1fr 1fr'] > div:first-child {
        display: none !important;
    }

    /* Form container ajustements */
    section > div > div[style*='grid-template-columns: 1fr 1fr'] > div:last-child > div {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    /* Dashboard: grid 280px 1fr -> 1 colonne */
    div[style*='grid-template-columns: 280px 1fr'] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Dashboard header banner */
    .dashboard-section > div:first-child {
        padding: 2.5rem 1.5rem !important;
    }

    .dashboard-section > div:first-child h1 {
        font-size: 2rem !important;
    }

    /* Dashboard stats grid */
    div[style*='grid-template-columns: 1fr 1fr'] {
        grid-template-columns: 1fr !important;
    }

    /* Raccourcis grid */
    div[style*='grid-template-columns: repeat(auto-fit, minmax(240px'] {
        grid-template-columns: 1fr !important;
    }

    /* Settings page */
    .dashboard-section h1[style*='font-size: 2.5rem'] {
        font-size: 1.6rem !important;
    }

    /* Avatar upload flex -> column */
    form div[style*='display: flex'][style*='align-items: center'][style*='gap: 2rem'] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    /* Sections générales */
    section[style*='padding: 4rem 2rem'] {
        padding: 2rem 1rem !important;
    }

    section[style*='padding: 4rem 0'] {
        padding: 2rem 0 !important;
    }

    /* Titres formulaires */
    h1[style*='font-size: 1.8rem'] {
        font-size: 1.4rem !important;
    }

    h2[style*='font-size: 3rem'] {
        font-size: 1.8rem !important;
    }

    /* Container overflow fix */
    .container {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Fix tout débordement */
    section, div {
        max-width: 100vw;
    }

    /* Footer newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    /* Index reviews inline cards */
    div[style*='flex: 0 1 400px'] {
        flex: 1 1 100% !important;
    }

    /* CTA section */
    .cta-banner .btn-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Encore plus petit */
    section[style*='padding: 4rem'] {
        padding: 1.5rem 0.75rem !important;
    }

    div[style*='padding: 3rem'] {
        padding: 1.5rem !important;
    }

    div[style*='padding: 2rem'] {
        padding: 1.2rem !important;
    }

    /* Dashboard profil avatar */
    div[style*='width: 120px'][style*='height: 120px'] {
        width: 80px !important;
        height: 80px !important;
        font-size: 1.8rem !important;
    }

    /* Boutons dashboard */
    a[style*='padding: 0.75rem 2rem'] {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }

    button[style*='padding: 0.75rem 2rem'] {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }

    button[style*='padding: 1rem'] {
        padding: 0.85rem !important;
        font-size: 0.95rem !important;
    }

    /* Settings titre + back */
    div[style*='display: flex'][style*='justify-content: space-between'][style*='margin-bottom: 3rem'] {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }

    /* Étoiles avis */
    .star-display {
        font-size: 2rem !important;
    }

    /* Inputs */
    input[style*='padding: 0.85rem'],
    input[style*='padding: 0.75rem'] {
        padding: 0.7rem !important;
        font-size: 0.9rem !important;
    }

    textarea {
        min-height: 100px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 360px) {
    /* Très petits écrans */
    div[style*='padding: 2rem'],
    div[style*='padding: 1.5rem'] {
        padding: 1rem !important;
    }

    h1[style*='font-size'] {
        font-size: 1.3rem !important;
    }

    .dashboard-section > div:first-child h1 {
        font-size: 1.5rem !important;
    }

    p[style*='font-size: 1.1rem'] {
        font-size: 0.9rem !important;
    }
}

/* Reviews rating section - dynamique */
#reviews .container > div:first-of-type {
    animation: slideUp 0.8s ease;
}

#reviews .container > div:first-of-type span[style*='3.5rem'] {
    display: inline-block;
    animation: pulse-rating 2s ease-in-out infinite;
}

@keyframes pulse-rating {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    #reviews .container > div:first-of-type span[style*='3.5rem'] {
        font-size: 2.8rem !important;
    }

    #reviews .container > div:first-of-type span[style*='1.8rem'] {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    #reviews .container > div:first-of-type span[style*='3.5rem'] {
        font-size: 2.2rem !important;
    }

    #reviews .container > div:first-of-type span[style*='1.8rem'] {
        font-size: 1.1rem !important;
    }
}

/* ================================
   ADMIN TABS
   ================================ */

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.admin-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 0, 110, 0.05);
}

.admin-tab.active {
    background: linear-gradient(135deg, var(--primary-color), #FF1A80);
    color: white;
    border-color: var(--primary-color);
}

/* Launcher navbar button */
.nav-launcher-btn {
    background: linear-gradient(135deg, var(--primary-color), #FF1A80) !important;
    color: #fff !important;
    padding: 0.45rem 1rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}
.nav-launcher-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.4);
    opacity: 0.95;
}

/* Floating Launcher Button - bottom left */
.launcher-float-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), #FF1A80);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 0, 80, 0.4), 0 0 40px rgba(255, 0, 80, 0.15);
    transition: all 0.3s ease;
    animation: launcher-float-pulse 3s ease-in-out infinite;
}
.launcher-float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 0, 80, 0.5), 0 0 60px rgba(255, 0, 80, 0.2);
    color: #fff;
    text-decoration: none;
}
.launcher-float-btn svg {
    flex-shrink: 0;
}
@keyframes launcher-float-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 0, 80, 0.4), 0 0 40px rgba(255, 0, 80, 0.15); }
    50% { box-shadow: 0 4px 25px rgba(255, 0, 80, 0.55), 0 0 50px rgba(255, 0, 80, 0.25); }
}
@media (max-width: 768px) {
    .launcher-float-btn {
        bottom: 16px;
        left: 16px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}
