:root {
    --primary-color: #044CF3;
    --primary-hover: #0238b6;
    --secondary-color: #FB641C;
    --text-color: #1D1D1D;
    --light-text: #627C89;
    --bg-light: #F9FAFB;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f2fdff;
    /* Matches about page hero start color */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Unified Hero Background */
.hero-absolute-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    background: linear-gradient(135deg, #EFF6FC 0%, #FFFFFF 100%);
    z-index: -1;
}

/* Welcome Bar */
.welcome-bar {
    background: linear-gradient(90deg, #044CF3, #0238b6);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1002;
}

/* Header Wrapper */
.layout-header-container {
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
}

.header-wrapper {
    background: transparent;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.header-wrapper.scrolled {
    background: transparent;
    box-shadow: none;
}

.welcome-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.close-welcome {
    position: absolute;
    right: 0;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

/* Info Bar (Socials + Audience) */
.info-bar {
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 1001;
    /* Transparent as requested */
}

.info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.top-socials a {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 16px;
    transition: all 0.3s;
}

.top-socials a:hover {
    color: #E1306C;
    transform: translateY(-2px);
}

.top-audience a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.top-audience a:hover {
    color: var(--primary-color);
}

.top-audience .slash {
    color: #ccc;
    margin: 0 5px;
}

/* Header Styles */
.main-header {
    background: #ffffff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 10px auto;
    width: calc(100% - 40px);
    max-width: 1200px;
    padding: 12px 0;
    border-radius: 20px;
    /* Soft rounded corners */
}





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

.logo img {
    max-height: 50px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

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

.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column !important;
    gap: 0 !important;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
}

.submenu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.has-submenu a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.has-submenu a i {
    font-size: 10px;
    margin-left: 8px;
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
}

.mobile-nav-action {
    display: none;
}

@media (max-width: 992px) {
    .mobile-nav-action {
        display: block;
        border-top: 1px solid #eee;
        padding-top: 15px;
        margin-top: 5px;
    }

    .mobile-nav-action a {
        color: var(--primary-color) !important;
        font-weight: 700 !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .info-content {
        justify-content: center;
        text-align: center;
    }

    .top-audience {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .top-audience .separator {
        display: none;
    }

    .main-header {
        width: calc(100% - 20px);
        margin: 5px auto;
        padding: 8px 0;
    }

    .logo img {
        max-height: 40px;
    }
}

/* Hero Section */
.hero-section {
    padding: 40px 0 60px;
    /* Drastically reduced top padding */
    background: transparent;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    /* Changed ratio to give significantly more space to content (buttons) */
    grid-template-columns: 1.2fr 0.8fr;
    /* Gave more space back to image (was 1.3fr 0.7fr) */
    align-items: flex-start;
    /* Aligned to the top of the image height */
    gap: 20px;
}

.hero-content {
    flex: 1;
    /* Removed right padding so it uses full width of its column */
    padding-right: 0;
    padding-top: 50px;
    /* Adjusting the text height to align aesthetically with the image */
}

.hero-title {
    font-size: 7rem;
    /* Massive text requested */
    font-weight: 800;
    line-height: 1.1;
    /* Tighter line height for larger text */
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content .highlight {
    background: linear-gradient(to right, var(--primary-color), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    /* Larger subtitle */
    line-height: 1.5;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Responsive adjustments for massive hero text */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

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

    .hero-subtitle {
        font-size: 1.4rem;
    }
}

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

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline {
    background-color: var(--secondary-color);
    color: white;
}

.btn-outline:hover {
    background-color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Trust Section */
.trust-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.trust-section .section-header h2 {
    font-size: 1.5rem;
    /* Reduced size */
    color: var(--light-text);
    /* Softer color */
}

.partners-grid {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin-top: 20px;
    background: transparent;
    padding: 20px 0;
    border-radius: 12px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.partners-grid:hover .partners-track {
    animation-play-state: paused;
}

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

/* Utilities */
.text-center {
    text-align: center !important;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    /* Don't shrink too much */
}

.partner-item img {
    height: 40px;
    /* Specific height control */
    width: auto;
    object-fit: contain;
    /* Removed grayscale filter */
    opacity: 1;
}


/* Custom Button Styles */
.btn-dark-blue,
.btn-primary-custom,
.btn-orange-custom {
    background-color: #45485f !important;
    /* Default fallback */
    color: white !important;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
}

.btn-dark-blue {
    background-color: #45485f !important;
}

.btn-primary-custom {
    background-color: var(--primary-color) !important;
    /* Uses primary blue */
}

.btn-orange-custom {
    background-color: #00BFB3 !important;
    /* Teal/Turquoise matching the icon */
}

.btn-dark-blue:hover,
.btn-primary-custom:hover,
.btn-orange-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.btn-hero-devis {
    background-color: #45485F !important;
    /* Force Dark Blue */
    color: white !important;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-devis:hover {
    background-color: #2c2e3e !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* Ensure Sectors Header is Centered */
.sectors-section .section-header h2 {
    text-align: center !important;
    width: 100%;
    display: block;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    margin-top: 0;
    /* Removing negative margin for cleaner flow */
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Standard stacked alignment */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stat-number {
    font-size: 40px;
    /* Restored size */
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: var(--light-text);
    font-weight: 500;
}

/* Specific breaks might be needed if they don't wrap largely enough */
.stat-item {
    padding: 0;
}

/* Particulier Section */
.section-particulier {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #45485F;
}

.section-subtitle {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 40px;
}

/* Switch Custom Styles */
.hero-switch-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.switch-label {
    font-weight: 600;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
}

.switch-label.active {
    color: var(--primary-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/* CTA Sections (Full Width) */
.cta-section {
    padding: 100px 0;
    color: white;
    overflow: hidden;
    position: relative;
}

.cta-particulier {
    background: linear-gradient(135deg, #F2994A 0%, #D9534F 100%);
    /* Orange Gradient */
}

.cta-recruteur {
    background: linear-gradient(135deg, #1D1D1D 0%, #45485f 100%);
    /* Dark Theme */
}

.cta-prestataire {
    background: linear-gradient(135deg, #044CF3 0%, #0238b6 100%);
    /* Blue Theme */
}

.cta-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 2;
    position: relative;
}

.cta-section .container.reverse {
    flex-direction: row-reverse;
}

.cta-content {
    flex: 1;
    max-width: 600px;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.cta-section .container.reverse .cta-image img {
    transform: perspective(1000px) rotateY(10deg);
}

.cta-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.cta-content .tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content .subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.cta-checkmarks {
    list-style: none;
    margin-bottom: 40px;
}

.cta-checkmarks li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-checkmarks i {
    color: white;
    /* Or specific accent color */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 5px;
    font-size: 0.8em;
}

/* Info Section Redesign */
.info-section-redesign {
    padding: 100px 0;
    background: url('../images/blob.svg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
}

.info-card {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.info-text h2 {
    font-size: 2.5rem;
    color: #45485f;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat strong {
    display: block;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat span {
    color: #888;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Testimonials Slider */
.testimonials-section {
    padding: 80px 0;
    background-color: #ffff;
}

.testimonials-slider-container {
    max-width: 1200px;
    /* Widened for 3 cards */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

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

@media (max-width: 992px) {
    .testimonials-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}



.testimonials-wrapper {
    position: relative;
    min-height: 350px;
    /* Force height */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transform: translateX(50px);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    text-align: center;
    border: 1px solid #f0f0f0;
}

.quote-icon {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.user-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.user-details h4 {
    margin: 0;
    color: #1d1d1d;
    font-size: 1.1rem;
}

.user-details span {
    color: #888;
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-arrow {
    background: white;
    border: 1px solid #eee;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #45485f;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .cta-section .container {
        flex-direction: column;
        text-align: center;
    }

    .cta-section .container.reverse {
        flex-direction: column;
    }

    .cta-image {
        order: -1;
        /* Image on top on mobile */
        margin-bottom: 40px;
    }

    .cta-image img {
        transform: none !important;
    }

    .cta-checkmarks li {
        justify-content: center;
    }
}

padding: 20px;
margin-bottom: 30px;
width: 100%;
/* Widened */
max-width: 600px;
/* Increased max-width */
backdrop-filter: blur(5px);
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    /* Gold */
}

.request-item {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease;
}

.request-info strong {
    display: block;
    color: var(--secondary-color);
}

.request-time {
    font-size: 11px;
    color: #999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .info-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-wrapper {
        padding-bottom: 10px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #eee;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        display: none;
        /* Hide buttons on mobile for simplicity, or move them into nav */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-buttons,
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn,
    .hero-actions .btn {
        width: 100%;
        max-width: 350px;

    }
}

/* Corrected Mobile Media Query */
@media (max-width: 992px) {

    /* Mobile Menu Items */
    .mobile-only {
        display: block;
        padding-top: 15px;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }

    .header-actions {
        display: none;
        /* Hide desktop button */
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero Mobile Stacking layout */
    .hero-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-content {
        order: 1;
        /* Text first */
        padding-right: 0;
        width: 100%;
    }

    .hero-image {
        order: 2;
        /* Image second */
        width: 100%;
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .hero-title {
        font-size: 3.5rem;
        /* Reduced for mobile */
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 20px 0;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }

    /* Keep 4 columns even on very small screens if requested, implies horizontal scroll or squeeze */
    /* User said "aligne les 4 sur une ligne", usually implies NO wrapping */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Profiles Section */
.profiles-section {
    padding: 80px 0;
    background-color: #F9FAFB;
}

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

.profile-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-icon {
    width: 80px;
    height: 80px;
    background: #EFF6FC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.profile-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.profile-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.profile-card p {
    color: var(--light-text);
}

.profile-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sectors Section */
.sectors-section {
    padding: 80px 0;
}

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

.sector-item {
    background: white;
    padding: 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.sector-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.sector-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.sector-item span {
    font-weight: 600;
    font-size: 18px;
}

/* Decorative Section */
.decorative-section img {
    width: 100%;
    display: block;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background-color: #F9FAFB;
}

.info-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.info-content {
    flex: 1;
}

.info-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.info-content .subtitle {
    color: var(--light-text);
    font-size: 18px;
    margin-bottom: 20px;
}

.info-image {
    flex: 1;
}

.info-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

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

.blog-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .blog-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid-4 {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Store behavior: contain to show full image, cover to fill */
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 14px;
    color: var(--light-text);
    display: block;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
}

/* Mobile Responsive Updates */
@media (max-width: 992px) {

    .profiles-grid,
    .sectors-grid,
    .info-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .info-grid {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 10px !important;
    }
    .hero-content {
        padding-top: 10px !important;
    }
}

/* Main Footer */
.main-footer {
    background-color: white;
    padding: 60px 0 0 0;
    margin-top: 100px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

.footer-logo {
    max-height: 70px;
    margin-bottom: 25px;
}

.footer-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-trust-badge {
    margin-top: 15px;
}

.footer-trust-badge .stars {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-trust-badge p {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    font-size: 16px;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
    background: #fcfcfc;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

/* FAQ Accordion Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #45485f;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background-color: #fcfcfc;
    color: var(--primary-color);
}

.faq-question .toggle-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: #ccc;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid #f9f9f9;
    color: var(--secondary-color);
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
    /* Large enough for most answers */
}

.faq-answer p {
    color: #627C89;
    line-height: 1.6;
    margin: 0;
}

/* Devis Widget Styles */
.devis-widget-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.devis-widget-header {
    text-align: center;
    margin-bottom: 2rem;
}

.devis-widget-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.devis-widget-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.devis-widget-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.devis-widget-view-all:hover {
    background: var(--primary-hover);
}

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

@media (max-width: 768px) {
    .devis-grid {
        grid-template-columns: 1fr;
    }
}

.devis-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.devis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.devis-card-header {
    margin-bottom: 1rem;
}

.devis-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
    line-height: 1.3;
}

.devis-card-category {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.devis-card-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.devis-card-body {
    flex: 1;
    margin-bottom: 1rem;
}

.devis-card-description {
    font-size: 0.95rem;
    color: #6b7280;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.devis-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.devis-card-date {
    font-size: 0.75rem;
    color: #6b7280;
}

.devis-card-urgency {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.devis-urgency-normal {
    background: #e5e7eb;
    color: #4b5563;
}

.devis-urgency-urgent {
    background: #fef2f2;
    color: #dc2626;
}

.devis-widget-loading,
.devis-widget-error {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.125rem;
    color: #6b7280;
}

.devis-widget-error {
    color: #dc2626;
}

.devis-slider-container {
    display: none;
    position: relative;
}

@media (max-width: 768px) {
    .devis-slider-container {
        display: block;
    }

    .devis-grid {
        display: none;
    }
}

.devis-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    gap: 1rem;
    display: flex;
}

.devis-slider::-webkit-scrollbar {
    height: 8px;
}

.devis-slider::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.devis-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.devis-slide {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

/* Devis Widget Slider (Mobile) - ID specific */
#devisSlider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 20px;
}

#devisSlider::-webkit-scrollbar {
    height: 6px;
}

#devisSlider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#devisSlider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Comment ça marche - Step Items */
.step-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    /* Force shadow */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12) !important;
}

/* Growth & CTA Section - Premium Redesign */
.growth-cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.growth-cta-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.growth-header {
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.growth-header h2 {
    font-size: 3rem;
    color: #1a202c;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.growth-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    display: inline-block;
    padding: 5px 20px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50px;
}

.growth-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    max-width: 750px;
    margin: 0 auto;
}

.stat-row-simple {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item-simple {
    background: white;
    padding: 20px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    min-width: 160px;
    transition: transform 0.3s ease;
}

.stat-item-simple:hover {
    transform: translateY(-5px);
}

.stat-item-simple strong {
    display: block;
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 5px;
}

.stat-item-simple span {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dual-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: white;
    padding: 60px 45px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.07);
    border-color: var(--primary-color);
}

.cta-card-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.enterprise-card .cta-card-icon {
    background: #f1f5f9;
    color: #45485f;
}

.freelancer-card .cta-card-icon {
    background: #f0fdfd;
    color: #00BFB3;
}

.cta-card:hover .cta-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.cta-card h3 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-card h3 small {
    display: block;
    font-size: 1.1rem;
    color: #718096;
    font-weight: 500;
    margin-top: 10px;
}

.cta-card p {
    color: #4a5568;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.growth-footer {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px dashed #e2e8f0;
}

.growth-footer p {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 20px;
}

.highlight-text {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.4rem;
}

.growth-footer h3 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-top: 30px;
    font-weight: 800;
}

@media (max-width: 992px) {
    .dual-cta-grid {
        grid-template-columns: 1fr;
    }

    .growth-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .growth-cta-section {
        padding: 60px 0;
    }

    .stat-row-simple {
        gap: 20px;
    }

    .stat-item-simple {
        min-width: 140px;
        padding: 15px 20px;
    }

    .cta-card {
        padding: 40px 25px;
    }

    .growth-footer {
        padding: 30px 20px;
    }

    .growth-footer h3 {
        font-size: 1.8rem;
    }
}

/* Particulier Page How-It-Works Grid */
.particulier-steps-grid {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

.particulier-steps-grid .step-item {
    display: flex;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    height: 100%;
}

.particulier-steps-grid .step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.particulier-steps-grid .step-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.particulier-steps-grid .step-item.full-width {
    grid-column: span 2;
}

/* Responsive for Particulier Grid */
@media (max-width: 768px) {
    .particulier-steps-grid {
        grid-template-columns: 1fr;
    }

    .particulier-steps-grid .step-item.full-width {
        grid-column: auto;
    }
}
@media (max-width: 600px) {
    .testimonials-slider-container {
        padding: 0 !important;
        margin: 0 -15px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .testimonials-slider-container::-webkit-scrollbar {
        display: none !important;
    }
    .testimonials-wrapper {
        display: flex !important;
        flex-direction: row !important;
        min-height: auto !important;
        width: max-content !important;
    }
    .testimonial-slide {
        position: relative !important;
        flex: 0 0 calc(100vw - 30px) !important;
        width: calc(100vw - 30px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        scroll-snap-align: center !important;
        padding: 0 15px !important;
        height: auto !important;
    }
    .testimonials-grid-3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    .testimonial-content {
        padding: 25px !important;
        width: auto !important;
        margin: 0 !important;
    }
    .slider-controls {
        display: flex !important;
        margin-top: 20px !important;
    }
}
