/* ==========================================================
   Sameline Santé : charte "soin"
   Blanc chaud, vert d'eau / teal apaisant, titres serif doux,
   formes arrondies, beaucoup d'air. Rien de clinique ni de rouge.
   ========================================================== */

:root {
    --s-bg:        #fbfaf7;   /* blanc chaud */
    --s-white:     #ffffff;
    --s-mint:      #eaf4f1;   /* vert d'eau très clair */
    --s-mint-2:    #d4ebe5;
    --s-line:      #e6e9e4;
    --s-text:      #25322f;
    --s-muted:     #5f6f6b;
    --s-teal:      #0f6e66;   /* couleur principale */
    --s-teal-2:    #138a7f;
    --s-teal-dark: #0b4f4a;
    --s-sky:       #3d7fb3;   /* rappel bleu Sameline, discret */
    --s-sand:      #f4ede2;
    --s-shadow:    0 1px 2px rgba(15, 79, 74, 0.05), 0 10px 30px -14px rgba(15, 79, 74, 0.22);
    --s-radius:    18px;
    --s-serif:     'Lora', Georgia, 'Times New Roman', serif;
    --s-sans:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body.sante {
    background: var(--s-bg);
    color: var(--s-text);
    font-family: var(--s-sans);
    font-size: 1.02rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.sante a { color: var(--s-teal); }
body.sante a:hover { color: var(--s-teal-dark); }

.sante h1, .sante h2, .sante h3 { font-family: var(--s-serif); color: var(--s-teal-dark); font-weight: 600; letter-spacing: -0.01em; }
.sante h4, .sante h5 { color: var(--s-teal-dark); font-weight: 600; }

.s-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--s-teal-2);
    margin-bottom: 0.7rem;
}
.s-title { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 0.8rem; }
.s-lead { color: var(--s-muted); font-size: 1.08rem; max-width: 720px; }
.text-s-muted { color: var(--s-muted) !important; }
.text-s-teal { color: var(--s-teal) !important; }

/* ---------- Navbar ---------- */
.s-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--s-line);
    padding: 0.65rem 0;
}
.s-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--s-teal-dark) !important; font-weight: 700; font-size: 1.15rem; }
.s-brand img { width: 34px; height: 34px; }
.s-brand .badge-sante {
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.03em;
    color: var(--s-teal); background: var(--s-mint);
    border: 1px solid var(--s-mint-2);
    border-radius: 999px; padding: 0.12rem 0.6rem;
}
.s-nav .nav-link { color: var(--s-muted) !important; font-size: 0.94rem; font-weight: 500; padding: 0.5rem 0.85rem !important; }
.s-nav .nav-link:hover { color: var(--s-teal-dark) !important; }

/* ---------- Boutons ---------- */
.btn-s {
    background: var(--s-teal); color: #fff !important; border: 1px solid var(--s-teal);
    font-weight: 600; border-radius: 999px; padding: 0.7rem 1.5rem;
    transition: background .2s, box-shadow .2s;
}
.btn-s:hover { background: var(--s-teal-dark); box-shadow: 0 0 0 4px rgba(15, 110, 102, 0.15); }
.btn-s-light {
    background: #fff; color: var(--s-teal-dark) !important; border: 1px solid #fff;
    font-weight: 600; border-radius: 999px; padding: 0.7rem 1.5rem;
}
.btn-s-light:hover { background: var(--s-mint); }
.btn-s-ghost {
    background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.7);
    font-weight: 600; border-radius: 999px; padding: 0.7rem 1.5rem;
}
.btn-s-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-s-outline {
    background: #fff; color: var(--s-teal) !important; border: 1px solid var(--s-mint-2);
    font-weight: 600; border-radius: 999px; padding: 0.55rem 1.2rem; font-size: 0.92rem;
}
.btn-s-outline:hover { border-color: var(--s-teal); }
.btn-s-sm { padding: 0.45rem 1.05rem; font-size: 0.9rem; }

/* ---------- Hero : photo + dégradé ---------- */
.s-hero {
    position: relative;
    min-height: 88vh;
    display: flex; align-items: center;
    padding: 130px 0 90px;
    background-size: cover;
    background-position: center right;
    color: #fff;
}
.s-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.15; margin-bottom: 1.2rem; }
.s-hero .s-lead { color: rgba(255, 255, 255, 0.92); max-width: 560px; }
.s-hero .s-eyebrow { color: #bfe7df; }
.s-hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 2rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.92); }
.s-hero-badges i { color: #9fdccf; margin-right: 0.35rem; }

/* Bandeau établissements */
.s-strip { background: var(--s-white); border-bottom: 1px solid var(--s-line); padding: 1.3rem 0; }
.s-strip-label { font-size: 0.85rem; color: var(--s-muted); margin-right: 0.8rem; }
.s-pill {
    display: inline-block; font-size: 0.85rem; font-weight: 600;
    color: var(--s-teal-dark); background: var(--s-mint);
    border-radius: 999px; padding: 0.25rem 0.85rem; margin: 0.2rem 0.15rem;
}

/* ---------- Sections ---------- */
.s-section { padding: 92px 0; }
.s-section.mint { background: var(--s-mint); }
.s-section.white { background: var(--s-white); }
.s-section.sand { background: var(--s-sand); }

/* Enjeux */
.s-issue { height: 100%; background: var(--s-white); border-radius: var(--s-radius); padding: 1.7rem; box-shadow: var(--s-shadow); }
.s-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    color: var(--s-teal); background: var(--s-mint);
    font-size: 1.15rem; margin-bottom: 1rem;
}
.s-issue h3 { font-size: 1.2rem; }
.s-issue p { color: var(--s-muted); font-size: 0.95rem; margin: 0; }

/* Programmes */
.s-prog {
    height: 100%; display: flex; flex-direction: column;
    background: var(--s-white); border-radius: var(--s-radius);
    box-shadow: var(--s-shadow); overflow: hidden;
    transition: transform .2s;
}
.s-prog:hover { transform: translateY(-3px); }
.s-prog-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.s-prog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.s-prog .meta { font-size: 0.82rem; font-weight: 600; color: var(--s-teal-2); margin-bottom: 0.4rem; }
.s-prog h3 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.s-prog .sub { font-size: 0.92rem; color: var(--s-muted); font-style: italic; margin-bottom: 0.9rem; }
.s-prog ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.s-prog ul li { font-size: 0.92rem; padding: 0.2rem 0 0.2rem 1.5rem; position: relative; }
.s-prog ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0.3rem; font-size: 0.75rem; color: var(--s-teal-2); }
.s-prog .price { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--s-line); display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.s-prog .price .format { font-size: 0.82rem; color: var(--s-muted); }
.s-prog .price .format i { color: var(--s-teal-2); }
.s-prog.highlight { outline: 2px solid var(--s-teal-2); }
.s-prog .ribbon {
    position: absolute; margin: 0.9rem; font-size: 0.75rem; font-weight: 600;
    background: #fff; color: var(--s-teal-dark); border-radius: 999px; padding: 0.2rem 0.75rem;
}

/* Médecin */
.s-doctor { background: var(--s-white); border-radius: 24px; box-shadow: var(--s-shadow); padding: 2.4rem; }
.s-doctor img { width: 100%; max-width: 280px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--s-mint); }
.s-doctor .role { color: var(--s-teal-2); font-weight: 600; font-size: 0.95rem; }
.s-doctor ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.s-doctor ul li { font-size: 0.9rem; color: var(--s-muted); padding: 0.25rem 0 0.25rem 1.3rem; position: relative; break-inside: avoid; }
.s-doctor ul li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 7px; height: 7px; border-radius: 50%; background: var(--s-teal-2); }
.s-quote { font-family: var(--s-serif); font-style: italic; color: var(--s-teal-dark); border-left: 3px solid var(--s-mint-2); padding-left: 1rem; margin: 1.4rem 0 0; }

/* Approche */
.s-step { height: 100%; text-align: center; padding: 0 0.6rem; }
.s-step .num {
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center; margin: 0 auto 1rem;
    background: var(--s-white); color: var(--s-teal);
    font-family: var(--s-serif); font-size: 1.3rem; font-weight: 600;
    box-shadow: var(--s-shadow);
}
.s-step h3 { font-size: 1.12rem; }
.s-step p { color: var(--s-muted); font-size: 0.93rem; margin: 0; }

/* Financement */
.s-fund { height: 100%; background: var(--s-white); border-radius: var(--s-radius); padding: 1.6rem; border: 1px solid var(--s-line); }
.s-fund h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.6rem; }
.s-fund h3 i { color: var(--s-teal-2); }
.s-fund p { color: var(--s-muted); font-size: 0.94rem; margin: 0; }
.s-qualiopi { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--s-line); }

/* Ressources */
.s-res { display: flex; gap: 1rem; align-items: flex-start; background: var(--s-white); border-radius: 14px; padding: 1.2rem 1.3rem; border: 1px solid var(--s-line); text-decoration: none; height: 100%; transition: border-color .2s; }
.s-res:hover { border-color: var(--s-teal-2); }
.s-res i { color: var(--s-teal-2); font-size: 1.1rem; margin-top: 0.25rem; }
.s-res strong { color: var(--s-teal-dark); display: block; }
.s-res span { color: var(--s-muted); font-size: 0.9rem; }

/* CTA final */
.s-cta { background: linear-gradient(135deg, var(--s-teal-dark), var(--s-teal-2)); color: #fff; border-radius: 26px; padding: 3rem 2rem; text-align: center; }
.s-cta h2 { color: #fff; }
.s-cta p { color: rgba(255, 255, 255, 0.88); }

/* Footer */
.s-footer { background: #0f2e2b; color: rgba(255, 255, 255, 0.78); padding: 56px 0 30px; font-size: 0.9rem; }
body.sante .s-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
body.sante .s-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.s-footer h6 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.9rem; }
.s-footer .s-brand { color: #fff !important; }
.s-footer .s-brand .badge-sante { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #cdeee7; }

@media (max-width: 991.98px) {
    .s-hero { min-height: auto; padding: 120px 0 72px; }
    .s-section { padding: 68px 0; }
    .s-nav .navbar-collapse { padding: 0.8rem 0; }
    .s-doctor ul { columns: 1; }
}
@media (max-width: 575.98px) {
    .s-doctor { padding: 1.6rem; }
    .s-cta { padding: 2.2rem 1.3rem; }
}
