/* Styles pour la page des offres d'abonnement */

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Section "Pourquoi être présent" */
.why-section {
    margin-bottom: 3rem;
}

.why-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.why-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.why-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.why-text h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-text p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

/* Section des offres */
.offers-section {
    margin-bottom: 4rem;
}

.offers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Cartes des offres */
.offer-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.offer-card.premium {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.offer-card.premium:hover {
    transform: translateY(-5px) scale(1.05);
}

.offer-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom-left-radius: 8px;
}

/* En-tête de l'offre */
.offer-header {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.offer-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.offer-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.offer-billing {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Caractéristiques de l'offre */
.offer-features {
    padding: 1.5rem;
    flex-grow: 1;
}

.offer-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem;
}

.offer-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Pied de l'offre */
.offer-footer {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.offer-footer .btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
}

/* Tableau comparatif */
.offers-comparison {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    overflow-x: auto;
}

.offers-comparison h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
}

.offers-table {
    width: 100%;
    border-collapse: collapse;
}

.offers-table th, .offers-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.offers-table th {
    background-color: var(--light-bg);
    font-weight: 600;
}

.offers-table th:first-child, .offers-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.offers-table tr:last-child td {
    border-bottom: none;
}

.check {
    color: var(--success);
    font-weight: bold;
}

.cross {
    color: var(--text-light);
}

/* Section d'authentification */
.auth-section {
    text-align: center;
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.auth-section h3 {
    margin-top: 0;
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Section de contact */
.contact-section {
    text-align: center;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.contact-section h3 {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .offers-container {
        flex-direction: column;
        align-items: center;
    }
    
    .offer-card {
        width: 100%;
        max-width: 400px;
    }
    
    .offer-card.premium {
        transform: none;
        order: -1;
    }
    
    .offer-card.premium:hover {
        transform: translateY(-5px);
    }
    
    .offers-table th, .offers-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}
