@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Poppins:wght@400;500&display=swap');

/* Variables */
:root {
    --primary-color: #2B6CB0;
    --primary-dark: #2C5282;
    --primary-light: #4299E1;
    --secondary-color: #1A365D;
    --accent-color: #90CDF4;
    --text-color: #2D3748;
    --text-light: #718096;
    --background-color: #FFFFFF;
    --background-light: #F7FAFC;
    --background-dark: #1A202C;
    --border-color: #E2E8F0;
    --success-color: #48BB78;
    --warning-color: #ECC94B;
    --error-color: #F56565;
    --container-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a202c;
    background: #f7fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    color: #2b6cb0;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.button.is-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
}

.button.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.6);
}

.button.is-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
}

.button.is-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.button.is-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    background: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

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

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-item {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color var(--transition-speed);
}

.navbar-item:hover,
.navbar-item.active {
    color: var(--primary-color);
}

.navbar-burger {
    display: none;
}

/* HERO */
.hero-home {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #101828;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.7) blur(1px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(16, 24, 40, 0.85) 60%, rgba(43, 108, 176, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: left;
    padding: 5rem 0 3rem 0;
}

.hero-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(90deg, #FFD700 0%, #2b6cb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: #e5e7eb;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-form {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.7rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(16, 24, 40, 0.08);
    backdrop-filter: blur(4px);
    max-width: 600px;
}

.hero-form input {
    flex: 1;
    padding: 0.9rem 1.1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    outline: none;
    transition: background 0.2s;
}

.hero-form input:focus {
    background: rgba(255, 255, 255, 0.25);
}

.btn-main {
    background: linear-gradient(90deg, #FFD700 0%, #2b6cb0 100%);
    color: #222;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(43, 108, 176, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-main:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 24px rgba(43, 108, 176, 0.18);
    color: #101828;
}

/* POURQUOI NOUS CHOISIR */
.why-choose {
    background: #fff;
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.why-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.why-item {
    background: #f7fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(43, 108, 176, 0.06);
    padding: 2rem 1.5rem;
    min-width: 120px;
}

.why-item strong {
    font-size: 2.2rem;
    color: #2b6cb0;
    display: block;
    margin-bottom: 0.5rem;
}

.why-item span {
    color: #4a5568;
    font-size: 1rem;
}

.why-text {
    color: #4a5568;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* SERVICES */
.services-home {
    background: #f7fafc;
    padding: 4rem 0 2rem 0;
}

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

.service-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(43, 108, 176, 0.08);
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(43, 108, 176, 0.13);
}

.service-card h3 {
    color: #2b6cb0;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.service-card p {
    color: #4a5568;
    font-size: 1rem;
}

/* PROCESS */
.process-home {
    background: #fff;
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: #f7fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(43, 108, 176, 0.06);
    padding: 1.5rem 1rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step span {
    display: block;
    background: #2b6cb0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    line-height: 36px;
    margin-bottom: 0.7rem;
}

.process-step p {
    color: #4a5568;
    font-size: 1rem;
}

/* TÉMOIGNAGES */
.testimonials-home {
    background: #f7fafc;
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(43, 108, 176, 0.08);
    padding: 2rem 1.5rem;
    min-width: 220px;
    font-style: italic;
    color: #2b6cb0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(43, 108, 176, 0.13);
}

.testimonial-card span {
    color: #4a5568;
    font-size: 1rem;
    margin-top: 1rem;
    font-style: normal;
}

/* CTA FINAL */
.cta-home {
    background: linear-gradient(90deg, #2b6cb0 0%, #FFD700 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 0 3rem 0;
}

.cta-home h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-home .btn-main {
    background: #fff;
    color: #2b6cb0;
    font-weight: 700;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px rgba(43, 108, 176, 0.10);
    transition: background 0.2s, color 0.2s;
}

.cta-home .btn-main:hover {
    background: #FFD700;
    color: #101828;
}

/* Responsive */
@media (max-width: 900px) {

    .why-grid,
    .testimonials-grid,
    .process-steps {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

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

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 0.7rem;
    }

    .service-card,
    .testimonial-card,
    .why-item,
    .process-step {
        padding: 1.2rem 0.7rem;
    }

    .cta-home h2 {
        font-size: 1.2rem;
    }
}

/* Animations */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--light-background);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .process-timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline-number,
    .timeline-item:nth-child(even) .timeline-number {
        left: 0;
        right: auto;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.is-active {
        display: block;
    }

    .navbar-burger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .navbar-burger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-color);
        margin: 4px 0;
        transition: all var(--transition-speed);
    }

    .navbar-burger.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar-burger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-burger.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-cta {
        flex-direction: column;
    }

    .services-grid,
    .advantages-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

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

    h1 {
        font-size: 2rem;
    }

    .button.is-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}