/* Désactivation temporaire des transitions/animations (utilisée au switch de thème) */
.no-transitions *,
.no-transitions *::before,
.no-transitions *::after {
    transition: none !important;
    animation: none !important;
}

html[data-no-trans] *, html[data-no-trans] *::before, html[data-no-trans] *::after {
    transition: none !important;
}

/* Variables CSS */
:root {
    /* Thème clair (par défaut) */
    --primary-color: #4f46e5;
    --secondary-color: #3730a3;
    --accent-color: #6366f1;
    --text-color: #1e293b;
    --light-text: #64748b;
    --background: #ffffff;
    --section-bg: #f8fafc;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #f1f5f9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --gradient: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    --border-color: #e2e8f0;
    --container-width: 1200px;
    --section-padding: 5rem 5%;
}

/* Thème sombre */
[data-theme="dark"] {
    --primary-color: #818cf8;
    --secondary-color: #6366f1;
    --accent-color: #a5b4fc;
    --text-color: #ffffff;
    --light-text: #cbd5e1;
    --background: #0f172a;
    --section-bg: #1e293b;
    --card-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.9);
    --footer-bg: #0d1526;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    --border-color: #1e3a8a;
}

/* Thème sombre (support classe .dark) */
.dark {
    --primary-color: #818cf8;
    --secondary-color: #6366f1;
    --accent-color: #a5b4fc;
    --text-color: #ffffff;
    --light-text: #cbd5e1;
    --background: #0f172a;
    --section-bg: #1e293b;
    --card-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.9);
    --footer-bg: #0d1526;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    --border-color: #1e3a8a;
}

/* Logo via classe .dark */
.dark .logo-dark { display: block; }
.dark .logo-light { display: none; }

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--nav-bg);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

/* Logo en mode clair */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

/* Logo en mode sombre */
[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .logo-light {
    display: none;
}

/* Logo: désactiver toute transition pour éviter le flicker lors du switch de thème */
.logo img,
.logo-light,
.logo-dark {
    transition: none !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-toggle:hover .hamburger,
.nav-toggle:hover .hamburger::before,
.nav-toggle:hover .hamburger::after {
    background-color: var(--primary-color);
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Menu ouvert */
.nav-open .hamburger {
    background: transparent !important;
}

.nav-open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Styles du menu burger */
@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem 5%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .services-grid,
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 5%;
    }

    .nav-toggle {
        display: block;
    }

    #theme-toggle {
        display: block;
        position: fixed;
        top: 50%;
        right: 4rem;
        transform: translateY(-50%);
        z-index: 1001;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.2rem;
        padding: 0.5rem;
        cursor: pointer;
    }

    /* Cacher le bouton pendant l'init pour éviter le flash d'icône */
    html[data-no-trans] #theme-toggle {
        visibility: hidden;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        opacity: 0;
        visibility: hidden;
    }

    .nav-open .nav-links {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease-in-out;
        width: 100%;
        text-align: center;
    }

    .nav-open .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-open .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-open .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-open .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-open .nav-links li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--text-color);
        display: block;
        padding: 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .location {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .services-preview,
    .expertise {
        padding: var(--section-padding);
    }

    .services-preview h2,
    .expertise h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .service-card,
    .expertise-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .service-card h3,
    .expertise-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-card p,
    .expertise-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .expertise-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.5rem;
    }

    .expertise-icon i {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .social-links a {
        font-size: 1.3rem;
    }

    /* Styles généraux pour mobile */
    h1, h2, h3, p, .location {
        text-align: center;
    }

    /* Hero Section */
    .hero {
        text-align: center;
        padding: 6rem 1rem 3rem;
    }

    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    /* Services Section */
    .services-preview {
        text-align: center;
        padding: 4rem 1rem;
    }

    .service-card {
        text-align: center;
        padding: 1.5rem;
    }

    .service-card h3,
    .service-card p {
        text-align: center;
    }

    /* Expertise Section */
    .expertise {
        text-align: center;
        padding: 4rem 1rem;
    }

    .expertise-card {
        text-align: center;
        padding: 1.5rem;
    }

    .expertise-card h3,
    .expertise-card p {
        text-align: center;
    }

    /* Pricing Section */
    .pricing {
        text-align: center;
        padding: 4rem 1rem;
    }

    .pricing-content,
    .pricing-features,
    .pricing-note {
        text-align: center;
    }

    .pricing-features li {
        justify-content: center;
        text-align: center;
    }

    /* Contact Section */
    .contact-section {
        text-align: center;
        padding: 4rem 1rem;
    }

    .contact-info,
    .contact-details,
    .contact-item {
        text-align: center;
    }

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

    .logo img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 5%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }

    .services-preview h2,
    .expertise h2 {
        font-size: 1.5rem;
    }

    .service-card h3,
    .expertise-card h3 {
        font-size: 1.1rem;
    }

    .service-card p,
    .expertise-card p {
        font-size: 0.9rem;
    }

    .expertise-icon {
        width: 45px;
        height: 45px;
    }

    .expertise-icon i {
        font-size: 1.2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    /* Ajustements supplémentaires pour très petits écrans */
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

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

    .service-card,
    .expertise-card {
        padding: 1.25rem;
    }

    .service-card p,
    .expertise-card p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }

    /* Ajustement des marges et paddings pour le contenu */
    .services-preview,
    .expertise,
    .pricing,
    .contact-section {
        padding: 3rem 0.5rem;
    }

    .services-grid,
    .expertise-grid {
        padding: 0 0.5rem;
    }

    /* Optimisation des espacements pour le texte */
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
}

/* Bouton de thème */
#theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cacher le bouton pendant l'init pour éviter le flash d'icône */
html[data-no-trans] #theme-toggle {
    visibility: hidden;
}

#theme-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 10rem 1rem 6rem;
    background: var(--section-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), transparent 60%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
    font-weight: 800;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 2.5rem;
    color: var(--light-text);
    font-size: 1.1rem;
    background: var(--background);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    width: fit-content;
}

.location i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
}

.cta-button.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Services Preview */
.services-preview {
    padding: 8rem 5%;
    background: var(--background);
    width: 100%;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    width: 100%;
}

.service-card p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    width: 100%;
}

@media (max-width: 1024px) {
    .services-preview {
        padding: 6rem 5%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .services-preview {
        padding: 4rem 1rem;
    }

    .services-preview h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .service-card {
        padding: 1.5rem;
        min-height: 250px;
        margin: 0;
    }

    .service-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .services-preview {
        padding: 3rem 1rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1.25rem;
        min-height: 200px;
    }

    .service-card i {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Expertise Section */
.expertise {
    padding: 8rem 5%;
    background: var(--section-bg);
    width: 100%;
}

.expertise h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.expertise-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--section-bg);
    transition: all 0.3s ease;
}

.expertise-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.expertise-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 700;
    width: 100%;
}

.expertise-card p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    width: 100%;
}

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

    .expertise h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .expertise-card {
        padding: 1.5rem;
        min-height: 250px;
        margin: 0;
    }

    .expertise-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .expertise-icon i {
        font-size: 1.5rem;
    }

    .expertise-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .expertise-card p {
        font-size: 0.95rem;
    }
}

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

    .expertise-grid {
        gap: 1rem;
    }

    .expertise-card {
        padding: 1.25rem;
        min-height: 200px;
    }

    .expertise-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .expertise-icon i {
        font-size: 1.3rem;
    }

    .expertise-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .expertise-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Footer */
footer {
    background: var(--footer-bg);
    padding: 6rem 5% 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.contact-info-container {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    min-width: 24px;
    margin-top: 4px;
}

.icon-container i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.text-container {
    color: var(--text-color);
    text-align: center;
    flex: 1;
    line-height: 1.5;
}

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

.footer-section p {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
    width: 100%;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 1024px) {
    .footer-content {
        gap: 3rem;
    }
}

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

    .footer-section {
        flex: 0 1 300px;
        margin: 0 auto;
    }

    .icon-container {
        margin-top: 4px;
    }
}

/* Copyright section */
.copyright {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 500;
    opacity: 0.8;
    position: relative;
}

.copyright::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.5;
}

/* Animations */
.animate {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Page Header */
.page-header {
    text-align: center;
    padding: 8rem 1rem 4rem;
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--background) 100%);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--light-text);
}

/* Services Detail */
.services-detail {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.service-content h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Pricing Section */
.pricing {
    padding: 4rem 2rem;
    background: var(--section-bg);
    text-align: center;
    width: 100%;
}

.pricing h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

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

.pricing-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.pricing-note {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pricing-note p {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pricing-note i {
    color: var(--primary-color);
}

.pricing-note .cta-button {
    display: inline-block;
}

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

    .pricing h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .pricing-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .pricing-content {
        padding: 1.5rem;
    }

    .pricing-features li {
        padding: 0.8rem 0;
    }
}

@media (max-width: 480px) {
    .pricing {
        padding: 2rem 1rem;
    }

    .pricing h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .pricing-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .pricing-content {
        padding: 1rem;
    }

    .pricing-features li {
        padding: 0.6rem 0;
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background: var(--section-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.contact-info h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 24px;
    min-width: 24px;
    padding-top: 0.25rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-text {
    flex: 1;
    text-align: center;
}

.contact-text h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.contact-text p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-text p:last-child {
    margin-bottom: 0;
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.contact-form h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    background: var(--background);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(165, 180, 252, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-icon {
        padding-top: 0.25rem;
    }

    .contact-text {
        text-align: left;
    }
}

/* Projects Section */
.projects-intro {
    padding: 4rem 2rem;
    background: var(--section-bg);
}

.projects-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

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

.projects-message i.fa-rocket {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.projects-message h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.projects-message p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.projects-message ul {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.projects-message li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
}

.projects-message li:last-child {
    border-bottom: none;
}

.projects-message li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.projects-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

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

    .projects-content {
        padding: 2rem 1.5rem;
    }

    .projects-message h2 {
        font-size: 1.75rem;
    }

    .projects-message li {
        font-size: 1rem;
    }
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    position: relative;
    text-align: center;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--border-color);
    opacity: 0.8;
}

.footer-bottom p {
    color: var(--text-color);
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .footer-bottom::before {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .footer-bottom::before {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .footer-bottom::before {
        width: 95%;
    }
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .contact-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .icon-container {
        margin-top: 0;
    }

    .text-container,
    .text-container.multiline {
        text-align: center;
    }

    .footer-section {
        align-items: center;
        text-align: center;
    }

    .footer-section h3 {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }

    .footer-section {
        margin: 0 auto;
        padding: 0;
        max-width: 100%;
    }

    .contact-info-container {
        width: 100%;
        max-width: 100%;
        align-items: center;
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .text-container,
    .text-container.multiline {
        text-align: center;
        width: 100%;
    }

    .social-links {
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
}

/* Contact Section Styles */
.contact-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-section .contact-icon {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 24px;
    min-width: 24px;
    margin-top: 2rem;
}

.contact-section .contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-section .contact-text {
    flex: 1;
    text-align: center;
}

.contact-section .contact-text h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.contact-section .contact-text p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-section .contact-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-section .contact-icon {
        margin-top: 2rem;
    }

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

    .contact-section .contact-text h3,
    .contact-section .contact-text p {
        text-align: center;
    }
} 

/* Liens juridiques en pied de page */
.legal-links {
    margin: 0.5rem 0 0;
    text-align: center;
}
.legal-links a {
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
}
.legal-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}
.legal-sep {
    margin: 0 0.75rem;
    color: var(--text-color);
    opacity: 0.5;
} 