/* ===========================================
   Zephyrea - Site Vitrine
   Styles personnalises (complement Bootstrap 5)
   =========================================== */

/* --- Variables CSS --- */
:root {
    --zeph-blue: #4a90e2;
    --zeph-blue-dark: #357abd;
    --zeph-green: #50e3c2;
    --zeph-green-dark: #3bc4a6;
    --zeph-light: #f8fafc;
    --zeph-gray: #6c757d;
    --zeph-dark: #2d3748;
    --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #50e3c2 100%);
    --gradient-light: linear-gradient(135deg, #e0f7f4 0%, #d6e6ff 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

/* --- Base --- */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--zeph-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--zeph-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--zeph-blue-dark);
}

/* --- Navbar --- */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-sm);
}

.navbar-brand img {
    height: 45px;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 38px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--zeph-dark) !important;
    padding: 0.5rem 0.75rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--zeph-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

.btn-espace-medecin {
    background: var(--zeph-blue);
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-espace-medecin:hover {
    background: var(--zeph-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-espace-medecin::after {
    display: none;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
    padding: 110px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(80, 227, 194, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zeph-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 br {
    display: none;
}

.hero .lead {
    font-size: 1.1rem;
    color: var(--zeph-gray);
    margin-bottom: 1.75rem;
    font-weight: 400;
}

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

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--zeph-blue);
}

.hero-stat .label {
    font-size: 0.75rem;
    color: var(--zeph-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* --- Buttons --- */
.btn-primary-zeph {
    background: var(--zeph-blue);
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-zeph:hover {
    background: var(--zeph-blue-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-zeph {
    border: 2px solid var(--zeph-blue);
    color: var(--zeph-blue);
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-zeph:hover {
    background: var(--zeph-blue);
    color: white;
}

/* --- Sections --- */
section {
    padding: 70px 0;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--zeph-dark);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--zeph-gray);
    text-align: center;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.bg-light-gradient {
    background: #eef6f5;
}

.bg-gray {
    background: #f0f4f8;
}

/* --- Cards Avantages --- */
.advantage-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.advantage-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f4fd 0%, #e0f7f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: var(--zeph-blue);
}

.advantage-card h4 {
    color: var(--zeph-dark);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--zeph-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Section Equipe --- */
.team-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.team-feature .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--zeph-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.team-feature h5 {
    color: var(--zeph-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.team-feature p {
    color: var(--zeph-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Section Equipements --- */
.equipment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
}

.equipment-list li:last-child {
    border-bottom: none;
}

.equipment-list li i {
    color: var(--zeph-green);
    font-size: 1rem;
    margin-top: 2px;
}

/* --- Cards Centres --- */
.centre-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.centre-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.centre-card .card-body {
    padding: 1.25rem;
}

.centre-card h4 {
    color: var(--zeph-dark);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.centre-card h4 i {
    color: var(--zeph-blue);
}

.centre-card .address {
    color: var(--zeph-gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.centre-card .badge-opening {
    background: var(--zeph-green);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.centre-card iframe {
    width: 100%;
    height: 180px;
    border: none;
}

/* --- Section Contact --- */
.contact-section {
    background: #eef6f5;
}

.contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-info {
    text-align: center;
    margin-bottom: 1.75rem;
}

.contact-info .phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zeph-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.form-control {
    border-radius: 8px;
    padding: 0.7rem 1rem;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--zeph-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* --- Footer --- */
.footer {
    background: var(--zeph-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 50px 0 25px;
}

.footer h5 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--zeph-green);
}

.footer p {
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   RESPONSIVE - Tablet
   =========================================== */
@media (max-width: 991px) {
    .hero {
        padding: 100px 0 50px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.75rem;
        box-shadow: var(--shadow-md);
    }

    .section-title {
        font-size: 1.6rem;
    }

    section {
        padding: 50px 0;
    }
}

/* ===========================================
   RESPONSIVE - Mobile
   =========================================== */
@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    /* Navbar mobile */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand img {
        height: 36px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 32px;
    }

    .navbar-collapse {
        padding: 0.75rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.5rem !important;
    }

    .btn-espace-medecin {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem !important;
    }

    /* Hero mobile */
    .hero {
        padding: 85px 0 40px;
        background: #f8fafc;
    }

    .hero::before {
        display: none;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.35;
    }

    .hero .lead {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
    }

    /* Boutons hero centres sur mobile */
    .hero .d-flex {
        justify-content: center;
    }

    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: var(--shadow-sm);
        justify-content: center;
    }

    .hero-stat .number {
        font-size: 1.5rem;
    }

    .hero-stat .label {
        font-size: 0.65rem;
    }

    /* Buttons mobile */
    .btn-primary-zeph,
    .btn-outline-zeph {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.85rem !important;
    }

    .d-flex.gap-3 {
        gap: 0.75rem !important;
        justify-content: center;
    }

    /* Sections mobile */
    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.75rem;
    }

    /* Cards avantages mobile */
    .advantage-card {
        padding: 1.25rem;
    }

    .advantage-card .icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .advantage-card h4 {
        font-size: 0.95rem;
    }

    .advantage-card p {
        font-size: 0.85rem;
    }

    /* Team features mobile */
    .team-feature {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .team-feature .icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
    }

    .team-feature h5 {
        font-size: 0.95rem;
    }

    .team-feature p {
        font-size: 0.85rem;
    }

    /* Equipment list mobile */
    .equipment-list li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }

    .equipment-list li i {
        font-size: 0.9rem;
    }

    /* Centre cards mobile */
    .centre-card iframe {
        height: 150px;
    }

    .centre-card .card-body {
        padding: 1rem;
    }

    .centre-card h4 {
        font-size: 0.95rem;
    }

    .centre-card .address {
        font-size: 0.85rem;
    }

    .centre-card .badge-opening {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Contact mobile */
    .contact-card {
        padding: 1.5rem;
    }

    .contact-info .phone {
        font-size: 1.25rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.65rem 0.9rem;
    }

    /* Footer mobile */
    .footer {
        padding: 35px 0 20px;
    }

    .footer h5 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .footer-links li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .footer p,
    .footer a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        margin-top: 1.75rem;
        padding-top: 1.25rem;
        font-size: 0.8rem;
    }

    /* Images mobile */
    .img-fluid.rounded-4 {
        border-radius: 10px !important;
    }

    /* Row gaps mobile */
    .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }

    /* Fade animations - less movement on mobile */
    .fade-in {
        transform: translateY(15px);
    }
}

/* ===========================================
   RESPONSIVE - Small Mobile
   =========================================== */
/* ===========================================
   PAGE MENTIONS LEGALES
   =========================================== */
.legal-page {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--zeph-dark);
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--zeph-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.legal-section h2 i {
    font-size: 1.1rem;
}

.legal-section p {
    color: var(--zeph-gray);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    color: var(--zeph-gray);
    padding-left: 1.25rem;
}

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

.legal-section a {
    color: var(--zeph-blue);
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .legal-page {
        padding: 100px 0 40px;
    }

    .legal-page h1 {
        font-size: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.1rem;
    }

    .legal-section p,
    .legal-section ul {
        font-size: 0.9rem;
    }
}

/* ===========================================
   RESPONSIVE - Small Mobile
   =========================================== */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.35rem;
    }

    .hero .lead {
        font-size: 0.85rem;
    }

    .hero-stat .number {
        font-size: 1.35rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .btn-primary-zeph,
    .btn-outline-zeph,
    .btn-lg {
        font-size: 0.8rem !important;
        padding: 0.55rem 1rem !important;
    }
}
