/* ==========================================================================
   Les Rescapés du Verger — feuille de style
   ========================================================================== */

:root {
  --red: #e5194b;
  --red-dark: #c3103c;
  --orange: #f39324;
  --yellow: #fbba12;
  --green: #17913f;
  --green-dark: #1e5a31;
  --cream: #fff8ef;
  --peach: #fdeedd;
  --pink-soft: #fde8e7;
  --green-soft: #edf4e6;
  --orange-soft: #fef0e1;
  --text: #1e1e1e;
  --muted: #4b4b4b;
  --white: #fff;
  --line: #ececec;
  --radius: 22px;
  --shadow: 0 6px 24px rgba(60, 40, 10, .07);
  --font-title: "Chewy", "Lilita One", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 40'%3E%3Cpath d='M3 36C5 19 17 7 34 4c-1 17-13 30-31 32z'/%3E%3Cpath d='M27 39c5-10 13-15 23-15-3 9-11 14-23 15z'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

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

/* ----- Couleurs de texte --------------------------------------------- */
.c-red { color: var(--red); }
.c-orange { color: var(--orange); }
.c-yellow { color: var(--yellow); }
.c-green { color: var(--green); }

/* ----- Titres ---------------------------------------------------------- */
.title-xl,
.title-lg,
.title-md {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0 0 .45em;
}
.title-xl { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
.title-lg { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.title-md { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.kicker {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0 0 .7em;
}

.lead { font-size: 1rem; max-width: 34em; }
.section-intro { max-width: 46em; margin-bottom: 2.2rem; }

/* Petites feuilles décoratives (couleur = currentColor) */
.leaf {
  display: inline-block;
  width: .9em;
  height: .7em;
  background: currentColor;
  -webkit-mask: var(--leaf) no-repeat center / contain;
  mask: var(--leaf) no-repeat center / contain;
  vertical-align: baseline;
  position: relative;
  top: -.5em;
  margin-left: .12em;
  transform: rotate(-8deg);
}
.leaf-sm { width: 1em; height: .8em; top: -.3em; }
.leaf-flip { transform: scaleX(-1) rotate(-8deg); }

/* ----- Boutons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: .85em 1.9em;
  border-radius: 999px;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s, color .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(229, 25, 75, .25); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-outline { background: var(--white); color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-small { padding: .6em 1.3em; font-size: .78rem; text-transform: uppercase; font-weight: 700; letter-spacing: .02em; }
.btn-block { width: 100%; }
.i-arrow { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.round-arrow {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  transition: transform .2s;
  flex: none;
}
.round-arrow .i-arrow { width: 20px; height: 20px; }
a:hover > .round-arrow,
.round-arrow:hover { transform: translateX(4px); }
.bg-red { background: var(--red); }
.bg-orange { background: var(--orange); }
.bg-yellow { background: var(--yellow); }
.bg-green { background: var(--green); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ----- En-tête ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { width: 78px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav > ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block;
  padding: 6px 0;
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .02em;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--red); font-weight: 600; }
.has-sub { position: relative; }
.sub-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 250px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 14px; border-radius: 10px; font-size: .88rem; text-decoration: none; }
.sub-menu a:hover { background: var(--peach); color: var(--red); }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--red); cursor: pointer; padding: 12px 11px; }
.burger span { display: block; height: 3px; margin: 4px 0; border-radius: 3px; background: var(--white); transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Sections ------------------------------------------------------- */
.section { padding: 70px 0; position: relative; }
.section-tight { padding: 40px 0; }
.section-soft { background: var(--peach); }
.section-green { background: var(--green-soft); }
.wave-top,
.wave-bottom { position: relative; }
.wave-top::before,
.wave-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 0 480 0 720 25s480 35 720 5v30H0z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 0 480 0 720 25s480 35 720 5v30H0z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.wave-top::before { top: -59px; }
.wave-bottom::after { bottom: -59px; transform: scaleY(-1); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ----- Images organiques -------------------------------------------------- */
.blob {
  position: relative;
  isolation: isolate;
}
.blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34% 22% 40% 20% / 30% 24% 44% 28%;
  position: relative;
  z-index: 1;
}
.blob::before,
.blob::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
}
.blob.shape-2 img { border-radius: 26% 40% 28% 44% / 34% 30% 40% 30%; }
.blob.shape-3 img { border-radius: 40% 22% 34% 28% / 34% 28% 40% 26%; }
.blob.shape-4 img { border-radius: 22% 38% 24% 40% / 28% 40% 26% 36%; }

/* Décors colorés derrière les photos */
.deco-yl::before { background: var(--yellow); width: 34%; height: 46%; left: -6%; top: 22%; }
.deco-or::after { background: var(--orange); width: 46%; height: 30%; right: -7%; bottom: -6%; }
.deco-ot::after { background: var(--orange); width: 50%; height: 26%; right: -4%; top: -6%; }
.deco-rb::before { background: var(--red); width: 46%; height: 40%; left: -6%; bottom: -8%; }
.deco-gb::after { background: var(--green); width: 38%; height: 34%; right: -5%; bottom: -7%; }
.deco-gl::before { background: var(--green); width: 30%; height: 40%; left: -5%; top: -4%; }
.deco-yt::after { background: var(--yellow); width: 34%; height: 34%; right: -4%; top: -6%; }
.deco-ring::after { background: transparent; border: 6px solid var(--orange); inset: -14px -10px -6px -14px; border-radius: 48% 52% 40% 60% / 40% 46% 54% 60%; }

.ratio-hero { aspect-ratio: 4 / 3; }
.ratio-wide { aspect-ratio: 16 / 10; }
.ratio-pano { aspect-ratio: 16 / 9; }
.ratio-sq { aspect-ratio: 1 / 1; }

/* Feuilles flottantes */
.float-leaf { position: absolute; width: 46px; height: 34px; background: currentColor; -webkit-mask: var(--leaf) no-repeat center / contain; mask: var(--leaf) no-repeat center / contain; z-index: 2; pointer-events: none; }

/* ----- Héros ------------------------------------------------------------ */
.hero { padding: 40px 0 60px; position: relative; overflow: hidden; }
.hero .grid-2 { grid-template-columns: 1fr 1.12fr; }
.hero .blob.bleed { margin-right: calc((min(var(--container), 100vw - 40px) - 100vw) / 2); }
.hero .blob.bleed img { border-radius: 30% 0 0 34% / 26% 0 0 40%; }
.hero-text p { max-width: 30em; }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; font-size: .78rem; line-height: 1.5; }
.hero-stats span { max-width: 9.5em; }

/* ----- Cartes ----------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, .04);
}
.tint-pink { background: var(--pink-soft); }
.tint-green { background: var(--green-soft); }
.tint-orange { background: var(--orange-soft); }

/* Étapes "Comment ça marche" */
.step { padding: 22px 22px 26px; }
.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; margin: 0 0 .5em; }
.step p { font-size: .82rem; margin: 0; }
.step-icon { width: 76px; height: 76px; object-fit: contain; margin: -8px 0 10px auto; }
.step-head { display: flex; align-items: flex-start; justify-content: space-between; }

/* Solutions (accueil) */
.sol-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.sol-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(60, 40, 10, .12); }
.sol-card img { aspect-ratio: 4 / 3; object-fit: cover; width: calc(100% - 20px); margin: 10px 10px 0; border-radius: 16px; }
.sol-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.sol-card h3 { font-size: .9rem; font-weight: 800; text-transform: uppercase; margin: 0 0 .5em; }
.sol-card p { font-size: .82rem; margin: 0 0 12px; }
.sol-card .round-arrow { margin-top: auto; align-self: flex-end; width: 32px; height: 32px; }

/* Solutions détaillées (page solutions) */
.offer { display: flex; flex-direction: column; padding: 14px 14px 22px; border-radius: var(--radius); }
.offer img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.offer h3 { font-size: 1.25rem; font-weight: 800; margin: 14px 4px 6px; line-height: 1.2; }
.offer > p { font-size: .82rem; margin: 0 4px 18px; }
.ticks { list-style: none; margin: 0 4px 22px; padding: 0; display: grid; gap: 12px; font-size: .8rem; }
.ticks li { display: flex; gap: 10px; align-items: center; line-height: 1.35; }
.ticks li::before { content: ""; flex: none; width: 17px; height: 13px; background: currentColor; -webkit-mask: var(--leaf) no-repeat center / contain; mask: var(--leaf) no-repeat center / contain; color: var(--tick, var(--red)); }
.offer .btn { margin-top: auto; justify-content: space-between; text-align: left; font-size: .95rem; padding: .7em 1.4em; }

/* Logos partenaires */
.partners-grid { display: grid; grid-template-columns: .8fr 1fr .9fr; gap: 40px; align-items: center; }
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; max-width: 290px; justify-self: end; }
.logo-tile { background: var(--white); border-radius: 16px; aspect-ratio: 1.2; display: grid; place-items: center; padding: 14px; box-shadow: var(--shadow); }
.logo-tile img { max-height: 52px; width: auto; object-fit: contain; }

/* Actus */
.news-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-mini { display: flex; gap: 14px; padding: 12px; text-decoration: none; transition: transform .2s; }
.news-mini:hover { transform: translateY(-4px); }
.news-mini img { width: 44%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.news-mini h3 { font-size: 1rem; line-height: 1.25; margin: 4px 0 6px; font-weight: 700; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 4px; color: var(--white); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.date { font-size: .72rem; color: var(--muted); display: block; margin-top: 6px; }

.news-card { display: flex; flex-direction: column; padding: 12px 12px 18px; }
.news-card img { border-radius: 14px; aspect-ratio: 16 / 11; object-fit: cover; }
.news-card .tag { align-self: flex-start; margin: 14px 4px 4px; }
.news-card .date { margin: 2px 4px 6px; }
.news-card h3 { font-size: 1rem; line-height: 1.25; margin: 0 4px 8px; font-weight: 700; }
.news-card p { font-size: .8rem; margin: 0 4px 16px; }
.news-card .btn { margin-top: auto; justify-content: space-between; padding: .65em 1.2em; font-size: .9rem; }

/* Événements / agenda */
.event { display: flex; flex-direction: column; gap: 8px; padding: 16px; min-width: 0; }
.event-date { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; color: var(--white); line-height: 1; text-align: center; }
.event-date strong { font-size: 1.25rem; display: block; }
.event-date small { font-size: .7rem; }
.event h3 { font-size: .9rem; font-weight: 700; line-height: 1.25; margin: 0; }
.event p { font-size: .75rem; margin: 0; color: var(--muted); }
.event-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.event-foot .round-arrow { width: 32px; height: 32px; }
.event[data-event-date] { cursor: pointer; transition: transform .2s, box-shadow .2s; }
.event[data-event-date]:hover,
.event[data-event-date]:focus-visible,
.event.is-selected { outline: none; transform: translateY(-3px); box-shadow: 0 0 0 3px var(--yellow), var(--shadow); }
.values { margin: 0; font-size: .82rem; line-height: 1.4; }
.values dt { font-weight: 600; }
.values dd { margin: 0 0 10px; }
.grid-2.img-first { grid-template-columns: 1.1fr 1fr; }

/* Calendrier */
.planning { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.planning-list { display: grid; gap: 14px; }
.calendar { overflow: hidden; padding: 0; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.calendar-head h3 { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 1rem; }
.cal-nav button:hover { background: var(--peach); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); }
.cal-grid .dow { background: #8a8a8a; color: var(--white); font-size: .72rem; text-align: center; padding: 4px 2px; }
.cal-grid .day { min-height: 74px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 6px; font-size: .75rem; color: #777; position: relative; }
.cal-grid .day:nth-child(7n) { border-right: 0; }
.cal-grid .day.out { background: #ebebeb; color: #aaa; }
.cal-grid .day.has-event { background: var(--orange-soft); }
.cal-grid .day .cal-event { display: block; margin-top: 4px; padding: 3px 6px; border-radius: 6px; color: var(--white); font-size: .66rem; font-weight: 600; line-height: 1.25; }

/* Formulaires */
.form-card { padding: 40px; border-radius: 28px; background: var(--peach); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: .78rem; font-weight: 500; padding-left: 14px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75em 1.1em;
  border: 1.5px solid #e4ddd3;
  border-radius: 999px;
  background: var(--white);
  font: 400 .88rem var(--font-body);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { border-radius: 18px; min-height: 130px; resize: vertical; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5194b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 40px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243, 147, 36, .2); }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--red); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .72rem; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.check.invalid span { color: var(--red); }
.form-message { margin: 14px 0 0; font-weight: 600; font-size: .9rem; min-height: 1em; }
.form-message.ok { color: var(--green); }
.form-message.err { color: var(--red); }

/* Chiffres clés */
.stat { padding: 20px 22px; }
.stat strong { display: block; font-family: var(--font-title); font-weight: 400; font-size: 2.6rem; line-height: 1; text-align: right; margin-bottom: 10px; }
.stat p { font-size: .8rem; margin: 0; }

/* Cartes "pour qui" */
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 36px 30px; }
.audience.cols-4 { grid-template-columns: repeat(4, 1fr); }
.audience svg { width: 54px; height: 54px; margin-bottom: 14px; }
.audience h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 6px; }
.audience p { font-size: .8rem; margin: 0; }

/* Formules */
.plan { padding: 24px 24px 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; margin: 0 0 10px; }
.plan > p { font-size: .82rem; }
.plan .ticks { margin: 8px 0 22px; }
.price { display: inline-flex; align-items: baseline; gap: 6px; align-self: flex-start; background: var(--white); padding: 6px 14px; border-radius: 10px; margin-bottom: 18px; box-shadow: var(--shadow); }
.price strong { font-family: var(--font-title); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.price span { font-size: .75rem; color: var(--muted); }
.plan .btn { margin-top: auto; padding: .7em 1.2em; font-size: .92rem; }

/* Partenaires détaillés */
.partner { display: grid; grid-template-columns: 42% 1fr; gap: 20px; align-items: center; padding: 14px; border-radius: var(--radius); }
.partner img { border-radius: 16px; aspect-ratio: 3 / 4; object-fit: cover; height: 100%; }
.partner h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; line-height: 1.2; margin: 0 0 10px; }
.partner p { font-size: .8rem; margin: 0; }
.why { padding: 16px 18px; text-align: right; }
.why h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; margin: 0 0 8px; }
.why p { font-size: .76rem; margin: 0; }

/* Témoignages */
.testimonial { display: grid; grid-template-columns: 74px 1fr; gap: 14px 16px; padding: 20px; align-items: center; }
.testimonial img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.testimonial blockquote { margin: 0; font-size: .82rem; font-style: italic; }
.testimonial footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .85rem; }
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 1.15rem; }

/* Panneau générique arrondi */
.panel { border-radius: 40px; padding: 50px; }

/* Infos contact */
.info-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.info-card .ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--white); flex: none; }
.info-card .ico svg { width: 28px; height: 28px; fill: currentColor; }
.info-card h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; text-align: right; line-height: 1.15; }
.info-card p { margin: 0; text-align: right; font-size: .82rem; }
.info-card a { text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* Article */
.article-head { padding: 40px 0 20px; }
.article-hero { position: relative; }
.article-hero img { width: 100%; aspect-ratio: 2.4; min-height: 260px; object-fit: cover; }
.article-hero::before,
.article-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--cream);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 0 480 0 720 25s480 35 720 5v30H0z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 0 480 0 720 25s480 35 720 5v30H0z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.article-hero::before { top: -1px; transform: scale(-1, -1); }
.article-hero::after { bottom: -1px; }
.grid-2.agenda-grid { grid-template-columns: .8fr 1.4fr; }
.article-body { max-width: 860px; margin: 0 auto; }
.article-lead { background: var(--pink-soft); color: var(--red); font-weight: 800; font-size: 1.05rem; line-height: 1.45; padding: 18px 24px; border-radius: 18px; }
.article-body h2 { font-size: 1rem; font-weight: 800; margin: 2em 0 .4em; }
.article-body p { font-size: .9rem; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; }

/* Pied de page */
.site-footer { position: relative; margin-top: 60px; color: var(--white); overflow-x: clip; }
.footer-wave { position: relative; height: 90px; margin-bottom: -2px; }
.footer-wave::before,
.footer-wave::after { content: ""; position: absolute; bottom: 10px; width: 280px; height: 110px; border-radius: 50%; z-index: 0; }
.footer-wave::before { left: -60px; background: var(--yellow); transform: rotate(-8deg); }
.footer-wave::after { right: -40px; background: var(--orange); transform: rotate(10deg); }
.footer-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--green-dark); z-index: 1; }
.footer-body { background: var(--green-dark); position: relative; padding: 30px 0 24px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.35fr; gap: 0; position: relative; z-index: 1; }
.footer-grid > div { padding: 0 26px; }
.footer-grid > div + div { border-left: 1px solid rgba(255, 255, 255, .45); }
.footer-brand { padding-left: 0 !important; }
.footer-brand img { width: 150px; margin-bottom: 12px; }
.footer-brand p { font-size: .78rem; line-height: 1.6; }
.footer-title { font-weight: 800; text-transform: uppercase; font-size: .95rem; margin: 0 0 14px; letter-spacing: .02em; }
.footer-links,
.footer-contact { list-style: none; padding: 0; margin: 0 0 22px; font-size: .78rem; }
.footer-links li { margin-bottom: 6px; }
.footer-links a,
.footer-contact a { text-decoration: none; }
.footer-links a:hover,
.footer-contact a:hover { color: var(--yellow); }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--white); flex: none; }
.socials { display: flex; gap: 14px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; transition: transform .2s; }
.socials a:hover { transform: translateY(-3px); }
.socials svg { width: 30px; height: 30px; fill: var(--white); }
.footer-newsletter p { font-size: .78rem; }
.newsletter-field { display: flex; background: var(--white); border-radius: 999px; padding: 5px; margin-bottom: 14px; }
.newsletter-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font: .8rem var(--font-body); }
.newsletter-field input:focus { outline: none; }
.site-footer .check { font-size: .72rem; }
.site-footer .form-message.ok { color: var(--yellow); }
.site-footer .form-message.err { color: #ffd0d9; }
.footer-bottom { display: flex; justify-content: center; gap: 46px; border-top: 1px solid rgba(255, 255, 255, .35); margin-top: 26px; padding-top: 18px; font-size: .72rem; position: relative; z-index: 1; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-fruit { position: absolute; z-index: 0; pointer-events: none; }
.footer-fruit-left { left: -40px; bottom: -30px; width: 170px; }
.footer-fruit-right { right: -10px; bottom: -20px; width: 170px; }

/* Divers */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal h2 { font-size: 1.1rem; margin-top: 2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Apparition douce au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav > ul { gap: 16px; }
  .main-nav { gap: 16px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .footer-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .main-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 24px 28px;
    background: var(--cream);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    transform: translateY(-120%);
    transition: transform .3s;
  }
  .main-nav.is-open { transform: none; }
  .main-nav > ul { flex-direction: column; gap: 4px; }
  .nav-link { font-size: .95rem; padding: 10px 0; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 14px; min-width: 0; }
  .sub-menu a { padding: 6px 0; }
  .header-cta { align-self: flex-start; }
  .grid-2,
  .grid-2.img-first,
  .grid-2.agenda-grid,
  .hero .grid-2,
  .partners-grid { grid-template-columns: 1fr; gap: 40px; }
  .partners-grid .blob { max-width: 420px; }
  .partners-grid .logo-grid { justify-self: start; max-width: 360px; }
  .hero .blob.bleed { margin-right: 0; }
  .hero .blob.bleed img { border-radius: 30% 22% 34% 24% / 26% 24% 40% 30%; }
  .grid-3,
  .news-row { grid-template-columns: 1fr 1fr; }
  .planning { grid-template-columns: 1fr; }
  .planning-list { grid-template-columns: repeat(3, 1fr); }
  .order-first-mobile { order: -1; }
  .panel { padding: 34px 24px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .section { padding: 50px 0; }
  .grid-3,
  .grid-4,
  .news-row,
  .planning-list { grid-template-columns: 1fr; }
  .audience,
  .audience.cols-4 { grid-template-columns: 1fr 1fr; padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 16px; }
  .partner { grid-template-columns: 1fr; }
  .partner img { aspect-ratio: 16 / 10; }
  .cal-grid .day { min-height: 54px; font-size: .68rem; padding: 3px; }
  .cal-grid .day .cal-event { font-size: 0; padding: 0; width: 10px; height: 10px; border-radius: 50%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { padding: 0 !important; border-left: 0 !important; }
  .footer-bottom { flex-wrap: wrap; gap: 14px 24px; }
  .footer-fruit { width: 110px !important; opacity: .7; }
  .article-nav { flex-direction: column; }
  .testimonial { grid-template-columns: 60px 1fr; }
  .testimonial img { width: 60px; height: 60px; }
}

/* Héros avec un titre long */
.hero-wide-text .grid-2 { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 960px) { .hero-wide-text .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .float-leaf { display: none; }
  .grid-4 .step { padding: 18px; }
}
/* Les décors colorés des photos ne doivent jamais créer de défilement horizontal */
main { overflow-x: clip; }
