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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 1.6em;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 30%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(2%, 2%) rotate(3deg); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

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

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5em;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 50%, #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan {
    font-size: 1.3em;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.15em;
    color: rgba(148, 163, 184, 0.7);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(59, 130, 246, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(59, 130, 246, 0.5);
}

/* ===== FLOATING SHAPES ===== */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.05);
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -50px;
    animation-delay: -2s;
    background: rgba(139, 92, 246, 0.05);
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 10%;
    animation-delay: -4s;
}

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

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.4em;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1em;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    margin: 16px auto 0;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 120px 0;
    background: #f8fafc;
    position: relative;
}

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

.service-card {
    background: #ffffff;
    padding: 48px 36px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.service-icon {
    font-size: 2.5em;
    margin-bottom: 24px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #3b82f6;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    color: #1a1a2e;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.service-card p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 0.95em;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    text-align: left;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    color: #475569;
    font-size: 0.9em;
    position: relative;
    padding-left: 28px;
    border-bottom: 1px solid #f1f5f9;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 0.85em;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.05em;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: #1a1a2e;
    font-weight: 600;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    position: relative;
}

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

.about-image:hover img {
    transform: scale(1.05);
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    grid-column: 1 / -1;
}

.stat {
    text-align: center;
    padding: 32px 24px;
    background: #f8fafc;
    border-radius: 16px;
    flex: 1;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    border-color: #dbeafe;
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    color: #64748b;
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 140px 0;
    background: linear-gradient(160deg, #0b1120 0%, #111827 40%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.contact .section-title {
    color: #f1f5f9;
}

.contact .section-subtitle {
    color: rgba(148, 163, 184, 0.7);
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.contact-card:active {
    transform: translateY(-4px);
}

.contact-card .card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    color: #60a5fa;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .card-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.contact-card .card-label {
    font-size: 0.75em;
    color: rgba(148, 163, 184, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.contact-card .card-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05em;
    color: #f1f5f9;
    font-weight: 600;
    position: relative;
    z-index: 1;
    word-break: break-word;
}

.contact-card a.card-value {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a.card-value:hover {
    color: #60a5fa;
}

.contact-card.card-phone {
    grid-column: 1 / -1;
    padding: 36px 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
    border-color: rgba(59, 130, 246, 0.15);
}

.contact-card.card-phone .card-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6em;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
    color: #60a5fa;
}

.contact-card.card-phone .card-value {
    font-size: 1.4em;
    letter-spacing: 1px;
}

.contact-card.card-phone:hover .card-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
}

.contact-card.card-phone:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(59, 130, 246, 0.05);
}

.contact-badge {
    text-align: center;
    margin-top: 20px;
}

.contact-badge p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.85em;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
}

.contact-badge i {
    color: #22c55e;
    font-size: 0.7em;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
    font-size: 0.9em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1a1a2e;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: #fff;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #fff;
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3), transparent);
}

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

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    color: #f1f5f9;
    margin-bottom: 20px;
    font-size: 1.15em;
    font-weight: 600;
}

.footer-section p {
    color: rgba(148, 163, 184, 0.8);
    line-height: 1.8;
    font-size: 0.95em;
}

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

.footer-section ul li {
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #60a5fa;
}

.footer-section ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.85em;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TARIFS PAGE ===== */
.tarifs-hero {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, #0b1120 0%, #111827 40%, #0f172a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tarifs-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.tarifs-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2em;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #f8fafc;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.tarifs-hero-sub {
    font-size: 1.15em;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.tarifs-hero-text {
    font-size: 1em;
    color: rgba(148, 163, 184, 0.6);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.tarifs-hero .btn-hero {
    position: relative;
    z-index: 1;
}

.tarifs-hero-garantie {
    font-size: 1em;
    color: #4ade80;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.tarifs-hero-garantie i {
    margin-right: 8px;
    font-size: 0.9em;
}

/* Tarifs sections */
.tarifs-section {
    padding: 80px 0;
}

.tarifs-section-alt {
    background: #f8fafc;
}

.tarifs-section .section-title i {
    color: #3b82f6;
    margin-right: 8px;
}

.tarifs-subsection-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 48px;
    margin-bottom: 24px;
    text-align: center;
}

/* Tarifs grid */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.tarifs-grid-options {
    grid-template-columns: repeat(4, 1fr);
}

/* Tarif card */
.tarif-card {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.1);
    border-color: #dbeafe;
}

.tarif-card-popular {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #ffffff, #f8faff);
}

.tarif-card-popular:hover {
    border-color: #3b82f6;
    box-shadow: 0 12px 30px -8px rgba(59, 130, 246, 0.15);
}

.tarif-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.tarif-card-header {
    margin-bottom: 12px;
}

.tarif-card-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.tarif-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: -0.5px;
}

.tarif-card p {
    color: #64748b;
    font-size: 0.85em;
    line-height: 1.6;
}

/* Packs */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.pack-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pack-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    border-color: #dbeafe;
}

.pack-card-featured {
    border: 2px solid #3b82f6;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    transform: scale(1.05);
    position: relative;
}

.pack-card-featured:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.2);
}

.pack-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.pack-card-header {
    margin-bottom: 20px;
}

.pack-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.pack-card:hover .pack-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.pack-card-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.pack-subtitle {
    font-size: 0.85em;
    color: #64748b;
}

.pack-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.pack-list {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    flex: 1;
}

.pack-list li {
    padding: 10px 0;
    color: #475569;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.pack-list li:last-child {
    border-bottom: none;
}

.pack-list li i {
    color: #22c55e;
    font-size: 0.85em;
}

.btn-pack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-pack:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.pack-card-featured .btn-pack {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* CTA section */
.tarifs-cta {
    padding: 80px 0;
    background: linear-gradient(160deg, #0b1120, #111827);
    text-align: center;
}

.tarifs-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.tarifs-cta p {
    color: rgba(148, 163, 184, 0.7);
    margin-bottom: 36px;
    font-size: 1.05em;
}

.tarifs-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 16px 20px;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 0.9em;
    color: #475569;
    line-height: 1.7;
}

.tarifs-note i {
    color: #3b82f6;
    font-size: 1.2em;
    margin-top: 2px;
    flex-shrink: 0;
}

.tarifs-note p {
    margin: 0;
}

.tarifs-note strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    /* On s'assure que le header reste au-dessus de tout */
    .header {
        z-index: 2000;
        background: #0f172a; /* On enlève le flou pour le mobile pour plus de clarté */
    }

    .hamburger {
        display: flex;
        position: relative; /* On le laisse dans le flux de la navbar */
        z-index: 10000; /* Doit être supérieur à nav-links pour pouvoir fermer */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw; /* Force la largeur totale de l'écran */
        height: 100vh; /* Force la hauteur totale de l'écran */
        background: #0b1120;
        flex-direction: column;
        justify-content: center; /* Centre les liens verticalement */
        align-items: center;
        gap: 30px; /* Un peu plus d'espace entre les liens */

        /* Animation */
        transform: translateY(-100%); /* Glissement depuis le haut, plus sûr pour tout cacher */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease-in-out;
        pointer-events: none;

        /* LE POINT CLÉ : Un z-index énorme pour écraser le reste du site */
        z-index: 9999;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-links a {
        padding: 12px 30px;
        font-size: 1.4em; /* Plus grand pour le pouce sur mobile */
        color: #ffffff; /* Blanc pur pour un contraste maximal */
        font-weight: 600;
        width: 80%; /* Pour que le fond au survol soit large */
        text-align: center;
    }

    /* On change la couleur au survol pour que l'utilisateur sache où il clique */
    .nav-links a:hover, .nav-links a.active {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
    }

    /* On cache les formes flottantes quand le menu est ouvert pour alléger le rendu */
    body.menu-open .floating-shapes {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        height: 72px; /* Hauteur fixe pour éviter les sauts */
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    /* CORRECTION : On passe les cartes en 1 seule colonne et on gère les marges */
    .services-grid {
        display: flex; /* Flex est souvent plus sûr que grid sur mobile pour les cartes */
        flex-direction: column;
        gap: 20px;
        width: 100%; /* S'assure que le conteneur ne dépasse pas */
    }

    .service-card {
        width: 100%; /* Force la carte à prendre la largeur de son conteneur */
        padding: 30px 20px; /* On réduit un peu le padding pour gagner de la place */
        box-sizing: border-box; /* Crucial : inclut le padding dans la largeur totale */
    }

    /* CORRECTION : Page Tarifs sur Mobile */
    .tarifs-grid,
    .packs-grid {
        display: flex; /* On remplace la grille par flexbox */
        flex-direction: column; /* On empile les forfaits les uns sous les autres */
        gap: 20px; /* Espace entre les cartes */
        width: 100%;
    }

    .tarif-card,
    .pack-card {
        width: 100%; /* Force chaque carte à prendre toute la largeur de l'écran */
        box-sizing: border-box; /* Empêche les paddings de faire déborder la carte */
    }

    .pack-card-featured {
        transform: none; /* On annule le scale(1.05) pour éviter le débordement */
    }

    .pack-card-featured:hover {
        transform: translateY(-4px); /* On garde un léger effet au survol */
    }

    /* Si tu as aussi une grille de 4 options sur cette page */
    .tarifs-grid-options {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    /* On s'assure que le conteneur principal ne dépasse pas de l'écran */
    .container {
        padding: 0 16px; /* On réduit les marges latérales sur mobile */
        width: 100%;
        overflow-x: hidden; /* Empêche le débordement horizontal au niveau du conteneur */
    }

    /* CORRECTION : Page À propos sur Mobile */
    .about-content {
        display: flex; /* On casse la grille pour forcer la colonne */
        flex-direction: column; /* Empile les éléments de haut en bas */
        gap: 30px;
        width: 100%;
    }

    .about-text {
        width: 100%; /* Autorise le texte à prendre toute la largeur */
        text-align: center; /* C'est souvent plus joli et lisible sur mobile */
    }

    .about-image {
        width: 100%;
        max-width: 280px; /* Évite que l'image devienne gigantesque */
        margin: 0 auto; /* Centre l'image */
        order: -1; /* L'astuce magique : place l'image AU-DESSUS du texte ! */
    }

    /* CORRECTION DU FOOTER SUR MOBILE */
    .footer-content {
        display: flex; /* On utilise flexbox pour empiler facilement */
        flex-direction: column; /* Aligne les 3 blocs de haut en bas */
        gap: 40px; /* Espace entre chaque bloc */
        text-align: center; /* On centre le texte, c'est plus joli sur mobile */
        padding: 0 15px; /* On évite que ça touche les bords de l'écran */
    }

    /* On s'assure que les longs textes (comme l'email) ne cassent pas la page */
    .footer-section {
        width: 100%;
        word-break: break-word;
    }

    /* Pour centrer les puces de la liste "Services" */
    .footer-section ul li {
        padding-left: 0;
    }
    .footer-section ul li::before {
        display: none; /* On cache la petite flèche sur mobile si c'est centré */
    }
}
