/* Variables */
:root {
    --primary: #0ea5e9;
    --secondary: #06b6d4;
    --accent: #3b82f6;
    --dark: #0c4a6e;
    --light: #f0f9ff;
    --text: #1e293b;
    --shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

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

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.appointment-btn {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.appointment-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content > p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Stats */
.stats {
    padding: 4rem 0;
    background: white;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-card p {
    color: #666;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--light);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.2);
}

.service-card.featured {
    border: 3px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-card > p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.service-card ul li:last-child {
    border: none;
}

.service-card .price {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 1.5rem;
}

/* Équipe */
.equipe {
    padding: 6rem 0;
    background: white;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipe-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s;
}

.equipe-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.equipe-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.equipe-image i {
    font-size: 4rem;
    color: white;
}

.equipe-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.specialty {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.equipe-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.equipe-specialties {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.equipe-specialties span {
    background: white;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Urgences */
.urgences {
    padding: 4rem 0;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.urgences-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.urgences-icon {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.urgences-icon i {
    font-size: 5rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.urgences-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.urgences-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.urgences-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.urgence-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.urgence-btn.primary {
    background: white;
    color: #dc2626;
}

.urgence-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.urgence-btn:hover {
    transform: translateY(-3px);
}

/* Rendez-vous */
.rendez-vous {
    padding: 6rem 0;
    background: var(--light);
}

.rdv-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.rdv-info h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.rdv-info > p {
    color: #666;
    margin-bottom: 2rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
}

.info-card h4 {
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.rdv-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.rdv-form h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rdv-form input,
.rdv-form select,
.rdv-form textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.rdv-form input:focus,
.rdv-form select:focus,
.rdv-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--dark);
    transform: translateY(-3px);
}

.form-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.access-info {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.access-info h4 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.access-info p {
    color: #666;
    padding: 0.5rem 0;
}

.access-info i {
    color: var(--primary);
    margin-right: 10px;
}

.contact-infos h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
}

.contact-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-certif {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.2);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col ul li i {
    color: var(--primary);
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .appointment-btn {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .urgences-content,
    .rdv-wrapper,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
