:root {
    --primary: #003087;
    --primary-dark: #002060;
    --primary-light: #0044cc;
    --accent: #25D366;
    --accent-dark: #128C7E;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --light-gray: #e9ecef;
    --dark-text: #212529;
    --medium-text: #6c757d;
    --shadow: 0 4px 20px rgba(0, 48, 135, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 48, 135, 0.2);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
    font-size: 16px;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 12px;
    color: var(--medium-text);
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
        background: linear-gradient(rgba(0, 48, 135, 0.75), rgb(0 48 135 / 21%)), url(background.webp) center / cover no-repeat;
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
}

.hero strong {
    color: var(--white);
}

.hero em {
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
}

.esmo-badge {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.esmo-badge span {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-text);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Services Section */
.services {
    background: var(--light-bg);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: var(--transition);
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--medium-text);
    line-height: 1.8;
}

/* Features Section */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.feature-item h3 {
    color: var(--dark-text);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--medium-text);
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
    min-height: calc(100vh - 80px);
    padding-top: 120px;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-email {
    display: inline-block;
    background: #fff3cd;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
}

.contact-phone {
    font-weight: 600;
    color: var(--primary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

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

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

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px 25px;
    background: var(--primary);
    color: #66b3ff; /* texte bleu clair */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.download-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.download-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.download-wrapper {
    text-align: center;
    margin-top: 30px;
}
.download-wrapper .download-link {
    color: #66b3ff;
}

/* Service Page Specific */
.service-hero {
    min-height: 60vh;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.info-box h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-box p {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.info-box a {
    color: var(--primary);
    font-weight: 600;
    word-break: break-all;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    background: var(--accent-dark);
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

.pulsate {
  color: red; /* choose the color you want */
  font-weight: bold;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

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

.hero-content,
.service-card,
.info-box,
.contact-form {
    animation: fadeInUp 0.6s ease forwards;
}

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

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