/* Nicolas Muster, cuisinier de renfort
   Concept : un bandeau vert sapin qui porte le message et la photo, puis des blocs clairs
   teintés de vert. Un seul gros geste de couleur (le héros), le reste reste calme. */

:root {
  /* Couleurs */
  --forest: #143d2c;        /* vert sapin, fonds sombres */
  --forest-deep: #0e2c20;   /* pied de page */
  --leaf: #2b7a4e;          /* vert feuille, boutons et accents */
  --herb: #9ad483;          /* vert herbe, accent sur fond sombre */
  --sage: #c9dfc6;          /* texte doux sur fond sombre */
  --mint: #e2eee0;          /* surfaces claires */
  --bg: #f4f8f2;
  --surface: #ffffff;
  --ink: #10231a;
  --ink-soft: #435649;
  --rule: #cddbcb;

  /* Typographie */
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
p { margin: 0 0 1.1em; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.4rem; letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--herb); }

svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 1.2em; height: 1.2em; flex: none; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 6px; }
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section__head { max-width: 40rem; margin-bottom: 2.5rem; }
.section__head p { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--forest); font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; letter-spacing: -.01em; }
.brand:hover { color: var(--forest); }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: .78rem; color: var(--ink-soft); letter-spacing: 0; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--leaf); }
.nav a[aria-current="page"] { color: var(--leaf); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 8px; width: 44px; height: 44px; color: var(--forest); cursor: pointer; place-items: center; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: var(--forest); color: #fff; }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--herb); color: var(--forest); }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--forest); border-color: #fff; }
.btn--small { padding: .5rem 1.05rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* ---------- Héros ---------- */
.on-dark { background: var(--forest); color: #fff; }
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 7vw, 5.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--herb); }
.hero .lead { font-size: 1.22rem; color: var(--sage); max-width: 33em; }
.hero .note { color: var(--sage); font-size: .98rem; margin: 1.3rem 0 0; }

/* Portrait détouré dans un cadre ton sur ton, comme au début, la tête reste entièrement dedans */
.portrait { position: relative; isolation: isolate; margin: 0 16px 16px 0; padding-top: 9%; width: min(100%, 420px); justify-self: center; }
.portrait::after { content: ""; position: absolute; z-index: 0; top: 16px; left: 16px; right: -16px; bottom: -16px; border: 2px solid var(--herb); border-radius: 14px; }
.portrait::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; bottom: 0; border-radius: 14px; background: #1d4e38; }
.portrait img { position: relative; z-index: 2; display: block; width: 100%; height: auto; clip-path: inset(0 round 0 0 14px 14px); }

/* Bandeau d'infos */
.facts { background: var(--mint); border-bottom: 1px solid var(--rule); }
.facts ul { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: .5rem 2rem; list-style: none; margin: 0; padding-block: 1.1rem; font-weight: 600; color: var(--forest); font-size: .98rem; }
.facts li::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--leaf); margin-right: .6rem; }

/* ---------- Catégories de services ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 230px; padding: 1.7rem; border-radius: var(--radius); background: var(--mint); color: var(--ink); }
.tile--wide { grid-column: span 4; }
.tile--forest { background: var(--forest); color: #fff; }
.tile--leaf { background: var(--leaf); color: #fff; }
.tile__tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); }
.tile--forest .tile__tag { color: var(--herb); }
.tile--leaf .tile__tag { color: #d9f0cf; }
.tile h3 { margin-bottom: .4rem; }
.tile p { margin: 0; color: var(--ink-soft); max-width: 30em; }
.tile--forest p { color: var(--sage); }
.tile--leaf p { color: #e8f6e2; }
.tile--wide h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- Engagements ---------- */
.band { background: var(--surface); border-block: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding-block: 1.2rem; border-top: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
.rows strong { font-family: var(--display); font-size: 1.15rem; color: var(--forest); }
.rows span { color: var(--ink-soft); }

/* ---------- Zones ---------- */
.zones { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--forest); }
.zones a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding: 1.5rem .5rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: background .15s, padding .15s; }
.zones a:hover { background: var(--mint); padding-inline: 1.2rem; color: var(--ink); }
.zones strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--forest); }
.zones span { color: var(--ink-soft); }
.zones .i { width: 1.8rem; height: 1.8rem; color: var(--leaf); }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--forest); padding-top: 1.1rem; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--leaf); margin-bottom: .6rem; }
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; border-top: 2px solid var(--forest); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 1.7rem; height: 1.7rem; flex: none; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232b7a4e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 70% no-repeat; }
.faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232b7a4e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 10h10'/%3E%3C/svg%3E"); }
.faq details p { margin: 0 0 1.3rem; color: var(--ink-soft); max-width: 42em; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: var(--sage); max-width: 30em; }
.contact .phone { display: inline-block; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.02em; color: var(--herb); text-decoration: none; line-height: 1.1; margin-bottom: 1rem; }
.contact .phone:hover { color: #fff; }
.contact__buttons { display: grid; gap: .8rem; }
.contact__buttons .btn { justify-content: flex-start; padding-block: 1rem; }
.contact__info { margin: 0; font-size: .98rem; color: var(--sage); }
.contact__info a { color: #fff; }

/* ---------- Pages région ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; }
.page-hero h1 span { color: var(--herb); }
.page-hero .lead { color: var(--sage); font-size: 1.2rem; max-width: 36em; }
.crumbs { font-size: .9rem; color: var(--sage); margin-bottom: 1.4rem; }
.crumbs a { color: var(--sage); }
.crumbs a:hover { color: #fff; }
.prose p { max-width: 38em; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.chips li { background: var(--mint); color: var(--forest); font-weight: 600; font-size: .95rem; padding: .4rem .9rem; border-radius: 999px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--forest-deep); color: var(--sage); padding: 3rem 0 6rem; font-size: .96rem; }
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--herb); margin-bottom: .8rem; }
.site-footer p { margin: 0 0 .35rem; }
.site-footer strong { color: #fff; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; }

.call-bar { display: none; }

/* ---------- Approche, parcours, tarifs ---------- */
.pitch h2 { color: var(--forest); }
.pitch p { color: var(--ink-soft); font-size: 1.12rem; max-width: 34em; }
.split--parcours { grid-template-columns: .8fr 1.2fr; }
.split--parcours h3 { margin-bottom: 1rem; }
.rows--narrow li { grid-template-columns: 6.5rem 1fr; padding-block: .95rem; }
.rows--narrow strong { font-size: 1rem; color: var(--leaf); }
.rows--narrow b { color: var(--ink); font-weight: 600; }
.rows--wide { max-width: 46rem; margin-top: 2rem; }
.rows--wide li { grid-template-columns: 16rem 1fr; }
.fineprint { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: .95rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--rule); }
.timeline time { font-weight: 600; color: var(--leaf); font-variant-numeric: tabular-nums; font-size: .98rem; }
.timeline strong { font-family: var(--display); font-size: 1.15rem; color: var(--forest); }
.timeline p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .98rem; }
.more { border-top: 1px solid var(--rule); }
.more summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; color: var(--leaf); }
.more[open] summary { margin-bottom: -1px; }
.more .timeline li:first-child { border-top: 1px solid var(--rule); }

.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 46rem; }
.price { display: flex; flex-direction: column; gap: .2rem; padding: 1.7rem; border-radius: var(--radius); background: var(--forest); color: #fff; }
.price--leaf { background: var(--leaf); }
.price__label { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--herb); }
.price--leaf .price__label { color: #d9f0cf; }
.price strong { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; margin-top: .6rem; }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 900px) {
  .hero__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .portrait { width: min(calc(100% - 16px), 340px); justify-self: start; }
  .facts ul { grid-template-columns: repeat(2, auto); justify-content: start; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile--wide { grid-column: auto; min-height: 0; gap: 1.8rem; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .rows li, .rows--wide li { grid-template-columns: 1fr; gap: .2rem; }
  .rows--narrow li { grid-template-columns: 5rem 1fr; gap: .8rem; }
  .split--parcours { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: .1rem; }
  .prices { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }

  .nav-toggle { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: .3rem 1.25rem 1.1rem; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: .9rem; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--rule); }
  .call-bar .btn { padding: .75rem .5rem; }
}


/* ---------- Animations au défilement ----------
   Uniquement pour les navigateurs qui les gèrent, et jamais si la personne a demandé moins de mouvement.
   Sans cela, tout reste affiché normalement. */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--leaf); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes ring-in { from { opacity: 0; transform: translate(-16px, -16px); } to { opacity: 1; transform: none; } }
  @keyframes tile-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  .portrait::after { animation: ring-in .9s .25s cubic-bezier(.2, .8, .2, 1) both; }
  .btn, .tile, .zones a { transition: transform .2s ease, background .15s, color .15s, border-color .15s, padding .15s; }
  .tile:hover { transform: translateY(-4px); }
  .btn:hover { transform: translateY(-2px); }

  @supports (animation-timeline: view()) {
    @keyframes progress { to { transform: scaleX(1); } }
    @keyframes hero-out { to { opacity: .1; transform: translateY(-40px); } }
    @keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    .site-header::after { animation: progress linear both; animation-timeline: scroll(root); }

    .hero__text { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 10vh 70vh; }

    .section__head, .tile, .price, .pitch, .rows li, .timeline li, .zones li, .faq details, .contact__grid > * {
      animation: tile-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
    }
    .tile:nth-child(even), .rows li:nth-child(even) { animation-range: entry 10% entry 55%; }

    .steps li { border-top-color: transparent; position: relative; }
    .steps li::after { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--forest); transform-origin: 0 50%; animation: line-grow linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}


/* ---------- Motion design (suite) : courts, discrets, désactivés si « moins de mouvement » ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fade-up { from { opacity: .3; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes bar-up { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes open-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

  /* Arrivée sur la page : le texte du haut apparaît en cascade */
  .hero h1, .page-hero h1 { animation: fade-up .7s .05s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .lead, .page-hero .lead, .crumbs { animation: fade-up .7s .18s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .actions, .page-hero .actions { animation: fade-up .7s .3s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .note { animation: fade-up .7s .42s cubic-bezier(.2, .8, .2, 1) both; }
  .portrait img { animation: fade-up .9s .15s cubic-bezier(.2, .8, .2, 1) both; }
  .call-bar { animation: bar-up .5s .6s cubic-bezier(.2, .8, .2, 1) both; }

  /* Petits retours au survol */
  .btn .i, .zones .i { transition: transform .2s ease; }
  .btn:hover .i { transform: translateX(2px); }
  .zones a:hover .i { transform: translateX(6px); }
  .nav a:not(.btn) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s ease, color .15s; }
  .nav a:not(.btn):hover { background-size: 100% 2px; text-decoration: none; }
  .chips li { transition: transform .2s ease, background .2s ease; }
  .chips li:hover { transform: translateY(-2px); background: var(--sage); }

  /* FAQ et « voir les autres expériences » : le contenu s'ouvre en douceur */
  .faq details[open] p, .more[open] .timeline { animation: open-down .3s ease both; }
  .faq summary::after { transition: transform .25s ease; }
  .faq details[open] summary::after { transform: rotate(180deg); }

  @supports (animation-timeline: view()) {
    @keyframes header-shadow { to { box-shadow: 0 6px 20px rgba(16, 35, 26, .08); } }
    @keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
    @keyframes price-in { from { opacity: .2; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

    /* L'en-tête prend une ombre légère dès qu'on commence à descendre */
    .site-header { animation: header-shadow linear both; animation-timeline: scroll(root); animation-range: 0 120px; }

    /* Apparitions au défilement, en cascade */
    .facts li, .chips li, .prose p, .split > div > h3, .page-top .crumbs, .section > .wrap > p {
      animation: tile-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
    .facts li:nth-child(2), .chips li:nth-child(2) { animation-range: entry 5% entry 45%; }
    .facts li:nth-child(3), .chips li:nth-child(3) { animation-range: entry 10% entry 50%; }
    .facts li:nth-child(4), .chips li:nth-child(4) { animation-range: entry 15% entry 55%; }
    .chips li:nth-child(5) { animation-range: entry 20% entry 60%; }

    /* Les numéros des étapes « éclosent », les prix arrivent avec un léger zoom */
    .steps li::before { animation: pop linear both; animation-timeline: view(); animation-range: entry 10% entry 50%; }
    .price strong { animation: price-in linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print { .site-header, .call-bar { display: none; } }

/* Résumé « En bref » : présent pour les moteurs de recherche et les IA, discret pour les visiteurs */
.site-footer__summary { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; line-height: 1.55; color: rgba(201, 223, 198, .6); max-width: 60rem; }
.site-footer__summary p { margin: 0 0 .4rem; }
.site-footer__summary strong { color: rgba(201, 223, 198, .8); font-weight: 600; }
