/* =========================================================
   Coeur de Meute — charte reprise de l'enseigne
   Blanc / bleu ardoise / terracotta / sable / bleu poudré
   ========================================================= */

:root {
  --white: #ffffff;
  --cream: #f7f3ee;
  --ink: #2f3a4a;          /* bleu ardoise des textes de l'enseigne */
  --ink-soft: #5b6676;
  --rust: #a65a43;         /* tache terracotta */
  --rust-dark: #8a4733;
  --sand: #c9a98a;         /* tache sable / beige */
  --brown: #8b6a52;        /* tache brune */
  --blue: #8ea2b5;         /* tache bleu poudré */
  --copper: #c98a62;       /* trait cuivré du chien en vitrine */

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --header-h: 84px;
  --shadow: 0 18px 40px -22px rgba(47, 58, 74, .35);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; }

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.narrow { width: min(760px, 100% - 40px); }

.center { text-align: center; }

.section { padding: 100px 0; }

.section--tinted { background: var(--cream); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: .8em;
}

.welcome {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--rust);
  margin-bottom: .35em;
}

.title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); font-size: .95rem; }

.divider {
  display: block;
  width: 70px;
  height: 14px;
  margin: 30px auto 0;
  background:
    radial-gradient(circle at 10px 7px, var(--blue) 6px, transparent 7px),
    radial-gradient(circle at 35px 7px, var(--rust) 6px, transparent 7px),
    radial-gradient(circle at 60px 7px, var(--sand) 6px, transparent 7px);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--rust);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, transform .25s;
}

.btn:hover { background: var(--rust-dark); transform: translateY(-2px); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); }

/* ---------- Taches organiques (motif de l'enseigne) ---------- */
.blob {
  position: absolute;
  display: block;
  pointer-events: none;
}

.blob--rust  { background: var(--rust);  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; }
.blob--sand  { background: var(--sand);  border-radius: 40% 60% 35% 65% / 55% 40% 60% 45%; }
.blob--blue  { background: var(--blue);  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
.blob--brown { background: var(--brown); border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 80px 20px;
  overflow: hidden;
  background: var(--white);
  text-align: center;
}

.hero__blob-1 { width: 360px; height: 240px; top: -90px;  left: -110px; transform: rotate(-12deg); }
.hero__blob-2 { width: 300px; height: 200px; top: 40px;   left: 140px;  opacity: .55; transform: rotate(18deg); }
.hero__blob-3 { width: 260px; height: 220px; bottom: -70px; right: -60px; }
.hero__blob-4 { width: 170px; height: 130px; bottom: 90px; right: 150px; opacity: .85; transform: rotate(-20deg); }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__emblem {
  position: relative;
  width: clamp(190px, 26vw, 300px);
  margin: 0 auto 26px;
}

/* halo doux derrière le logo, dans l'esprit des taches de l'enseigne */
.hero__emblem::before {
  content: "";
  position: absolute;
  inset: 4% -10% -6% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 169, 138, .28), rgba(201, 169, 138, 0));
  border-radius: 50%;
}

.hero__emblem img {
  width: 100%;
  height: auto;
  animation: emblem-in .9s ease-out both;
}

@keyframes emblem-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__emblem img { animation: none; }
}

.hero__kicker {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--ink);
  margin-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25em;
  font-size: clamp(3rem, 10vw, 6.2rem);
  color: var(--ink);
  margin: 0 0 .25em;
  letter-spacing: -.01em;
}

.logo__de {
  display: inline-grid;
  place-items: center;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: .42em;
  font-weight: 700;
  line-height: 1;
  padding-bottom: .08em;
}

.tagline {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 42px;
}

.tagline span { color: var(--rust); margin: 0 .5em; font-weight: 600; }

/* ---------- SERVICES ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service {
  background: var(--white);
  border: 1px solid #e8e1d8;
  border-radius: var(--radius);
  padding: 38px 26px;
  transition: transform .3s, box-shadow .3s;
}

.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service__icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.service__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--rust);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 { font-size: 1.35rem; }
.service p  { color: var(--ink-soft); margin: 0; }

/* ---------- À PROPOS ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.about__media {
  position: relative;
  margin: 0;
}

.about__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 70% 50%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__blob {
  width: 200px;
  height: 160px;
  left: -40px;
  bottom: -40px;
  transform: rotate(-15deg);
}

.about__text p { color: var(--ink-soft); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 11px;
  background: var(--rust);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

/* ---------- PREMIER SÉJOUR ---------- */
.steps {
  position: relative;
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.steps::before,
.steps::after {
  content: "";
  position: absolute;
  opacity: .9;
}

.steps::before {
  width: 220px; height: 160px; left: -70px; top: -50px;
  background: var(--rust);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.steps::after {
  width: 180px; height: 140px; right: -50px; bottom: -50px;
  background: var(--blue);
  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
}

.steps .container { position: relative; z-index: 1; }

.eyebrow--light { color: var(--sand); }

.steps__grid {
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 56px;
  margin-bottom: 20px;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.5rem;
  border-radius: 40% 60% 35% 65% / 55% 40% 60% 45%;
}

.step:nth-child(2) .step__num { background: var(--rust); color: var(--white); }
.step:nth-child(3) .step__num { background: var(--blue); }

.step h3 { font-size: 1.35rem; }
.step p  { color: rgba(255, 255, 255, .78); margin: 0; }

/* ---------- CONTACT ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.contact__card {
  border-radius: var(--radius);
  padding: 46px 40px;
  background: var(--cream);
}

.contact__card h3 {
  font-size: 1.4rem;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(47, 58, 74, .15);
}

.contact__big {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: .3em;
}

.contact__card .muted { margin-top: 1.2em; }

.notes {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.notes li {
  position: relative;
  padding: 14px 16px 14px 44px;
  margin-bottom: 10px;
  background: var(--white);
  border-radius: 12px;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.notes li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 16px;
  height: 13px;
  background: var(--rust);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.notes li:nth-child(2)::before { background: var(--blue); }

.notes strong { color: var(--ink); }

.contact__card--accent {
  background: var(--rust);
  color: var(--white);
}

.contact__card--accent h3 { border-color: rgba(255, 255, 255, .3); }

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  word-break: break-word;
}

.contact__list svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.7;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 70px 0 50px;
}

.footer h4 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 14px;
}

.footer p + h4 { margin-top: 22px; }

.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }

.footer__logo {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: .5em;
}

.footer .logo__de { background: var(--white); color: var(--ink); }

.logo__de--small {
  width: 1.4em;
  height: 1.4em;
  font-size: .55em;
  vertical-align: .25em;
}

.footer__tag { color: var(--copper); letter-spacing: .06em; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  font-size: .8rem;
  text-align: center;
}

.footer__bottom p { margin: 0; }

/* ---------- EN-TÊTE / MENU ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #ece5dc;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height .35s;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand .logo__de { font-size: .5em; width: 1.7em; height: 1.7em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transition: transform .25s;
}

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav a[aria-current="page"] { color: var(--rust); }

.btn--small { padding: 10px 20px; font-size: .8rem; letter-spacing: .05em; white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sur ordinateur : la bannière reste en haut et devient translucide au défilement */
@media (min-width: 1081px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -20px rgba(47, 58, 74, .45);
    border-bottom-color: transparent;
  }

  .site-header.is-scrolled .site-header__inner { height: 68px; }

  .site-header.is-scrolled:hover { background: rgba(255, 255, 255, .96); }
}

/* ---------- EN-TÊTE DES PAGES INTÉRIEURES ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background: var(--cream);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero__title {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  color: var(--ink);
}

.page-hero__blob-1 { width: 260px; height: 180px; top: -70px; left: -80px; transform: rotate(-12deg); }
.page-hero__blob-2 { width: 160px; height: 110px; top: 30px; left: 120px; opacity: .55; transform: rotate(18deg); }
.page-hero__blob-3 { width: 220px; height: 170px; bottom: -80px; right: -50px; }

/* ---------- Liens & boutons complémentaires ---------- */
.link-arrow {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--rust);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow::after { content: " →"; transition: margin .25s; }
.link-arrow:hover::after { margin-left: 4px; }

.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  padding: 12px 32px;
}

.btn--outline:hover { background: rgba(255, 255, 255, .12); }

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 12px 32px;
}

.btn--outline-dark:hover { background: var(--ink); color: var(--white); }

.more { margin-top: 50px; }

.narrow-text { max-width: 640px; margin-inline: auto; }

/* ---------- VALEURS ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.value { text-align: center; padding: 10px 14px; }

.value__shape {
  display: block;
  width: 78px;
  height: 62px;
  margin: 0 auto 22px;
}

.value__shape--blue { background: var(--blue); border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
.value__shape--rust { background: var(--rust); border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; }
.value__shape--sand { background: var(--sand); border-radius: 40% 60% 35% 65% / 55% 40% 60% 45%; }

.value h3 { font-size: 1.5rem; }
.value p  { color: var(--ink-soft); }

/* ---------- ÉQUIPE ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.member {
  text-align: center;
  padding: 40px 28px;
  border: 1px solid #e8e1d8;
  border-radius: var(--radius);
}

.member__avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 84px;
  margin: 0 auto 22px;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--white);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.member__avatar svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.member__avatar--rust { background: var(--rust); }
.member__avatar--sand { background: var(--sand); color: var(--ink); border-radius: 40% 60% 35% 65% / 55% 40% 60% 45%; }
.member__avatar--brown { background: var(--brown); border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
.member__avatar--blue { background: var(--blue); border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }

.member h3 { font-size: 1.3rem; margin-bottom: .2em; }

.member__role {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
}

.member p:last-child { color: var(--ink-soft); margin: 0; }

/* ---------- SERVICES DÉTAILLÉS ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: center;
  padding: 50px 0;
}

.feature + .feature { border-top: 1px solid #ece5dc; }

.feature--reverse .feature__visual { order: 2; }

.feature__visual {
  display: grid;
  place-items: center;
  width: min(380px, 100%);
  justify-self: center;
  aspect-ratio: 5 / 4;
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.feature__visual svg {
  width: 34%;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__visual--rust  { background: var(--rust); }
.feature__visual--blue  { background: var(--blue); border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
.feature__visual--sand  { background: var(--sand); border-radius: 40% 60% 35% 65% / 55% 40% 60% 45%; }
.feature__visual--brown { background: var(--brown); border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }

.feature__text > p { color: var(--ink-soft); }
.feature__text .muted { margin-top: 18px; font-style: italic; }

/* ---------- PENSION ---------- */
.services__grid--3 { grid-template-columns: repeat(3, 1fr); }

.info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.info-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--cream);
}

.info-card h3 {
  font-size: 1.35rem;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(47, 58, 74, .15);
}

.info-card .checklist { margin: 0; }
.info-card .checklist li { font-weight: 400; color: var(--ink-soft); }

.info-card--accent { background: var(--ink); color: var(--white); }
.info-card--accent h3 { border-color: rgba(255, 255, 255, .2); }
.checklist--light li { color: rgba(255, 255, 255, .85) !important; }
.checklist--light li::before { background: var(--sand); }

/* ---------- GALERIE ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 18px;
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

.gallery__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: none;
}

.gallery__open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.gallery__open:hover img { transform: scale(1.05); }

.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  color: var(--white);
  font-size: .9rem;
  background: linear-gradient(transparent, rgba(47, 58, 74, .75));
  pointer-events: none;
}

.gallery__placeholder {
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
}

.gallery__placeholder--rust  { background: var(--rust); }
.gallery__placeholder--sand  { background: var(--sand); }
.gallery__placeholder--blue  { background: var(--blue); }
.gallery__placeholder--brown { background: var(--brown); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(30, 37, 47, .92);
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- À PROPOS ---------- */
.map {
  margin-top: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.faq { margin-top: 40px; }

.faq details {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-family: var(--serif);
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--rust);
  transition: transform .25s;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* ---------- APPEL À L'ACTION ---------- */
.cta {
  background: var(--rust);
  color: var(--white);
  padding: 70px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .3em; }
.cta p  { margin: 0; color: rgba(255, 255, 255, .88); max-width: 560px; }

.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pied de page : liens ---------- */
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 6px; }

/* ---------- MENU DÉROULANT « NOS SERVICES » ---------- */
.has-sub { position: relative; display: flex; align-items: center; }

.sub-toggle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: -8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.sub-toggle svg {
  width: 10px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s;
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1081px) {
  .sub-menu {
    position: absolute;
    top: 100%;
    left: -8px;
    min-width: 250px;
    padding: 10px !important;
    display: block !important;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 20px 40px -18px rgba(47, 58, 74, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  /* petite zone tampon pour que le menu ne se ferme pas entre le lien et la liste */
  .sub-menu::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -14px;
    height: 14px;
  }

  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu,
  .has-sub.is-open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .has-sub:hover .sub-toggle svg,
  .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }

  .site-nav .sub-menu a:not(.btn) {
    padding: 10px 14px;
    border-radius: 9px;
    font-weight: 400;
  }

  .site-nav .sub-menu a:not(.btn)::after { display: none; }

  .site-nav .sub-menu a:not(.btn):hover { background: var(--cream); color: var(--rust); }
  .site-nav .sub-menu a[aria-current="page"] { background: var(--cream); }
}

/* ---------- EN-TÊTE DE PAGE SERVICE ---------- */
.page-hero .eyebrow a { text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }

.page-hero__icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.page-hero__icon svg,
.svc-card__icon svg,
.pillar__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-hero__icon svg { width: 40px; height: 40px; }

.page-hero__icon--rust,  .svc-card__icon--rust  { background: var(--rust);  color: var(--white); }
.page-hero__icon--blue,  .svc-card__icon--blue  { background: var(--blue);  color: var(--white); }
.page-hero__icon--sand,  .svc-card__icon--sand  { background: var(--sand);  color: var(--ink); }
.page-hero__icon--brown, .svc-card__icon--brown { background: var(--brown); color: var(--white); }

/* ---------- PAGE SERVICE : PRÉSENTATION ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail__text > p { color: var(--ink-soft); font-size: 1.05rem; }

.title--sm { font-size: 1.5rem; margin-top: 1.4em; }

.note {
  margin-top: 26px;
  padding: 16px 20px;
  border-left: 3px solid var(--rust);
  background: var(--cream);
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.service-aside {
  position: sticky;
  top: 100px;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--rust);
  color: var(--white);
}

.service-aside h3 {
  font-size: 1.35rem;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.service-aside dl { margin: 0 0 26px; }
.service-aside dl div { margin-bottom: 14px; }

.service-aside dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.service-aside dd { margin: 2px 0 0; }

/* ---------- CARTES DE SERVICE ---------- */
.svc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 46px;
}

.svc-card {
  flex: 1 1 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  padding: 34px 28px;
  background: var(--white);
  border: 1px solid #e8e1d8;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}

.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.svc-card__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.svc-card__icon svg { width: 28px; height: 28px; }

.svc-card h3 { font-size: 1.25rem; }
.svc-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }

.svc-card__more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--rust);
}

.svc-card__more::after { content: " →"; }

.svc-grid--compact { margin-top: 24px; gap: 18px; }
.svc-grid--compact .svc-card { flex: 1 1 190px; max-width: 260px; padding: 26px 22px; }
.svc-grid--compact .svc-card h3 { font-size: 1.1rem; }
.svc-grid--compact .svc-card p { font-size: .88rem; }

.subhead {
  margin: 60px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}

/* ---------- PILIERS (éducation & pension) ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.pillar {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 48px 44px;
  border-radius: 24px;
  color: var(--white);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}

.pillar::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 180px;
  background: rgba(255, 255, 255, .12);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.pillar--rust { background: var(--rust); }
.pillar--blue { background: var(--ink); }

.pillar__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 60px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, .16);
  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
}

.pillar__icon svg { width: 32px; height: 32px; }

.pillar__tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 8px;
}

.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.pillar p { color: rgba(255, 255, 255, .88); flex: 1; position: relative; z-index: 1; }

.pillar__more {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 10px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- SIMULATEUR DE PRIX ---------- */
.sim {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  margin-top: 50px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sim__form { padding: 44px 44px 36px; }

.sim__field {
  border: 0;
  margin: 0 0 30px;
  padding: 0;
  min-width: 0;
}

.sim__field legend,
.sim__legend {
  display: block;
  padding: 0;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
}

.sim__sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sim__size { cursor: pointer; }

.sim__size input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sim__size-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 20px 10px 16px;
  text-align: center;
  border: 2px solid #e8e1d8;
  border-radius: 16px;
  transition: border-color .2s, background .2s, transform .2s;
}

.sim__size-card svg {
  height: 36px;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.sim__size-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.02rem; }
.sim__size-card small  { color: var(--ink-soft); font-size: .8rem; }
.sim__size-card em     { margin-top: 6px; font-style: normal; font-weight: 600; font-size: .85rem; color: var(--rust); }

.sim__size:hover .sim__size-card { border-color: var(--sand); }

.sim__size input:checked + .sim__size-card {
  border-color: var(--rust);
  background: #fbf3ef;
}

.sim__size input:checked + .sim__size-card svg { stroke: var(--rust); }

.sim__size input:focus-visible + .sim__size-card { outline: 3px solid var(--blue); outline-offset: 2px; }

.sim__duration {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.sim__stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid #e8e1d8;
  border-radius: 999px;
  overflow: hidden;
}

.sim__stepper button {
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s;
}

.sim__stepper button:hover { background: #ece4d9; }

.sim__stepper input {
  width: 64px;
  height: 46px;
  border: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  -moz-appearance: textfield;
}

.sim__stepper input:focus { outline: none; background: #fbf3ef; }

.sim__stepper input::-webkit-outer-spin-button,
.sim__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sim__unit { color: var(--ink-soft); }

.sim__range {
  --fill: 0%;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--rust) var(--fill), #e8e1d8 var(--fill));
  cursor: pointer;
}

.sim__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--rust);
  box-shadow: 0 4px 10px -4px rgba(47, 58, 74, .5);
}

.sim__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--rust);
}

.sim__range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .78rem;
  color: var(--ink-soft);
}

.sim__hint {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--cream);
  font-size: .9rem;
  color: var(--ink-soft);
}

.sim__result {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 40px;
  background: var(--ink);
  color: var(--white);
}

.sim__result::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -50px;
  width: 200px;
  height: 160px;
  background: var(--rust);
  opacity: .9;
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.sim__result > * { position: relative; z-index: 1; }

.sim__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}

.sim__total {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 6px;
}

.sim__detail { color: rgba(255, 255, 255, .8); margin-bottom: 14px; }

.sim__saving {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(201, 169, 138, .22);
  color: #f1dcc7;
  font-size: .85rem;
  font-weight: 600;
}

.sim__result .btn { align-self: flex-start; margin-top: 18px; }

.sim__note { margin: 18px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .6); }

.sim__table {
  width: 100%;
  max-width: 760px;
  margin: 40px auto 0;
  border-collapse: collapse;
  font-size: .95rem;
}

.sim__table th,
.sim__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e3dbd0;
}

.sim__table thead th {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
}

.sim__table tbody th { font-family: var(--serif); font-weight: 400; }
.sim__table tbody th small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); }
.sim__table td { color: var(--ink-soft); }

/* ---------- ADMINISTRATION DES TARIFS ---------- */
.admin { background: var(--cream); }

.admin__wrap { max-width: 900px; }

.admin__card {
  margin-top: 30px;
  padding: 36px 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin__card .title--sm:first-child,
.admin__card > input[type="hidden"] + .title--sm { margin-top: 0; }

.admin input[type="text"],
.admin input[type="number"],
.admin input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e8e1d8;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.admin input:focus { outline: none; border-color: var(--rust); }

.admin__inline { display: block; color: var(--ink-soft); }
.admin__inline input[type="number"] { width: 80px; margin: 0 6px; text-align: center; }

.admin__table-wrap { overflow-x: auto; }

.admin__table { width: 100%; min-width: 620px; border-collapse: collapse; }

.admin__table th {
  padding: 0 8px 10px;
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust);
}

.admin__table td { padding: 6px 8px; }

.admin__money { display: flex; align-items: center; gap: 6px; }
.admin__money input { max-width: 100px; }

.admin__preview {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: .92rem;
}

.admin__preview.is-error { background: #fbe9e4; color: var(--rust-dark); }

.admin__label { display: block; margin: 18px 0 8px; font-weight: 600; }

.admin__login { max-width: 460px; }
.admin__login .title { margin-bottom: 10px; }

.admin__lock {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 56px;
  margin-bottom: 14px;
  background: var(--rust);
  color: var(--white);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.admin__lock svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.admin__submit { width: 100%; margin-top: 26px; border: 0; cursor: pointer; }

.admin__header-actions { display: flex; gap: 10px; align-items: center; }
.admin__header-actions form { margin: 0; }

.admin__password summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.admin__password[open] summary { margin-bottom: 6px; }
.admin__password input { max-width: 420px; }
.admin__header-actions .btn { border: 0; cursor: pointer; }
.admin__header-actions .btn--outline-dark { border: 2px solid var(--ink); padding: 8px 18px; }

.admin__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.admin__actions .btn { border: 0; cursor: pointer; }
.admin__actions .btn--outline-dark { border: 2px solid var(--ink); }
.admin .btn:disabled { opacity: .6; cursor: wait; }

.admin__status { margin: 18px 0 0; min-height: 1.5em; font-weight: 600; }
.admin__status.is-success { color: #3f7a4f; }
.admin__status.is-error { color: var(--rust-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services__grid,
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Menu mobile / tablette */
@media (max-width: 1080px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 20px 26px;
    background: var(--white);
    border-bottom: 1px solid #ece5dc;
    box-shadow: 0 20px 30px -24px rgba(47, 58, 74, .4);
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav ul { flex-direction: column; gap: 0; }

  .site-nav a:not(.btn) {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid #f0ebe4;
  }

  .site-nav a:not(.btn)::after { display: none; }

  .site-nav__cta { text-align: center; }

  .site-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }

  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .has-sub > a:not(.btn) { border-bottom: 0 !important; }
  .has-sub { border-bottom: 1px solid #f0ebe4; }

  .sub-toggle { width: 44px; height: 44px; margin: 0; border-radius: 10px; background: var(--cream); }
  .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }

  .sub-menu { display: none; width: 100%; padding: 0 0 10px 14px; }
  .has-sub.is-open .sub-menu { display: block; }

  .site-nav .sub-menu a:not(.btn) {
    padding: 10px 4px;
    font-weight: 400;
    font-size: .95rem;
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .steps__grid,
  .services__grid,
  .contact__grid,
  .values__grid,
  .team__grid,
  .info__grid,
  .feature,
  .about__grid { grid-template-columns: 1fr; }

  .feature { gap: 30px; padding: 40px 0; }

  .service-detail,
  .sim,
  .pillars { grid-template-columns: 1fr; }
  .sim__form, .sim__result { padding: 34px 26px; }
  .admin__card { padding: 28px 22px; }
  .admin__header-actions .btn--outline-dark { display: none; }
  .service-detail { gap: 40px; }
  .service-aside { position: static; }
  .pillar { padding: 38px 30px; }
  .feature--reverse .feature__visual { order: 0; }
  .feature__visual { width: min(320px, 80%); margin-inline: auto; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }

  .page-hero { padding: 80px 0 64px; }

  .cta__inner { flex-direction: column; text-align: center; }
  .cta__actions { justify-content: center; }

  .about__grid { gap: 50px; }

  .steps { padding: 72px 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .hero__blob-1 { width: 240px; height: 170px; }
  .hero__blob-2 { width: 180px; height: 120px; left: 80px; top: 10px; }
  .hero__blob-3 { width: 180px; height: 150px; }
  .hero__blob-4 { width: 110px; height: 85px; right: 90px; bottom: 70px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .contact__card { padding: 34px 24px; }
  .logo { gap: .18em; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .brand { font-size: 1.3rem; }
  .gallery { grid-template-columns: 1fr; }
  .sim__sizes { gap: 8px; }
  .sim__size-card { padding: 16px 4px 12px; }
  .sim__size-card small { font-size: .72rem; }
  .sim__table th, .sim__table td { padding: 12px 8px; font-size: .85rem; }
  .gallery__item--wide { grid-column: auto; }
  .gallery__item--tall { grid-row: auto; }
  .map iframe { height: 300px; }
}
