/* ===== Base & Palette "Médicale & Sérieuse" ===== */
:root {
    --color-primary: #1A365D;       /* Bleu nuit profond, très institutionnel */
    --color-primary-light: #EBF4FF;
    --color-secondary: #276749;     /* Vert forêt sobre, médical */
    --color-secondary-dark: #22543D;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F7FAFC;
    --color-text: #2D3748;
    --color-muted: #718096;
    --color-border: #E2E8F0;
    --color-error: #C53030;
    
    /* Typographie */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius: 4px;                  /* Coins moins arrondis = plus sérieux */
    --radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 24px rgba(26, 54, 93, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px; /* Texte un peu plus grand pour la lisibilité */
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-secondary); }

/* Typographie spécifique */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
    margin: 0 0 1.25rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 3rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.5rem; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; }

/* ===== Header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; z-index: 90;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.logo-img { height: 60px; width: auto; } /* Logo un peu plus grand pour asseoir l'autorité */
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    font-size: 0.95rem; font-weight: 600; color: var(--color-text);
    position: relative; padding: 0.35rem 0;
    text-transform: uppercase; letter-spacing: 0.05em; /* Effet plus formel */
}
.nav-links a.active, .nav-links a:hover { color: var(--color-primary); }
.nav-links a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--color-secondary);
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); margin: 5px 0; }

/* ===== Action bar ===== */
.action-bar {
    position: sticky; top: 76px; z-index: 80;
    display: flex; justify-content: center; gap: 1rem; padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}
.btn-call, .btn-appointment {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; border-radius: var(--radius);
    font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
    text-decoration: none; border: 0; cursor: pointer; transition: 0.2s;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.btn-call { background: var(--color-primary-light); color: var(--color-primary); }
.btn-call:hover { background: #D6E4F0; }
.btn-appointment { background: var(--color-secondary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-appointment:hover { background: var(--color-secondary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-large { padding: 1rem 2.25rem; font-size: 1rem; }

/* ===== Hero & Sections ===== */
.hero { padding: 6rem 1.5rem 5rem; text-align: center; background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-eyebrow { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-secondary); margin-bottom: 1rem; }
.lead { font-family: var(--font-body); font-size: 1.25rem; color: var(--color-muted); margin: 0 auto 2.5rem; max-width: 700px; line-height: 1.6; }

.page-header { background: var(--color-bg-alt); padding: 4rem 1.5rem; text-align: center; border-bottom: 1px solid var(--color-border); }
.content-section { padding: 5rem 1.5rem; }

/* Split Layout */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.split-image .img-rounded { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; border: 1px solid var(--color-border); }
.image-feature { margin: 3rem 0; text-align: center; }
.image-feature .img-rounded { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-height: 450px; object-fit: cover; }
.image-feature figcaption { font-size: 0.9rem; color: var(--color-muted); margin-top: 1rem; font-style: italic; }

/* ===== Formulaire Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.contact-form-wrap { background: #fff; padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.contact-form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-form input, .contact-form textarea {
    padding: 0.85rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius);
    font-family: var(--font-body); font-size: 1rem; background: var(--color-bg-alt); transition: 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--color-secondary); background: #fff; box-shadow: 0 0 0 3px rgba(39, 103, 73, 0.15);
}
.form-honey { position: absolute; left: -9999px; opacity: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--color-primary); color: #A0AEC0; padding: 4rem 1.5rem 2rem; }
.footer-content { max-width: 1140px; margin: 0 auto; display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 3rem; }
.footer-col h3 { color: #fff; font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 1.25rem; }
.footer-col a { display: block; color: #A0AEC0; padding: 0.35rem 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-copy { max-width: 1140px; margin: 2rem auto 0; text-align: center; font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .split-layout, .contact-grid, .form-row { grid-template-columns: 1fr; gap: 2rem; }
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1.5rem; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--color-border); }
    .nav-links.open { display: flex; }
    .action-bar { top: 68px; }
}
@media (max-width: 600px) {
    .action-bar { flex-direction: column; padding: 0.75rem; top: 64px; }
    .action-bar .btn-call, .action-bar .btn-appointment { width: 100%; justify-content: center; }
    .logo-img { height: 45px; }
    .btn-large { width: 100%; text-align: center; justify-content: center; }
}