/* ==========================================================================
   Ém. Rire — feuille de style unique
   Couleurs tirées du logo (vert forêt, crème, or), formes organiques
   et arrondies dans l'esprit des thèmes « pet care ».
   ========================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-italic-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --green-900: #12301f;
  --green-800: #183b26;
  --green-700: #1c563b; /* vert du logo */
  --green-600: #2a6a4a;
  --sage-400: #aebaa1;
  --sage-200: #dde4d3;
  --sage-100: #ebf0e4;
  --cream-50: #fffbf6;
  --cream-100: #faf0e6; /* crème du logo */
  --cream-200: #f3e3cf;
  --gold-400: #e2c76b; /* rayons du logo */
  --gold-600: #b8932f;
  --gold-800: #7a5f14;
  --ink: #1e2b23;
  --ink-soft: #4a5a50;
  --white: #fff;

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 40px;
  --blob-1: 58% 42% 46% 54% / 52% 44% 56% 48%;
  --blob-2: 42% 58% 60% 40% / 48% 56% 44% 52%;
  --shadow: 0 18px 40px -20px rgba(24, 59, 38, 0.35);
  --shadow-sm: 0 8px 20px -12px rgba(24, 59, 38, 0.3);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(64px, 9vw, 116px);
  --header-h: 84px;

  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 46C180 82 360 82 540 56S900 4 1080 14s270 42 360 52V80H0Z'/%3E%3C/svg%3E");
  --eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cpath d='M2 14c5-6 11-9 18-9s13 3 18 9c-5 6-11 9-18 9S7 20 2 14Z'/%3E%3Cpath d='M14 1.5l1 2.5M20 0v3M26 1.5l-1 2.5' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6.5' cy='9' rx='2' ry='2.6'/%3E%3Cellipse cx='10.5' cy='5.5' rx='2' ry='2.6'/%3E%3Cellipse cx='15.5' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='19' cy='10' rx='1.9' ry='2.4'/%3E%3Cpath d='M7.5 17.5c0-3.3 2.4-6.6 5.2-6.6s5.3 3.3 5.3 6.6c0 2.2-1.5 3.3-3 3.3-1.2 0-1.6-.7-2.3-.7s-1.1.7-2.2.7c-1.5 0-3-1.1-3-3.3Z'/%3E%3C/svg%3E");
}

/* --- Base -------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--green-800);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
}
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--green-600);
}

:focus-visible {
  outline: 3px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 4px;
}

ul,
ol {
  padding-left: 1.2em;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: -0.2em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--green-700);
  color: var(--white);
}
.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* Repère visuel des contenus à compléter (à retirer une fois l'info renseignée) */
.tbd {
  padding: 0 0.35em;
  border-radius: 6px;
  outline: 1px dashed var(--gold-600);
  background: #fff3b0;
  color: var(--gold-800);
  font-style: normal;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Boutons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.6em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn .icon {
  transition: transform 0.2s ease;
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn--primary {
  background: var(--green-700);
  box-shadow: var(--shadow-sm);
  color: var(--cream-100);
}
.btn--primary:hover {
  background: var(--green-800);
  color: var(--white);
}
.btn--ghost {
  border-color: var(--green-700);
  color: var(--green-700);
}
.btn--ghost:hover {
  background: var(--green-700);
  color: var(--cream-100);
}
.btn--gold {
  background: var(--gold-400);
  color: var(--green-900);
}
.btn--gold:hover {
  background: var(--cream-100);
  color: var(--green-900);
}
.btn--light {
  border-color: rgba(250, 240, 230, 0.6);
  color: var(--cream-100);
}
.btn--light:hover {
  background: var(--cream-100);
  color: var(--green-800);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow .icon {
  transition: transform 0.2s ease;
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* --- En-tête ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 246, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -14px rgba(24, 59, 38, 0.4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  flex: none;
}
.brand__logo {
  width: auto;
  height: 58px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover {
  background: var(--sage-100);
}
.site-nav a[aria-current="page"] {
  background: var(--sage-200);
}
.site-nav a.nav-cta {
  margin-left: 0.4rem;
  padding-inline: 1.25rem;
  background: var(--green-700);
  color: var(--cream-100);
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
  background: var(--green-800);
  color: var(--white);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--sage-100);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  border-radius: 2px;
  background: var(--green-800);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle__bars {
  top: 50%;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  left: 0;
  margin-left: 0;
}
.nav-toggle__bars::before {
  top: -7px;
}
.nav-toggle__bars::after {
  top: 7px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1120px) {
  :root {
    --header-h: 72px;
  }
  .brand__logo {
    height: 50px;
  }
  .js .nav-toggle {
    display: block;
  }
  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    background: var(--cream-50);
    box-shadow: 0 20px 30px -20px rgba(24, 59, 38, 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .js .site-nav a {
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
  }
  .js .site-nav a.nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }
  .no-js .site-header__inner {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }
  .no-js .site-nav ul {
    flex-wrap: wrap;
  }
}

/* --- Sections ---------------------------------------------------------- */

.section {
  position: relative;
  padding-block: var(--section-pad);
}
.section--cream {
  background: var(--cream-100);
}
.section--sage {
  background: var(--sage-100);
}
.section--green {
  background: var(--green-800);
  color: var(--cream-100);
}
.section--green h2,
.section--green h3 {
  color: var(--cream-100);
}
.section--tight {
  padding-block: calc(var(--section-pad) * 0.6);
}

/* Vague de transition vers la section suivante (couleur via --wave-color) */
.has-wave {
  padding-bottom: calc(var(--section-pad) + 48px);
}
.has-wave::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(36px, 5vw, 72px);
  background: var(--wave-color, var(--cream-50));
  -webkit-mask: var(--wave) center bottom / 100% 100% no-repeat;
  mask: var(--wave) center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head--left {
  margin-left: 0;
  text-align: left;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.125rem;
}
.section--green .section-head p {
  color: var(--sage-200);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.9rem;
  color: var(--gold-800);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 21px;
  background: var(--gold-600);
  -webkit-mask: var(--eye) center / contain no-repeat;
  mask: var(--eye) center / contain no-repeat;
}
.section--green .eyebrow {
  color: var(--gold-400);
}
.section--green .eyebrow::before {
  background: var(--gold-400);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

/* --- Images à formes organiques ---------------------------------------- */

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sage-200);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--blob {
  border-radius: var(--blob-1);
}
.frame--blob-2 {
  border-radius: var(--blob-2);
}
.frame--arch {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.ratio-square {
  aspect-ratio: 1;
}
.ratio-portrait {
  aspect-ratio: 4 / 5;
}
.ratio-tall {
  aspect-ratio: 3 / 4;
}
.ratio-landscape {
  aspect-ratio: 3 / 2;
}

/* Décor : forme dorée + empreintes derrière une image */
.decor {
  position: relative;
  isolation: isolate;
}
.decor::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -6% -6% 10%;
  border-radius: var(--blob-2);
  background: var(--gold-400);
  opacity: 0.55;
}
.decor--left::before {
  inset: 8% 10% -6% -6%;
}
.decor--sage::before {
  background: var(--sage-400);
}
.paws {
  position: absolute;
  z-index: 2;
  width: 90px;
  height: 90px;
  background: var(--green-700);
  opacity: 0.16;
  -webkit-mask: var(--paw) 0 0 / 34px 34px space;
  mask: var(--paw) 0 0 / 34px 34px space;
  transform: rotate(-18deg);
  pointer-events: none;
}

/* --- Hero (accueil) ---------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px) calc(var(--section-pad) + 40px);
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(174, 186, 161, 0.45), transparent 70%),
    var(--cream-100);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}
.hero h1 span {
  display: block;
  color: var(--green-600);
  font-weight: 500;
}
.hero__lead {
  max-width: 34em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.75rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  list-style: none;
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.45em;
}
.hero__meta .icon {
  color: var(--green-600);
}
.hero__media {
  position: relative;
  max-width: 560px;
  justify-self: center;
  width: 100%;
}
.hero__media .frame {
  aspect-ratio: 1 / 1.02;
}
.hero__media .frame img {
  object-position: 62% center;
}
.hero__media .paws {
  top: -18px;
  left: -10px;
}

.badge-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--green-800);
  animation: float 6s ease-in-out infinite;
}
.badge-card small {
  display: block;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
}
.badge-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-700);
}
.badge-card--a {
  bottom: 12%;
  left: -6%;
}
.badge-card--b {
  top: 10%;
  right: -4%;
  animation-delay: -3s;
}
.badge-card--b .badge-card__icon {
  background: #fbf0cc;
  color: var(--gold-800);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* --- En-tête des pages intérieures -------------------------------------- */

.page-hero {
  position: relative;
  padding-block: clamp(32px, 5vw, 64px) calc(var(--section-pad) * 0.75 + 40px);
  overflow: hidden;
  background:
    radial-gradient(50% 80% at 0% 100%, rgba(226, 199, 107, 0.22), transparent 70%),
    radial-gradient(50% 70% at 100% 0%, rgba(174, 186, 161, 0.45), transparent 70%),
    var(--cream-100);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}
.page-hero .lead {
  max-width: 36em;
}
.page-hero__media {
  position: relative;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}
.page-hero__media .paws {
  right: -14px;
  bottom: -10px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  list-style: none;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--gold-600);
}
.breadcrumb a {
  color: var(--ink-soft);
}

/* --- Animaux (cercles) -------------------------------------------------- */

.animals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.animal__img {
  position: relative;
  width: min(100%, 210px);
  margin: 0 auto 1rem;
  aspect-ratio: 1;
  padding: 8px;
  border: 2px dashed var(--gold-400);
  border-radius: 50%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.animal__img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.animal:hover .animal__img {
  border-color: var(--green-600);
  transform: rotate(-4deg) scale(1.03);
}
.animal h3 {
  margin-bottom: 0.2rem;
}
.animal p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* --- Cartes de services ------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
}
.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card__media img {
  transform: scale(1.05);
}
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
}
.card__body p {
  color: var(--ink-soft);
}
.card__tag {
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
}
.card__body .link-arrow {
  margin-top: auto;
}

/* Petites cartes à icône (valeurs, bienfaits…) */
.feature {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.1rem;
  border-radius: var(--blob-1);
  background: var(--sage-100);
  color: var(--green-700);
}
.feature__icon .icon {
  width: 28px;
  height: 28px;
}
.feature:nth-child(3n + 2) .feature__icon {
  background: #fbf0cc;
  color: var(--gold-800);
}
.feature:nth-child(3n + 3) .feature__icon {
  background: var(--cream-200);
}
.section--sage .feature,
.section--cream .feature {
  box-shadow: none;
}

/* --- Bloc image + texte ------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.split--reverse > :first-child {
  order: 2;
}
.split__media {
  position: relative;
  max-width: 500px;
  width: 100%;
  justify-self: center;
}
.split__media .paws {
  right: -18px;
  bottom: -14px;
}

.checklist {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 2.4rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  top: 0.15em;
  left: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--sage-200);
}
.checklist li::after {
  content: "";
  position: absolute;
  top: calc(0.15em + 0.4rem);
  left: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--green-700);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
.checklist strong {
  color: var(--green-800);
}
.checklist--2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.section--green .checklist li::before {
  background: rgba(226, 199, 107, 0.25);
}
.section--green .checklist li::after {
  background: var(--gold-400);
}
.section--green .checklist strong {
  color: var(--cream-100);
}

/* --- Étapes ------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2.75rem clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -26px;
  left: clamp(22px, 3vw, 32px);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 4px solid var(--cream-50);
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.section--sage .step::before {
  border-color: var(--sage-100);
}
.section--cream .step::before {
  border-color: var(--cream-100);
}
.step p {
  margin: 0;
  color: var(--ink-soft);
}
.steps--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Galerie ------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(140px, 17vw, 230px);
  gap: clamp(10px, 1.5vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery li {
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery li:hover img {
  transform: scale(1.05);
}
.gallery .tall {
  grid-row: span 2;
}
.gallery .wide {
  grid-column: span 2;
}

/* --- Bandeau d'appel à l'action ---------------------------------------- */

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(40% 90% at 100% 100%, rgba(226, 199, 107, 0.3), transparent 70%),
    var(--green-700);
  color: var(--cream-100);
}
.cta-band h2 {
  color: var(--cream-100);
}
.cta-band p {
  max-width: 36em;
  margin: 0;
  color: var(--sage-200);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cta-band .paws {
  top: 14px;
  right: 22px;
  width: 140px;
  height: 100px;
  background: var(--cream-100);
  opacity: 0.1;
}

/* --- Texte long --------------------------------------------------------- */

.prose {
  max-width: 70ch;
}
.prose h2 {
  margin-top: 1.6em;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose li {
  margin-bottom: 0.4em;
}

.notice {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--sage-100);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.notice .icon {
  margin-top: 0.2em;
  color: var(--green-700);
}
.notice p {
  margin: 0;
}
.notice strong {
  color: var(--green-800);
}

/* --- FAQ ---------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
  margin-inline: auto;
}
.faq details {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-700);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 1.5rem 1.25rem;
  color: var(--ink-soft);
}
.faq details > div p:last-child {
  margin-bottom: 0;
}

/* --- Tarifs ------------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: clamp(20px, 3vw, 32px);
}
.pricing--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-inline: auto;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.price-card h3 {
  margin-bottom: 0.3rem;
}
.price-card__sub {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.price {
  margin: 1rem 0 0.25rem;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}
.price small {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}
.price-card .checklist {
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.price-card .btn {
  margin-top: auto;
}
.price-card--featured {
  position: relative;
  background: var(--green-700);
  color: var(--cream-100);
  transform: translateY(-12px);
}
.price-card--featured h3,
.price-card--featured .price {
  color: var(--cream-100);
}
.price-card--featured .price-card__sub,
.price-card--featured .price small {
  color: var(--sage-200);
}
.price-card--featured .checklist li::before {
  background: rgba(226, 199, 107, 0.25);
}
.price-card--featured .checklist li::after {
  background: var(--gold-400);
}
.price-card__ribbon {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--gold-400);
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Contact ------------------------------------------------------------ */

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}
.contact-card p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
}
.contact-card .feature__icon {
  flex: none;
  margin: 0;
}

/* --- Pied de page ------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: 0;
  padding: calc(var(--section-pad) * 0.8) 0 2rem;
  background: var(--green-800);
  color: var(--sage-200);
  font-size: 0.98rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
}
.footer-brand__logo {
  width: 170px;
  height: auto;
  margin-bottom: 1.25rem;
}
.footer-brand p {
  max-width: 30em;
}
.footer-title {
  margin-bottom: 1rem;
  color: var(--cream-100);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}
.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--sage-200);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--gold-400);
  text-decoration: underline;
}
.footer-links--icons li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.footer-links--icons .icon {
  margin-top: 0.25em;
  color: var(--gold-400);
}
.footer-disclaimer {
  margin: 3rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(174, 186, 161, 0.3);
  border-radius: var(--radius-sm);
  color: var(--sage-400);
  font-size: 0.9rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
  color: var(--sage-400);
  font-size: 0.9rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: var(--sage-200);
}

/* --- Utilitaires -------------------------------------------------------- */

.mt-0 {
  margin-top: 0;
}
.text-center {
  text-align: center;
}
.stack-sm > * + * {
  margin-top: 1rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.center-404 {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.center-404 .actions {
  justify-content: center;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 960px) {
  .hero__grid,
  .page-hero__grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero__media {
    max-width: 480px;
  }
  .page-hero__media {
    max-width: 340px;
  }
  .split--reverse > :first-child {
    order: 0;
  }
  .cards--3,
  .pricing,
  .grid-3 {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .price-card--featured {
    transform: none;
  }
  .steps,
  .steps--4 {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 560px;
    margin-inline: auto;
  }
  .animals {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(140px, 36vw, 260px);
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .cards,
  .grid-2,
  .checklist--2col {
    grid-template-columns: 1fr;
  }
  .badge-card {
    font-size: 0.88rem;
  }
  .badge-card--a {
    left: 0;
  }
  .badge-card--b {
    right: 0;
  }
  .badge-card__icon {
    width: 38px;
    height: 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn,
  .cta-band__actions .btn {
    flex: 1 1 100%;
  }
}

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