/* ==========================================================================
   Made in France & Marion — feuille de style
   ========================================================================== */

:root {
  /* Palette — tirée de la devanture (vert sauge/canard), des céramiques
     "Vichy" (bleu marine) et des bijoux/matières (moutarde, terracotta). */
  --color-bg: #f7f2e7;
  --color-bg-alt: #efe6d3;
  --color-ink: #2a2822;
  --color-ink-soft: #58534a;
  --color-sage: #4c5f54;
  --color-sage-dark: #33453c;
  --color-sage-light: #7c9284;
  --color-navy: #1f3350;
  --color-mustard: #c17f2e;
  --color-terracotta: #b1543a;
  --color-line: #ddd0b0;
  --color-card-bg: #fffdf8;
  --shadow-soft: 0 12px 30px -18px rgba(42, 40, 34, 0.45);
  --radius: 4px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  font-weight: 600;
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-sage-dark);
  display: inline-block;
}

.lede {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 62ch;
}

/* ---------- Boutons / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--color-sage-dark);
  color: #fdfaf2;
}
.btn-primary:hover { background: var(--color-navy); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: var(--color-bg); }
.btn-light {
  background: #fdfaf2;
  color: var(--color-ink);
}
.btn-light:hover { background: #fff; transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 242, 231, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-ink);
}
.brand svg { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.main-nav a {
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #fdfaf2;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 34, 27, 0.15) 0%, rgba(24, 26, 20, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3.4rem;
  width: 100%;
}
.hero .eyebrow { color: #f0e6c8; }
.hero .eyebrow::before { background: #f0e6c8; }
.hero h1 { color: #fffdf6; max-width: 16ch; }
.hero .lede { color: #eee6d4; }
.hero-cta { margin-top: 1.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero.hero-compact { min-height: 46vh; }

/* ---------- Sections génériques ---------- */
section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark {
  background: var(--color-sage-dark);
  color: #fdfaf2;
}
.section-dark .eyebrow,
.section-dark h2,
.section-dark h3 { color: #fdfaf2; }
.section-dark .eyebrow::before { background: #fdfaf2; }
.section-dark .lede { color: #dfe6de; }

.section-head {
  max-width: 700px;
  margin-bottom: 2.8rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Deux activités (accueil) ---------- */
.split-activities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.split-activities > * { min-width: 0; }
.activity-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.activity-card .activity-img { aspect-ratio: 3/4; overflow: hidden; }
.activity-card .activity-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.activity-card:hover .activity-img img { transform: scale(1.04); }
.activity-card-body { padding: 2rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.activity-card-body p { color: var(--color-ink-soft); flex: 1; }
.text-link {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--color-sage-dark);
}
.text-link::after { content: "→"; transition: transform .15s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Listes à puces stylées ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.check-list li {
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
  color: var(--color-ink-soft);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 0.55em;
  background: var(--color-terracotta);
  border-radius: 50%;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 0; margin: 0; list-style: none; }
.pill-list li {
  border: 1px solid var(--color-sage-dark);
  color: var(--color-sage-dark);
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Galerie ---------- */
.gallery {
  columns: 4 260px;
  column-gap: 1.1rem;
}
.gallery figure {
  margin: 0 0 1.1rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.gallery img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9em 1em 0.7em;
  font-size: 0.82rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(20,22,17,.82), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery figure:hover figcaption { opacity: 1; }

/* ---------- Bloc infos pratiques ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.info-grid > * { min-width: 0; }
.info-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.info-row { display: flex; gap: 1em; padding: 0.9em 0; border-bottom: 1px solid var(--color-line); flex-wrap: wrap; }
.info-row > * { min-width: 0; }
.info-row:last-child { border-bottom: none; }
.info-row .label { min-width: 110px; font-weight: 700; color: var(--color-sage-dark); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.info-row a { text-decoration: none; }
.info-row a:hover { text-decoration: underline; }
.map-frame {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3.2;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(15%); }
.map-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.social-row { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.social-row svg { width: 18px; height: 18px; }
.social-row a:hover { background: var(--color-ink); color: var(--color-bg); }

/* ---------- Restauration : volets ---------- */
.volet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.volet-grid > * { min-width: 0; }
.volet {
  background: var(--color-card-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.volet .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-terracotta);
  font-weight: 600;
  margin-bottom: 0.6em;
  display: block;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
}
.principles span { white-space: nowrap; }
.principles span:not(:last-child)::after { content: "·"; margin-left: 1rem; color: var(--color-terracotta); font-style: normal; }

.credentials { display: grid; gap: 0.9rem; padding: 0; margin: 0; list-style: none; }
.credentials li {
  display: flex; gap: 0.8em;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--color-line);
}
.credentials li:last-child { border-bottom: none; padding-bottom: 0; }
.credentials .year {
  font-family: var(--font-display);
  color: var(--color-navy);
  font-weight: 600;
  min-width: 4.2em;
}

.bio-portrait {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.bio-portrait > * { min-width: 0; }
.bio-portrait img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* ---------- Bandeau contact / CTA final ---------- */
.cta-banner {
  text-align: center;
}
.cta-banner h2 { max-width: 26ch; margin-left: auto; margin-right: auto; }
.cta-banner .btn { margin-top: 1rem; }
.cta-banner .tel-link { font-family: var(--font-display); font-size: 1.6rem; display: block; margin-top: 1.2rem; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: #21261f;
  color: #d9d6c9;
  padding: 4rem 0 2rem;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-grid a { text-decoration: none; color: #d9d6c9; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: #b7b3a4; max-width: 34ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  color: #8f8c7e;
  font-size: 0.85rem;
}
.footer-bottom a { color: #8f8c7e; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Bandeau cookies ---------- */
#cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-ink);
  color: #fdfaf2;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  z-index: 100;
  display: none;
  font-size: 0.92rem;
}
#cookie-banner.is-visible { display: block; }
#cookie-banner p { margin: 0 0 1rem; color: #ece7d8; }
#cookie-banner .cookie-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
#cookie-banner a { color: #fff; text-decoration: underline; }
#cookie-banner button {
  border: 1px solid #fdfaf2;
  background: transparent;
  color: #fdfaf2;
  padding: 0.55em 1.2em;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
}
#cookie-banner button.accept { background: #fdfaf2; color: var(--color-ink); }

/* ---------- Page légale ---------- */
.legal-content { max-width: 74ch; }
.legal-content h2 { margin-top: 2.2rem; font-size: 1.3rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { color: var(--color-ink-soft); }
.legal-content a { color: var(--color-sage-dark); }
.fill-in {
  background: #fff2d8;
  border: 1px dashed var(--color-mustard);
  padding: 0.15em 0.5em;
  border-radius: 3px;
  font-size: 0.92em;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page .wrap { display: flex; flex-direction: column; align-items: center; }
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--color-sage-light);
  line-height: 1;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: 0.8em 1.2em;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split-activities,
  .volet-grid,
  .info-grid,
  .bio-portrait { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-portrait { text-align: left; }
  .gallery { columns: 3 200px; }
}

@media (max-width: 720px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 88vh; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }
  section { padding: 3.6rem 0; }
  .gallery { columns: 2 160px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* ---------- Nav mobile ouverte (panneau plein écran, hors du header sticky) ---------- */
.mobile-nav-panel {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 60;
  padding: 110px 24px 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  font-size: 1.3rem;
  font-weight: 600;
}
.mobile-nav-panel a {
  text-decoration: none;
  color: var(--color-ink);
}
body.nav-open .mobile-nav-panel { transform: translateX(0); }
body.nav-open { overflow: hidden; }
@media (min-width: 721px) {
  .mobile-nav-panel { display: none; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
}
