/* RESET & CORE CONFIGURATION */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2575FC;
    --secondary-color: #00F2FE;
    --dark-blue: #0F172A;
    --text-slate: #334155;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-slate);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark-blue);
}

h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.5px; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; letter-spacing: -0.3px; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: #475569; font-size: 1rem; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A56DB 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 117, 252, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 14px;
}

.btn-secondary:hover {
    background-color: #F0F6FF;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* NAVBAR & LOGO ULTRA-MODERNE COMPOSÉ */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* STRUCTURATIONS ET RENDU DU LOGO MEDICAL DESIGN */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.medical-logo-svg {
    width: 48px;
    height: 48px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(37, 117, 252, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-wrapper:hover .medical-logo-svg {
    transform: rotate(90deg);
}

.logo-typography {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    display: flex;
    align-items: baseline;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.brand-axi {
    color: var(--dark-blue);
}

.brand-soft {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #4FACFE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748B;
    margin-top: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-menu a {
    text-decoration: none;
    color: #64748B;
    margin-left: 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-menu .btn-nav {
    background: var(--dark-blue);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.nav-menu .btn-nav:hover {
    background: #1E293B;
    transform: translateY(-1px);
}

/* HERO SECTION */
.hero {
    padding: 100px 0;
    background: radial-gradient(100% 100% at 50% 0%, rgba(240, 244, 248, 0.5) 0%, #FFFFFF 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-text {
    flex: 1.1;
}

.hero-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
}

.hero-image svg {
    width: 100%;
    max-width: 440px;
    height: auto;
}

.badge {
    display: inline-block;
    background-color: #EFF6FF;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid #BFDBFE;
}

.hero-text p {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2.5rem;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header p {
    font-size: 1.15rem;
    color: #64748B;
}

/* SERVICES SECTION */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: flex;
    gap: 30px;
}

.service-card {
    flex: 1;
    background-color: var(--bg-white);
    padding: 45px 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #BFDBFE;
}

.service-icon {
    font-size: 2.75rem;
    margin-bottom: 24px;
}

/* AVANTAGES */
.avantages {
    padding: 100px 0;
}

.avantages-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 850px;
    margin: 0 auto;
}

.avantage-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.avantage-item:last-child {
    border-bottom: none;
}

.avantage-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #38BDF8;
    background: linear-gradient(135deg, #38BDF8, #2575FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* À PROPOS */
.apropos {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    text-align: center;
}

.apropos h2 {
    color: white;
    margin-bottom: 24px;
}

.apropos p {
    color: #94A3B8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
}

/* CONTACT FORM */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-container {
    display: flex;
    gap: 64px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.contact-details p {
    font-size: 1rem;
    margin-bottom: 16px;
}

.contact-form-container {
    flex: 1.2;
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 18px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: #475569;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark-blue);
    background-color: #F8FAFC;
    transition: all 0.2s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(37, 117, 252, 0.12);
}

.form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.form-checkbox input {
    margin-top: 5px;
    width: 16px;
    height: 16px;
}

.form-checkbox label {
    font-size: 0.82rem;
    line-height: 1.5;
    font-weight: 400;
}

/* FOOTER */
.footer {
    background-color: #0B0F19;
    color: #64748B;
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid #1E293B;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .hero-container, .contact-container {
        flex-direction: column;
        gap: 48px;
    }
    .services-grid {
        flex-direction: column;
    }
    .hero-text {
        text-align: center;
    }
    .hero-image {
        order: -1;
        max-width: 380px;
        margin: 0 auto;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 640px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .nav-menu {
        display: none;
    }
}