/* =====================================================================
   Design tokens — palette "coton et rose", révisée depuis la version
   vert pétrole / doré. Structure et noms de composants conservés pour
   assurer la continuité, seules les valeurs de couleur et quelques
   traitements décoratifs changent.
   ===================================================================== */
:root {
  --plum-950: #2e1b25;   /* prune très sombre — fonds foncés (boutons, contact, pied de page) */
  --plum-900: #452a37;
  --plum-800: #5c3a49;
  --plum-700: #7a4f5c;
  --plum-600: #966772;
  --ivory: #f7f0ec;      /* ivoire très clair, fond par défaut */
  --ivory-dim: #f0e0da;  /* ivoire légèrement rosé, sections alternées */
  --paper: #fffbf9;      /* blanc coton, cartes et blocs clairs */
  --terracotta: #9c5a46; /* rose terre cuite atténué — accent texte */
  --rose-light: #e3b8ae; /* rose poudré clair — accent sur fonds sombres */
  --ink: #3a2632;        /* prune très sombre, texte principal */
  --ink-soft: #6b535c;   /* brun rosé doux, texte secondaire */
  --line: rgba(46, 27, 37, 0.12);
  --error: #a33d2c;      /* terre cuite plus saturée, réservée aux erreurs */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --container-narrow: 760px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -25px rgba(46, 27, 37, 0.30);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--plum-950);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 500;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 3.85rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); letter-spacing: -0.005em; }
h3 { font-size: 1.3rem; font-weight: 600; font-family: var(--font-body); color: var(--plum-950); }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--plum-800); }

ul { padding-left: 1.2em; color: var(--ink-soft); }
ul li { margin-bottom: 0.5em; }

/* Discreet, recurring brand mark: a thin ring with an offset dot */
.mark {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 0.6em;
  border-radius: 50%;
  border: 1.4px solid currentColor;
  position: relative;
  vertical-align: middle;
  transform: translateY(-1px);
}
.mark::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: currentColor;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--plum-950); color: var(--ivory);
  padding: 0.8em 1.2em; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap-narrow { max-width: var(--container-narrow); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 0.8em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 48px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--plum-900);
  color: var(--ivory);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); background: var(--plum-800); }

.btn-secondary {
  background: transparent;
  color: var(--plum-900);
  border-color: var(--plum-900);
}
.btn-secondary:hover { background: var(--plum-900); color: var(--ivory); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--plum-950);
  border-color: var(--line);
  padding: 0.6em 1.3em;
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.btn-small { font-size: 0.9rem; min-height: 40px; }
.btn-large { padding: 1.05em 1.9em; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(247, 240, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7em;
  text-decoration: none;
  color: var(--plum-950);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}
.brand-mark {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.main-nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.3em 0;
}
.nav-menu a[aria-current="page"] { color: var(--terracotta); }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transition: right 0.2s ease;
}
.nav-menu a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum-950);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-cta { display: flex; }

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 1em 0; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dim) 100%);
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  top: -60px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(156, 90, 70, 0.3);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
.hero-soft-accent {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}
.hero-lede {
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.2rem;
}
.hero-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 40ch;
}

.hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.portrait-frame {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--paper);
  outline: 1px solid var(--line);
  z-index: 1;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  top: 26px; left: 50%;
  width: min(100%, 360px);
  aspect-ratio: 1/1;
  transform: translateX(calc(-50% + 22px));
  background: var(--plum-900);
  border-radius: var(--radius);
  z-index: 0;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(156, 90, 70, 0.25);
  pointer-events: none;
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.portrait-caption {
  position: relative;
  z-index: 1;
  margin: 1.6rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--plum-950);
  text-align: center;
  line-height: 1.4;
}
.portrait-caption span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 0.3em;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-portrait { max-width: 220px; margin: 2rem auto 0; }
  .portrait-frame { border-width: 4px; }
  .hero-portrait::before { top: 16px; transform: translateX(calc(-50% + 14px)); }
}

@media (max-width: 480px) {
  .hero { padding-top: 1.5rem; }
  .hero-lede { font-size: 1.02rem; }
}

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tinted { background: var(--plum-950); color: var(--ivory); }
.section-tinted h2, .section-tinted h3 { color: var(--ivory); }
.section-tinted p, .section-tinted li { color: rgba(247, 240, 236, 0.82); }
.section-tinted .eyebrow { color: var(--rose-light); }

.intro { position: relative; text-align: center; }
.intro-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--rose-light);
  line-height: 1;
  margin: 0 0 -0.5rem;
}
.intro h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.intro-lede { font-size: 1.18rem; max-width: 58ch; margin-left: auto; margin-right: auto; }

/* ===== Section head ===== */
.section-head { max-width: 46ch; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0; }

/* ===== Audience list (enfants / adolescents / adultes) ===== */
.section-audiences { padding-bottom: clamp(1rem, 3vw, 2rem); }
.audience-list { border-top: 1px solid var(--line); }
.audience-row {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}
.audience-body h3 { font-size: 1.5rem; margin-bottom: 0.9em; }
.audience-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.audience-content-single { grid-template-columns: 1fr; max-width: 62ch; }
.audience-content p { margin-bottom: 0.8em; }
.audience-content ul { margin: 0; }
.audience-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--plum-800);
  border-left: 2px solid var(--rose-light);
  padding-left: 1.2em;
  margin: 0;
}

@media (max-width: 720px) {
  .audience-content { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ===== Feature blocks (guidance parentale / orientation scolaire) ===== */
.section-feature { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-feature-alt { background: var(--ivory); }
.feature-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.section-feature-alt .feature-grid { grid-template-columns: 1.15fr 0.85fr; }
.section-feature-alt .feature-tag { order: 2; }
.section-feature-alt .feature-content { order: 1; }
.feature-tag h2 { max-width: 14ch; }
.feature-content ul { margin: 0 0 1.2em; }
.feature-content li { font-size: 1.02rem; }
.feature-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--plum-800);
  border-top: 1px solid var(--line);
  padding-top: 1.1em;
  margin-top: 1.2em;
  margin-bottom: 0;
}

@media (max-width: 780px) {
  .feature-grid,
  .section-feature-alt .feature-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-feature-alt .feature-tag,
  .section-feature-alt .feature-content { order: initial; }
  .feature-tag h2 { max-width: none; }
}

/* ===== Ateliers ===== */
.section-ateliers { background: var(--ivory-dim); }
.ateliers-inner { text-align: center; }
.ateliers-inner h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.ateliers-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 56ch;
  text-align: left;
  display: grid;
  gap: 0.9rem;
}
.ateliers-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0;
}
.ateliers-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.4px solid var(--terracotta);
}

/* ===== Parcours ===== */
.formations { margin-top: 2rem; }
.formation-list { list-style: none; padding: 0; }
.formation-list li {
  padding: 0.7em 0;
  border-bottom: 1px solid rgba(247, 240, 236, 0.15);
  color: rgba(247, 240, 236, 0.85);
}
.parcours-note { margin-top: 1.5rem; font-size: 1.05rem; }
.parcours-eft { margin-top: 1.5rem; font-size: 1.02rem; }

/* ===== Pricing table ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  background: transparent;
}
.pricing-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.pricing-table tbody { display: block; }
.pricing-table tr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35em 0;
  border-bottom: 1px solid var(--line);
}
.pricing-table tbody tr:first-child { border-top: 1px solid var(--line); }
.pricing-table td {
  padding: 0;
  border: none;
}
.pricing-table td:first-child {
  font-size: 1.05rem;
  color: var(--ink);
}
.pricing-table td:last-child {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--plum-900);
  white-space: nowrap;
  flex-shrink: 0;
}
.pricing-table tr:hover td:first-child { color: var(--plum-800); }
.pricing-note { margin-top: 1.5rem; font-size: 0.92rem; }

@media (max-width: 480px) {
  .pricing-table tr { align-items: flex-start; }
  .pricing-table td:first-child { max-width: 66%; }
}

/* ===== Contact ===== */
.section-contact {
  background: var(--plum-950);
  color: rgba(247, 240, 236, 0.85);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: "";
  position: absolute;
  bottom: -140px; left: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(247, 240, 236, 0.08);
}
.section-contact h2 { color: var(--ivory); }
.section-contact .eyebrow { color: var(--rose-light); }
.section-contact p { color: rgba(247, 240, 236, 0.78); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}
.contact-lede { font-size: 1.12rem; max-width: 50ch; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 1.2rem;
}
.section-contact .btn-secondary {
  color: var(--ivory);
  border-color: rgba(247, 240, 236, 0.4);
}
.section-contact .btn-secondary:hover {
  background: var(--ivory);
  color: var(--plum-950);
}
.sms-hint {
  font-size: 0.9rem;
  background: rgba(247, 240, 236, 0.06);
  border: 1px solid rgba(247, 240, 236, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.9em 1.2em;
  max-width: 48ch;
  color: rgba(247, 240, 236, 0.8);
}
.contact-details {
  margin: 2.2rem 0 0;
  display: grid;
  gap: 1.4rem;
}
.contact-details dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose-light);
  font-weight: 700;
  margin-bottom: 0.3em;
}
.contact-details dd { margin: 0; font-size: 1.05rem; color: var(--ivory); }
.contact-details a { color: var(--ivory); text-decoration-color: var(--rose-light); }
.hours-list { list-style: none; padding: 0; margin: 0 0 0.5em; color: var(--ivory); }
.hours-list li { margin-bottom: 0.3em; color: var(--ivory); }
.visio-note {
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(247, 240, 236, 0.72);
  margin: 0;
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 2.2rem;
  height: 100%;
  min-height: 220px;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
  position: relative;
}
.map-card:hover { transform: translateY(-3px); }
.map-card svg { width: 34px; height: 34px; color: var(--terracotta); }
.map-card span { font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.map-cta { color: var(--plum-800); font-weight: 700; font-size: 0.9rem; margin-top: 0.3em; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Appointment form ===== */
.appointment-form-card {
  margin-top: 3.5rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.appointment-form-card h3 { color: var(--plum-950); }
.appointment-form-card > p { color: var(--ink-soft); }
.appointment-form-card .form-warning {
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--ivory-dim);
  border-left: 3px solid var(--terracotta);
  padding: 0.8em 1.1em;
  border-radius: var(--radius-sm);
}
.appointment-form { margin-top: 1.6rem; }
.form-row { margin-bottom: 1.4rem; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--plum-950);
  margin-bottom: 0.45em;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.8em 1em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--ink);
  min-height: 48px;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 2px;
  border-color: var(--terracotta);
}
.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: var(--error);
}
.appointment-form-card .field-help {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.4em 0 0;
}
.appointment-form-card .char-counter {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0.4em 0 0;
  text-align: right;
}
.appointment-form-card .field-error {
  font-size: 0.85rem;
  color: var(--error);
  font-weight: 700;
  margin: 0.4em 0 0;
}
.form-row-checkbox {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.7em;
  align-items: start;
}
.form-row-checkbox input[type="checkbox"] {
  width: 22px; height: 22px;
  margin: 0.1em 0 0;
  accent-color: var(--plum-900);
}
.form-row-checkbox label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}
.form-row-checkbox .field-error { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: 1.4rem;
  padding: 1em 1.2em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}
.appointment-form-card .form-status-success { background: var(--ivory-dim); color: var(--plum-900); border: 1px solid var(--rose-light); }
.appointment-form-card .form-status-error { background: #fbeae6; color: var(--error); border: 1px solid var(--error); }

/* ===== Footer ===== */
.site-footer {
  background: var(--plum-950);
  color: rgba(247, 240, 236, 0.6);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(247, 240, 236, 0.12);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 240, 236, 0.12);
}
.footer-brand .brand-footer { color: var(--ivory); margin-bottom: 0.8em; }
.footer-tagline { max-width: 34ch; color: rgba(247, 240, 236, 0.65); margin: 0; }
.footer-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose-light);
  font-weight: 700;
  margin: 0 0 1em;
}
.footer-nav ul, .footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.2em;
}
.footer-nav a, .footer-contact a {
  display: inline-block;
  padding: 0.55em 0;
  color: rgba(247, 240, 236, 0.75);
  text-decoration: none;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--rose-light); }
.footer-contact li { color: rgba(247, 240, 236, 0.75); padding: 0.55em 0; }
.footer-contact li:has(a) { padding: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
}
.footer-bottom p { margin: 0; color: rgba(247, 240, 236, 0.55); }
.footer-note { margin: 0; }

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Articles page ===== */
.articles-hero {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dim) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.articles-hero .eyebrow { display: flex; align-items: center; }
.articles-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.articles-hero p { font-size: 1.1rem; max-width: 60ch; }
.articles-hero-cta { margin-top: 1.6rem; }

/* ---- Grille d'articles : cartes sobres, entièrement cliquables ---- */
.articles-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1.3rem, 2.5vw, 1.8rem);
}
.article-card-item { display: flex; }
.article-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--rose-light);
}
.article-card:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
}
.article-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory-dim);
  color: var(--terracotta);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.article-icon svg { width: 20px; height: 20px; }
.article-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.5em;
}
.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55em;
  color: var(--plum-950);
}
.article-summary { font-size: 0.92rem; margin-bottom: 1em; }
.article-source {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 1em;
  padding-top: 0.8em;
  border-top: 1px solid var(--line);
}
.article-cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--plum-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.article-cta::after {
  content: "→";
  transition: transform 0.15s ease;
}
.article-card:hover .article-cta::after { transform: translateX(3px); }

.articles-back { margin-top: 3rem; text-align: center; }
.articles-cta {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.articles-cta p { max-width: 50ch; margin-left: auto; margin-right: auto; }

/* ===== Scroll reveal =====
   Visible by default so content never disappears if JavaScript fails
   to load or run. The animation only activates once main.js has
   confirmed it is running, via the early "js" class on <html>. */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, html.js .reveal, html.js .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
