/* ===== SERVICES PAGES OPTIMIZED STYLES ===== */

/* Import Manrope font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* Sections padding optimization */
section {
    padding: 3.5rem 0 !important;
}

/* Typography adjustments for services pages */
body {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
}

.hero-section {
    min-height: 60vh;
    padding: 100px 0 80px !important;
}

.cta-section {
    padding: 3rem 0 !important;
}

/* Hero Section */
.page-hero {
    position: relative;
    min-height: 60vh;
    padding: 120px 0 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-content h1 i {
    margin-right: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.hero-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
}

/* Benefits Section */
.benefits-section {
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.benefit-card-enhanced {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.benefit-icon-large {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.benefit-icon-large i {
    font-size: 2rem;
    color: white;
}

.benefit-card-enhanced h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.benefit-card-enhanced p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.benefit-highlight {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: inline-block;
}

/* Products Section */
.products-section {
    background: linear-gradient(180deg, var(--light-color) 0%, var(--white) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.product-card.featured {
    border-color: var(--primary-color);
}

/* Products hidden row & toggle button */
.products-hidden {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.products-hidden.visible {
    display: grid;
}

.products-toggle {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-voir-plus {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-voir-plus:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-voir-plus i {
    transition: transform 0.3s ease;
}

.btn-voir-plus.active i {
    transform: rotate(180deg);
}

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

@media (max-width: 968px) {
    .products-hidden {
        grid-template-columns: 1fr;
    }
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c61);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    z-index: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.08);
}

.product-icon i {
    font-size: 1.75rem;
    color: white;
}

.product-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.product-card > p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.product-price {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Case Studies - Reviews Wrapper Style */
/* Situations Concrètes Section */
.situations-section {
    background: var(--secondary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.situations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 60%);
    pointer-events: none;
}

.situations-section .section-header h2,
.situations-section .section-header p {
    color: white;
}

.situations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.situation-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.situation-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.2);
}

.situation-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: var(--accent-color);
}

.situation-problem {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.situation-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.situation-answer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.situation-answer-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.situation-answer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* FAQ Section */
.faq-section {
    background: var(--light-color);
}

.faq-container {
    max-width: 850px;
    margin: 2.5rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon i {
    color: white;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-size: 1.9rem;
    color: white;
    margin-bottom: 0.75rem;
}

.cta-content > p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.75rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-info {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero-stats,
    .benefits-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .situation-card {
        padding: 1.5rem;
    }
}
