/* Thème sombre uniquement */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --accent-color: #93c5fd;
    --text-color: #f3f4f6;
    --light-text: #d1d5db;
    --background: #111827;
    --card-bg: #1f2937;
    --border-color: #374151;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --font-family: 'Inter', sans-serif;
    --spacing-unit: 8px;
    --border-radius: 20px;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    transition: background-color 0.3s, color 0.3s;
}

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

.theme-toggle-btn {
    background: var(--primary-color);
}
.theme-toggle-btn:hover {
    background: var(--secondary-color);
}

/* Navigation */
.navbar {
    background-color: var(--background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

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

.navbar, .nav-links {
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

@media (max-width: 900px) {
    .nav-links a {
        margin-left: calc(var(--spacing-unit) * 2);
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        max-height: 80vh;      /* Limite la hauteur à 80% de la fenêtre */
        overflow-y: auto;      /* Active le scroll vertical si besoin */
        /* Optionnel : pour un effet plus doux */
        scroll-behavior: smooth;
        
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        margin: calc(var(--spacing-unit) * 2) 0;
        font-size: 18px;
    }
    .navbar .container {
        flex-direction: row;
    }
}

/* Hero Section */
.hero {
    padding: 0 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s;
    text-decoration: none;
    color: var(--text-color);
}

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

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check {
    color: var(--success-color);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--card-bg);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--light-text);
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

.separator {
    color: var(--light-text);
}

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

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Styles pour le contenu légal */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-content h2 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.legal-content p {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.warning {
    color: var(--accent-color);
    font-weight: 500;
    margin: 1rem 0;
}

.update-date {
    margin-top: 2rem;
    font-style: italic;
    color: var(--light-text);
}

/* Reviews Home Section - Design moderne et élégant */
.reviews-home {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background) 0%, rgba(31, 41, 55, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.reviews-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.reviews-home .container {
    position: relative;
    z-index: 1;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transform: rotate(45deg);
    transition: transform var(--transition-speed);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.15);
}

.stat-item:hover::before {
    transform: rotate(45deg) translate(25%, 25%);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    position: relative;
    z-index: 2;
}

.reviews-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.review-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-speed);
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.review-rating {
    color: #ffc107;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.review-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.review-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.review-author strong {
    color: var(--text-color);
    font-weight: 600;
}

.review-date {
    color: var(--light-text);
    font-size: 0.9rem;
    opacity: 0.8;
}

.no-reviews {
    text-align: center;
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.reviews-cta {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-button.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left var(--transition-speed);
}

.cta-button.secondary:hover::before {
    left: 100%;
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-home {
        padding: 3rem 0;
    }

    .reviews-header h2 {
        font-size: 2.2rem;
    }

    .reviews-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .stat-item {
        min-width: 200px;
    }

    .reviews-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .review-card {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .reviews-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .reviews-header h2 {
        font-size: 1.8rem;
    }

    .reviews-stats {
        gap: 1.5rem;
    }

    .stat-item {
        padding: 2rem 1.5rem;
    }

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

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 3);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .nav-links {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        gap: 0.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }

    .legal-content {
        padding: 1rem;
    }

    .social-links {
        margin-top: calc(var(--spacing-unit) * 2);
    }

    .social-links a {
        margin: 0 calc(var(--spacing-unit) * 1.5);
    }
}

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

    .hero p {
        font-size: 16px;
    }

    .service-card {
        padding: calc(var(--spacing-unit) * 3);
    }

    .service-card .icon {
        font-size: 32px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }
}

/* Menu mobile amélioré */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1201;
        position: relative;
    }
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 80vw;
        max-width: 340px;
        height: 100vh;
        background: rgba(20, 24, 31, 0.98);
        box-shadow: 2px 0 24px rgba(0,0,0,0.18);
        padding: 1.2rem 1.2rem 1.2rem 1.2rem;
        box-sizing: border-box;
        transform: translateX(0);
        transition: transform 0.3s cubic-bezier(.77,0,.18,1);
        z-index: 1200;
        overflow-y: auto;
    }
    .nav-links a {
        margin: 1.2rem 0;
        font-size: 1.25rem;
        color: #f3f4f6;
        font-weight: 600;
        width: 100%;
        transition: color 0.2s, background 0.2s;
        border-radius: 0.5rem;
        padding: 0.5rem 0.7rem;
    }
    .nav-links a:hover, .nav-links a:active {
        background: rgba(37,99,235,0.08);
        color: var(--primary-color);
    }
    .nav-links .close-menu-btn {
        position: absolute;
        top: 1.2rem;
        right: 1.2rem;
        background: none;
        border: none;
        font-size: 2rem;
        color: #f3f4f6;
        cursor: pointer;
        z-index: 1202;
    }
    body.menu-open {
        overflow: hidden;
    }
    /* Overlay pour fermer le menu en cliquant à l'extérieur */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.25);
        z-index: 8;
        display: none;
    }
    .menu-overlay.active {
        display: block;
    }
}

/* Réductions Section */
.reductions-section {
    padding: 4rem 0;
    background-color: var(--card-bg);
}

.reductions-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.reductions-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-text);
}

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

.reduction-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.reduction-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.reduction-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.reduction-card li {
    margin: 0.5rem 0;
    color: var(--light-text);
}

/* Tableaux responsives pour tout le site */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.table-responsive table {
    min-width: 500px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    background: #1f2937;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 1);
    }
    h1, h2 {
        font-size: 24px !important;
    }
    section {
        padding: calc(var(--spacing-unit) * 6) 0 !important;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 0.5);
    }
    h1, h2 {
        font-size: 18px !important;
    }
    section {
        padding: calc(var(--spacing-unit) * 3) 0 !important;
    }
    .table-responsive table, .pricing-table th, .pricing-table td {
        font-size: 14px !important;
        padding: calc(var(--spacing-unit) * 1) !important;
    }
    .service-card, .student-card, .hours-card, .reduction-card {
        padding: calc(var(--spacing-unit) * 2) !important;
    }
    .services-grid, .student-services, .reductions-grid, .hours-grid {
        gap: calc(var(--spacing-unit) * 1.5) !important;
    }
}

/* Cartes et sections adaptatives au thème */
.service-card, .student-card, .hours-card, .reduction-card, .feature-item, .card-section, .pricing-table, .discount-card {
    background: var(--card-bg);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

.about, .contact, .services, .reductions-section, .pack-section, .pricing-section, .hours-section, .student-section {
    background: transparent;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}
[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour les cartes de tarifs */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

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

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-card li {
    margin: 0.5rem 0;
    color: var(--light-text);
}

.pricing-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-info h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.pricing-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

/* Styles pour les horaires */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hours-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

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

.hours-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hours-card .hours {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1rem 0;
}

.hours-card p {
    color: var(--light-text);
}

.hours-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hours-info h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hours-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

/* Styles pour les étudiants */
.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.student-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

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

.student-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.student-card .discount,
.student-card .features,
.student-card .pack {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 1rem 0;
}

.student-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.student-card li {
    margin: 0.5rem 0;
    color: var(--light-text);
}

.student-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.student-info h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.student-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .pricing-grid,
    .hours-grid,
    .student-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card,
    .hours-card,
    .student-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Grille des tarifs personnalisés améliorée */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}
.tarif-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2.2rem 1.5rem 1.7rem 1.5rem;
    min-height: 220px;
    font-size: 1.13rem;
    position: relative;
    border: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.3s;
    text-align: center;
}
.tarif-item:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.18);
    transform: translateY(-4px) scale(1.025);
    z-index: 2;
}
.tarif-icone {
    font-size: 2.3rem;
    margin-bottom: 1.1rem;
    color: #b3b3c6;
    display: block;
}
.tarif-titre {
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
    font-size: 1.18em;
    text-align: center;
}
.tarif-desc {
    color: var(--light-text);
    font-weight: 500;
    text-align: center;
    font-size: 1.05em;
}

/* Couleurs personnalisées pour chaque service (fond très doux) */
.tarif-item.blue { background: #23272e; }
.tarif-item.green { background: #1f2937; }
.tarif-item.yellow { background: #23272e; }
.tarif-item.orange { background: #1f2937; }
.tarif-item.red { background: #23272e; }
.tarif-item.pink { background: #1f2937; }
.tarif-item.violet { background: #23272e; }
.tarif-item.white { background: #1f2937; }

.tarif-titre, .tarif-desc { color: #f3f4f6; }
.tarif-icone { color: #b3b3c6; }

@media (max-width: 700px) {
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
    .tarif-item {
        font-size: 1rem;
        padding: 1.3rem 0.7rem;
        min-height: 160px;
    }
}

/* Desktop : masquer les boutons mobile */
@media (min-width: 769px) {
    .mobile-menu-btn,
    .close-menu-btn,
    .menu-overlay {
        display: none !important;
    }
    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        align-items: center !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
    }
    .nav-links a {
        color: var(--text-color);
        font-size: 1rem;
        font-weight: 500;
        margin: 0 0.7rem;
        padding: 0;
        background: none;
        border-radius: 0;
        transition: color 0.2s;
        white-space: nowrap;
    }
    .nav-links a:hover, .nav-links a:active {
        color: var(--primary-color);
        background: none;
    }
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin: 2.5rem 0 0 0;
    padding: 0;
    list-style: none;
}
.services-list li {
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1.13rem;
    font-weight: 500;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: box-shadow 0.2s, background 0.2s;
}
.services-list li:hover {
    background: #1e293b;
    box-shadow: 0 4px 16px rgba(37,99,235,0.10);
}