/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo Styles */
.logo-img {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.logo-small {
    height: 24px;
    width: auto;
    vertical-align: middle;
    margin-bottom: -4px;
}

.inline-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin: 0 5px;
}

.footer-logo {
    height: 24px;
    width: auto;
    vertical-align: middle;
    margin: 0 5px;
}

.nav-logo {
    height: 22px;
    width: auto;
    vertical-align: middle;
}

/* Hero logo specific */
.hero-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    display: inline-block;
}

:root {
    --primary-color: #E31E24;
    --secondary-color: #000000;
    --accent-color: #E31E24;
    --dark-bg: #0C0C0C;
    --light-bg: #F9F9F9;
    --text-dark: #0C0C0C;
    --text-light: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #E31E24 0%, #000000 100%);
    --gradient-2: linear-gradient(135deg, #0C0C0C 0%, #2A2A2A 100%);
    --gradient-3: linear-gradient(135deg, #E31E24 0%, #0C0C0C 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.2);
    --font-primary: 'Georgia', 'Times New Roman', Times, serif;
    --font-body: 'Georgia', 'Times New Roman', Times, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.95);
    border-bottom: 3px solid var(--primary-color);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(12, 12, 12, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-sarl {
    font-size: inherit;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Language Dropdown */
.nav-lang {
    position: relative;
}

.nav-lang .lang-toggle {
    cursor: pointer;
    padding: 5px 0;
    white-space: nowrap;
}

.lang-dropdown li:first-child .lang-option {
    border-radius: 8px 8px 0 0;
}

.lang-dropdown li:last-child .lang-option {
    border-radius: 0 0 8px 8px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 150px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    z-index: 100;
}

.nav-lang:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.lang-dropdown li {
    padding: 0;
}

.lang-option {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 20px;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    opacity: 0.7;
    display: block;
}

.lang-option:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.lang-option.active {
    opacity: 1;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .lang-dropdown {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        min-width: auto;
        margin-top: 0;
    }
    
    .lang-option {
        text-align: center;
        font-size: 1rem;
        padding: 5px 10px;
    }
    
    .nav-lang {
        flex-direction: column;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 25px; opacity: 0.5; }
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--light-bg);
}

.section:nth-child(odd) {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -0.5px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
    opacity: 0.85;
    font-weight: 400;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
    opacity: 0.85;
    font-weight: 400;
}

.about-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Effet de dégradé sur les icônes au survol */
.about-card:hover .about-icon,
.service-card:hover .service-icon,
.mobility-card:hover .mobility-icon,
.contact-item:hover .contact-icon,
.client-type:hover .client-icon {
    background: var(--gradient-1) !important;
    transform: scale(1.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-card:hover .about-icon svg,
.service-card:hover .service-icon svg,
.mobility-card:hover .mobility-icon svg,
.contact-item:hover .contact-icon svg,
.client-type:hover .client-icon svg {
    stroke: var(--text-light) !important;
    transition: stroke 0.3s ease;
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
}

.about-card h3 {
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 600;
}

/* IT Support Section */
#support-informatique {
    background: white;
    color: var(--text-dark);
}

#support-informatique .section-title,
#support-informatique .section-intro {
    color: var(--text-dark);
}

#support-informatique .section-divider {
    background: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary-color);
}

.service-card h3 {
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Vehicle Rental Section */
.mobility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Lounge Bar Section */
.lounge-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.lounge-bar-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lounge-bar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.lounge-bar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lounge-bar-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
}

.lounge-bar-card h3 {
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.2px;
}

.lounge-bar-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.mobility-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.mobility-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.mobility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobility-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary-color);
}

.mobility-card h3 {
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.mobility-card p {
    color: inherit;
    opacity: 0.75;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Why Us Section */
section.why-us {
    background: var(--light-bg);
    color: var(--text-dark);
}

.why-us .section-title {
    color: var(--text-dark);
}

.why-us .section-divider {
    background: var(--accent-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reason-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.reason-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.reason-item:hover .reason-number {
    opacity: 1;
}

.reason-item h3 {
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* Clients Section */
.clients-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.client-type {
    background: var(--light-bg);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.client-type:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.client-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary-color);
    transition: all 0.3s ease;
}

.client-type:hover span {
    color: var(--primary-color);
}

.client-type span {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Contact Section */
.contact {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
    stroke: var(--text-light);
}

.contact-item h3 {
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-dark);
    opacity: 0.7;
    line-height: 1.6;
    font-size: 0.9rem;
}

.contact-slogan {
    background: var(--gradient-3);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-hover);
}

.contact-slogan h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.slogan-main {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.slogan-sub {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.slogan-final {
    font-size: 1.1rem;
    opacity: 0.8;
    font-style: italic;
}

/* Contact Dropdown (Desktop) */
.nav-contact-parent {
    position: relative;
}

.nav-contact-parent > .nav-link::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-bottom: 2px;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: static;
    background: none;
}

.nav-contact-parent:hover > .nav-link::after {
    transform: rotate(-135deg);
    opacity: 1;
}

.contact-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    z-index: 100;
}

.nav-contact-parent:hover .contact-dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.contact-dropdown li {
    padding: 0;
}

.contact-dropdown .dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.contact-dropdown .dropdown-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile-only contact form link: hidden on desktop */
.mobile-contact-form {
    display: none;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--dark-bg) !important;
    color: var(--text-light);
}

.contact-form-section .section-title {
    color: var(--text-light);
}

.contact-form-section .section-intro {
    color: rgba(255, 255, 255, 0.75);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px 40px;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.15);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--text-light);
    padding: 10px;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.btn-submit {
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-status {
    text-align: center;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 500;
    margin-top: 10px;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background: rgba(227, 30, 36, 0.15);
    color: #f87171;
    border: 1px solid rgba(227, 30, 36, 0.3);
}

/* Invalid field highlight */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 30px 0;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.footer p {
    opacity: 0.7;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(12, 12, 12, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 20px;
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-image {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .mobility-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-slogan {
        padding: 30px;
    }
    
    .contact-slogan h3 {
        font-size: 1.5rem;
    }

    /* Mobile: hide desktop dropdown + chevron, show separate menu item */
    .contact-dropdown {
        display: none !important;
    }

    .nav-contact-parent > .nav-link::after {
        display: none;
    }

    .mobile-contact-form {
        display: list-item;
    }

    /* Contact form responsive */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .clients-types {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}


/* ==========================================
   Forms Container - Contact Forms (Premium)
   ========================================== */

.forms-container {
    margin-top: 80px;
    padding-top: 20px;
}

/* Title header for forms section */
.forms-header {
    margin-bottom: 50px !important;
}

.forms-header .section-title {
    font-size: 2.2rem;
}

/* Forms wrapper — vertical stack of form cards */
.forms-wrapper {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

/* Individual form card */
.custom-form {
    background: #ffffff;
    padding: 45px 50px 50px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(227, 30, 36, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle top accent bar */
.custom-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    border-radius: 28px 28px 0 0;
}

.custom-form:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(227, 30, 36, 0.06);
    transform: translateY(-2px);
}

/* Form heading */
.custom-form h3 {
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    padding-top: 6px;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

/* All inputs, selects, textareas */
.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #fafbfc;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
    opacity: 1;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.10);
    outline: none;
}

.custom-form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

/* Two-column row for date fields (date_debut / date_fin) */
.form-row-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Full-width grouped input + label */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Submit button */
.custom-form button {
    align-self: flex-start;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    background: var(--gradient-1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.30);
    position: relative;
    overflow: hidden;
}

.custom-form button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.custom-form button:hover::after {
    left: 100%;
}

.custom-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.45);
}

.custom-form button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.30);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
    .forms-container {
        margin-top: 50px;
    }

    .custom-form {
        padding: 30px 24px 35px;
        gap: 18px;
    }

    .custom-form h3 {
        font-size: 1.2rem;
        padding-left: 12px;
    }

    .custom-form input,
    .custom-form textarea {
        padding: 13px 15px;
        font-size: 0.9rem;
    }

    .custom-form button {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 15px 30px;
    }

    .form-row-duo {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ==========================================
   Form Popup (Success/Error)
   ========================================== */

.form-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.form-popup-overlay.active {
    display: flex;
}

.form-popup {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    color: #111111;
    border-radius: 22px;
    padding: 42px 34px 34px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    animation: popupFadeIn 0.35s ease;
    border-top: 5px solid #8b0000;
}

.form-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f3f3f3;
    color: #111111;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.form-popup-close:hover {
    background: #8b0000;
    color: #ffffff;
}

.form-popup-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b0000, #2b0000);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(139, 0, 0, 0.35);
}

.form-popup-icon.error {
    background: linear-gradient(135deg, #c1121f, #5c0000);
}

.form-popup h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #111111;
}

.form-popup p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .form-popup {
        padding: 38px 24px 28px;
    }
}

/* Animation on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
