/* ========================================
   WEDSPEECH - STYLES COMPLETS
   ======================================== */

/* VARIABLES */
:root {
    /* Couleurs principales */
    --rose-principal: #C2185B;
    --rose-fonce: #880E4F;
    --rose-clair: #F8BBD9;
    --rose-tres-clair: #FCE4EC;
    --or: #FFD700;
    --or-clair: #FFECB3;
    
    /* Neutres */
    --texte: #2C3E50;
    --texte-leger: #546E7A;
    --gris: #90A4AE;
    --gris-clair: #ECEFF1;
    --blanc: #FFFFFF;
    --noir: #1A1A2E;
    
    /* Dégradés */
    --degrade-rose: linear-gradient(135deg, var(--rose-principal) 0%, var(--rose-fonce) 100%);
    --degrade-hero: linear-gradient(135deg, var(--rose-tres-clair) 0%, var(--rose-clair) 50%, #fff 100%);
    
    /* Typographie */
    --font-titre: 'Playfair Display', serif;
    --font-corps: 'Poppins', sans-serif;
    
    /* Espacements */
    --container-max: 1200px;
    --section-padding: 100px;
    --card-radius: 16px;
    --btn-radius: 50px;
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-corps);
    color: var(--texte);
    line-height: 1.6;
    background: var(--blanc);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-titre);
    font-weight: 700;
    line-height: 1.2;
    color: var(--texte);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

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

.section-header h2 {
    margin-bottom: 16px;
    color: var(--rose-principal);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--texte-leger);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   BOUTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    font-family: var(--font-corps);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--degrade-rose);
    color: var(--blanc);
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--rose-principal);
    border: 2px solid var(--rose-principal);
}

.btn-outline:hover {
    background: var(--rose-principal);
    color: var(--blanc);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0;
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-titre);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rose-principal);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 55px;
}

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

.footer-logo {
    display: inline-block !important;
    margin-bottom: 20px;
}

.footer-social {
    justify-content: center !important;
}

.header-nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--texte);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose-principal);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rose-principal);
}

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

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-header {
    padding: 10px 20px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-header.btn-outline {
    color: var(--rose-principal);
    border: 2px solid var(--rose-principal);
}

.btn-header.btn-outline:hover {
    background: var(--rose-principal);
    color: var(--blanc);
}

.btn-header.btn-primary {
    background: var(--degrade-rose);
    color: var(--blanc);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gris-clair);
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    font-family: var(--font-corps);
    font-size: 0.9rem;
    color: var(--texte);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--blanc);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--texte);
    text-decoration: none;
    transition: background 0.2s;
}

.user-dropdown a:hover {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
}

.dropdown-divider {
    height: 1px;
    background: var(--gris-clair);
    margin: 8px 0;
}


/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--degrade-hero);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--or-clair);
    color: var(--rose-fonce);
    padding: 8px 16px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--texte);
}

.hero-title .highlight {
    color: var(--rose-principal);
    position: relative;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--texte-leger);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    font-size: 1.2rem;
}

.hero-trust p {
    color: var(--texte-leger);
    font-size: 0.95rem;
}

/* Speech Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.speech-card {
    background: var(--blanc);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(194, 24, 91, 0.15);
    padding: 30px;
    max-width: 400px;
    transform: rotate(3deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-10px); }
}

.speech-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gris-clair);
    font-weight: 600;
}

.speech-header .icon {
    font-size: 1.5rem;
}

.speech-body p {
    margin-bottom: 15px;
    color: var(--texte-leger);
    font-style: italic;
}

.speech-body .generated {
    color: var(--rose-principal);
    font-weight: 600;
    text-align: center;
    font-style: normal;
}

/* Decorations */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--rose-principal);
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--or);
    bottom: 50px;
    left: -50px;
}

/* ========================================
   STEPS SECTION
   ======================================== */
.steps-section {
    padding: var(--section-padding) 0;
    background: var(--blanc);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--blanc);
    border-radius: var(--card-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--degrade-rose);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 15px;
    color: var(--rose-principal);
}

.step-card p {
    color: var(--texte-leger);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--rose-tres-clair);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--blanc);
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card.featured {
    background: var(--degrade-rose);
    color: var(--blanc);
    transform: scale(1.05);
}

.testimonial-card.featured .testimonial-text,
.testimonial-card.featured .testimonial-author strong,
.testimonial-card.featured .testimonial-author span {
    color: var(--blanc);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--texte);
}

.testimonial-author strong {
    display: block;
    color: var(--rose-principal);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--texte-leger);
    font-size: 0.9rem;
}

/* ========================================
   PRICING PREVIEW SECTION
   ======================================== */
.pricing-preview-section {
    padding: var(--section-padding) 0;
    background: var(--blanc);
}

.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--blanc);
    border: 2px solid var(--gris-clair);
    border-radius: var(--card-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--rose-clair);
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: var(--rose-principal);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(194, 24, 91, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--or);
    color: var(--texte);
    padding: 6px 20px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-card h3 {
    color: var(--rose-principal);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--texte);
    margin-bottom: 10px;
}

.pricing-desc {
    color: var(--texte-leger);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gris-clair);
    color: var(--texte-leger);
}

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

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--rose-tres-clair);
}

.cta-box {
    background: var(--degrade-rose);
    color: var(--blanc);
    padding: 80px 60px;
    border-radius: var(--card-radius);
    text-align: center;
}

.cta-box h2 {
    color: var(--blanc);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-box .btn-primary {
    background: var(--blanc);
    color: var(--rose-principal);
}

.cta-box .btn-primary:hover {
    background: var(--or-clair);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--noir);
    color: var(--blanc);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-titre);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--gris);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: scale(1.2);
}

.footer-column h4 {
    color: var(--blanc);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-family: var(--font-corps);
    font-weight: 600;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--gris);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--rose-clair);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gris);
    font-size: 0.9rem;
}


/* ========================================
   MOBILE MENU COMPLET
   ======================================== */

/* Bouton burger - caché sur desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: var(--texte);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animation du burger quand le menu est ouvert */
.menu-open .burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--rose-principal);
}

.menu-open .burger-line:nth-child(2) {
    opacity: 0;
}

.menu-open .burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--rose-principal);
}

/* Menu mobile - caché par défaut */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--blanc);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: block; /* Changé de 'none' à 'block' mais caché par la position */
}

.mobile-nav.active {
    right: 0;
}

/* En-tête du menu mobile */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid var(--gris-clair);
}

.mobile-nav-title {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--rose-principal);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--texte-leger);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.mobile-nav-close:hover {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
}

/* Liens du menu mobile */
.mobile-nav-links {
    padding: 20px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--texte);
    text-decoration: none;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
    border-left-color: var(--rose-principal);
}

.mobile-nav-link.active {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
    border-left-color: var(--rose-principal);
}

.nav-icon {
    margin-right: 15px;
    font-size: 1.3rem;
}

/* Footer du menu mobile */
.mobile-nav-footer {
    padding: 20px 25px;
    border-top: 2px solid var(--gris-clair);
    margin-top: 20px;
}

.mobile-nav-footer .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

/* Overlay pour fermer le menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* Empêcher le scroll quand le menu est ouvert */
.menu-open {
    overflow: hidden;
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media screen and (max-width: 768px) {
    /* Cacher la navigation desktop */
    .desktop-nav {
        display: none !important;
    }
    
    /* Afficher le bouton burger */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Cacher les boutons de connexion desktop */
    .desktop-only {
        display: none !important;
    }
    
    /* Ajuster le header pour mobile */
    .header-container {
        padding: 10px 15px;
    }
    
    /* Réduire la taille du logo */
    .logo-img {
        height: 32px;
    }
    
    /* Ajuster les actions header */
    .header-actions {
        gap: 5px;
    }
    
    /* Style spécifique pour le bouton "Commencer" sur mobile */
    .btn-primary {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */
@media screen and (min-width: 769px) {
    /* S'assurer que le menu mobile est caché sur desktop */
    .mobile-nav {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Afficher les éléments desktop */
    .desktop-only {
        display: inline-block;
    }
}


/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .steps-grid,
    .testimonials-grid,
    .pricing-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
   
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .cta-box {
        padding: 50px 30px;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
/* ========================================
   PAGE HERO (Commun)
   ======================================== */
.page-hero {
    background: var(--degrade-hero);
    padding: 140px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--rose-principal);
    margin-bottom: 20px;
}

.page-hero .lead {
    font-size: 1.3rem;
    color: var(--texte-leger);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   PAGE FEATURES
   ======================================== */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--blanc);
}

.process-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.process-card {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.process-card.reverse {
    direction: rtl;
}

.process-card.reverse > * {
    direction: ltr;
}

.process-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--rose-clair);
    font-family: var(--font-titre);
    line-height: 1;
}

.process-content h3 {
    font-size: 1.8rem;
    color: var(--rose-principal);
    margin-bottom: 20px;
}

.process-content p {
    color: var(--texte-leger);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

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

.process-list li {
    padding: 8px 0;
    color: var(--texte);
}

.mockup-card {
    background: var(--blanc);
    border-radius: var(--card-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mockup-header {
    background: var(--gris-clair);
    padding: 15px 20px;
    font-weight: 600;
    color: var(--texte);
}

.mockup-content {
    padding: 25px;
}

.mockup-input {
    background: var(--gris-clair);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    color: var(--texte-leger);
}

.progress-bar {
    background: var(--gris-clair);
    height: 8px;
    border-radius: 4px;
    margin: 20px 0 10px;
    overflow: hidden;
}

.progress-fill {
    background: var(--degrade-rose);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

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

.export-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.export-btn {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Features Detail Section */
.features-detail-section {
    padding: var(--section-padding) 0;
    background: var(--rose-tres-clair);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    background: var(--blanc);
    padding: 40px 30px;
    border-radius: var(--card-radius);
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-box h4 {
    color: var(--rose-principal);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--texte-leger);
    font-size: 0.95rem;
}

/* Examples Section */
.examples-section {
    padding: var(--section-padding) 0;
    background: var(--blanc);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.example-card {
    background: var(--blanc);
    border: 2px solid var(--gris-clair);
    border-radius: var(--card-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.example-card:hover {
    border-color: var(--rose-principal);
    transform: translateY(-5px);
}

.example-avatar {
    font-size: 3rem;
    margin-bottom: 15px;
}

.example-card h4 {
    color: var(--rose-principal);
    margin-bottom: 15px;
}

.example-card p {
    font-style: italic;
    color: var(--texte-leger);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.example-tag {
    display: inline-block;
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--degrade-rose);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--blanc);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-titre);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   PAGE CONTACT
   ======================================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--blanc);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--blanc);
    padding: 50px;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h2 {
    color: var(--rose-principal);
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--texte);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gris-clair);
    border-radius: 10px;
    font-family: var(--font-corps);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--rose-principal);
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.btn-block {
    width: 100%;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--rose-tres-clair);
    padding: 35px;
    border-radius: var(--card-radius);
}

.info-card h3 {
    color: var(--rose-principal);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.5rem;
}

.info-content strong {
    display: block;
    color: var(--texte);
    margin-bottom: 5px;
}

.info-content a {
    color: var(--rose-principal);
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.info-content p {
    color: var(--texte-leger);
    margin: 0;
}

/* FAQ Mini */
.faq-mini details {
    background: var(--blanc);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-mini summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--texte);
    list-style: none;
    position: relative;
}

.faq-mini summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    color: var(--rose-principal);
}

.faq-mini details[open] summary::after {
    content: '-';
}

.faq-mini details p {
    padding: 0 20px 15px;
    color: var(--texte-leger);
    margin: 0;
}

/* ========================================
   RESPONSIVE PAGES
   ======================================== */
@media (max-width: 1024px) {
    .process-card {
        grid-template-columns: 60px 1fr;
    }
    
    .process-card.reverse {
        direction: ltr;
    }
    
    .process-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .process-number {
        font-size: 2.5rem;
    }
    
    .process-content h3 {
        font-size: 1.4rem;
    }
    
    .features-grid,
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PAGE PRICING
   ======================================== */
.pricing-detail-section {
    padding: 80px 0;
    background: var(--blanc);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--blanc);
    border: 2px solid var(--gris-clair);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--rose-clair);
}

.pricing-card.popular {
    border-color: var(--rose-principal);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(194, 24, 91, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-header h3 {
    color: var(--rose-principal);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: var(--texte-leger);
    font-size: 0.95rem;
}

.pricing-price {
    margin-bottom: 10px;
}

.pricing-price .currency {
    font-size: 2rem;
    font-weight: 600;
    color: var(--texte);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--texte);
    line-height: 1;
}

.pricing-note {
    color: var(--gris);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gris-clair);
    color: var(--texte);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.pricing-features li.disabled {
    color: var(--gris);
}

.pricing-features .check {
    color: var(--rose-principal);
    font-weight: 600;
}

.pricing-features .cross {
    color: var(--gris);
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: var(--rose-tres-clair);
}

.comparison-section h2 {
    text-align: center;
    color: var(--rose-principal);
    margin-bottom: 50px;
}

.comparison-table-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--gris-clair);
}

.comparison-table th {
    background: var(--rose-principal);
    color: white;
    font-weight: 600;
}

.comparison-table th.popular-col {
    background: var(--rose-fonce);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:hover {
    background: var(--rose-tres-clair);
}

/* FAQ Section Pricing */
.faq-section {
    padding: 80px 0;
    background: var(--blanc);
}

.faq-section h2 {
    text-align: center;
    color: var(--rose-principal);
    margin-bottom: 50px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--rose-tres-clair);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--texte);
    list-style: none;
    position: relative;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
    color: var(--rose-principal);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--texte-leger);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .pricing-card.popular {
        transform: none;
        order: -1;
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    .comparison-table {
        font-size: 0.9rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 600px;
    }
}

/* ========================================
   PAGES LÉGALES (Mentions légales, CGV, Confidentialité, FAQ)
   ======================================== */
.legal-page {
    background: var(--blanc);
}

.legal-content {
    padding: 60px 0 100px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.legal-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-nav nav {
    background: var(--rose-tres-clair);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legal-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--texte);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.legal-nav a:hover {
    background: var(--rose-clair);
    color: var(--rose-principal);
}

.legal-nav a.active {
    background: var(--rose-principal);
    color: white;
}

.legal-text {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.legal-text h2 {
    color: var(--rose-principal);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--rose-tres-clair);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: var(--texte);
    font-size: 1.3rem;
    margin: 30px 0 15px;
}

.legal-text p {
    margin-bottom: 15px;
    color: var(--texte-leger);
    line-height: 1.8;
}

.legal-text ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-text li {
    margin-bottom: 10px;
    color: var(--texte-leger);
    line-height: 1.6;
}

.legal-text strong {
    color: var(--texte);
}

.legal-text a {
    color: var(--rose-principal);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.last-update {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gris-clair);
    color: var(--gris);
    font-style: italic;
}

/* ========================================
   PAGE FAQ
   ======================================== */
.faq-page .faq-content {
    padding: 60px 0 100px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.faq-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.faq-nav nav {
    background: var(--rose-tres-clair);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.faq-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--texte);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.faq-nav a:hover,
.faq-nav a.active {
    background: var(--rose-principal);
    color: white;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-category h2 {
    color: var(--rose-principal);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--texte);
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    transition: background 0.3s;
}

.faq-item summary:hover {
    background: var(--rose-tres-clair);
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--rose-principal);
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--texte-leger);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-contact {
    background: var(--degrade-rose);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.faq-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.faq-contact p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* ========================================
   PAGE BLOG - Style SomniZen inspired
   ======================================== */
.blog-page {
    background: #fafafa;
}

.blog-page .page-hero {
    background: linear-gradient(135deg, var(--rose-principal) 0%, var(--rose-fonce) 100%);
    color: white;
}

.blog-page .page-hero h1 {
    color: white;
}

.blog-page .page-hero .lead {
    color: rgba(255,255,255,0.9);
}

.blog-content {
    padding: 80px 0 120px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Carte article style SomniZen */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(194, 24, 91, 0.12);
}

.blog-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.03);
}

.blog-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--gris);
}

.blog-meta .blog-date::before {
    content: '📅';
    margin-right: 6px;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.35;
    font-family: var(--font-titre);
}

.blog-title a {
    color: var(--texte);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--rose-principal);
}

.blog-excerpt {
    color: var(--texte-leger);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
    font-size: 1rem;
}

.blog-readmore {
    color: var(--rose-principal);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.blog-readmore:hover {
    gap: 12px;
}

.blog-readmore::after {
    content: '→';
}

.no-posts {
    text-align: center;
    padding: 100px 20px;
    color: var(--gris);
    background: white;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   PAGE ARTICLE BLOG - Style propre
   ======================================== */
.blog-single-page {
    background: white;
}

.blog-article {
    padding-bottom: 100px;
}

/* Header article */
.article-header {
    background: linear-gradient(135deg, var(--rose-tres-clair) 0%, white 100%);
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--gris-clair);
}

.article-meta {
    color: var(--gris);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.article-meta .article-date::before {
    content: '📅';
    margin-right: 6px;
}

.article-meta .article-author::before {
    content: '✍️';
    margin-right: 6px;
}

.article-title {
    font-size: 2.5rem;
    color: var(--rose-principal);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.2;
    font-family: var(--font-titre);
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--texte-leger);
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    line-height: 1.6;
}

/* Image article */
.article-image {
    margin: 40px 0 60px;
}

.article-image .container {
    max-width: 900px;
}

.article-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Contenu article */
.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-body {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--texte);
}

.content-body h2 {
    color: var(--rose-principal);
    font-size: 1.75rem;
    margin: 50px 0 24px;
    font-family: var(--font-titre);
    font-weight: 600;
}

.content-body h3 {
    color: var(--texte);
    font-size: 1.35rem;
    margin: 36px 0 18px;
    font-weight: 600;
}

.content-body p {
    margin-bottom: 24px;
}

.content-body ul,
.content-body ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.content-body li {
    margin-bottom: 12px;
}

.content-body strong {
    color: var(--rose-principal);
    font-weight: 600;
}

/* Footer article */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--gris-clair);
    gap: 20px;
}

/* Responsive blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-header {
        padding: 60px 20px 40px;
    }
    
    .article-image img {
        border-radius: 12px;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .content-body {
        font-size: 1.05rem;
    }
    
    .content-body h2 {
        font-size: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .legal-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .legal-nav,
    .faq-nav {
        position: static;
    }
    .legal-nav nav,
    .faq-nav nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    .legal-text {
        padding: 30px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .legal-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .legal-nav nav,
    .faq-nav nav {
        flex-direction: column;
    }
    .legal-text,
    .faq-item summary {
        padding: 20px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .article-title {
        font-size: 1.6rem;
    }
    .article-footer {
        flex-direction: column;
        gap: 20px;
    }
    .faq-contact {
        padding: 30px;
    }
}

/* ========================================
   DASHBOARD STYLES - Espace membre
   ======================================== */
.dashboard-page {
    background: var(--gris-clair);
    min-height: calc(100vh - 200px);
}

.dashboard-hero {
    background: var(--degrade-rose);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.dashboard-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar */
.dashboard-sidebar {
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    color: var(--texte);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-nav a:hover {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
}

.sidebar-nav a.active {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
    border-left-color: var(--rose-principal);
}

.sidebar-nav a.logout {
    color: #e53935;
    border-top: 1px solid var(--gris-clair);
}

.sidebar-nav a.logout:hover {
    background: #ffebee;
}

.sidebar-nav a span {
    font-size: 1.3rem;
}

/* Main Content */
.dashboard-main {
    min-height: 500px;
}

.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.card-header {
    padding: 30px;
    border-bottom: 1px solid var(--gris-clair);
}

.card-header h3 {
    color: var(--rose-principal);
    font-size: 1.4rem;
}

.card-body {
    padding: 30px;
}

/* Profile Form */
.profile-form {
    max-width: 600px;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gris);
}

/* Invoices Table */
.invoices-table-wrapper {
    overflow-x: auto;
}

.invoices-table {
    width: 100%;
    border-collapse: collapse;
}

.invoices-table th,
.invoices-table td {
    padding: 16px;
    text-align: left;
}

.invoices-table th {
    background: var(--rose-tres-clair);
    color: var(--rose-principal);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invoices-table tbody tr {
    border-bottom: 1px solid var(--gris-clair);
}

.invoices-table tbody tr:hover {
    background: var(--rose-tres-clair);
}

.invoice-count {
    background: var(--rose-principal);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 40px;
}

.empty-state h4 {
    color: var(--texte);
    margin: 20px 0 10px;
}

.empty-state p {
    color: var(--texte-leger);
    margin-bottom: 25px;
}

/* ========================================
   PAGE 404
   ======================================== */
.error-page {
    background: var(--degrade-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-container {
    text-align: center;
    max-width: 600px;
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    background: var(--degrade-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    font-family: var(--font-titre);
}

.error-title {
    font-size: 2rem;
    color: var(--texte);
    margin-bottom: 20px;
}

.error-text {
    color: var(--texte-leger);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-hero h1 {
        font-size: 1.8rem;
    }
    
    .invoices-table th,
    .invoices-table td {
        padding: 12px;
    }
}

/* ========================================
   PRICING GRID NEW - Page tarifs & Home
   ======================================== */
.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gris-clair);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--rose-clair);
    box-shadow: 0 15px 40px rgba(194, 24, 91, 0.1);
}

.pricing-card.popular {
    border-color: var(--rose-principal);
    box-shadow: 0 10px 40px rgba(194, 24, 91, 0.15);
}

.pricing-card.pro {
    border-color: var(--or);
    background: linear-gradient(135deg, #fff 0%, var(--or-clair) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rose-principal);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pro-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--or);
    color: var(--texte);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    color: var(--rose-principal);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.pricing-price {
    margin: 15px 0;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--texte);
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gris);
}

.pricing-desc {
    color: var(--texte-leger);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    flex: 1;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gris-clair);
}

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

.pricing-features .included {
    color: var(--texte);
}

.pricing-features .excluded {
    color: var(--gris);
}

.btn-block {
    width: 100%;
}

@media (max-width: 1024px) {
    .pricing-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .pricing-card {
        padding: 25px 15px;
    }
    
    .pricing-price .amount {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .pricing-grid-new {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}
