:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-dark: #0e2f44;
    --secondary: #27ae60;
    --secondary-light: #2ecc71;
    --accent: #e74c3c;
    --bg-light: #f8fafb;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #6b7c93;
    --border: #e1e8ed;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
}

.navbar-brand .logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.1rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.navbar-menu .btn-pro {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.2rem;
}

.navbar-menu .btn-pro:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 2rem 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-info-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.hero-info-item span {
    font-size: 0.95rem;
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* ===== PROFESSIONALS ===== */
#professionnels {
    background: var(--bg-white);
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pro-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pro-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pro-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.pro-avatar.medecin { background: linear-gradient(135deg, #3498db, #2980b9); }
.pro-avatar.infirmier { background: linear-gradient(135deg, #27ae60, #229954); }
.pro-avatar.kine { background: linear-gradient(135deg, #e67e22, #d35400); }
.pro-avatar.pharmacien { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.pro-avatar.dentiste { background: linear-gradient(135deg, #1abc9c, #16a085); }
.pro-avatar.sage-femme { background: linear-gradient(135deg, #e91e63, #c2185b); }
.pro-avatar.podologue { background: linear-gradient(135deg, #ff9800, #f57c00); }
.pro-avatar.orthophoniste { background: linear-gradient(135deg, #00bcd4, #0097a7); }
.pro-avatar.dieteticien { background: linear-gradient(135deg, #8bc34a, #689f38); }
.pro-avatar.ophtalmologue { background: linear-gradient(135deg, #607d8b, #455a64); }
.pro-avatar.chirurgien { background: linear-gradient(135deg, #f44336, #d32f2f); }

.pro-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
}

.pro-card .pro-specialty {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pro-card .pro-details {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== SERVICES ===== */
#services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-icon.blue { background: #ebf5fb; color: var(--primary-light); }
.service-icon.green { background: #eafaf1; color: var(--secondary); }
.service-icon.orange { background: #fef5e7; color: #e67e22; }
.service-icon.purple { background: #f4ecf7; color: #9b59b6; }

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-card .service-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== MISSIONS ===== */
#missions {
    background: var(--bg-white);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

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

.mission-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.mission-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.mission-card .mission-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(26, 82, 118, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== PARTNERS ===== */
#partenaires {
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.partner-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.partner-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.partner-card h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.partner-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== PRO ACCESS ===== */
#acces-pro {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

#acces-pro .section-header h2 { color: white; }
#acces-pro .section-header p { color: rgba(255, 255, 255, 0.8); }
#acces-pro .section-header .section-line { background: linear-gradient(90deg, var(--secondary-light), white); }

.pro-access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.pro-access-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pro-access-info p {
    opacity: 0.85;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pro-access-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pro-access-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.pro-access-features li i {
    color: var(--secondary-light);
}

.pro-access-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pro-access-form h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    opacity: 0.9;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-group input:focus {
    outline: none;
    border-color: var(--secondary-light);
    background: rgba(255, 255, 255, 0.12);
}

.btn-login {
    width: 100%;
    padding: 0.85rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.form-link {
    text-align: center;
    margin-top: 1rem;
}

.form-link a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
}

.form-link a:hover { color: white; }

/* ===== HORAIRES SECTION ===== */
#horaires {
    background: var(--bg-white);
}

.horaires-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.horaires-table tr {
    border-bottom: 1px solid var(--border);
}

.horaires-table td {
    padding: 0.85rem 0;
    font-size: 0.95rem;
}

.horaires-table td:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.horaires-table td:last-child {
    text-align: right;
    color: var(--text-muted);
}

.horaires-table .ferme {
    color: var(--accent);
    font-weight: 500;
}

.contact-info-box {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
}

.contact-info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.contact-item .contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-item .contact-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 0.25rem;
    }

    .navbar-menu.active { display: flex; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .pro-access-content { grid-template-columns: 1fr; }
    .horaires-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero { padding: 120px 1.5rem 60px; }
    .hero h1 { font-size: 1.8rem; }
    .section { padding: 60px 1.5rem; }
    .pro-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .btn { justify-content: center; }
}
