/* =========================================================
   Ardève Magique – Nurserie et Crèche
   Style inspiré de lejardindelilou.fr, couleurs du logo
   ========================================================= */

:root {
  --orange: #f29049;        /* couleur exacte du logo */
  --orange-500: #ec8037;
  --orange-600: #e06a22;
  --orange-700: #bf5317;    /* texte orange lisible sur fond clair */
  --brown: #7d3d1a;
  --sun: #ffbf3c;
  --sun-soft: #ffe7b0;
  --peach: #ffe9d8;         /* fond principal (équivalent du rose du modèle) */
  --peach-200: #ffdcc2;
  --peach-300: #ffcca6;
  --cream: #fff5ec;         /* bandes claires */
  --white: #fff;
  --ink: #4a2c1c;
  --ink-soft: #77513d;
  --line: #f6cfb3;

  --f-title: "Short Stack", "Comic Sans MS", cursive;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-btn: "Roboto", system-ui, sans-serif;

  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(191, 83, 23, .35);
  --shadow-sm: 0 8px 22px -12px rgba(191, 83, 23, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--peach);
  color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-600); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--orange-700); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 12px; text-decoration: none;
}
.skip:focus { top: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Titres & textes ---------- */
.title {
  font-family: var(--f-title);
  color: var(--orange);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.title--left { text-align: left; }
.ink { color: var(--brown); }
.nw { white-space: nowrap; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 640px; margin: 0 auto 1.2em; }
.note { text-align: center; color: var(--ink-soft); font-style: italic; margin-top: 28px; }
.link { color: var(--orange-700); font-weight: 700; text-decoration: none; background: linear-gradient(currentColor 0 0) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.link:hover { background-size: 100% 2px; }

.squiggle {
  display: block; width: 130px; height: 16px; margin: 14px auto 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 16'%3E%3Cpath d='M3 8c8-8 16-8 24 0s16 8 24 0 16-8 24 0 16 8 24 0 16-8 24 0' fill='none' stroke='%23f29049' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.title--left + .squiggle { margin-left: 0; }

/* ---------- Boutons (pilules, police Roboto comme le modèle) ---------- */
.btn {
  --bg: #fffaf6;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px;
  font: 500 17px/1.2 var(--f-btn);
  color: var(--orange-700);
  background: var(--bg);
  border: 2px solid var(--orange);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn:hover { background: var(--orange-600); border-color: var(--orange-600); color: #fff; transform: translateY(-3px) rotate(-1.5deg); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--fill { background: linear-gradient(135deg, #d9641f, var(--orange-700)); border-color: transparent; color: #fff; font-weight: 500; box-shadow: var(--shadow-sm); }
.btn--fill:hover { background: linear-gradient(135deg, #c95719, #a8470f); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }

/* ---------- Bandes & vagues ---------- */
section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.band { background: var(--cream); }
.wave { position: absolute; left: 0; right: 0; top: 1px; transform: translateY(-100%); height: clamp(36px, 5vw, 72px); color: var(--cream); pointer-events: none; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave path { fill: currentColor; }

/* ---------- Petits dessins ---------- */
.doodle { position: absolute; color: var(--orange); pointer-events: none; overflow: visible; }
.doodle--float { animation: float 6s ease-in-out infinite; }
.doodle--spin { animation: spin 14s linear infinite; }
.doodle--spin-slow { animation: spin 40s linear infinite; }
.doodle--drift { animation: drift 16s ease-in-out infinite alternate; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 75;
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  transition: background-color .4s, box-shadow .4s, height .4s;
}
.header.is-scrolled { background: rgba(255, 245, 236, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 30px -18px rgba(191, 83, 23, .5); --header-h: 70px; }
.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .header__logo img { filter: brightness(0) invert(1); }
.header__logo { flex: none; display: block; }
.header__logo img { height: calc(var(--header-h) - 18px); width: auto; transition: height .4s; }
.header__nav { display: none; gap: 30px; margin-left: auto; }
.header__nav a { font: 600 16px var(--f-body); color: var(--ink); text-decoration: none; position: relative; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); }
.header__call {
  display: none; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font: 500 16px var(--f-btn); color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #d9641f, var(--orange-700));
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.header__call:hover { transform: translateY(-2px); }
.header__call svg { width: 18px; height: 18px; fill: currentColor; }

.burger {
  margin-left: auto; position: relative; z-index: 80;
  width: 52px; height: 52px; border: 0; background: transparent; cursor: pointer; border-radius: 14px;
  display: grid; place-content: center; gap: 7px;
}
.burger span { display: block; width: 38px; height: 4px; border-radius: 4px; background: var(--orange-700); transition: transform .45s var(--ease), opacity .3s, background-color .3s; }
.burger span:nth-child(2) { width: 30px; justify-self: end; }
.menu-open .burger span { background: #fff; }
.menu-open .burger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.menu-open .burger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: radial-gradient(120% 90% at 100% 0%, #f29049 0%, #e06a22 55%, #c95719 100%);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
  padding: 100px 24px 40px;
  clip-path: circle(0 at calc(100% - 50px) 42px);
  transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 42px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.menu__links a {
  font: clamp(30px, 5vw, 46px)/1.25 var(--f-title); color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease), color .2s;
}
.menu__links a:hover { color: var(--sun-soft); }
.menu-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i, 0) * .05s); }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-weight: 700; }
.menu__foot a { color: #fff; }
.menu__doodle { position: absolute; color: rgba(255, 255, 255, .35); }
.menu__doodle--sun { width: clamp(90px, 14vw, 170px); height: clamp(90px, 14vw, 170px); left: 6%; top: 12%; animation: spin 30s linear infinite; }
@media (max-width: 760px) { .menu__doodle--sun { top: auto; bottom: 8%; left: 8%; } }
.menu__doodle--cloud { width: 150px; height: 90px; right: 8%; bottom: 14%; animation: drift 10s ease-in-out infinite alternate; }
.menu__doodle--star { width: 60px; height: 60px; right: 22%; top: 18%; animation: float 5s ease-in-out infinite; }
.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 20px;
  max-width: 1320px; margin: 0 auto;
  padding: calc(var(--header-h) + 30px) var(--gutter) 70px;
  overflow: hidden;
}
.hero__text { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-title); color: var(--orange);
  font-size: clamp(54px, 7.4vw, 100px); line-height: .98; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero__title .split { display: inline-block; white-space: nowrap; }
.hero__title .ch { display: inline-block; animation: pop .8s var(--ease) both; animation-delay: calc(.15s + var(--i) * .05s); }
@keyframes pop { 0% { opacity: 0; transform: translateY(40px) scale(.6) rotate(-8deg); } 60% { opacity: 1; transform: translateY(-8px) scale(1.06) rotate(2deg); } 100% { transform: none; } }
.hero__sub { font: clamp(22px, 2.4vw, 30px)/1.3 var(--f-title); color: var(--orange-700); margin-bottom: 22px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero__meta span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 2px solid var(--peach-300);
  font-weight: 700; font-size: 15px; color: var(--ink);
}
.hero__meta span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 191, 60, .3); }
.hero__tag { font: clamp(19px, 1.9vw, 24px)/1.35 var(--f-title); color: var(--brown); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { position: relative; z-index: 1; }
.sunart { width: 100%; height: auto; overflow: visible; }
.sunart__rays line { stroke: var(--orange); stroke-width: 7; stroke-linecap: round; transform-box: fill-box; opacity: 0; animation: ray .5s var(--ease) forwards; animation-delay: calc(1.1s + var(--i) * .04s); }
.sunart__rays { transform-origin: 410px 240px; animation: breathe 4s ease-in-out 2.4s infinite; }
@keyframes ray { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.sunart__photo { opacity: 0; animation: photoIn 1.2s var(--ease) .5s forwards; transform-origin: 410px 240px; }
@keyframes photoIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
.sunart__ring { fill: none; stroke: var(--orange); stroke-width: 11; }
.sunart__hill { fill: var(--peach); }
.sunart__line { fill: none; stroke: var(--orange); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.badge {
  position: absolute; right: 2%; bottom: 4%;
  width: clamp(110px, 12vw, 150px); aspect-ratio: 1;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; animation: badgeIn .8s var(--ease) 2s forwards;
}
.badge > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font: 17px var(--f-title); fill: var(--orange-700); letter-spacing: 2.4px; }
.badge__sun { width: 46%; height: 46%; color: var(--orange); }
@keyframes badgeIn { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }

.hero__bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bubbles i {
  position: absolute; bottom: -60px; left: var(--x); z-index: 0;
  width: var(--s); height: var(--s); border-radius: 50%;
  border: 2px solid rgba(242, 144, 73, .45);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .15) 45%, transparent 70%);
  animation: rise var(--t) linear var(--d) infinite;
}
.hero__bubbles i:nth-child(1) { --x: 6%;  --s: 34px; --t: 14s; --d: 0s; }
.hero__bubbles i:nth-child(2) { --x: 18%; --s: 18px; --t: 11s; --d: 3s; }
.hero__bubbles i:nth-child(3) { --x: 34%; --s: 26px; --t: 16s; --d: 6s; }
.hero__bubbles i:nth-child(4) { --x: 47%; --s: 14px; --t: 10s; --d: 1s; }
.hero__bubbles i:nth-child(5) { --x: 58%; --s: 40px; --t: 18s; --d: 4s; }
.hero__bubbles i:nth-child(6) { --x: 72%; --s: 22px; --t: 13s; --d: 8s; }
.hero__bubbles i:nth-child(7) { --x: 86%; --s: 30px; --t: 15s; --d: 2s; }
.hero__bubbles i:nth-child(8) { --x: 94%; --s: 16px; --t: 12s; --d: 7s; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-50vh) translateX(20px); } 90% { opacity: .8; } 100% { transform: translateY(-105vh) translateX(-10px); opacity: 0; } }

.hero__d1 { width: 60px; height: 60px; left: 35%; top: 27%; }
.hero__d2 { width: 44px; height: 44px; left: 44%; top: 16%; color: var(--sun); }
.hero__d3 { width: 46px; height: 46px; left: 40%; bottom: 14%; animation-delay: -2s; }

.hero__scroll { position: absolute; left: 22%; bottom: 22px; transform: translateX(-50%); width: 30px; height: 48px; border: 3px solid var(--orange); border-radius: 20px; z-index: 3; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 6px; height: 10px; margin-left: -3px; border-radius: 4px; background: var(--orange); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   INTRO
   ========================================================= */
.intro__doodles .doodle--sunbig { width: 150px; height: 150px; left: 6%; top: 60px; }
.intro__doodles .doodle--flower2 { width: 90px; height: 90px; right: 9%; top: 90px; color: var(--orange-600); }
.intro__doodles .doodle--smile { width: 80px; height: 80px; right: 5%; bottom: 120px; animation-delay: -3s; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 46px 0 10px; }
.pillars li { padding: 30px 22px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.pillars li:hover { transform: translateY(-6px) rotate(-1deg); }
.pillars__ico { width: 52px; height: 52px; color: var(--orange); margin: 0 auto 12px; display: block; }
.pillars h3 { font: 21px/1.3 var(--f-title); color: var(--orange-700); margin-bottom: 8px; }
.pillars p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.highlight { font: clamp(20px, 2.2vw, 26px)/1.4 var(--f-title); color: var(--orange-600); margin: 44px 0 26px; }

/* =========================================================
   LE NOM
   ========================================================= */
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.story__text { position: relative; }
.story__text p { font-size: 18px; }
.story__text .title { margin-bottom: 24px; }
.doodle--crown { position: relative; display: block; width: 92px; height: 72px; margin-bottom: 18px; color: var(--orange); }
.blob {
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
  overflow: hidden; box-shadow: var(--shadow);
  animation: morph 16s ease-in-out infinite;
  border: 8px solid #fff;
}
.blob img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.3; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.blob:hover img { transform: scale(1.1); }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
  50% { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
}
.story__photo { margin: 0; }
.story__photo figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font: 19px var(--f-title); color: var(--orange-700); }
.story__photo figcaption svg { width: 46px; height: 30px; color: var(--orange); }

/* =========================================================
   UNE JOURNÉE – cartes photos
   ========================================================= */
.days .doodle--balloon { width: 64px; height: 120px; right: 6%; top: 70px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: 50px; }
.card { text-align: center; }
.card__img {
  background: #fff; padding: 10px; border-radius: 30px;
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--r, -1.5deg));
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card:nth-child(2n) .card__img { --r: 1.6deg; }
.card:nth-child(3n) .card__img { --r: -.8deg; }
.card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; }
.card:hover .card__img { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: var(--shadow); }
.card h3 { font: 23px/1.3 var(--f-title); color: var(--orange-700); margin: 22px 0 6px; }
.card p { font-size: 16px; color: var(--ink-soft); margin: 0 auto; max-width: 280px; }

/* =========================================================
   NURSERIE & CRÈCHE
   ========================================================= */
.groups__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: 44px; }
.group { background: var(--white); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.group:hover { transform: translateY(-6px); }
.group__img { overflow: hidden; }
.group__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.group:hover .group__img img { transform: scale(1.06); }
.group__body { padding: 30px clamp(22px, 3vw, 38px) 36px; position: relative; }
.tag { position: absolute; top: -20px; left: clamp(22px, 3vw, 38px); padding: 8px 18px; border-radius: 999px; background: var(--sun); color: var(--brown); font-weight: 800; font-size: 15px; box-shadow: var(--shadow-sm); }
.group--alt .tag { background: var(--orange-700); color: #fff; }
.group h3 { font: clamp(28px, 3vw, 36px)/1.2 var(--f-title); color: var(--orange); margin: 10px 0 10px; }
.group p { color: var(--ink-soft); }
.checks li { position: relative; padding-left: 34px; margin-top: 10px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23e06a22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* =========================================================
   RYTHME – frise
   ========================================================= */
.rhythm .doodle--cloud { width: 130px; height: 76px; left: 4%; top: 60px; color: var(--peach-300); }
.timeline { position: relative; max-width: 900px; margin: 56px auto 0; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; z-index: 0; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; }
.timeline::before { background: repeating-linear-gradient(to bottom, var(--peach-300) 0 10px, transparent 10px 18px); }
.timeline::after { background: var(--orange); transform-origin: top; transform: scaleY(var(--p)); }
/* chaque étape passe au-dessus de la ligne (même pendant l'animation d'apparition) */
.timeline li { position: relative; z-index: 1; width: 50%; padding: 0 64px 34px 0; text-align: right; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 34px 64px; text-align: left; }
.timeline time {
  position: absolute; top: -6px; right: -36px; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 4px solid var(--orange); color: var(--orange-700);
  font: 17px var(--f-title); box-shadow: var(--shadow-sm);
}
.timeline li:nth-child(even) time { right: auto; left: -36px; }
.timeline h3 { font: 24px/1.2 var(--f-title); color: var(--orange-600); margin: 10px 0 4px; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* =========================================================
   REPAS
   ========================================================= */
.meals__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.meals__photo { position: relative; margin: 0; }
.meals__photo .blob img { aspect-ratio: 4 / 4.6; }
.blob--b { animation-delay: -6s; }
.doodle--swirl { width: 84px; height: 84px; right: 0; top: -24px; }
.meals__text .title { margin-bottom: 22px; }
.meals__text > p { font-size: 18px; }
.menu-card { margin-top: 28px; background: #fff; border-radius: var(--radius); padding: 26px clamp(20px, 3vw, 32px) 24px; box-shadow: var(--shadow); }
.menu-card__title { font: 22px var(--f-title); color: var(--orange-700); margin-bottom: 14px; }
.menu-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.menu-tabs button {
  flex: 1 1 0; min-width: 0; padding: 8px 6px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream);
  font: 700 15px var(--f-body); color: var(--ink-soft); cursor: pointer; transition: all .25s;
}
.menu-tabs button:hover { border-color: var(--orange); color: var(--orange-700); }
.menu-tabs button[aria-selected="true"] { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.menu-dishes { display: grid; gap: 8px; margin-bottom: 18px; min-height: 152px; }
.menu-dishes li { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 14px; background: var(--cream); font-weight: 600; animation: dish .45s var(--ease) both; animation-delay: calc(var(--i, 0) * .06s); }
.menu-dishes li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
@keyframes dish { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* =========================================================
   INFOS PRATIQUES
   ========================================================= */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: 48px; }
.tile { background: #fff; border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-6px) rotate(1deg); box-shadow: var(--shadow); }
.tile svg { width: 54px; height: 54px; margin: 0 auto 12px; fill: none; stroke: var(--orange); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.tile svg .fill { fill: var(--sun-soft); }
.tile h3 { font: 21px var(--f-title); color: var(--orange-700); margin-bottom: 4px; }
.tile p { margin: 0; font-weight: 700; font-size: 17px; }

/* =========================================================
   INSCRIPTION
   ========================================================= */
.doodle--star2 { width: 56px; height: 56px; left: 8%; top: 100px; color: var(--sun); }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin: 52px 0 40px; position: relative; counter-reset: s; }
.steps__list::before { content: ""; position: absolute; top: 40px; left: 16%; right: 16%; border-top: 4px dashed var(--peach-300); }
.steps__list li { position: relative; text-align: center; padding: 0 10px; }
.steps__num {
  display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 18px; position: relative;
  border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-600)); color: #fff;
  font: 38px var(--f-title); box-shadow: 0 0 0 10px var(--peach), var(--shadow-sm);
  transition: transform .4s var(--ease);
}
.steps__list li:hover .steps__num { transform: scale(1.08) rotate(-6deg); }
.steps__list h3 { font: 24px var(--f-title); color: var(--orange-700); margin-bottom: 6px; }
.steps__list p { color: var(--ink-soft); max-width: 290px; margin: 0 auto; }

/* =========================================================
   AVIS
   ========================================================= */
.quote { position: relative; margin: 60px auto 30px; max-width: 720px; background: #fff; border-radius: 36px; padding: clamp(40px, 6vw, 60px) clamp(24px, 5vw, 60px) 36px; box-shadow: var(--shadow); }
.quote__mark { position: absolute; top: -26px; left: 50%; width: 70px; height: 52px; margin-left: -35px; fill: var(--orange); }
.quote blockquote { margin: 0 0 20px; font: clamp(23px, 2.8vw, 32px)/1.4 var(--f-title); color: var(--brown); }
.quote figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; color: var(--ink-soft); }
.stars { font-size: 26px; letter-spacing: 3px; color: var(--sun); }
.stars__part { background: linear-gradient(90deg, var(--sun) 30%, #ead8c8 30%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   VISITE
   ========================================================= */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; }
.visit__photo img { width: 100%; border-radius: 30px; border: 10px solid #fff; box-shadow: var(--shadow); transform: rotate(-2.5deg); transition: transform .6s var(--ease); }
.visit__photo:hover img { transform: rotate(0) scale(1.02); }
.visit__text .title { text-align: left; margin-bottom: 18px; font-size: clamp(36px, 5vw, 58px); }
.visit__text p { font-size: 19px; max-width: 440px; margin-bottom: 28px; }
.doodle--sunwave { width: 130px; height: 130px; right: 2%; top: -60px; animation: wave 3s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes wave { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); margin-top: 44px; align-items: start; }
.coords { display: grid; gap: 14px; margin-bottom: 22px; }
.coords li { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow-sm); }
.coords svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--peach); fill: none; stroke: var(--orange-600); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.coords div { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.coords strong { font: 15px var(--f-title); color: var(--orange-700); }
.coords a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.coords a:hover { color: var(--orange-700); }
.map { border-radius: 24px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-sm); margin-bottom: 14px; background: var(--peach-200); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; }

.form { background: #fff; border-radius: 32px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { font: 26px var(--f-title); color: var(--orange); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); }
.form input:not([type="radio"]):not([type="checkbox"]), .form textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--line); border-radius: 16px;
  background: var(--cream); font-weight: 400; font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242, 144, 73, .2); }
.form .is-invalid { border-color: #d23b2a !important; background: #fff6f4 !important; }
.form__err { color: #b3261e; font-weight: 700; font-size: 14px; line-height: 1.35; }
.form__err::before { content: "⚠ "; }
.form__hint a { color: var(--orange-700); font-weight: 700; white-space: nowrap; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; display: inline-flex !important; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); font-weight: 700; font-size: 15px; transition: all .2s; }
.chip:hover span { border-color: var(--orange); }
.chip input:checked + span { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange-600); outline-offset: 2px; }
.form__hint { margin: -4px 0 0; font-size: 14px; color: var(--ink-soft); text-align: center; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.footer { padding: 80px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand img { width: 200px; margin-bottom: 18px; }
.footer h3 { font: 23px var(--f-title); color: var(--orange); margin-bottom: 14px; }
.footer li { margin-bottom: 8px; font-size: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange-700); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 50px; padding-top: 22px; border-top: 2px dashed var(--peach-300); font-size: 14px; color: var(--ink-soft); }
.footer__bottom p { margin: 0; }

/* Barre mobile, retour en haut, notification */
.mobilebar { display: none; }
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: #fff; color: var(--orange-700); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s, background-color .2s;
}
.totop svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.totop:hover { background: var(--orange-600); color: #fff; }
.far .totop { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s var(--ease), background-color .2s; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, calc(100% + 120px));
  background: var(--brown); color: #fff; padding: 14px 22px; border-radius: 18px; font-weight: 700;
  box-shadow: var(--shadow); transition: transform .5s var(--ease), visibility 0s .5s; width: max-content; max-width: calc(100% - 32px); text-align: center;
  visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* =========================================================
   Apparitions au défilement
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1100px) {
  .header__nav, .header__call { display: inline-flex; }
  .burger { display: none; }
}
@media (max-width: 1099px) {
  .header__logo img { height: calc(var(--header-h) - 22px); }
}
@media (max-width: 960px) {
  /* la photo passe en premier : c'est elle qu'on voit en ouvrant le site */
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--header-h) + 6px); gap: 0; min-height: auto; }
  .hero__meta, .hero__cta { justify-content: center; }
  .hero__art { order: -1; max-width: 440px; margin: 0 auto -10px; width: 100%; }
  .hero__d1 { width: 40px; height: 40px; left: 5%; top: calc(var(--header-h) + 26px); }
  .hero__d2 { left: auto; right: 6%; top: calc(var(--header-h) + 8px); width: 32px; height: 32px; }
  .hero__d3 { display: none; }
  .hero__scroll { display: none; }
  .story__grid, .meals__grid, .visit__grid, .contact__grid { grid-template-columns: 1fr; }
  .meals__photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .visit__text { text-align: center; }
  .visit__text .title { text-align: center; }
  .visit__text p { margin-left: auto; margin-right: auto; }
  .cards, .tiles { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .groups__grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .steps__list { grid-template-columns: 1fr; gap: 30px; }
  .steps__list::before { top: 40px; bottom: 60px; left: 50%; right: auto; border-top: 0; border-left: 4px dashed var(--peach-300); }
  .steps__list li { background: var(--peach); padding: 4px 10px 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .intro__doodles .doodle--sunbig { width: 90px; height: 90px; left: 2%; top: 30px; }
  .intro__doodles .doodle--flower2 { width: 60px; height: 60px; right: 3%; top: 40px; }
}
@media (min-width: 561px) and (max-width: 960px) {
  .coords { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; padding-bottom: 72px; }
  .timeline::before, .timeline::after { left: 36px; }
  .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 30px 100px; text-align: left; min-height: 86px; }
  .timeline time, .timeline li:nth-child(even) time { left: 0; right: auto; }
  .hero__art { max-width: min(90vw, 360px); margin-bottom: -22px; }
  .hero__title { font-size: 48px; margin-bottom: 12px; }
  .hero__sub { font-size: 21px; margin-bottom: 16px; }
  .hero__meta { gap: 6px; margin-bottom: 18px; }
  .hero__meta span { font-size: 13.5px; padding: 6px 12px 6px 9px; gap: 6px; }
  .hero__tag { font-size: 18px; margin-bottom: 22px; }
  .hero__bubbles { display: none; }
  .intro__doodles .doodle--smile { display: none; }
  .highlight { font-size: 19px; }
  .meals__photo { max-width: 300px; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 245, 236, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px -16px rgba(191, 83, 23, .6);
    transform: translateY(110%);
    transition: transform .4s var(--ease);
  }
  /* la barre n'apparaît qu'après les boutons du haut, et disparaît sur le formulaire */
  .show-bar .mobilebar { transform: none; }
  .mobilebar a { display: grid; place-items: center; height: 48px; border-radius: 999px; font: 500 17px var(--f-btn); text-decoration: none; }
  .mobilebar a:first-child { background: linear-gradient(135deg, #d9641f, var(--orange-700)); color: #fff; }
  .mobilebar a:last-child { border: 2px solid var(--orange); color: var(--orange-700); background: #fff; }
  .menu-open .mobilebar { transform: translateY(110%); }
  .totop { display: none; }
  .toast { bottom: 90px; }
  .doodle--sunwave { width: 80px; height: 80px; top: -40px; }
  .days .doodle--balloon { width: 40px; height: 76px; top: 30px; right: 4%; }
}
@media (max-width: 560px) {
  /* 2 photos par ligne : moins de défilement sur téléphone */
  .cards { grid-template-columns: 1fr 1fr; gap: 22px 14px; margin-top: 34px; }
  .card__img { padding: 6px; border-radius: 20px; }
  .card__img img { border-radius: 15px; }
  .card h3 { font-size: 18px; margin: 14px 0 4px; }
  .card p { font-size: 14px; line-height: 1.45; }
  .pillars { gap: 14px; margin-top: 30px; }
  .pillars li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; text-align: left; padding: 18px 18px 18px 16px; }
  .pillars__ico { grid-row: span 2; width: 44px; height: 44px; margin: 2px 0 0; }
  .pillars h3 { font-size: 19px; margin-bottom: 2px; }
  .pillars p { font-size: 15px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 22px 12px 20px; }
  .tile svg { width: 44px; height: 44px; }
  .tile h3 { font-size: 18px; }
  .tile p { font-size: 15px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .hero__meta span { font-size: 14px; }
  .btn { padding: 12px 22px; font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero__bubbles { display: none; }
}
