:root {
  --green: #0d5c2e;
  --green-deep: #084422;
  --green-soft: #1a7a3e;
  --yellow: #f0c000;
  --yellow-deep: #d4a800;
  --red: #c8102e;
  --sand: #f3efe4;
  --sand-deep: #e7e0d0;
  --ink: #142218;
  --muted: #4a5c50;
  --white: #ffffff;
  --line: rgba(13, 92, 46, 0.14);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: "Outfit", sans-serif;
  line-height: 1.65;
  font-size: 1.05rem;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 40;
  background: var(--white);
  padding: 0.5rem 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 228, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover { color: var(--green); }

.nav a.btn,
.nav a.btn:hover { color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-icon {
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  flex: 0 0 auto;
}

.btn-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover { background: #1ebe5d; }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  font: inherit;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover { background: var(--green-soft); }

.btn-accent {
  background: var(--yellow);
  color: var(--green-deep);
}

.btn-accent:hover { background: var(--yellow-deep); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero — full-bleed brand first */
.hero {
  position: relative;
  min-height: min(100vh, 56rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-veil {
  background:
    linear-gradient(180deg, rgba(8, 68, 34, 0.35) 0%, rgba(8, 68, 34, 0.78) 55%, rgba(8, 68, 34, 0.94) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(240, 192, 0, 0.22), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 42rem;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
  animation: rise 0.9s ease both;
}

.hero-mark {
  width: min(16rem, 58vw);
  height: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
  animation: rise 1s 0.08s ease both;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  animation: rise 1s 0.16s ease both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  animation: rise 1s 0.24s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s 0.32s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 5rem 0;
}

.section-deep {
  background: var(--green-deep);
  color: var(--white);
}

.section-contact {
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
  padding: 4.5rem 0;
}

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 0 0 0.75rem;
}

.kicker-light { color: var(--yellow); }

.section h2,
.contact-panel h2 {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 38rem;
  color: var(--muted);
  margin: 0 0 2.25rem;
}

.ecole-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.ecole-copy p { color: var(--muted); }
.ecole-copy strong { color: var(--ink); }

.ecole-shot {
  margin: 0;
}

.ecole-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
}

.ecole-shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.defis-list {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.defis-list article {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.defis-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.defi-num {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.defis-list h3 {
  grid-column: 2;
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
}

.defis-list p {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
}

.aider-rows {
  display: grid;
  gap: 0.85rem;
}

.aider-row {
  display: grid;
  grid-template-columns: 12rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.aider-row:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 92, 46, 0.08);
}

.aider-who {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green);
}

.aider-what {
  color: var(--muted);
  font-size: 0.98rem;
}

.aider-cta {
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.directeur-photo {
  flex: 0 0 7.5rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 32rem;
}

.contact-links {
  display: grid;
  gap: 0.85rem;
}

.contact-links a,
.contact-links p {
  display: block;
  margin: 0;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.9rem;
  color: var(--white);
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-links small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.site-footer {
  background: var(--sand-deep);
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img:not(.footer-men) {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-men {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
}

.footer-credit {
  font-weight: 600;
  color: var(--green);
  font-size: 0.92rem;
}

.footer-credit:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a.btn {
    margin-top: 0.75rem;
    border: 0;
    text-align: center;
  }

  .nav .nav-actions {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 0 0.15rem;
    border-bottom: 0;
  }

  .nav .nav-actions a.btn {
    margin-top: 0;
    padding: 0;
    border-bottom: 0;
  }

  .hero { min-height: 92vh; }

  .hero-inner {
    margin-left: auto;
    margin-right: auto;
    padding: 6.5rem 0 3.5rem;
  }

  .ecole-grid,
  .contact-panel,
  .aider-row {
    grid-template-columns: 1fr;
  }

  .directeur-photo {
    flex-basis: 5.75rem;
    width: 5.75rem;
    height: 5.75rem;
  }

  .aider-cta { justify-self: start; }

  .defis-list article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .defi-num { font-size: 1.5rem; }

  .defis-list h3,
  .defis-list p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Subpages: Vie de l'école + Espace parent */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
}
.page-hero-photo {
  position: relative;
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(8, 68, 34, 0.45) 0%, rgba(8, 68, 34, 0.88) 100%),
    var(--hero-photo) center / cover no-repeat;
  padding: 5.5rem 0 2.75rem;
}
.page-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255,255,255,0.88);
}
.empty-state {
  padding: 2rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,0.55);
  color: var(--muted);
  text-align: center;
}
.feed { display: grid; gap: 1rem; }
.feed-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
}
.feed-item h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.feed-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.feed-item .plain-body {
  margin: 0;
  white-space: pre-wrap;
}
.feed-item .rich-body {
  margin: 0;
  line-height: 1.55;
}
.feed-item .rich-body p {
  margin: 0 0 0.65em;
}
.feed-item .rich-body p:last-child {
  margin-bottom: 0;
}
.feed-item .rich-body h2,
.feed-item .rich-body h3 {
  font-family: "Fraunces", serif;
  margin: 0.85em 0 0.4em;
  font-size: 1.05rem;
}
.feed-item .rich-body ul,
.feed-item .rich-body ol {
  margin: 0 0 0.65em;
  padding-left: 1.35rem;
}
.feed-item .rich-body ul {
  list-style: disc;
}
.feed-item .rich-body ol {
  list-style: decimal;
}
.feed-item .rich-body a {
  color: var(--green-deep, #084422);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.feed-item .rich-body blockquote {
  margin: 0.65em 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--line);
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.alumni-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}
@media (max-width: 860px) {
  .alumni-layout { grid-template-columns: 1fr; }
}
.alumni-intro h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0.35rem 0 0.75rem;
}
.alumni-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.35rem 1.4rem 1.5rem;
}
.alumni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
@media (max-width: 640px) {
  .alumni-grid { grid-template-columns: 1fr; }
  .alumni-span-2 { grid-column: auto; }
}
.alumni-span-2 { grid-column: 1 / -1; }
.alumni-form .field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.alumni-form .field input,
.alumni-form .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}
.alumni-form .field textarea { resize: vertical; min-height: 7rem; }
.alumni-pledge {
  margin: 0.35rem 0 0;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #f7faf7;
}
.alumni-pledge legend {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0 0.25rem;
}
.alumni-pledge-hint {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.alumni-pledge-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.alumni-pledge-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.alumni-pledge-choice:has(input:checked) {
  border-color: var(--green);
  background: #e7f5ec;
  color: var(--green-deep);
}
.alumni-pledge-choice input {
  accent-color: var(--green);
}
#pledge-custom-wrap {
  margin-top: 0.85rem;
}
.alumni-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.1rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}
.alumni-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.alumni-success {
  grid-column: 1 / -1;
  max-width: 36rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.75rem 1.5rem;
}
.alumni-success h2 {
  font-family: "Fraunces", serif;
  margin: 0.35rem 0 0.75rem;
}
.pin-form {
  max-width: 24rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.5rem;
}
.pin-form input {
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  margin: 0.75rem 0 1rem;
}
.pin-form-phone {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.pin-form-pin {
  font-size: 1.6rem;
  letter-spacing: 0.35em;
}
.parent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}
.parent-tabs button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.parent-tabs button.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.child-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
}
.child-card h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.5rem;
}
.child-card dl {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0;
}
.child-card dt { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.child-card dd { margin: 0; }
.doc-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  font-weight: 600;
  color: var(--green);
}
.doc-link:hover { border-color: var(--green); }
.subnav-extra a { font-weight: 700; color: var(--green); }

/* Logo splash (homepage intro) */
.logo-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(240, 192, 0, 0.18), transparent 55%),
    linear-gradient(165deg, #0a4a26 0%, var(--green-deep) 48%, #052816 100%);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.logo-splash.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.logo-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.logo-splash-glow {
  position: absolute;
  width: min(28rem, 80vw);
  height: min(28rem, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 192, 0, 0.22) 0%, transparent 68%);
  animation: splash-glow 2.4s ease-in-out infinite alternate;
}
.logo-splash-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}
.logo-splash-mark {
  width: min(15rem, 58vw);
  height: auto;
  margin-bottom: 0.85rem;
  opacity: 0;
  transform: scale(0.82);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35));
}
.logo-splash.is-visible .logo-splash-mark {
  animation: splash-mark 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.logo-splash-name {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: -0.02em;
  opacity: 0;
}
.logo-splash.is-visible .logo-splash-name {
  animation: splash-text 0.75s ease 0.55s both;
}
.logo-splash-skip {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
}
.logo-splash.is-visible .logo-splash-skip {
  animation: splash-text 0.5s ease 0.9s both;
}
.logo-splash-skip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}
body.splash-lock {
  overflow: hidden;
}
@keyframes splash-mark {
  from { opacity: 0; transform: scale(0.82) translateY(12px); }
  65% { opacity: 1; transform: scale(1.04) translateY(0); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes splash-text {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splash-glow {
  from { transform: scale(0.92); opacity: 0.7; }
  to { transform: scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-splash,
  .logo-splash-mark,
  .logo-splash-name,
  .logo-splash-skip,
  .logo-splash-glow {
    animation: none !important;
    transition: none !important;
  }
  .logo-splash.is-visible .logo-splash-mark,
  .logo-splash.is-visible .logo-splash-name,
  .logo-splash.is-visible .logo-splash-skip {
    opacity: 1;
    transform: none;
  }
}

/* Besoin: ordinateur / digitalisation */
.besoin-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 2.5rem;
  align-items: start;
}
.besoin-copy p {
  max-width: 38rem;
  color: var(--muted);
}
.besoin-copy h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.besoin-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.25rem;
  text-align: center;
}
.besoin-aside img {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  margin: 0 auto 0.85rem;
  display: block;
  border: 3px solid rgba(13, 92, 46, 0.12);
}
.besoin-aside p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}
.besoin-aside strong {
  color: var(--green-deep);
  font-size: 1.05rem;
}
.besoin-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
.besoin-cta {
  display: grid;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.besoin-cta:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 92, 46, 0.08);
}
.besoin-cta-label {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
}
.besoin-cta-text {
  color: var(--muted);
  font-size: 0.98rem;
}
.besoin-cta-action {
  font-weight: 700;
  color: var(--green);
  margin-top: 0.35rem;
}
.besoin-back {
  margin: 2rem 0 0;
  font-weight: 600;
}
.besoin-back a {
  color: var(--green);
}
.besoin-back a:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .besoin-layout,
  .besoin-cta-grid {
    grid-template-columns: 1fr;
  }
}
