:root {
    --primary: rgb(50, 108, 107);
    --secondary: #35495e;
    --accent: #252525;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --transition: all 0.3s ease;
    --world-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --country-active: #326c6b;
    --country-hover: #4a9d9c;
    --glow-primary: rgba(50, 108, 107, 0.6);
    --glow-secondary: rgba(53, 73, 94, 0.4);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.05rem;
}

/* Empêcher le scroll du body quand le menu mobile est ouvert */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-size: 1.55em;
}

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

section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

#header {
    background: linear-gradient(135deg, #d3d7e7, #54595b);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-img {
    max-height: 80px;
    max-width: 350px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 1000;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-size: 1.1rem;
}

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

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary);
}

.language-switcher {
    position: relative;
    margin-left: 20px;
}

.language-btn {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition);
    min-height: 44px;
}

.language-btn:hover {
    background-color: var(--primary);
    color: rgb(0 0 0);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
    margin-top: 5px;
    min-width: 140px;
    max-width: 160px;
    display: none;
    z-index: 1000;
}

.language-options.show {
    display: block;
}

.language-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: var(--dark);
    font-size: 0.9rem;
}

.language-option .flag-icon {
    font-size: 1.1rem;
}

.language-option:hover {
    background-color: #f8f9fa;
    color: var(--primary);
}

.language-option.active {
    background-color: var(--primary);
    color: white;
    font-weight: 500;
}

.employee-btn {
    background-color: #343a40;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition);
    min-height: 44px;
}

.employee-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Menu hamburger */
.chaipas {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
    width: 44px;
    height: 44px;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.chaipas .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.chaipas.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.chaipas.active .bar:nth-child(2) {
    opacity: 0;
}

.chaipas.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.services {
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
}

.section-title.in-view {
    animation: fadeInUp 0.8s ease forwards;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.in-view {
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.about-content.in-view {
    animation: fadeInUp 0.8s ease forwards;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.strengths {
    background-color: var(--light);
    padding: 100px 0;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.strength-card {
    filter: grayscale(30%);
    opacity: 0.8;
    transition: var(--transition);
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    height: 100%;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #6c8fff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.strength-card.in-view {
    animation: cardReveal 0.8s ease forwards;
}

.strength-card:nth-child(1) { animation-delay: 0.1s; }
.strength-card:nth-child(2) { animation-delay: 0.2s; }
.strength-card:nth-child(3) { animation-delay: 0.3s; }
.strength-card:nth-child(4) { animation-delay: 0.4s; }

.strength-card:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

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

.strength-icon {
    margin-bottom: 25px;
    color: var(--primary);
    background: rgba(78, 107, 255, 0.1);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0; 
}

.strength-card:hover .strength-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.strength-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary);
    transition: var(--transition);
}

.strength-card:hover h3 {
    color: var(--primary);
}

.strength-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: center; 
    margin: 0; 
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cta {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.cta-content {
    opacity: 0;
    transform: translateY(20px);
}

.cta-content.in-view {
    animation: fadeInUp 0.8s ease forwards;
}

.cta h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.7rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #c9c4c4;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

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

/* ===== SECTION PAYS OPTIMISÉE ===== */
.countries-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.countries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(50, 108, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(53, 73, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: -20px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.countries-grid-container {
    position: relative;
    margin: 60px 0;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.country-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    border: 1px solid rgba(50, 108, 107, 0.1);
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #4a9d9c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.country-card.in-view {
    animation: countryCardReveal 0.8s ease forwards;
}

.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.15s; }
.country-card:nth-child(3) { animation-delay: 0.2s; }
.country-card:nth-child(4) { animation-delay: 0.25s; }
.country-card:nth-child(5) { animation-delay: 0.3s; }
.country-card:nth-child(6) { animation-delay: 0.35s; }
.country-card:nth-child(7) { animation-delay: 0.4s; }
.country-card:nth-child(8) { animation-delay: 0.45s; }
.country-card:nth-child(9) { animation-delay: 0.5s; }
.country-card:nth-child(10) { animation-delay: 0.55s; }
.country-card:nth-child(11) { animation-delay: 0.6s; }
.country-card:nth-child(12) { animation-delay: 0.65s; }
.country-card:nth-child(13) { animation-delay: 0.7s; }
.country-card:nth-child(14) { animation-delay: 0.75s; }
.country-card:nth-child(15) { animation-delay: 0.8s; }
.country-card:nth-child(16) { animation-delay: 0.85s; }
.country-card:nth-child(17) { animation-delay: 0.9s; }
.country-card:nth-child(18) { animation-delay: 0.95s; }
.country-card:nth-child(19) { animation-delay: 1s; }
.country-card:nth-child(20) { animation-delay: 1.05s; }

.country-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

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

/* DRAPEAUX OPTIMISÉS */
.country-flag-icon {
    width: 80px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-flag-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.country-card:hover .country-flag-icon {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 10px 30px rgba(50, 108, 107, 0.3);
}

.country-card:hover .country-flag-icon::after {
    opacity: 1;
}

.country-flag-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
}

.country-card:hover .country-flag-icon img {
    transform: scale(1.05);
}

.country-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
    transition: color 0.3s ease;
}

.country-card:hover .country-name {
    color: var(--primary);
}

/* Statistiques */
.countries-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: statReveal 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 1.2s; }

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--primary), #4a9d9c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes countryCardReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECTION DE CONTACT DYNAMIQUE */
.contact-form-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.contact-form-section.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.contact-form-container {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.contact-form-section.hidden .contact-form-container {
    transform: scale(0.9);
}

.contact-form-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.contact-form-header h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 2rem;
}

.contact-form-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

.close-contact-form {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.close-contact-form:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.contact-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(50, 108, 107, 0.1);
}

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

.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid rgb(0, 0, 0);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(50, 108, 107, 0.3);
}

.cancel-btn {
    background: transparent;
    color: var(--gray);
    border: 2px solid #e1e5e9;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.cancel-btn:hover {
    border-color: var(--gray);
    color: var(--secondary);
}

/* Styles pour les numéros de téléphone avec drapeaux */
.phone-numbers {
    margin-top: 15px;
}

.phone-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    transition: var(--transition);
}

.phone-item:hover {
    transform: translateY(-1px);
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 10px;
}

.phone-item span {
    font-weight: 500;
    color: #fff;
    font-size: 16px;
}

.phone-item i {
    color: #fff;
    margin-right: 6px;
    font-size: 14px;
}

.phone-item:hover span {
    color: #fff;
}

/* SECTION RGPD AMÉLIORÉE */
.rgpd-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.rgpd-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.rgpd-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rgpd-cert-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition), opacity 0.3s ease-in-out;
}

.rgpd-cert-image:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(50, 108, 107, 0.2);
}

.rgpd-text h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.rgpd-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #4a9d9c);
}

.rgpd-text p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.rgpd-features {
    margin-top: 30px;
    border-left: 3px solid var(--primary);
    padding-left: 25px;
}

.rgpd-feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.rgpd-feature:hover {
    transform: translateX(10px);
}

.rgpd-feature i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 20px;
    width: 25px;
    text-align: center;
}

.rgpd-feature span {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Classe utilitaire pour masquer des éléments */
.hidden {
    display: none !important;
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* RESPONSIVE DESIGN OPTIMISÉ */
@media (max-width: 1200px) {
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .countries-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rgpd-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .rgpd-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .rgpd-features {
        border-left: none;
        padding-left: 0;
    }

    .rgpd-feature {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    *, *::before, *::after {
        animation-duration: 0.3s !important;
        animation-delay: 0s !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Header mobile optimisé */
    .chaipas {
        display: flex;
        z-index: 1001;
        position: relative;
        transition: var(--transition);
    }
    
    .logo-img {
        max-height: 60px;
        max-width: 250px;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 100px 20px 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        padding: 15px 0;
        display: block;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--secondary);
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .language-options {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 160px;
        background: white;
        border: 1px solid #e1e5e9;
    }
    
    .language-btn {
        justify-content: center;
        width: 100%;
        font-weight: 700;
        padding: 12px 20px;
    }
    
    .employee-btn {
        margin-left: 0 !important;
        margin-top: 15px;
        justify-content: center;
        width: 100%;
        font-weight: 700;
        padding: 12px 20px;
    }
    
    /* Hero section mobile */
    .hero {
        height: 80vh;
        padding-top: 60px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    /* Services grid mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    /* Strengths mobile */
    .strengths-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 25px;
    }
    
    .strength-card {
        padding: 30px 20px;
    }
    
    .strength-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .strength-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .strength-card p {
        font-size: 0.95rem;
    }
    
    /* Countries section mobile optimisé */
    .countries-section {
        padding: 80px 0;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 0 15px;
    }
    
    .country-card {
        padding: 20px 15px;
    }
    
    .country-flag-icon {
        width: 60px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .country-flag-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .country-name {
        font-size: 1rem;
    }
    
    .countries-stats {
        gap: 30px;
        margin-top: 60px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* About section mobile */
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    /* CTA mobile */
    .cta h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Responsive pour le formulaire de contact */
    .contact-form-container {
        width: 95%;
        margin: 20px;
    }
    
    .contact-form-header {
        padding: 20px;
    }
    
    .contact-form-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-btn,
    .cancel-btn {
        width: 100%;
    }
    
    /* Responsive pour mobile */
    .phone-item {
        justify-content: center;
        margin-bottom: 8px;
        padding: 5px 8px;
    }
    
    .flag-icon {
        width: 18px;
        height: 12px;
        margin-right: 8px;
    }
    
    .phone-item span {
        font-size: 15px;
    }
    
    .phone-item i {
        font-size: 13px;
    }
    
    /* Responsive pour la section RGPD */
    .rgpd-section {
        padding: 60px 0;
    }
    
    .rgpd-content {
        margin-top: 30px;
    }
    
    .rgpd-text h3 {
        font-size: 1.6rem;
    }
    
    .rgpd-text p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .country-card {
        padding: 15px 10px;
    }
    
    .country-flag-icon {
        width: 50px;
        height: 38px;
        margin-bottom: 10px;
    }
    
    .country-flag-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .country-name {
        font-size: 0.9rem;
    }
    
    .countries-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 1.6rem;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 10px;
    }
    
    .country-flag-icon {
        width: 45px;
        height: 34px;
    }
    
    .country-flag-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 3px;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

