/* Font Awesome - CDN gratuit */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Fonts modernes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* Reset & Variables */
:root {
    --primary: #072347;
    --primary-light: #0d3456;
    --primary-dark: #051a33;
    --accent: #ea5d0b;
    --accent-light: #eaab81;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --bg-light: #f8fafb;
    --bg-white: #ffffff;
    --text-dark: #1a202c;
    --text-gray: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #051a33 0%, #072347 100%);
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 8px rgba(234, 93, 11, 0.5));
}

.logo i {
    font-size: 2rem;
    color: var(--accent);
}

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

nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

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

nav a:hover::after {
    width: 100%;
}

/* Navigation Button */
.nav-btn {
    background: #ea5d0b !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    border-radius: 50px;
    text-transform: none !important;
}

.nav-btn::after {
    display: none !important;
}

.nav-btn:hover {
    background: #f07a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 93, 11, 0.4);
}

.nav-btn i {
    font-size: 1rem;
    margin-left: 0.25rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

#navMenu {
    display: flex;
}

/* Hero Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #051a33 0%, #072347 100%);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(7, 35, 71, 0.5) 0%, rgba(234, 93, 11, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    animation: slideInDown 0.8s ease;
    color: white !important;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    animation: slideInUp 0.8s ease;
    font-weight: 500;
}

.btn-slider {
    display: inline-block;
    background: #ea5d0b;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 20px rgba(234, 93, 11, 0.3);
    animation: slideInUp 0.8s ease;
    border: 2px solid transparent;
    text-transform: none;
}

.btn-slider:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(234, 93, 11, 0.5);
    background: #f07a1a;
}

.btn-slider:active {
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    padding: 15px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

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

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services > .container > p {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #072347 0%, #ea5d0b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

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

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.service-card ul {
    list-style: disc;
    margin-left: 1.5rem;
    padding: 0;
}

.service-card li {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* Stats Section */
.stats {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #051a33 0%, #072347 100%);
    color: white;
}

.stats h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Inline icons for headers */
h3 i, h4 i {
    margin-right: 0.5rem;
    color: var(--accent);
}

p i {
    margin-right: 0.5rem;
    color: var(--accent);
    min-width: 20px;
}

.feature h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

.about-image {
    background: linear-gradient(135deg, #051a33 0%, #072347 100%);
    border-radius: 16px;
    height: 450px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

/* About Image */
.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    height: 450px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.about-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

/* CTA Section */
.cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #ea5d0b 0%, #eaab81 100%);
    color: white;
    text-align: center;
}

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

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

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

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-image {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

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

label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(234, 93, 11, 0.1);
}

textarea {
    resize: vertical;
    min-height: 130px;
    font-family: inherit;
}

/* Button */
.btn {
    background: #072347;
    color: white;
    padding: 1.1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(7, 35, 71, 0.4);
    background: #0d3456;
}

.btn:active {
    transform: translateY(0);
}

.btn-submit {
    background: #ea5d0b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: none;
}

.btn-submit:hover {
    background: #f07a1a;
    box-shadow: 0 12px 30px rgba(234, 93, 11, 0.4);
}

.btn-submit i {
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #051a33 0%, #072347 100%);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(234, 93, 11, 0.2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-links a:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(234, 93, 11, 0.4);
}

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

.footer-logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animations */
.service-card, .stat-item, .feature {
    animation: fadeIn 0.6s ease;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.btn:active {
    animation: pulse 0.3s ease;
}

/* Smooth transitions for all interactive elements */
button, a, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

    h2 {
        font-size: 1.8rem;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.5rem 1rem;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    #navMenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-radius: 0 0 50px 50px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        width: 100%;
        z-index: 999;
    }

    #navMenu.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    nav a {
        padding: 0.75rem 0;
        display: block;
    }

    .slider-container {
        height: 350px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
        color: white !important;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .btn-slider {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .nav-btn {
        padding: 0.65rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .prev, .next {
        padding: 10px 12px;
        width: 42px;
        height: 42px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 350px;
    }

    .about-image-wrapper {
        height: 350px;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .form-container {
        padding: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .services, .about, .contact {
        padding: 4rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 40px;
    }

    .footer-logo {
        height: 50px;
    }

    .service-card, .stat-item {
        padding: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Extra Small Devices (480px et moins) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .slider-container {
        height: 220px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .btn-slider {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.8rem;
    }

    .logo-img {
        height: 30px;
    }

    .header-content {
        padding: 0.5rem;
    }

    nav {
        padding: 1.5rem 1rem !important;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .prev, .next {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .services, .about, .contact {
        padding: 2rem 1rem;
    }

    .service-card {
        padding: 1rem;
    }

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

    .stat-item {
        padding: 1rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }

    .about-image {
        height: 250px;
    }

    .about-image-wrapper {
        height: 250px;
    }

    .cta {
        padding: 2rem 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .cta h2 {
        font-size: 1.4rem;
    }

    .form-container {
        padding: 1.25rem;
    }

    input, textarea, select {
        font-size: 16px;
    }

    .footer-logo {
        height: 40px;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .nav-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
    }
}