/* Kilibri & Cie — 2026 refresh. Static site, no CMS. */

:root {
  --orange: #f78a25;
  --corail: #f46e40;
  --rose: #e24663;
  --vert: #81b34f;
  --vert-fonce: #4f8a2b;
  --jaune: #f2b632;
  --ciel: #7cc3d8;
  --brun: #5b3a22;
  --texte: #4a3a2e;
  --texte-doux: #7a685a;
  --creme: #fff8ee;
  --creme-2: #fdeedb;
  --blanc: #ffffff;
  --trait: #f0dcc4;

  --rose-pale: #fde6ea;
  --orange-pale: #feecd9;
  --vert-pale: #e9f3dd;
  --jaune-pale: #fdf3d6;
  --ciel-pale: #e3f2f7;

  --r: 28px;
  --blob-1: 58% 42% 55% 45% / 48% 55% 45% 52%;
  --blob-2: 45% 55% 40% 60% / 55% 45% 58% 42%;
  --blob-3: 52% 48% 62% 38% / 40% 60% 42% 58%;

  --titre: "Fredoka", "Nunito", system-ui, sans-serif;
  --corps: "Nunito", system-ui, sans-serif;
  --main: "Gochi Hand", "Fredoka", cursive;
  --largeur: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--rose); }
h1, h2, h3, h4 { font-family: var(--titre); color: var(--brun); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Multicolour word, echoing the logo lettering */
.arc-en-ciel span:nth-child(5n+1) { color: var(--orange); }
.arc-en-ciel span:nth-child(5n+2) { color: var(--rose); }
.arc-en-ciel span:nth-child(5n+3) { color: var(--vert); }
.arc-en-ciel span:nth-child(5n+4) { color: var(--jaune); }
.arc-en-ciel span:nth-child(5n+5) { color: var(--corail); }

.surtitre {
  font-family: var(--main);
  font-size: 1.55rem;
  color: var(--rose);
  display: inline-block;
  margin-bottom: .2em;
  transform: rotate(-2deg);
}
.surtitre.vert { color: var(--vert-fonce); }
.surtitre.orange { color: var(--corail); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--titre); font-weight: 600; font-size: 1.05rem;
  padding: .8em 1.6em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: #cc3653; }
.btn-vert { background: var(--vert-fonce); color: #fff; }
.btn-vert:hover { background: #417524; }
.btn-contour { border-color: var(--brun); color: var(--brun); background: transparent; }
.btn-contour:hover { border-color: var(--rose); color: var(--rose); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--trait);
}
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.entete .logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--titre); font-weight: 500; font-size: 1.02rem;
  color: var(--brun); text-decoration: none;
  padding: .45em .9em; border-radius: 999px; border: 1.5px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav a:hover { border-color: var(--orange); }
.nav a[aria-current="page"] { color: var(--rose); border-color: var(--rose-pale); background: var(--rose-pale); }
.nav .btn { margin-left: 10px; padding: .55em 1.2em; }
.nav .btn:hover { border-color: transparent; }
.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--trait); background: var(--blanc); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--brun);
  position: relative; transition: transform .25s ease, background-color .25s ease;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-ouvert .burger span { background: transparent; }
.menu-ouvert .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 18px 16px 26px; background: var(--creme);
    border-bottom: 1px solid var(--trait);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .menu-ouvert .nav { transform: none; }
  .nav a { font-size: 1.15rem; padding: .7em 1em; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Decorations ---------- */
.eclats { position: absolute; pointer-events: none; width: 90px; height: 90px; }
.coeur { position: absolute; pointer-events: none; width: 34px; color: var(--rose); }
.vague { display: block; width: 100%; height: 60px; }

@keyframes balance { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-8px); } }
@keyframes vol { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(-10px, -14px) rotate(4deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.anime-balance { animation: balance 5s ease-in-out infinite; transform-origin: bottom center; }
.anime-vol { animation: vol 4s ease-in-out infinite; }
.anime-pulse { animation: pulse 2.4s ease-in-out infinite; }

/* Scroll reveal (only enabled when JS runs) */
.js .revele { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .revele.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 56px 0 30px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .chapo { font-size: 1.2rem; max-width: 34em; color: var(--texte); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pastilles li {
  display: inline-block;
  font-family: var(--titre); font-weight: 500; color: var(--brun);
  padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--blanc);
}
.pastilles li b { font-weight: 600; }
.pastilles .p1 { border-color: #f9c79a; }
.pastilles .p2 { border-color: #f3b3c0; }
.pastilles .p3 { border-color: #c3dca7; }

.hero-visuel { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
.hero-visuel .photo {
  position: absolute; inset: 6% 4% 8% 8%;
  border-radius: var(--blob-1); overflow: hidden;
  border: 6px solid var(--blanc); outline: 2px solid var(--orange-pale);
}
.hero-visuel .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visuel .forme {
  position: absolute; inset: 0 0 2% 14%;
  background: var(--jaune-pale); border-radius: var(--blob-2); z-index: -1;
}
.hero-visuel .a-girafe { position: absolute; width: 36%; left: -10%; bottom: -4%; }
.hero-visuel .a-colibri { position: absolute; width: 26%; right: -4%; top: -6%; }
.hero-visuel .a-singe { position: absolute; width: 24%; right: -6%; bottom: 14%; }

@media (max-width: 860px) {
  .hero { padding-top: 30px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visuel { max-width: 420px; margin-top: 10px; }
  .hero-visuel .a-girafe { left: -4%; }
  .hero-visuel .a-singe { right: -2%; }
}

/* ---------- Page hero (inner pages) ---------- */
.hero-page { position: relative; padding: 54px 0 46px; text-align: center; overflow: hidden; }
.hero-page h1 { margin-bottom: .25em; }
.hero-page p { max-width: 40em; margin-inline: auto; font-size: 1.15rem; }
.hero-page .mascotte { position: absolute; width: 150px; bottom: -6px; }
.hero-page .mascotte.g { left: max(16px, calc(50% - 600px)); }
.hero-page .mascotte.d { right: max(16px, calc(50% - 600px)); }
/* Mascots sit beside the text only when there is room; otherwise they move below it */
@media (max-width: 1180px) {
  .hero-page { padding-bottom: 150px; }
  .hero-page .mascotte { width: 130px; }
  .hero-page .mascotte.g { left: calc(50% - 150px); }
  .hero-page .mascotte.d { right: calc(50% - 150px); }
}
@media (max-width: 600px) {
  .hero-page { padding-bottom: 130px; }
  .hero-page .mascotte { width: 110px; }
  .hero-page .mascotte.g { left: calc(50% - 125px); }
  .hero-page .mascotte.d { right: calc(50% - 125px); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.bloc { padding: 80px 0; }
.bloc-blanc { background: var(--blanc); }
.bloc-vert { background: var(--vert-pale); }
.bloc-rose { background: var(--rose-pale); }
.bloc-jaune { background: var(--jaune-pale); }
.tete-section { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.tete-section p { color: var(--texte-doux); font-size: 1.1rem; }

.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.deux-col.inverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .deux-col { grid-template-columns: 1fr; gap: 34px; }
  .deux-col.inverse > :first-child { order: 0; }
}

.photo-blob { position: relative; max-width: 500px; margin-inline: auto; }
.photo-blob .cadre { border-radius: var(--blob-2); overflow: hidden; aspect-ratio: 1 / 1; border: 6px solid var(--blanc); }
.photo-blob .cadre img { width: 100%; height: 100%; object-fit: cover; }
.photo-blob .fond { position: absolute; inset: 8% -6% -6% 8%; border-radius: var(--blob-3); z-index: -1; }
.photo-blob .animal { position: absolute; width: 34%; }
.photo-blob .animal.bg { left: -8%; bottom: -6%; }
.photo-blob .animal.bd { right: -8%; bottom: -6%; }
.photo-blob .animal.hd { right: -6%; top: -8%; }

/* ---------- Values ---------- */
.valeurs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.valeur {
  position: relative; background: var(--blanc); border-radius: var(--r);
  border: 2px solid var(--trait); padding: 96px 24px 26px; margin-top: 70px;
  transition: transform .25s ease, border-color .25s ease;
}
.valeur:hover { transform: translateY(-6px); }
.valeur img { position: absolute; width: 150px; top: -78px; left: 50%; transform: translateX(-50%); transition: transform .3s ease; }
.valeur:hover img { transform: translateX(-50%) rotate(-6deg) scale(1.05); }
.valeur h3 { text-align: center; }
.valeur p { font-size: .98rem; margin: 0; }
.valeur.c-orange { border-color: #f9c79a; } .valeur.c-orange h3 { color: var(--corail); }
.valeur.c-rose { border-color: #f3b3c0; } .valeur.c-rose h3 { color: var(--rose); }
.valeur.c-jaune { border-color: #f5d68a; } .valeur.c-jaune h3 { color: #c98a00; }
.valeur.c-vert { border-color: #c3dca7; } .valeur.c-vert h3 { color: var(--vert-fonce); }
@media (max-width: 1060px) { .valeurs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .valeurs { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.carte {
  background: var(--blanc); border-radius: var(--r); border: 2px solid var(--trait);
  padding: 28px 26px; position: relative;
}
.carte h3 { display: flex; align-items: center; gap: 12px; }
.carte .badge {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
}
.carte .badge img { width: 100%; height: 100%; object-fit: cover; }
.carte.c-orange { border-color: #f9c79a; } .carte.c-orange .badge { background: var(--orange-pale); }
.carte.c-rose { border-color: #f3b3c0; } .carte.c-rose .badge { background: var(--rose-pale); }
.carte.c-vert { border-color: #c3dca7; } .carte.c-vert .badge { background: var(--vert-pale); }
.carte.c-jaune { border-color: #f5d68a; } .carte.c-jaune .badge { background: var(--jaune-pale); }
.carte.c-ciel { border-color: #b5dde8; } .carte.c-ciel .badge { background: var(--ciel-pale); }
.carte p:last-child { margin-bottom: 0; }
.cartes.deux { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .cartes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cartes, .cartes.deux { grid-template-columns: 1fr; } }

/* Icon tile used for "what's included" */
.inclus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.inclus .item { background: var(--blanc); border-radius: var(--r); border: 2px solid var(--trait); padding: 26px 22px; }
.inclus .icone { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; }
.inclus .icone svg { width: 30px; height: 30px; }
.inclus h3 { font-size: 1.2rem; }
.inclus p { font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .inclus { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .inclus { grid-template-columns: 1fr; } }

/* ---------- Pedagogy ---------- */
.objectifs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.objectifs li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--blanc); border: 1.5px solid var(--trait); border-radius: 18px; padding: 12px 16px;
}
.objectifs li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--puce, var(--vert)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.objectifs li:nth-child(5n+1) { --puce: var(--orange); }
.objectifs li:nth-child(5n+2) { --puce: var(--rose); }
.objectifs li:nth-child(5n+3) { --puce: var(--vert); }
.objectifs li:nth-child(5n+4) { --puce: var(--jaune); }
.objectifs li:nth-child(5n+5) { --puce: var(--corail); }

.eveils { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.eveil { background: var(--blanc); border-radius: var(--r); border: 2px solid var(--trait); overflow: hidden; display: flex; flex-direction: column; }
.eveil .visuel { position: relative; aspect-ratio: 4 / 3; }
.eveil .visuel img.photo { width: 100%; height: 100%; object-fit: cover; }
.eveil .visuel .animal { position: absolute; width: 84px; right: 8px; bottom: -34px; }
.eveil .contenu { padding: 22px 22px 24px; }
.eveil h3 { font-size: 1.25rem; padding-right: 60px; }
.eveil ul { margin: 0; padding-left: 1.1em; }
.eveil li::marker { color: var(--rose); }
.eveil.c-orange { border-color: #f9c79a; } .eveil.c-rose { border-color: #f3b3c0; }
.eveil.c-vert { border-color: #c3dca7; } .eveil.c-jaune { border-color: #f5d68a; }
@media (max-width: 1060px) { .eveils { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eveils { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.galerie button { padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: var(--creme-2); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie button:hover img { transform: scale(1.06); }
.galerie .grand { grid-column: span 2; grid-row: span 2; }
.galerie .large { grid-column: span 2; }
@media (max-width: 860px) { .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); }
.visionneuse::backdrop { background: rgba(60, 38, 22, .82); }
.visionneuse img { border-radius: 22px; max-height: 84vh; width: auto; margin: auto; }
.visionneuse .fermer, .visionneuse .nav-photo {
  position: fixed; width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); background: transparent; color: #fff; font-size: 1.6rem; cursor: pointer;
  display: grid; place-items: center; line-height: 1;
}
.visionneuse .fermer { top: 18px; right: 18px; }
.visionneuse .prec { left: 18px; top: 50%; }
.visionneuse .suiv { right: 18px; top: 50%; }

/* ---------- Social ---------- */
.reseaux { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: center; }
.reseaux .post { border-radius: var(--r); overflow: hidden; border: 6px solid var(--blanc); outline: 2px solid var(--trait); }
.reseaux .post:nth-child(2) { transform: rotate(-3deg); }
.reseaux .post:nth-child(3) { transform: rotate(3deg); }
@media (max-width: 860px) {
  .reseaux { grid-template-columns: 1fr 1fr; }
  .reseaux .texte { grid-column: 1 / -1; text-align: center; }
}

/* ---------- Call to action band ---------- */
.appel { position: relative; padding: 70px 0 80px; }
.appel .boite {
  background: var(--rose); color: #fff; border-radius: 40px;
  padding: 36px 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
}
.appel h2 { color: #fff; margin-bottom: .25em; }
.appel p { margin: 0; font-size: 1.1rem; max-width: 34em; }
.appel .btn-blanc { background: #fff; color: var(--rose); }
.appel .btn-blanc:hover { background: var(--creme); }
/* The lion picture is a round badge: shown whole, inside the box, with a white ring */
.appel .lion { width: 150px; height: 150px; border-radius: 50%; background: #fff; border: 5px solid #fff; object-fit: contain; }
@media (max-width: 960px) {
  .appel .boite { grid-template-columns: 1fr; padding: 32px 24px 36px; text-align: center; justify-items: center; gap: 20px; }
  .appel .lion { width: 130px; height: 130px; }
  .appel p { margin-inline: auto; }
}

/* ---------- Facts ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.chiffre { background: var(--blanc); border-radius: var(--r); border: 2px solid var(--trait); padding: 22px 18px; text-align: center; }
.chiffre b { display: block; font-family: var(--titre); font-weight: 600; font-size: 2.2rem; line-height: 1.1; }
.chiffre span { color: var(--texte-doux); font-size: .95rem; }
.chiffre:nth-child(1) b { color: var(--orange); }
.chiffre:nth-child(2) b { color: var(--rose); }
.chiffre:nth-child(3) b { color: var(--vert-fonce); }
.chiffre:nth-child(4) b { color: #c98a00; }
@media (max-width: 760px) { .chiffres { grid-template-columns: 1fr 1fr; } }

/* ---------- Jobs ---------- */
.postes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.poste { background: var(--blanc); border: 2px solid var(--trait); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.poste h3 { margin: 0; font-size: 1.2rem; }
.poste a { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .postes { grid-template-columns: 1fr; } }

/* ---------- Financing ---------- */
.aides { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aide { background: var(--blanc); border-radius: var(--r); border: 2px solid var(--trait); padding: 30px; }
.aide .chiffre-cle { font-family: var(--titre); font-size: 2.6rem; font-weight: 600; color: var(--vert-fonce); line-height: 1; margin-bottom: 6px; }
.aide ul { padding-left: 1.2em; }
.lien-fleche { font-family: var(--titre); font-weight: 600; text-decoration: none; }
.lien-fleche::after { content: " →"; }
@media (max-width: 760px) { .aides { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.infos { display: grid; gap: 14px; align-content: start; }
.info { display: flex; gap: 16px; align-items: flex-start; background: var(--blanc); border: 2px solid var(--trait); border-radius: 22px; padding: 18px 20px; }
.info .rond { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.info .rond svg { width: 22px; height: 22px; }
.info b { font-family: var(--titre); font-weight: 600; color: var(--brun); display: block; }
.info a { color: var(--texte); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.carte-map { border-radius: var(--r); overflow: hidden; border: 2px solid var(--trait); min-height: 420px; }
.carte-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 860px) {
  .contact-grille { grid-template-columns: 1fr; }
  .carte-map, .carte-map iframe { min-height: 320px; }
}

/* ---------- Text pages ---------- */
.texte-long { max-width: 780px; margin-inline: auto; background: var(--blanc); border: 2px solid var(--trait); border-radius: var(--r); padding: 40px; }
.texte-long h2 { font-size: 1.5rem; margin-top: 1.4em; }
.texte-long h2:first-child { margin-top: 0; }
@media (max-width: 600px) { .texte-long { padding: 24px 20px; } }

/* ---------- Footer ---------- */
.pied { background: var(--brun); color: #f7e9d9; margin-top: 0; position: relative; }
.pied .vague { color: var(--brun); position: absolute; bottom: 100%; left: 0; height: 50px; }
.pied a { color: #fff; }
.pied .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; padding: 64px 0 34px; }
.pied h4 { color: #fff; font-size: 1.15rem; margin-bottom: .7em; }
.pied .logo-pied { background: var(--creme); border-radius: 26px; padding: 14px 18px; display: inline-block; }
.pied .logo-pied img { height: 64px; width: auto; }
.pied .slogan { font-family: var(--main); font-size: 1.45rem; color: var(--jaune); margin: 14px 0 0; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pied .social { display: flex; gap: 10px; margin-top: 14px; }
.pied .social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center; transition: border-color .2s ease; }
.pied .social a:hover { border-color: var(--jaune); }
.pied .social svg { width: 20px; height: 20px; fill: currentColor; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0 26px; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: #d8c4ae; }
.pied .bas a { color: #d8c4ae; }
.pied .animaux-pied { position: absolute; right: max(16px, calc(50% - 590px)); bottom: calc(100% + 10px); display: flex; align-items: flex-end; }
.pied .animaux-pied img { width: 96px; margin-left: -18px; }
@media (max-width: 960px) { .pied .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .pied .wrap { grid-template-columns: 1fr; }
  .pied .animaux-pied img { width: 72px; }
}
