/* Sophia Psikolojim — système de design
   Palette et typographie reprises de la maquette Claude Design.
   Mobile d'abord : la maquette est dessinée en 390px, le desktop est l'élargissement. */

:root {
  --paper: #F6F2EC;
  --canvas: #E9E4DC;
  --panel: #EFE9E0;
  --field: #FFFDFA;
  --ink: #1F1D1A;

  /* Texte courant. Le gris chaud d'origine (#5C574F) passait tout juste les
     seuils de contraste — 6,4:1 — mais fatiguait sur un article de 1 500 mots.
     Celui-ci monte à 10,4:1 et se lit sans effort, sans devenir noir. */
  --text: #3B372F;
  /* Réservé au vraiment secondaire : légendes, métadonnées, mentions. */
  --muted: #5C574F;

  --sage: #3E6B5B;
  --sage-dark: #2F5447;
  --sage-light: #B9D4C8;

  /* Second accent, prélevé sur l'orange des profils du logo. Le logo associe
     déjà un vert-bleu et un orange : reprendre ce couple réchauffe les pages
     sans inventer une couleur étrangère à la marque. Usage volontairement
     restreint aux surtitres et aux repères de lecture. */
  --clay: #B3512A;
  --clay-soft: #E8DCD2;

  --line: #DDD6CB;
  --line-strong: #C9C2B6;
  --dim: #A8A196;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: 20px;
  --radius: 4px;
  --tap: 44px;

  /* Largeur de composition. Au-delà, le texte devient illisible en ligne longue. */
  --maxw: 1180px;
  --maxw-text: 34rem;

  /* Hauteur réelle de la barre sticky, pour réserver l'espace en bas de page. */
  --sticky-h: 72px;
}

@media (min-width: 900px) {
  :root { --pad: 48px; }
}

@media (min-width: 1280px) {
  :root { --pad: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

/* La barre d'appel sticky masque le bas de page sur mobile. */
body.has-sticky { padding-bottom: var(--sticky-h); }
@media (min-width: 900px) { body.has-sticky { padding-bottom: 0; } }

a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--sage-dark); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: pretty;
}

/* Le turc produit des titres longs (« İçinizdeki Yükü Tek Başınıza Taşımak
   Zorunda Değilsiniz »). Le palier haut reste volontairement modeste : au-delà,
   un titre de huit mots déborde ou se casse en escalier. */
h1 { font-size: clamp(2.125rem, 1.55rem + 2.4vw, 3.5rem); line-height: 1.06; }
h2 { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.375rem); line-height: 1.12; letter-spacing: -.01em; }
h3 { font-size: 1.0625rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; line-height: 1.35; }

p { margin: 0; }
em { font-style: italic; color: var(--sage); }

/* Accessibilité : visible uniquement au clavier. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: var(--radius); font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; color: var(--paper); }

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { padding-inline: var(--pad); }
.vis-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.eyebrow {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--clay); font-weight: 700; margin: 0;
}
.eyebrow--muted { color: var(--muted); }

.lead { font-size: 1rem; line-height: 1.55; color: var(--text); }
@media (min-width: 900px) { .lead { font-size: 1.1875rem; } }

/* ---------- En-tête ---------- */

.site-header-wrap {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 236, .92);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 40;
}
.site-header-wrap--bare { border-bottom: 0; position: static; backdrop-filter: none; background: var(--paper); }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px var(--pad);
  max-width: var(--maxw); margin-inline: auto;
}

/* Le logo existant est un JPEG à fond clair : on l'enferme dans une pastille
   claire pour que la jointure avec le fond crème soit délibérée. */
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: #fff; object-fit: cover; padding: 2px;
  box-shadow: 0 0 0 1px var(--line);
}
.brand__word {
  font-family: var(--serif); font-size: 1.1875rem;
  letter-spacing: -.01em; white-space: nowrap; line-height: 1;
}
.brand__word em { color: var(--sage); }
@media (min-width: 900px) {
  .brand__word { font-size: 1.375rem; }
  .brand__mark { width: 42px; height: 42px; }
}

.header-actions { display: flex; gap: 8px; align-items: center; }

.icon-btn {
  min-width: var(--tap); height: var(--tap);
  display: grid; place-items: center; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font: 700 .8125rem/1 var(--sans); cursor: pointer;
}
.icon-btn:hover { border-color: var(--sage); color: var(--sage); }

/* Navigation desktop */
.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; gap: 32px; font-size: .9375rem; font-weight: 500; }
  .nav-desktop a { color: var(--ink); position: relative; padding: 4px 0; }
  .nav-desktop a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--sage);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
  }
  .nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-desktop a[aria-current="page"] { color: var(--sage); }
  .icon-btn--menu { display: none; }
}

/* Menu mobile */
.nav-mobile {
  display: none; flex-direction: column;
  padding: 8px var(--pad) 24px;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.nav-mobile[data-open="true"] { display: flex; }
.nav-mobile a {
  color: var(--ink); font-size: 1.0625rem; font-weight: 500;
  padding: 14px 0; border-top: 1px solid var(--line); min-height: var(--tap);
  display: flex; align-items: center;
}
@media (min-width: 900px) { .nav-mobile { display: none !important; } }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 16px 28px;
  font: 600 1.0625rem/1.2 var(--sans);
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--block { display: flex; width: 100%; }

.btn--phone { background: var(--sage); color: var(--paper); border-color: var(--sage); }
.btn--phone:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--paper); }

.btn--wa { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--wa:hover { background: #000; color: var(--paper); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage); }

/* Pastille qui respire sur le bouton d'appel — signale la disponibilité. */
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}

.cta-stack { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) {
  .cta-stack { flex-direction: row; flex-wrap: wrap; }
  .cta-stack .btn--block { width: auto; }
}

/* Numéro de téléphone géant, direction 1b */
.phone-xl {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  line-height: 1; letter-spacing: -.02em;
  color: var(--ink); display: inline-block;
  transition: color .2s ease;
}
.phone-xl:hover { color: var(--sage); }

/* Indicateur ouvert / fermé */
.open-state {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--ink);
}
.open-state__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.open-state[data-open="true"] .open-state__dot { background: var(--sage); animation: pulse 2.4s ease-in-out infinite; }

/* ---------- Hero ---------- */

.hero {
  padding: 32px var(--pad) 28px;
  display: flex; flex-direction: column; gap: 18px;
  max-width: var(--maxw); margin-inline: auto;
}
.hero--centered { align-items: center; text-align: center; }

/* Une largeur en `ch` grandit avec la police : à 3.5rem, 40ch dépasse l'écran.
   On borne donc en rem, indépendamment du corps du titre. */
.hero--centered h1 { max-width: 20em; }
.hero--centered .lead { max-width: var(--maxw-text); }

@media (min-width: 900px) {
  .hero { padding: 56px var(--pad) 44px; gap: 24px; }
  .hero--centered h1 { max-width: 16em; }
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  font-size: .8125rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 18px; width: 100%;
}
.hero-trust strong { color: var(--ink); font-weight: 600; }

.hero-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 0 var(--pad); max-width: var(--maxw); margin-inline: auto;
}
.hero-gallery img, .hero-gallery > div { aspect-ratio: 3/2; object-fit: cover; border-radius: 2px; width: 100%; }
@media (min-width: 900px) { .hero-gallery { gap: 14px; } }

/* ---------- Sections ---------- */

.section {
  padding: 44px var(--pad) 0; display: flex; flex-direction: column; gap: 6px;
  max-width: var(--maxw); margin-inline: auto; width: 100%;
}
/* Les bandes pleine largeur gardent leur fond bord à bord, mais leur contenu
   reste aligné sur la même colonne que le reste de la page. */
.section--panel, .section--dark { width: 100%; }
.section--panel > *, .section--dark > * { max-width: var(--maxw); margin-inline: auto; width: 100%; }

.section--panel {
  background: var(--panel); margin-top: 48px;
  padding: 44px var(--pad); gap: 20px;
  display: flex; flex-direction: column;
}
.section--dark {
  background: var(--ink); color: var(--paper);
  margin-top: 48px; padding: 48px var(--pad) 44px;
  display: flex; flex-direction: column; gap: 18px;
}
.section--dark h2 { color: var(--paper); }
.section--dark a { color: var(--paper); }
.section__title { margin-bottom: 16px; }

/* ---------- Liste de services ---------- */

.service-list { display: flex; flex-direction: column; }
.service-list__item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink);
  transition: padding-inline-start .2s ease;
}
.service-list__item:hover { padding-inline-start: 8px; color: var(--ink); }
.service-list__item:hover .service-list__arrow { transform: translateX(4px); color: var(--sage-dark); }
.service-list__name { font-size: 1.0625rem; font-weight: 600; display: block; }
.service-list__short { font-size: .8125rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 3px; }
.service-list__arrow { font-size: 1.25rem; color: var(--sage); flex: none; transition: transform .2s ease, color .2s ease; }

@media (min-width: 900px) {
  .service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
}

/* Puces de services de la landing */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; min-height: var(--tap);
  display: inline-flex; align-items: center;
  font-size: .875rem; font-weight: 500; color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.chip:hover { border-color: var(--sage); background: var(--panel); color: var(--ink); }

/* ---------- Définitions (Neden Sophia / méta service) ---------- */

.deflist { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.deflist > div {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  border-top: 1px solid var(--line-strong); padding-top: 14px;
}
.deflist dt { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.deflist dd { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--text); }

.meta-row {
  margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0;
}
.meta-row dt { font-size: .6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.meta-row dd { margin: 4px 0 0; font-size: .9375rem; font-weight: 600; }

/* ---------- Sujets traités ---------- */

.topics { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: .9375rem; }
.topics li { border-top: 1px solid var(--line); padding-top: 10px; color: var(--text); }
@media (min-width: 900px) { .topics { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Étapes ---------- */

.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { font-family: var(--serif); font-size: 1.5rem; color: var(--clay); }
.steps__t { font-size: 1rem; font-weight: 600; }
.steps__d { font-size: .875rem; color: var(--text); line-height: 1.5; }

/* ---------- Équipe ---------- */

.team { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--pad) 8px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.team::-webkit-scrollbar { display: none; }
.team__card { flex: none; width: 220px; display: flex; flex-direction: column; gap: 10px; scroll-snap-align: start; }
.team__photo {
  aspect-ratio: 4/5; border-radius: 2px; width: 100%; object-fit: cover;
  background: repeating-linear-gradient(135deg, #E3DCD1 0 8px, #EBE5DB 8px 16px);
}
.team__name { font-size: 1rem; font-weight: 600; }
.team__meta { font-size: .8125rem; color: var(--muted); line-height: 1.4; }

@media (min-width: 900px) {
  .team { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 32px; }
  .team__card { width: auto; }
}

/* ---------- Avis ---------- */

.reviews { display: flex; flex-direction: column; gap: 20px; }
.review {
  margin: 0; border-top: 1px solid var(--line); padding-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.review p { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.4; }
.review footer { font-size: .8125rem; color: var(--muted); }
.rating-label { font-size: .8125rem; color: var(--muted); }
.stars { color: var(--sage); letter-spacing: .1em; font-size: .875rem; }

@media (min-width: 900px) {
  .reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  padding: 16px 0; font-size: 1rem; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
  min-height: var(--tap); align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--sage); font-size: 1.25rem; flex: none;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; font-size: .9375rem; line-height: 1.6; color: var(--text); }

/* ---------- Formulaire de rappel ---------- */

.callback {
  margin: 48px var(--pad) 0; background: var(--panel);
  padding: 28px 20px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
}
@media (min-width: 900px) { .callback { padding: 40px; max-width: 640px; } }

.field { display: flex; flex-direction: column; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.field input {
  height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0 14px; font: 400 1rem var(--sans);
  background: var(--field); color: var(--ink);
}
.field input:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(62, 107, 91, .15); }
.field input[aria-invalid="true"] { border-color: #9B3B32; }

.field-error { font-size: .8125rem; color: #9B3B32; font-weight: 500; }

.when { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.when legend { font-size: .8125rem; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 6px; }
.when__opts { display: flex; gap: 8px; }
.when__opts label {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--tap); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: .875rem; background: var(--field); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.when__opts label:has(input:checked) { border-color: var(--sage); background: #fff; }
.when__opts input { accent-color: var(--sage); }

.btn--submit {
  min-height: 52px; background: var(--ink); color: var(--paper);
  border: 0; border-radius: var(--radius);
  font: 600 1rem var(--sans); cursor: pointer; width: 100%;
}
.btn--submit:hover { background: #000; }
.btn--submit[disabled] { opacity: .6; cursor: progress; }

.form-note { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.form-success {
  font-size: .9375rem; line-height: 1.5; color: var(--ink);
  border-top: 1px solid var(--line-strong); padding-top: 14px;
}
.form-error { font-size: .875rem; color: #9B3B32; }
[hidden] { display: none !important; }

/* Anti-spam : champ leurre, invisible et hors du flux de tabulation. */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Fil d'ariane ---------- */

.crumbs { font-size: .75rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--sage); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Pied de page ---------- */

.footer-links {
  display: flex; flex-wrap: wrap; gap: 20px; font-size: .8125rem;
  color: rgba(246, 242, 236, .6);
  border-top: 1px solid rgba(246, 242, 236, .15);
  padding-top: 18px; margin-top: 8px;
}
.footer-links a { color: inherit; }
.footer-links a:hover { color: var(--paper); }
.footer-addr { font-size: .875rem; color: rgba(246, 242, 236, .7); line-height: 1.6; font-style: normal; }
.footer-addr a { text-decoration: underline; }

.footer-lite {
  margin-top: 44px; padding: 36px var(--pad) 36px;
  border-top: 1px solid var(--line); font-size: .8125rem;
  color: var(--muted); line-height: 1.6;
}
.footer-lite a { color: var(--muted); text-decoration: underline; }

/* ---------- Barre d'appel sticky ---------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 242, 236, .94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { min-height: var(--tap); padding: 14px; font-size: .9375rem; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Animations d'apparition ---------- */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
/* Sans JS, tout reste visible. */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Grille éditoriale desktop (direction 1a) ---------- */

.callback { max-width: var(--maxw); margin-inline: auto; }

/* ---------- Illustration dans le hero ----------
   Contrairement à la photo du cabinet, qui gagne à remplir sa colonne, une
   illustration doit être vue entière : on ne recadre pas une composition.
   Elle est donc centrée à son rapport naturel, sans étirement. */

.hero__figure--art { display: flex; align-items: center; justify-content: center; }
.hero__figure--art img,
.hero__figure--art > div[role="img"] {
  width: 100%; height: auto; aspect-ratio: auto;
  max-height: 420px; object-fit: contain; border-radius: 2px;
}

@media (min-width: 1000px) {
  /* La colonne du texte reste dominante : l'illustration accompagne, elle
     ne prend pas la parole. */
  .hero--illustrated { grid-template-columns: 6fr 5fr; align-items: center; }
  .hero--illustrated .hero__figure::before { display: none; }
  .hero__figure--art img,
  .hero__figure--art > div[role="img"] { min-height: 0; max-height: 380px; }
}

/* Illustration d'ouverture de page.
   Les illustrations générées arrivent en portrait ou en carré, pas au format
   demandé. Plutôt que de les recadrer en bandeau — ce qui détruirait la
   composition, un fauteuil près d'une fenêtre ne survit pas à un 21/9 — on les
   affiche à leur rapport naturel, dans une colonne étroite. Elles se lisent
   alors comme une planche, pas comme une bannière. */
.figure-plate {
  display: block; width: calc(100% - var(--pad) * 2);
  max-width: 520px; margin: 32px auto 0;
  height: auto; border-radius: 2px;
}
@media (min-width: 900px) { .figure-plate { max-width: 560px; margin-top: 40px; } }

/* ---------- Hero éditorial asymétrique (accueil) ----------
   En dessous de 1000px la photo passe simplement sous le texte : sur mobile,
   l'appel doit rester au-dessus de la ligne de flottaison. */

.hero--split .hero__body { display: flex; flex-direction: column; gap: 18px; }
.hero--split .hero__figure { margin: 0; position: relative; }
.hero--split .hero__figure img,
.hero--split .hero__figure > div {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px;
}
.hero--split .hero__figure figcaption {
  margin-top: 12px; font-size: .8125rem; color: var(--muted);
  font-family: var(--serif); font-style: italic;
}

@media (min-width: 1000px) {
  .hero--split {
    display: grid; grid-template-columns: 7fr 5fr; gap: 56px;
    align-items: stretch; text-align: left;
  }
  .hero--split .hero__body { gap: 24px; justify-content: center; }
  .hero--split .lead { max-width: 32rem; }

  /* La photo épouse la hauteur de la colonne de texte plutôt que de garder un
     ratio fixe : sinon elle glisse sous la ligne de flottaison dès que le titre
     turc passe sur trois lignes. */
  .hero--split .hero__figure { display: flex; flex-direction: column; }
  .hero--split .hero__figure img,
  .hero--split .hero__figure > div[role="img"] {
    flex: 1; aspect-ratio: auto; min-height: 380px; height: 100%;
  }

  /* Le filet sage reprend le trait vertical de la maquette. */
  .hero--split .hero__figure::before {
    content: ''; position: absolute; left: -14px; top: 0; bottom: 30px;
    width: 1px; background: var(--sage);
  }
}

.prose { display: flex; flex-direction: column; gap: 16px; max-width: 68ch; }
.prose p { font-size: 1rem; line-height: 1.7; color: var(--text); }
.prose h2 { margin-top: 16px; }

/* ---------- Surbrillance ----------
   Le jaune par défaut du navigateur casse la palette. On garde le sens
   sémantique de <mark> avec un traitement typographique discret. */

mark, .hl {
  background: linear-gradient(to top, rgba(185, 212, 200, .55) 0 .55em, transparent .55em);
  color: var(--ink);
  font-weight: 600;
  padding: 0 .1em;
  border-radius: 1px;
}
.section--dark mark, .section--dark .hl {
  background: linear-gradient(to top, rgba(62, 107, 91, .55) 0 .55em, transparent .55em);
  color: var(--paper);
}

/* ---------- Encadré réponse ----------
   Volontairement sobre : il doit se lire comme une réponse, pas comme une
   publicité. Le filet sage suffit à le détacher du corps de l'article. */

.answer-box {
  background: var(--panel);
  border-inline-start: 3px solid var(--sage);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 68ch;
  display: flex; flex-direction: column; gap: 8px;
}
.answer-box__label {
  font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--clay); font-weight: 700; margin: 0;
}
.answer-box__text { font-size: 1.0625rem; line-height: 1.6; margin: 0; }
@media (min-width: 900px) {
  .answer-box { padding: 28px 32px; }
  .answer-box__text { font-size: 1.125rem; }
}

/* ---------- Blog ---------- */

.post-list { display: grid; gap: 4px; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); gap: 0 48px; } }

.post-card__link {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink);
  transition: padding-inline-start .2s ease;
}
.post-card__link:hover { padding-inline-start: 8px; color: var(--ink); }
.post-card__link:hover .post-card__more { color: var(--sage-dark); }
.post-card__title {
  font-family: var(--serif); font-weight: 400; font-size: 1.375rem;
  line-height: 1.2; letter-spacing: -.01em;
}
.post-card__excerpt { font-size: .9375rem; line-height: 1.55; color: var(--text); margin: 0; }
.post-card__more { font-size: .8125rem; font-weight: 600; color: var(--sage); }

.post-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: .8125rem; color: var(--muted); margin: 0;
}

/* Sommaire de l'article */
.toc {
  margin: 0; padding: 20px; list-style: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 68ch; display: flex; flex-direction: column; gap: 10px;
}
.toc__label {
  font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin: 0 0 4px;
}
.toc a { font-size: .9375rem; line-height: 1.4; color: var(--ink); }
.toc a:hover { color: var(--sage); text-decoration: underline; }

/* ---------- Points clés scannables ---------- */

.takeaways {
  margin: 0; padding: 20px; list-style: none;
  background: var(--panel); border-radius: var(--radius);
  border-inline-start: 2px solid var(--sage);
  display: flex; flex-direction: column; gap: 12px;
}
.takeaways li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  font-size: .9375rem; line-height: 1.5;
}
.takeaways li::before { content: '—'; color: var(--clay); font-weight: 700; }
@media (min-width: 900px) { .takeaways { padding: 28px 32px; max-width: 72ch; } }

/* ---------- Questionnaire d'orientation ----------
   Le but est de lever la paralysie du « je ne sais pas de quoi j'ai besoin ».
   Le bloc doit donc paraître léger : pas de bordure lourde, pas d'air de
   formulaire administratif. */

.quiz {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 720px;
}
@media (min-width: 900px) { .quiz { padding: 36px 40px; } }

.quiz__title { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.quiz__lead { font-size: .9375rem; line-height: 1.55; color: var(--text); margin: 0; }

.quiz__progress {
  height: 3px; background: var(--line-strong); border-radius: 2px;
  overflow: hidden; margin: 6px 0 4px;
}
.quiz__progress span {
  display: block; height: 100%; width: 33%;
  background: var(--clay); border-radius: 2px;
  transition: width .45s cubic-bezier(.22, .61, .36, 1);
}

.quiz__step { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.quiz__step[hidden] { display: none; }
/* Chaque question entre par la droite : le mouvement dit « on avance ». */
.quiz__step.is-entering { animation: quizIn .38s cubic-bezier(.22, .61, .36, 1); }
@keyframes quizIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}

.quiz__q { font-size: 1.0625rem; font-weight: 600; color: var(--ink); padding: 0; }

.quiz__opts { display: flex; flex-direction: column; gap: 8px; }
.quiz__opts[hidden] { display: none; }
@media (min-width: 640px) { .quiz__opts { display: grid; grid-template-columns: 1fr 1fr; } }

.quiz__opt {
  text-align: left; min-height: var(--tap);
  padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--field); color: var(--ink);
  font: 500 .9375rem/1.4 var(--sans); cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .12s ease;
}
.quiz__opt:hover { border-color: var(--sage); background: #fff; }
.quiz__opt:active { transform: translateY(1px); }
.quiz__opt.is-chosen { border-color: var(--sage); background: #fff; box-shadow: inset 3px 0 0 var(--sage); }

.quiz__nav { display: flex; }
.quiz__back {
  background: none; border: 0; padding: 6px 0;
  font: 600 .875rem var(--sans); color: var(--muted); cursor: pointer;
}
.quiz__back:hover { color: var(--sage); }
.quiz__back[hidden] { display: none; }

.quiz__result { display: flex; flex-direction: column; gap: 12px; animation: quizIn .4s cubic-bezier(.22, .61, .36, 1); }
.quiz__result[hidden] { display: none; }
.quiz__result-title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin: 0; }
.quiz__result-text { font-size: .9375rem; line-height: 1.55; color: var(--text); margin: 0; }
.quiz__more { font-size: .875rem; font-weight: 600; }
.quiz__restart {
  align-self: flex-start; background: none; border: 0; padding: 4px 0;
  font: 500 .8125rem var(--sans); color: var(--muted);
  text-decoration: underline; cursor: pointer;
}

/* Sans JavaScript, tout reste visible et utilisable. */
.no-js .quiz__step[hidden] { display: flex; }
.no-js .quiz__progress, .no-js .quiz__nav { display: none; }

/* ---------- Apparition échelonnée des points clés ----------
   Les points clés arrivent l'un après l'autre : l'œil les compte au lieu de
   les survoler. Effet volontairement bref. */
.takeaways.is-in li { animation: takeIn .5s both cubic-bezier(.22, .61, .36, 1); }
.takeaways.is-in li:nth-child(1) { animation-delay: .00s; }
.takeaways.is-in li:nth-child(2) { animation-delay: .07s; }
.takeaways.is-in li:nth-child(3) { animation-delay: .14s; }
.takeaways.is-in li:nth-child(4) { animation-delay: .21s; }
.takeaways.is-in li:nth-child(5) { animation-delay: .28s; }
@keyframes takeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Vignette d'article ---------- */
.post-card__thumb { overflow: hidden; border-radius: 2px; margin-bottom: 4px; }
.post-card__thumb img, .post-card__thumb > div[role="img"] {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.post-card__link:hover .post-card__thumb img { transform: scale(1.03); }

/* ---------- Monogramme d'équipe ----------
   Substitut de portrait, en attendant les photos du cabinet. Un rectangle rayé
   dit « il manque quelque chose » ; un monogramme dit « c'est ainsi ». */
.team__photo--mono {
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--paper);
  font-family: var(--serif); font-size: 2.75rem; font-weight: 400;
  letter-spacing: .04em; line-height: 1;
  aspect-ratio: 4/5; width: 100%; border-radius: 2px;
}
.team__card:nth-child(2) .team__photo--mono {
  background: linear-gradient(160deg, #6B7F63 0%, #4A6248 100%);
}
.team__card:nth-child(3) .team__photo--mono {
  background: linear-gradient(160deg, var(--clay) 0%, #8E3E20 100%);
}
