/* CLINIC_M/1/static/css/pages.css */

/* --- CONFIGURATION GÉNÉRALE --- */
:root {
    --primary: #0056b3;
    --text-dark: #2c3e50;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* --- HERO INTERNE (Bannière commune - Intouchée) --- */
.hero-internal {
    position: relative;
    height: 45vh; 
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-internal-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent; /* Pas de filtre sombre */
    z-index: 1;
}

.hero-internal-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    backdrop-filter: blur(0px); 
    border-radius: 20px;
}

.hero-internal-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8);
}

.hero-internal-content p {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 1;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.8);
}

/* --- UTILITAIRES (Manquants pour la mise en page) --- */
.section-spacing {
    padding: 80px 0;
}
.light-bg {
    background-color: var(--bg-light);
}
.text-center-block {
    max-width: 800px; margin: 0 auto; text-align: center;
}
.text-center-block h2 {
    font-size: 2.5rem; color: var(--primary); margin-bottom: 20px;
}
.lead-text {
    font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 25px;
}
.text-center-block p {
    color: var(--text-light); line-height: 1.8; margin-bottom: 15px;
}

/* --- CONTACT PAGE --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 25px; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-icon { font-size: 1.5rem; margin-right: 15px; }

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit;
}

.btn-submit {
    background: var(--primary); color: var(--white);
    padding: 15px 30px; border: none; border-radius: 8px;
    font-weight: 600; cursor: pointer; width: 100%; transition: background 0.3s;
}
.btn-submit:hover { background: #004494; }

.map-placeholder {
    width: 100%; height: 300px; background: #e5e5e5;
    border-radius: 20px; margin-top: 40px;
    display: flex; align-items: center; justify-content: center; color: #888;
}

/* --- SERVICES PAGE --- */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 50px;
}

.service-card {
    background: var(--white); padding: 40px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease; border: 1px solid #edf2f7; text-align: center;
}
.service-card:hover {
    transform: translateY(-10px); border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.1);
}

.service-icon-frame {
    width: 120px; height: 120px; margin: 20px auto;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.service-icon-img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover .service-icon-img { transform: scale(1.15); }

/* --- SPÉCIFIQUE ABOUT US (Ce qu'il te manquait) --- */

/* 1. Les Boîtes Mission & Vision */
.floating-wrapper {
    display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;
    margin-top: -30px; /* Petit chevauchement stylé */
    position: relative; z-index: 5;
}

.feature-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    flex: 1; min-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid var(--primary);
}
.feature-box h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.5rem; }
.feature-box p { color: var(--text-light); line-height: 1.6; }

/* 2. Mise en page Split (Image à gauche, Texte à droite) */
.split-layout {
    display: flex; align-items: center; gap: 60px;
}
.image-side, .text-side { flex: 1; }
.image-side img {
    width: 100%; border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    object-fit: cover;
}
.text-side h2 { color: var(--primary); font-size: 2.2rem; margin-bottom: 20px; }
.text-side p { color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }

/* 3. Liste à puces */
.benefits-list { list-style: none; margin-top: 20px; padding: 0; }
.benefits-list li {
    margin-bottom: 15px; color: var(--text-dark); font-weight: 600;
    display: flex; align-items: flex-start; gap: 10px;
}

/* --- MOBILE --- */
@media screen and (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .split-layout { flex-direction: column; }
    .image-side { order: -1; } /* Image au-dessus */
    .floating-wrapper { margin-top: 30px; }
}