/* Variables */
:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --text-dark: #333;
    --text-light: #666;
    --card-gradient-top: rgba(255, 255, 255, 1);
    --card-gradient-bottom: rgba(200, 230, 240, 0.95);
    --title-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    position: relative;
}

/* Background */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: -1;
    transform: none !important;
}

/* Ajustement du conteneur principal pour assurer la visibilité du background */
.legal-page {
    background: rgba(255, 255, 255, 0.97);
    position: relative;
    z-index: 1;
}

/* Pour assurer que l'animation des particules reste visible */
.background-animation {
    z-index: -1;
}

/* Header */
header {
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

.lang-switch {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.lang-switch:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: transparent;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: var(--title-shadow);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: var(--title-shadow);
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 102, 204, 0.3);
    backdrop-filter: blur(5px);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.9),
        rgba(0, 65, 130, 0.9)
    );
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, 
        rgba(0, 112, 224, 0.95),
        rgba(0, 75, 150, 0.95)
    );
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* Common Section Styles */
section {
    padding: 4rem 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: var(--title-shadow);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section h2.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Grid Layout */
.expertise-grid,
.services-grid,
.references-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    background: transparent;
}

.references-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.expertise-card,
.service-card,
.reference-card {
    background: linear-gradient(to bottom, var(--card-gradient-top), var(--card-gradient-bottom));
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.expertise-card:hover,
.service-card:hover,
.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

/* Card Content Styles */
.expertise-card h3,
.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.expertise-card ul,
.service-card ul {
    list-style: none;
    padding: 0;
}

.expertise-card ul li,
.service-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

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

.service-card ul li::before {
    content: "→";
}

/* Reference Card Specifics */
.reference-card {
    text-align: center;
}

.reference-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

/* Contact Section */
.contact {
    background: transparent;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 2rem;
}

/* LinkedIn Articles Section */
.articles {
    background: transparent;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    padding: 3rem 2rem;
}

.articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(200, 230, 240, 0.55) 100%
    );
    backdrop-filter: blur(6px);
    z-index: 0;
}

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

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

.article-card {
    background: linear-gradient(to bottom, var(--card-gradient-top), var(--card-gradient-bottom));
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

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

.article-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.article-date {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.article-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: var(--primary-color-dark);
}

.articles-footer {
    text-align: center;
    margin-top: 2rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg,
        rgba(0, 119, 181, 0.85),  /* LinkedIn blue */
        rgba(0, 97, 146, 0.85)
    );
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.15);
}

.linkedin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.2);
}

.linkedin-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/linkedin-icon.svg') no-repeat center/contain;
    vertical-align: middle;
}

/* Fond semi-transparent avec effet de flou - opacité très réduite */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(200, 230, 240, 0.55) 100%
    );
    backdrop-filter: blur(6px);
    z-index: 0;
}

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

.contact-content h2 {
    color: var(--text-dark);
    text-shadow: var(--title-shadow);
    margin-bottom: 1rem; /* Réduit l'espacement */
}

.contact-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem; /* Réduit l'espacement */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Réduit l'espacement */
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem; /* Boutons légèrement plus compacts */
    background: linear-gradient(135deg,
        rgba(0, 102, 204, 0.85),
        rgba(0, 65, 130, 0.85)
    );
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

/* Conserve le reste des styles de boutons et animations... */
/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Ajout du style pour l'adresse */
.company-address {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
    font-style: italic;
}

/* Ajoutez ces nouvelles règles pour les liens du footer */
.footer-legal .legal-links {
    display: flex;
    justify-content: center;
    gap: 3rem; /* Augmente l'espace entre les liens */
}

.footer-legal .legal-links a {
    color: #3498db; /* Bleu clair */
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap; /* Empêche le texte de se couper */
    display: inline-block; /* Permet au conteneur de s'adapter à la largeur du texte */
    min-width: max-content; /* Force la largeur à s'adapter au contenu le plus long */
    width: auto !important; /* Force la largeur à s'adapter au contenu */
    overflow: visible !important; /* Empêche la troncature */
}

/** Start Terms.html **/
/* Terms & Conditions Specific Styles */
.legal-page {
    padding-top: 80px;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.97);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.terms-content {
    font-size: 0.9rem;
    line-height: 1.3;
}

.terms-content h1 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.3rem;
}

.policy-section {
    margin-bottom: 0.3rem;
    padding: 0; /* Annule le padding hérité de section */
    background: none; /* Supprime aussi le background si nécessaire */
}

.policy-section h2 {
    font-size: 1rem !important;
    color: var(--text-dark) !important;
    margin-bottom: 0.3rem !important;
    font-weight: bold !important;
    text-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    opacity: 1 !important; /* Forcer l'affichage */
    transform: none !important; /* Annuler toute transformation */
    display: block !important; /* Assurer que l'élément est visible */
    visibility: visible !important; /* Forcer la visibilité */
}

.policy-section p {
    margin-bottom: 0.2rem; /* Moins d'espace sous les paragraphes */
    color: var(--text-dark);
}

.policy-section ul {
    margin: 0.1rem 0 0.2rem; /* Espacement minimal pour les listes */
    padding-left: 1.2rem;
}

.policy-section li {
    margin-bottom: 0.1rem; /* Espacement minimal entre les éléments de liste */
    color: var(--text-dark);
}

.last-updated {
    margin-top: 1rem;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: right;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }
}
/** End Terms.html **/

/* Parallax Effect */
.parallax-section {
    transform-style: preserve-3d;
    transform: translateZ(0);
    will-change: transform;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

.title-animate {
    animation: titleAppear 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .expertise-grid,
    .services-grid,
    .references-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        width: 100%;
        max-width: 250px;
    }

    .contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* Styles généraux pour les sections normales */
section {
    padding: 4rem 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Styles pour les sections de politique */
.policy-section {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    padding: 0 !important;
    margin: 0.3rem 0 !important;
    background: none;
    text-align: left !important; /* Force l'alignement à gauche */
}

/* Styles pour les titres h2 et h3 dans les sections de politique */
.policy-section h2,
.policy-section h3 {
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    margin-bottom: 0.2rem !important;
    font-weight: bold !important;
    text-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
    text-align: left !important;
}

/* Style pour le texte des paragraphes dans les sections de politique */
.policy-section p {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}




