/*
Theme Name:  Saleh Ophtalmologie
Theme URI:   https://drmahersaleh.com
Author:      Design pour Pr. Maher Saleh
Description: Thème professionnel pour Pr. Maher Saleh, Professeur en Ophtalmologie. Palette bleue médicale, typographie distinguée, adapté au site drmahersaleh.com.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saleh-ophtalmologie
Tags:        medical, blue, professional, french
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:       #091D3A;
  --blue:       #1255A0;
  --sky:        #2A7FBF;
  --accent:     #3DAAD8;
  --pale:       #EBF4FB;
  --pale-2:     #F6FAFE;
  --white:      #FFFFFF;
  --text:       #0C1A2C;
  --body:       #3A506A;
  --muted:      #6B8299;
  --border:     #C6DEF2;
  --gold:       #A8892E;

  --font-display: 'Cormorant Garant', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 4px rgba(9,29,58,.07);
  --shadow-md: 0 4px 16px rgba(9,29,58,.11);
  --shadow-lg: 0 12px 40px rgba(9,29,58,.15);

  --container:    1180px;
  --container-sm: 900px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--pale-2);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sky); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container    { max-width: var(--container);    margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }

/* ============================================================
   COMPONENTS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.btn-primary  { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-outline  { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-outline-dark { background: transparent; color: var(--blue); border: 1.5px solid var(--border); }
.btn-outline-dark:hover { background: var(--pale); border-color: var(--blue); color: var(--blue); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-size: .77rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--sky);
  margin-bottom: .6rem;
}

.divider {
  width: 44px; height: 3px; background: var(--sky);
  border: none; margin: .6rem 0 1.4rem; border-radius: 2px;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1.5rem;
}

.nav-brand { display: flex; align-items: center; gap: .75rem; }
.nav-logo__img-link { display: block; flex-shrink: 0; }
.nav-logo__img { height: 48px; width: auto; max-width: none; object-fit: contain; }

.nav-logo { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; }
.nav-logo__name  { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.nav-logo__title { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

.nav-menu {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: .5rem .9rem;
  font-size: .88rem; font-weight: 500; color: var(--body);
  transition: color .2s;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a { color: var(--blue); }

/* Dropdowns */
.nav-menu li:hover > ul,
.nav-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu ul {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 220px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); list-style: none; margin: 0; padding: .4rem 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s;
}
.nav-menu ul li a {
  display: block; padding: .55rem 1.25rem;
  font-size: .86rem; color: var(--body);
}
.nav-menu ul li a:hover { color: var(--blue); background: var(--pale); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-size: .86rem; font-weight: 500; color: var(--blue); text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: .4rem; color: var(--navy);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2d5c 55%, #103870 100%);
  color: var(--white); padding: 5.5rem 0;
  position: relative; overflow: hidden;
  min-height: 580px; display: flex; align-items: center;
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 78% 50%, rgba(42,130,199,.14) 0%, transparent 70%),
    radial-gradient(circle 300px at 85% 20%, rgba(61,170,216,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero eye image blended into the background */
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  display: block; opacity: .9; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 64% 74% at 62% 50%, #000 28%, rgba(0,0,0,.5) 58%, transparent 100%);
          mask-image: radial-gradient(ellipse 64% 74% at 62% 50%, #000 28%, rgba(0,0,0,.5) 58%, transparent 100%);
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(61,170,216,.15); border: 1px solid rgba(61,170,216,.3);
  color: var(--accent); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
}

.hero-name {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700; color: var(--white); line-height: 1.08; margin-bottom: .75rem;
}
.hero-name span { color: var(--accent); }

.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.72);
  max-width: 520px; line-height: 1.7; margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat__num {
  font-family: var(--font-display); font-size: 2.1rem;
  font-weight: 700; color: var(--white); line-height: 1; margin-bottom: .2rem;
}
.hero-stat__label {
  font-size: .74rem; letter-spacing: .05em;
  color: rgba(255,255,255,.42); text-transform: uppercase;
}

/* Decorative eye SVG */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-eye-wrap {
  position: relative; width: 340px; height: 340px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--pale-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1.75rem 1.25rem;
  text-align: center; transition: all .25s;
}
.service-card:hover {
  border-color: var(--sky); box-shadow: 0 6px 24px rgba(42,130,199,.14);
  transform: translateY(-3px); color: inherit;
}
.service-card__icon {
  width: 54px; height: 54px; background: var(--pale);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--blue); transition: background .2s, color .2s;
}
.service-card:hover .service-card__icon { background: var(--blue); color: var(--white); }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; font-family: var(--font-display); }
.service-card p  { font-size: .81rem; color: var(--muted); margin: 0; line-height: 1.5; }
.service-card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem; font-size: .82rem; font-weight: 500; color: var(--blue);
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #0e2e5e 100%);
  color: var(--white);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-strip h2 { color: var(--white); }
.about-strip .eyebrow { color: var(--accent); }
.about-strip .divider { background: var(--accent); }

.cred-list {
  list-style: none; padding: 0; margin: 1.25rem 0 1.75rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.cred-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .93rem; color: rgba(255,255,255,.78);
}
.cred-list li::before {
  content: ''; width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%;
  flex-shrink: 0; margin-top: .56rem;
}

/* Portrait card: transparent cut-out blended on a blue gradient */
.about-photo-wrap { display: block; padding: 0; border: 0; background: none; }
.portrait {
  position: relative; isolation: isolate; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 26px 50px -20px rgba(9,29,58,.6), 0 0 0 1px rgba(61,170,216,.28);
  background:
    radial-gradient(ellipse 80% 60% at 50% 28%, rgba(61,170,216,.55) 0%, rgba(61,170,216,0) 70%),
    linear-gradient(165deg, #1b66b4 0%, #0f3c78 55%, #091D3A 100%);
}
.portrait::before {
  content: ''; position: absolute; z-index: 0;
  width: 78%; aspect-ratio: 1; left: 11%; top: 6%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 22px rgba(255,255,255,.035);
}
.portrait img,
.bio-photo-sticky .portrait img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
  border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(5,18,40,.45));
}
.portrait::after {
  content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 18%;
  pointer-events: none; background: linear-gradient(to top, rgba(9,29,58,.55), transparent);
}

/* ============================================================
   PATIENTS DE L'ÉTRANGER
   ============================================================ */
.intl { background: var(--white); border-top: 1px solid var(--border); }
.intl-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.intl-head .lead { font-size: 1.1rem; color: var(--text); font-weight: 500; margin-bottom: 0; }
.intl-countries {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  max-width: 820px; margin: 0 auto .9rem;
}
.intl-chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem;
  background: var(--pale); border: 1px solid var(--border); border-radius: 999px;
  font-size: .84rem; font-weight: 500; color: var(--navy);
}
.intl-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.intl-trust { text-align: center; color: var(--muted); font-size: .95rem; max-width: 620px; margin: 0 auto 3rem; }
.intl-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative;
}
.intl-steps::before {
  content: ""; position: absolute; top: 2.1rem; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
}
.intl-step {
  position: relative; z-index: 1; background: var(--pale-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1.5rem 1.25rem; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.intl-step:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(9,29,58,.09); }
.intl-num {
  width: 3.2rem; height: 3.2rem; margin: -2.75rem auto 1rem; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--white); box-shadow: 0 2px 8px rgba(18,85,160,.3);
}
.intl-step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.intl-step p { font-size: .92rem; color: var(--body); margin: 0; }
.intl-step .todo { font-style: italic; color: var(--muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--blue); color: var(--white);
  text-align: center; padding: var(--sp-lg) 0;
}
.cta-section h2 { color: var(--white); margin-bottom: .75rem; }
.cta-section p  { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 1.75rem; }

.cta-contact-row {
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: center;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.cta-contact-item {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.85); font-size: .93rem;
}
.cta-contact-item svg { color: var(--accent); flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.55); padding: var(--sp-lg) 0 var(--sp-md); }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand h3 { font-family: var(--font-display); color: var(--white); font-size: 1.25rem; margin-bottom: .2rem; }
.footer-brand .sub { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .9rem; }
.footer-brand p { font-size: .88rem; line-height: 1.65; }

.footer-col h4 {
  color: var(--white); font-size: .8rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul a { color: rgba(255,255,255,.5); font-size: .88rem; text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; font-size: .8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 34px; height: 34px; background: rgba(255,255,255,.07);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); transition: all .2s; text-decoration: none;
}
.footer-social a:hover { background: var(--sky); color: var(--white); }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0e2e5e 100%);
  color: var(--white); padding: 4rem 0 3rem;
}
.page-banner .eyebrow { color: var(--accent); }
.page-banner h1 { color: var(--white); margin-bottom: .5rem; }
.page-banner p  { color: rgba(255,255,255,.68); max-width: 580px; margin: .5rem 0 0; }

/* ============================================================
   PRESENTATION PAGE
   ============================================================ */
.bio-section { background: var(--white); }
.bio-grid { display: grid; grid-template-columns: 1fr 290px; gap: 4rem; align-items: start; }
.bio-photo-sticky { position: sticky; top: 88px; }
.bio-photo-sticky img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.bio-photo-placeholder {
  background: var(--pale); border-radius: var(--r-lg);
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  color: var(--muted); border: 2px; font-size: .9rem;
}

.cred-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.cred-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--pale); border: 1px solid var(--border);
  border-radius: 100px; padding: .35rem .9rem;
  font-size: .8rem; font-weight: 500; color: var(--body);
}
.cred-badge svg { color: var(--blue); width: 13px; height: 13px; flex-shrink: 0; }

/* Timeline */
.timeline { position: relative; padding-left: 2.25rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -2.25rem; top: .35rem;
  width: 11px; height: 11px;
  background: var(--blue); border: 2px solid var(--white);
  border-radius: 50%; box-shadow: 0 0 0 2px var(--border);
}
.tl-year { font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: .2rem; }
.timeline-item h4 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; }
.timeline-item p  { font-size: .88rem; color: var(--muted); margin: 0; }

/* Publications */
.pub-book {
  display: flex; gap: 2rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 2rem;
}
.pub-book img { width: 110px; flex-shrink: 0; border-radius: var(--r-sm); box-shadow: var(--shadow-md); }

/* Societies */
.societies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.25rem; }
.society-item {
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem 1rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-md);
}
.society-item img { max-height: 55px; width: auto; filter: grayscale(.2); transition: filter .2s; }
.society-item:hover img { filter: none; }

/* ============================================================
   SOIN TEMPLATE
   ============================================================ */
.soin-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1060b8 100%);
  color: var(--white); padding: 4rem 0 3rem;
}
.soin-banner h1 { color: var(--white); margin-bottom: .5rem; }
.soin-banner p  { color: rgba(255,255,255,.7); max-width: 580px; }

.soin-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2.5rem; align-items: start; padding: var(--sp-lg) 0;
}
.soin-main {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 2.5rem;
}
.soin-main h2,
.soin-main h3 { color: var(--navy); }
.soin-main p   { color: var(--body); line-height: 1.8; }
.soin-main img { border-radius: var(--r-md); margin: 1.5rem 0; }
.soin-main strong { color: var(--text); }

.soin-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.5rem; }

.sb-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.5rem; }
.sb-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .9rem; }

.sb-card--cta { background: var(--blue); border-color: var(--blue); }
.sb-card--cta h4 { color: rgba(255,255,255,.65); }
.sb-card--cta p  { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 1.25rem; }

.other-soins { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.other-soins li a {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .89rem; color: var(--body);
  text-decoration: none; transition: color .2s;
}
.other-soins li:last-child a { border-bottom: none; }
.other-soins li a:hover { color: var(--blue); }
.other-soins li a svg { color: var(--border); transition: color .2s; flex-shrink: 0; }
.other-soins li a:hover svg { color: var(--sky); }

/* ============================================================
   DEFAULT PAGE / ENTRY CONTENT
   ============================================================ */
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--body); }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
.entry-content img { border-radius: var(--r-md); margin: 1.5rem auto; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25rem; }
.entry-content strong { color: var(--text); }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* ============================================================
   PAGE SOIN (template-soin.php)
   ============================================================ */
.soin-crumbs { background: var(--white); border-bottom: 1px solid var(--border); padding: .65rem 0; font-size: .83rem; color: var(--muted); }
.soin-crumbs a { color: var(--muted); text-decoration: none; }
.soin-crumbs a:hover { color: var(--blue); }
.soin-crumbs span { margin: 0 .4rem; }
.soin-crumbs .soin-crumbs__current { color: var(--body); margin: 0; }

.soin-block { padding: 2.75rem 0; border-bottom: 1px solid var(--border); }
.soin-block:last-child { border-bottom: 0; }
.soin-block > h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1.5rem; }

/* What is … : text + picture */
.soin-what { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: start; }
.soin-what__text > :last-child { margin-bottom: 0; }
.soin-what__img { margin: 0; }
.soin-main .soin-what__img img { width: 100%; height: auto; border-radius: var(--r-md); display: block; margin: 0; }
.soin-img-placeholder {
  aspect-ratio: 4/3; border-radius: var(--r-md); border: 2px dashed var(--border);
  background: var(--pale-2); color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; text-align: center; font-size: .85rem;
}

/* Steps */
.soin-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.soin-step {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--pale-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.25rem;
}
.soin-step__num {
  flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.soin-step h3 { font-size: 1.1rem; margin: .1rem 0 .3rem; }
.soin-step p { font-size: .9rem; color: var(--body); margin: 0; }

/* FAQ accordion */
.soin-faq { display: flex; flex-direction: column; gap: .75rem; }
.soin-faq__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.soin-faq__item summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; position: relative;
  font-weight: 600; color: var(--text);
}
.soin-faq__item summary::-webkit-details-marker { display: none; }
.soin-faq__item summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; line-height: 1; color: var(--blue);
}
.soin-faq__item[open] summary::after { content: "\2212"; }
.soin-faq__item[open] { border-color: var(--sky); }
.soin-faq__item p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--body); }

/* Right box : "Un doute sur votre vision ?" */
.soin-help {
  text-align: center;
  background: linear-gradient(165deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white); border-radius: var(--r-lg); padding: 2rem 1.5rem;
  box-shadow: 0 18px 40px -18px rgba(9,29,58,.55);
}
.soin-help h4 { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .75rem; }
.soin-help p { color: rgba(255,255,255,.8); font-size: .92rem; margin-bottom: 1.4rem; }
.soin-help .btn { background: var(--white); color: var(--blue); width: 100%; justify-content: center; }
.soin-help .btn:hover { background: var(--pale); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-bg { width: 100%; opacity: .28; }
  .intl-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.75rem; }
  .intl-steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .bio-grid,
  .soin-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .soin-sidebar { position: static; margin-bottom: 2.5rem; }
  .soin-layout { padding: var(--sp-md) 0; }
  .soin-what, .soin-steps { grid-template-columns: 1fr; }
  .bio-photo-sticky { position: static; max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu, .nav-right { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; box-shadow: var(--shadow-md); z-index: 200;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .intl-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats    { gap: 1.25rem; }
  .pub-book      { flex-direction: column; }
}

/* ============================================================
   ACCESSIBILITY & ANIMATION PREFERENCE
   ============================================================ */
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* WA */
.btn-whatsapp { display: inline-flex; align-items: center; gap: .5rem; }
.btn-whatsapp { background: #25D366; border-color: #25D366; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; }
