/* ===========================
   Services Page Specific Styles
   =========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0;
}

/* Pricing Overview Section */
.pricing-overview-section {
    padding: 4rem 0 2rem; /* Add top padding to separate from header */
    background: white;
    text-align: center; /* Center the content */
}

.pricing-overview-section h2 {
    margin-bottom: 1rem;
}

/* Services Detail Section */
.services-detail {
    padding: 4rem 0;
    background: var(--bg-light);
}

.service-section {
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.service-section:last-child {
    margin-bottom: 0;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

/* Services Table */
.services-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.services-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.services-table thead {
    background: var(--bg-light);
}

.services-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.services-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.services-table td.no-wrap {
    white-space: nowrap;
}

/* Largeurs de colonnes harmonisées */
.services-table th:nth-child(1),
.services-table td:nth-child(1) {
    width: 25%;
}

.services-table th:nth-child(2),
.services-table td:nth-child(2) {
    width: 60%;
}

.services-table th:nth-child(3),
.services-table td:nth-child(3) {
    width: 15%;
    text-align: center;
}

.services-table tbody tr:hover {
    background: rgba(129, 230, 217, 0.05);
}

.services-table strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Service Benefits */
.service-benefits {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.service-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-benefits ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits li {
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.service-benefits li::before {
    content: "";
}

.service-benefits li strong {
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.service-benefits li strong::after {
    content: "";
    display: inline-block;
    width: 0.5rem;
}

/* Desktop: 2 colonnes pour meilleure lisibilité */
@media (min-width: 769px) {
    .service-benefits ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2.5rem;
    }

    .service-benefits li {
        padding: 0.75rem 0;
    }
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 3rem;
}

.services-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.services-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .service-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-top: -1rem;
    }

    .services-table {
        font-size: 0.9rem;
        margin: 1.5rem 0;
    }

    .services-table table {
        min-width: 600px;
        font-size: 0.85rem;
    }

    .services-table th,
    .services-table td {
        padding: 0.65rem 0.4rem;
        font-size: 0.8rem;
    }

    .services-table {
        -webkit-overflow-scrolling: touch;
    }

    .service-benefits {
        padding: 1.5rem;
    }

    .services-cta {
        padding: 2rem 1.5rem;
    }

    .services-cta h2 {
        font-size: 1.4rem;
    }

    .cta-buttons {
        gap: 0.75rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }

    .page-header p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .service-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .section-intro {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .services-table table {
        min-width: 500px;
    }

    .services-table th,
    .services-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .service-benefits {
        padding: 1.25rem;
    }

    .service-benefits ul {
        gap: 1rem;
    }

    .service-benefits li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .service-benefits li strong {
        display: block;
        margin-bottom: 0.25rem;
        white-space: normal;
    }

    .services-cta {
        padding: 1.75rem 1.25rem;
    }

    .services-cta h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .services-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }

    .cta-buttons .btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Très petits écrans (320px) */
@media (max-width: 360px) {
    .page-header {
        padding: 1.75rem 0.75rem;
    }

    .page-header h1 {
        font-size: 1.35rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .service-section {
        padding: 1.25rem 0.75rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .services-table table {
        min-width: 100%;
    }

    .services-table th,
    .services-table td {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }

    .service-benefits {
        padding: 1rem;
    }

    .service-benefits li {
        font-size: 0.85rem;
    }

    .services-cta {
        padding: 1.5rem 1rem;
    }

    .services-cta h2 {
        font-size: 1.15rem;
    }

    .cta-buttons .btn {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }
}