 /* Variables et reset */
:root {
    --primary: #6e48aa;
    --secondary: #9d50bb;
    --accent: #ff6b8b;
    --light: #f9f3ff;
    --dark: #2d1b69;
    --text: #333344;
}

:root {
    --primary-color: #4a6bff;
    --secondary-color: #ff6b4a;
    --disney-blue: #0033a0;
    --disney-red: #e50914;
    --disney-gold: #ffd700;
    --dark-color: #222;
    --light-color: #f8f8f8;
    --gray-color: #777;
    --light-gray: #eee;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-primary: 'Montserrat', sans-serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

/* body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
} */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* img {
    max-width: 100%;
    height: auto;
    display: block;
} */

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    list-style: none;
}

li {
    margin-bottom: 0.5rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: #faf7fd;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e6d7f2' fill-opacity='0.3' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
} */

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

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

/* =============== NAVBAR =============== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.langue {
    padding: 0.5rem 1rem;
    width: auto;
    border-radius: 5px;
    border: 1px solid var(--light-gray);
    background-color: white;
    font-family: var(--font-primary);
    cursor: pointer;
    margin-left: 1rem;
}

/* Menu Hamburger */
.menu-hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
    padding: 0;
    transition: var(--transition);
}

.menu-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
    border-radius: 3px;
}

.menu-hamburger span:nth-child(1) {
    top: 0;
    transform-origin: left center;
}

.menu-hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.menu-hamburger span:nth-child(3) {
    bottom: 0;
    transform-origin: left center;
}

/* Animation du menu hamburger */
.menu-hamburger.active {
    transform: rotate(90deg);
}

.menu-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -3px);
    width: 110%;
}

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

.menu-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 3px);
    width: 110%;
}

/* Menu mobile */
.nav-links.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.nav-links.mobile-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 300px;
}

.nav-links.mobile-menu a {
    color: var(--dark-color);
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    display: block;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links.mobile-menu a:hover,
.nav-links.mobile-menu a.active {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
}

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

/* Bouton CTA dans le menu mobile */
.nav-links.mobile-menu .cta-button {
    background-color: var(--primary-color);
    color: white !important;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.nav-links.mobile-menu .cta-button:hover {
    background-color: #3a5ae8;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo span {
    color: #ffd700;
}

/* nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 25px;
}

nav a {
    color: white;
    font-weight: 500;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
} */

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="200" viewBox="0 0 2000 200"><path fill="%236e48aa" fill-opacity="0.1" d="M0,100 Q250,150 500,100 Q750,50 1000,100 Q1250,150 1500,100 Q1750,50 2000,100 L2000,0 L0,0 Z"/></svg>') bottom no-repeat, linear-gradient(135deg, #f9f3ff 0%, #e6d7f2 100%);
    background-size: 100% 50%, auto;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text);
}

/* Content */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.post-header {
    padding: 30px 30px 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
}

.post-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.post-content {
    padding: 0 30px 30px;
}

.post-content h2 {
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.6rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.post-image {
    height: 400px;
    background: linear-gradient(45deg, #e6d7f2, #d4c1ec);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

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

.service-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.service-list li:before {
    content: "★";
    color: #ffd700;
    margin-right: 10px;
}

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

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: 12px;
}

.cta-box h3 {
    color: white;
    border: none;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: white;
    background: #ff4d73;
}

/* =============== FOOTER =============== */
.footer-section {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    min-width: 20px;
    color: var(--primary-color);
}

.footer-badge {
    margin-top: 2rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.legal-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    nav li {
        margin: 0 10px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .post-image {
        height: 250px;
    }
}
@media (max-width: 768px) {
    .nav-links:not(.mobile-menu) {
        display: none;
    }
    
    .menu-hamburger {
        display: block;
    }
    
    .langue {
        margin-left: auto;
        margin-right: 1rem;
        padding: 0.4rem 1.5rem 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

 @media (max-width: 576px) {
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .langue {
        padding: 0.4rem 1.8rem 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Styles utilitaires */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation pour les éléments */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-article section {
    animation: fadeIn 0.6s ease-out forwards;
}

.intro { animation-delay: 0.1s; }
.comparison-grid { animation-delay: 0.2s; }
.our-service { animation-delay: 0.3s; }
.faq { animation-delay: 0.4s; }
.cta-final { animation-delay: 0.5s; }
.more-articles { animation-delay: 0.6s; }