/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0087E8; /* New Blue Color */
    --secondary-color: #FF7A5A; /* Coral/Orange Accent */
    --dark-color: #2c3e50; /* Dark Blue/Grey for hero background */
    --light-gray-color: #f8f9fa; /* Very light gray for section backgrounds */
    --medium-gray-color: #bdc3c7; /* Medium gray for borders/text */
    --white-color: #fff;
    --text-color: #34495e;
    --heading-font: 'Lexend Deca', 'Poppins', sans-serif;
    --body-font: 'Poppins', 'Inter', sans-serif;
    --box-shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.12);
    --border-radius-sm: 4px;
    --border-radius-md: 6px;

    /* Form specific variables */
    --form-hero-bg: rgba(240, 240, 240, 0.88);
    --form-hero-input-bg: transparent;
    --form-hero-label-color: #333;
    --form-hero-button-bg: #00BFFF; /* This is a light blue, keeping it for now unless specified */
    --form-hero-button-text-color: #fff;
    --form-hero-button-hover-bg: #009ACD; /* Darker shade of the light blue */
    --form-hero-button-shadow-rgb: 0, 191, 255;

    /* Logo shape colors based on Trello-like design */
    --logo-shape1-color: #75C6FC; /* Lighter Blue */
    --logo-shape2-color: #0095F0; /* Darker Blue */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    scroll-behavior: smooth;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 0.75em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; text-align: center; margin-bottom: 1.5em;}
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 500; }

p {
    margin-bottom: 1.2em;
    color: #555;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 135, 232, 0.3); /* Updated shadow for new blue */
}
.btn-primary:hover {
    background-color: #006bbd; /* Darker shade of the new blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 135, 232, 0.4); /* Updated shadow for new blue */
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    box-shadow: 0 2px 5px rgba(255, 122, 90, 0.3);
}
.btn-secondary:hover {
    background-color: #e56040;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 122, 90, 0.4);
}

.section {
    padding: 70px 0;
}
.section-bg-light {
    background-color: var(--light-gray-color);
}

/* --- Navigation Bar --- */
.navbar {
    background-color: var(--white-color);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow-light);
    border-bottom: 3px solid var(--primary-color);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-animated-link {
    display: inline-block;
    height: 55px; /* MODIFIÉ: Anciennement 45px */
    line-height: 55px; /* MODIFIÉ: Anciennement 45px */
}
.jobber-logo-animated-nav {
    width: auto;
    max-width: 210px; /* Peut être ajusté si le logo semble trop petit/grand proportionnellement */
    height: 100%;
    display: block;
    overflow: visible;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}
.navbar .nav-links li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}
.navbar .nav-links li a:hover,
.navbar .nav-links li a.active {
    background-color: rgba(0, 135, 232, 0.05); /* Updated hover/active background for new blue */
    color: var(--primary-color);
}

.navbar .menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--dark-color);
    cursor: pointer;
}

/* Keyframes for Looping Logo Animation */
@keyframes loopShape1Nav {
    0% { transform: translate(-45px, -40px) skewX(-20deg); opacity: 0; }
    20% { transform: translate(5px, -3px) skewX(-20deg); opacity: 1; }
    60% { transform: translate(5px, -3px) skewX(-20deg); opacity: 1; }
    80% { transform: translate(35px, 20px) skewX(-20deg); opacity: 0; }
    100% { transform: translate(35px, 20px) skewX(-20deg); opacity: 0; }
}
@keyframes loopShape2Nav {
    0% { transform: translate(45px, 40px) skewX(-20deg); opacity: 0; }
    5% { transform: translate(45px, 40px) skewX(-20deg); opacity: 0; }
    25% { transform: translate(15px, 2px) skewX(-20deg); opacity: 1; }
    65% { transform: translate(15px, 2px) skewX(-20deg); opacity: 1; }
    85% { transform: translate(-35px, -20px) skewX(-20deg); opacity: 0; }
    100% { transform: translate(-35px, -20px) skewX(-20deg); opacity: 0; }
}
@keyframes loopTextNav {
    0% { opacity: 0; transform: translateY(8px); }
    20% { opacity: 0; transform: translateY(8px); }
    40% { opacity: 1; transform: translateY(0); }
    70% { opacity: 1; transform: translateY(0); }
    90% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 0; transform: translateY(-8px); }
}

.jobber-logo-animated-nav #navShape1 {
    animation: loopShape1Nav 5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
.jobber-logo-animated-nav #navShape2 {
    animation: loopShape2Nav 5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
.jobber-logo-animated-nav #navLogoText {
    font-family: var(--heading-font);
    font-weight: 700;
    fill: var(--dark-color);
    animation: loopTextNav 5s ease-in-out infinite;
}

/* --- Hero Section --- */
.hero-recrutez {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 120px 0 70px;
    min-height: auto;
    display: flex;
    align-items: center;
}
.hero-recrutez .container {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 25px;
    align-items: center;
}
.hero-recrutez .hero-content {
     text-align: left;
}
.hero-recrutez .hero-content h1 {
    color: var(--white-color);
    margin-bottom: 0.4em;
    font-size: clamp(2rem, 4vw, 3rem);
}
.hero-recrutez .hero-content .subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.8em;
    color: var(--medium-gray-color);
    max-width: 480px;
}

.hero-form-container {
    background-color: var(--form-hero-bg);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    max-width: 360px;
    width: 100%;
}
.hero-form-container .form-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 18px;
}
 .hero-form-container .form-group {
     margin-bottom: 10px;
}
 .hero-form-container .form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--form-hero-label-color);
    margin-bottom: 3px;
    text-align: left;
}
.hero-form-container .form-group input {
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    border-radius: 0;
    font-size: 0.9rem;
    font-family: var(--body-font);
    color: var(--text-color);
    transition: border-color 0.2s ease-in-out;
}
.hero-form-container .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
}
.hero-form-container .btn-form-submit {
    background-color: var(--form-hero-button-bg);
    color: var(--form-hero-button-text-color);
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    margin-top: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(var(--form-hero-button-shadow-rgb), 0.3);
}
.hero-form-container .btn-form-submit:hover {
    background-color: var(--form-hero-button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--form-hero-button-shadow-rgb), 0.4);
}

/* --- Intro Section --- */
#intro-recrutez .intro-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
@media (min-width: 768px) {
    #intro-recrutez .intro-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }
}
#intro-recrutez .intro-text h3 {
    color: var(--dark-color);
    margin-bottom: 0;
}
#intro-recrutez .intro-highlight {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light);
}
#intro-recrutez .intro-highlight p {
    color: var(--white-color);
    opacity: 1;
    margin-bottom: 0;
    font-style: normal;
    line-height: 1.6;
}

/* --- Video Section Placeholder --- */
#video-section .video-placeholder {
    background-color: #e9ecef;
    height: 300px;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow-medium);
}
@media (min-width: 768px) {
    #video-section .video-placeholder {
        height: 400px;
    }
}
#video-section .video-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.7;
}

/* --- "How It Works" Section --- */
#how-it-works-recrutez {
    background-color: var(--light-gray-color);
}
#how-it-works-recrutez .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 600px) {
    #how-it-works-recrutez .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    background-color: var(--white-color);
    padding: 25px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 135, 232, 0.15); /* Updated shadow for new blue */
}
.feature-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.feature-item h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 600;
}
.feature-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.65;
}

/* --- FAQ Section --- */
#faq-recrutez .faq-intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 25px auto;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}
#faq-recrutez .faq-item {
    background-color: var(--white-color);
    margin-bottom: 10px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-light);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 15px 20px;
    text-align: left;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}
.faq-question:hover {
    background-color: #f1f1f1;
}
.faq-question .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.faq-answer {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.3s ease-in-out, padding-bottom 0.35s ease-out;
}
.faq-answer p {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}
.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    opacity: 1;
    padding-bottom: 15px;
}

/* --- Contact Section --- */
#contact-recrutez .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.contact-card {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}
.contact-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.contact-card h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
}
.contact-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}
.contact-card a.contact-link, .contact-card .address-link {
    display: block;
    margin-top: 10px;
    font-weight: 500;
    font-size: 0.9rem;
}
 .contact-card .address-link {
    color: #555;
    font-weight: normal;
}
 .contact-card .address-link:hover {
    color: var(--secondary-color);
}

/* --- Footer --- */
.footer-recrutez {
    background-color: var(--dark-color);
    color: var(--light-gray-color);
    padding: 30px 15px;
    text-align: center;
}
.footer-recrutez .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color); /* Changed to white */
    margin-bottom: 10px;
}
.footer-recrutez .footer-logo span { color: var(--secondary-color); } /* Keep the dot orange for contrast */
.footer-recrutez .footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 15px;
}
.footer-recrutez .footer-links a {
    color: var(--medium-gray-color);
    font-size: 0.85rem;
}
.footer-recrutez .footer-links a:hover {
    color: var(--white-color);
}
.footer-recrutez .social-icons {
    margin-bottom: 15px;
}
.footer-recrutez .social-icons a {
    color: var(--medium-gray-color);
    font-size: 1.3rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}
.footer-recrutez .social-icons a:hover {
    color: var(--primary-color); /* Social icons can remain blue on hover or change to white if preferred */
}
.footer-recrutez .copyright {
    font-size: 0.8rem;
    color: #aaa;
}

/* --- Responsive Adjustments (Media Queries) --- */
@media (max-width: 992px) {
    .hero-recrutez .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-recrutez .hero-content {
        order: 1;
    }
    .hero-form-container {
        order: 2;
        margin: 20px auto 0;
    }
     .hero-recrutez .hero-content .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
     .navbar .nav-links {
        gap: 10px;
    }
    .navbar .nav-links li a, .navbar .nav-links .dropdown > a {
        padding: 6px 8px;
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: calc(0.8rem * 2 + 55px); /* MODIFIÉ: Anciennement calc(0.8rem * 2 + 43px) */
        left: 0;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
    .navbar .nav-links.active {
         display: flex;
    }
    .navbar .nav-links li {
        text-align: center;
        width: 100%;
    }
    .navbar .nav-links li a {
        padding: 10px 15px;
        width: 100%;
        justify-content: center;
    }
    .navbar .menu-toggle {
         display: block;
    }

    .hero-recrutez { padding: 100px 0 50px; }
    .hero-form-container {
        max-width: 85%;
    }
    #video-section .video-placeholder { height: 250px; }
    #how-it-works-recrutez .features-grid {
        grid-template-columns: 1fr;
    }
}
 @media (max-width: 480px) {
    body { font-size: 14px; }
    .hero-recrutez .hero-content h1 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .hero-form-container {
        padding: 15px;
        max-width: 90%;
    }
     .hero-form-container .form-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    .hero-form-container .form-group label {
        font-size: 0.7rem;
    }
    .hero-form-container .form-group input {
        font-size: 0.8rem;
        padding: 7px 8px;
    }
    .hero-form-container .btn-form-submit {
        font-size: 0.85rem;
        padding: 9px;
    }
    .feature-item {
        padding: 20px 15px;
    }
    .feature-item .icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    .feature-item h4 {
        font-size: 1.1rem;
    }
    .faq-question {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    .faq-answer p {
        font-size: 0.8rem;
    }
     .faq-item.active .faq-answer {
        padding-bottom: 12px;
    }
}
