
/* Concept : une page unique, sobre et chaleureuse, construite autour du logo complet de Massilia.
   Le logo n'est jamais retapé ni recomposé : l'accueil montre le logo entier, l'en-tête reprend
   « Massilia / Accompagnante TSA » tel qu'il figure dans le logo.
   Look volontairement clair et crème, comme le logo ; pas de thème sombre. */
:root {
  --bg: #F7F1EA;
  --band: #F0E6DB;
  --surface: #FCF9F5;
  --ink: #33423A;
  --muted: #5D6559;
  --sage: #4F6450;
  --sage-soft: #8A9A86;
  --terra: #9A5236;
  --terra-soft: #CF9478;
  --line: #E0D2C3;
  --on-accent: #FCF9F5;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.band {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: clamp(48px, 7vw, 88px);
}
.band.tint { background: var(--band); }
.inner { max-width: 1040px; margin-inline: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.6vw, 44px); line-height: 1.1; margin-bottom: 14px; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 14px; max-width: 65ch; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin: 0 0 14px; }
.intro { color: var(--muted); max-width: 60ch; margin-bottom: 36px; }
.todo { color: var(--terra); font-style: italic; }

.btn {
  display: inline-block; background: var(--sage); color: var(--on-accent); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--sage);
}
.btn:hover { background: #435744; border-color: #435744; }
.btn.ghost { background: transparent; color: var(--sage); }
.btn.ghost:hover { background: var(--sage); color: var(--on-accent); }
.btn.small { padding: 9px 18px; font-size: 14px; }

/* En-tête : « Massilia / Accompagnante TSA » repris du logo d'origine */
.top { padding-block: 16px; border-bottom: 1px solid var(--line); }
.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.brand { display: block; text-decoration: none; }
.brand img { height: 62px; width: auto; }
.menu { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; }
.menu a:not(.btn) { text-decoration: none; font-size: 14px; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.menu a:not(.btn):hover { border-bottom-color: var(--terra-soft); }
@media (max-width: 520px) { .brand img { height: 54px; } }

/* Accueil */
.hero { padding-block: clamp(40px, 6vw, 72px); }
.hero .inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px 56px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 6.2vw, 66px); line-height: 1.04; margin-bottom: 20px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--terra); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; padding: 0; margin: 32px 0 0; font-size: 14px; color: var(--muted); }
.facts li { min-width: 0; }
.facts b { color: var(--ink); font-weight: 600; }
.hero .logo { width: 100%; max-width: 320px; margin-inline: auto; }
@media (max-width: 820px) { .hero .inner { grid-template-columns: 1fr; } .hero .logo { max-width: 250px; margin-inline: 0; } }

/* Pour qui */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px 48px; }
.who > div { border-top: 3px solid var(--sage-soft); padding-top: 18px; min-width: 0; }
.who > div:nth-child(2) { border-top-color: var(--terra-soft); }
.who h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.who p { color: var(--muted); margin: 0; }

/* Apprentissages */
.axes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 34px 44px; }
.axes > div { min-width: 0; }
.axes > div::before { content: ""; display: block; width: 28px; height: 3px; background: var(--terra-soft); margin-bottom: 14px; }
.axes h3 { color: var(--sage); margin-bottom: 6px; }
.axes p { font-size: 15px; color: var(--muted); margin: 0; }

/* Déroulé */
.steps { list-style: none; margin: 0; padding: 0; max-width: 680px; }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; padding-bottom: 26px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: attr(data-n); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--terra-soft); background: var(--surface); color: var(--terra); font-weight: 600; font-size: 15px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; font-weight: 600; margin-top: 7px; }
.steps span { color: var(--muted); font-size: 15px; }

/* Formules */
.offers { border-top: 1px solid var(--line); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.offer .what { min-width: 0; }
.offer h3 { font-size: 18px; margin-bottom: 4px; }
.offer p { margin: 0; font-size: 15px; color: var(--muted); max-width: 58ch; }
.offer .meta { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.offer .price { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1; color: var(--terra); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.offer .price small { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .offer { grid-template-columns: 1fr; } .offer .price { text-align: left; } }
.policy { margin-top: 36px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: 8px; max-width: 760px; }
.policy h3 { margin-bottom: 8px; }
.policy p { margin: 0; font-size: 15px; }

/* Questions */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--terra); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 15px; padding-bottom: 20px; margin: 0; }

/* Formation et expérience */
.cred { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px 48px; max-width: 980px; }
.cred p + p { margin-top: 12px; }
@media (max-width: 720px) { .cred { grid-template-columns: 1fr; } }
.cred > div { min-width: 0; border-top: 3px solid var(--sage-soft); padding-top: 16px; }
.cred h3 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.cred p { margin: 0; }

/* Contact */
.contact dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; margin: 26px 0 0; }
.contact dt { font-weight: 600; }
.contact dd { margin: 0; overflow-wrap: anywhere; }

footer.band { padding-block: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer p { margin: 0 0 4px; max-width: none; }

.menu a[aria-current="page"]:not(.btn) { border-bottom-color: var(--terra); color: var(--terra); }
.menu { gap: 6px 22px; }
.top { padding-block: 14px; }
.brand img { height: 120px; width: auto; }
@media (max-width: 520px) { .brand img { height: 92px; } }
.hero .inner { grid-template-columns: 1fr; }
.hero .lead { max-width: 60ch; }
@media (max-width: 520px) { .menu { gap: 4px 16px; } .menu a:not(.btn) { font-size: 13px; } }
.pagehead { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.pagehead h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5.6vw, 58px); line-height: 1.05; margin-bottom: 14px; }
.pagehead p { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--sage-soft); border-radius: 8px; padding: 24px 24px 20px; min-width: 0; display: flex; flex-direction: column; }
.card:nth-child(2) { border-top-color: var(--terra-soft); }
.card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card a.more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--sage); }
.quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.25; max-width: 30em; color: var(--ink); margin: 0; }
.quote::before { content: ""; display: block; width: 36px; height: 3px; background: var(--terra-soft); margin-bottom: 18px; }
.list { margin: 0 0 18px; padding: 0; list-style: none; max-width: 62ch; }
.list li { position: relative; padding: 6px 0 6px 22px; }
.list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 2px; background: var(--terra); }
.principles { list-style: none; margin: 0; padding: 0; max-width: 760px; counter-reset: p; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; padding: 0 0 26px; }
.principles li::before { content: counter(p); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--terra-soft); color: var(--terra); font-weight: 600; background: var(--surface); }
.principles strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.principles span { color: var(--muted); font-size: 15px; }
.note { font-size: 13px; color: var(--muted); font-style: italic; max-width: 70ch; }
