/* ========================================
   E-JARNAULD SOFT - CARIÉRE
   Professional CSS - White & Bright Red
   ======================================== */

/* ===== VARIABLES ===== */
:root {
    --primary-red: #FF0000;
    --primary-red-dark: #CC0000;
    --primary-red-light: #FF3333;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #F5F5F5;
    --dark-gray: #1A1A1A;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(255, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 42px;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

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

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


/* ===== STAGE MARQUEE (BANDEAU STAGE) ===== */
.stage-marquee {
    background-color: #FF0000;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.stage-marquee a {
    display: block;
    text-align: center;
}

.stage-marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin: 0;
}

.stage-marquee p:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===== HERO CARIÉRE SECTION ===== */
.hero-carriere {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920') center/cover;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    position: relative;
}

.hero-carriere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-carriere .container {
    position: relative;
    z-index: 1;
}

.hero-carriere h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-carriere .subtitle {
    font-size: 1.3rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.8;
}

/* ===== MAIN SECTION ===== */
.section {
    padding: 80px 0;
    background: var(--white);
}

.section h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.section h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
}

.section .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 30px auto 50px;
    line-height: 1.8;
}

/* ===== CARDS SECTION ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-red);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 30px;
}

.card h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.card h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red);
}

.card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 20px 0 25px;
}

/* ===== BOOKING BUTTON ===== */
.btn-booking {
    padding: 12px 28px;
    background-color: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-booking:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* ===== BUTTONS ===== */
.button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary-red);
    transition: var(--transition);
    text-align: center;
}

.button:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== FORM SECTION ===== */
.form-section {
    background: var(--off-white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-red);
}

.form-section > p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.8;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

textarea {
    min-height: 120px;
    resize: vertical;
    grid-column: 1 / -1;
}

input[type="file"] {
    grid-column: 1 / -1;
    padding: 15px;
    border: 2px dashed var(--light-gray);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

input[type="file"]:hover {
    border-color: var(--primary-red);
}

.full {
    grid-column: 1 / -1;
}

.submit-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--primary-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

/* ===== WHY JOIN US SECTION ===== */
.why-join {
    padding: 80px 0;
    background: var(--light-gray);
}

.why-join h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.why-join h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-red);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-carriere {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-carriere h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.testimonials-carriere h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-red);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-card .quote {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-card .author-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-card .author-info span {
    font-size: 0.9rem;
    color: var(--primary-red);
}

/* ===== CTA SECTION ===== */
.cta-carriere {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
                url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920') center/cover;
    padding: 80px 0;
    text-align: center;
}

.cta-carriere h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-carriere p {
    font-size: 1.2rem;
    color: var(--off-white);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 60px 0 20px;
    margin: 0;
    width: 100%;
}

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

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

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
}


/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

    .hero-carriere h1 {
        font-size: 2.5rem;
    }

    .hero-carriere .subtitle {
        font-size: 1.1rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .form-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-carriere h1 {
        font-size: 2rem;
    }

    .hero-carriere .subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

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

    .section .subtitle {
        font-size: 1rem;
    }

    .card h2 {
        font-size: 1.5rem;
    }

    .form-section h2 {
        font-size: 1.5rem;
    }

    form {
        grid-template-columns: 1fr;
    }

    .cta-carriere h2 {
        font-size: 2rem;
    }

    .why-join h2,
    .testimonials-carriere h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-carriere h1 {
        font-size: 1.8rem;
    }

    .hero-carriere {
        min-height: 300px;
    }

    .section {
        padding: 60px 0;
    }

    .section h1 {
        font-size: 1.6rem;
    }

    .form-section {
        padding: 20px;
    }

    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .cta-carriere h2 {
        font-size: 1.6rem;
    }

    .cta-carriere p {
        font-size: 1rem;
    }
}
