/* --- Styles spécifiques au site public --- */

/* Hero Section (Accueil & Pages) */
.hero-section {
    padding: 4rem 1rem;
    width: 100%;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.hero-section a{
    margin: 2rem 2rem;
}

/* Grille et Cartes Produits */
.products-section {
    padding: 2rem 0;
    width: 100%;
}

.card {
    background-color: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color, #212529);
}

.card p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.card .btn-primary {
    align-self: flex-start;
}

/* --- Styles de la page Tarifs --- */
.pricing-section {
    padding: 2rem 0;
}

.pricing-card {
    text-align: left;
    position: relative;
}

.pricing-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color, #0d6efd);
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: #198754; /* Vert succès */
}

/* Offre mise en avant */
.pricing-featured {
    border: 2px solid var(--primary-color, #0d6efd);
    transform: scale(1.02);
}

.badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background-color: var(--primary-color, #0d6efd);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
}

/* --- Styles de la page Contact et formulaires --- */
.contact-section {
    padding: 2rem 0;
}

.contact-card {
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color, #212529);
}

.form-control {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 6px;
    background-color: var(--card-bg, #ffffff);
    color: var(--text-color, #212529);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color, #0d6efd);
}

/* Alertes succès / erreur */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* --- Styles des pages Légales / Confidentialité --- */
.legal-section {
    padding: 1rem 0 3rem 0;
}

.legal-card {
    text-align: left;
    line-height: 1.6;
}

.legal-card h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color, #0d6efd);
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card p {
    margin-bottom: 1rem;
}