/* ===================================================
   Wouah Wouah Club — feuille de style principale
   Design system : Rose & Violet — palette inspirée de
   l'identité historique du salon (rose magenta, prune,
   vieux rose), titre en écriture manuscrite (Caveat)
   pour retrouver la patte du logo d'origine.
   =================================================== */

:root {
  --color-background: #fdf5f8;
  --color-background-alt: #f7e9ef;
  --color-primary: #8e1f63;
  --color-primary-dark: #6b1650;
  --color-primary-tint: #f6dbe9;
  --color-secondary: #a9527f;
  --color-accent: #5c3a63;
  --color-accent-dark: #452e4c;
  --color-accent-tint: #ece3ee;
  --color-ink: #3a1f35;
  --color-ink-light: #7a5d74;
  --color-card: #fffbfd;
  --color-white: #ffffff;
  --color-border: #f0d6e2;
  --color-destructive: #b3261e;
  --color-focus-ring: #5c3a63;

  --font-heading: "Caveat", cursive;
  --font-body: "Nunito Sans", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-soft: 0 10px 30px rgba(58, 31, 53, 0.1);
  --shadow-lift: 0 18px 40px rgba(58, 31, 53, 0.16);
  --max-width: 1140px;
  --transition-fast: 0.2s ease;
  --ease-organic: cubic-bezier(0.25, 0.8, 0.4, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html, body {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink-light);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
h3 { font-size: 1.7rem; }

p { color: var(--color-ink-light); }

h2 + p, h2 + ul { margin-top: 14px; }

svg { flex-shrink: 0; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* .section-alt n'a volontairement plus de fond propre : lui donner un
   aplat, même fondu sur les bords, recréait un "bloc" de couleur distinct
   de ses voisins. Toute la page partage désormais la même toile de fond
   animée (voir .bg-aurora) — aucune section n'a sa propre couleur, donc
   il n'y a plus rien à délimiter. */
.section-alt {
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header-left {
  text-align: left;
  max-width: 640px;
  margin: 0 0 48px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-header-row h2 {
  margin-bottom: 0;
}

/* ==== INTRO ASYMÉTRIQUE (titre + paragraphe côte à côte) ==== */

.intro-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
  text-align: left;
}

.intro-split .eyebrow {
  margin-bottom: 14px;
}

.intro-split h2 {
  margin-bottom: 0;
}

.intro-split p {
  padding-bottom: 4px;
}

/* ==== CITATION ÉDITORIALE ==== */

.pull-quote {
  position: relative;
  margin: 24px 0 0;
  padding-left: 26px;
  border-left: 3px solid var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--color-ink);
}

.pull-quote .quote-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 0.5;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-ink-light);
}

/* ==== BANDEAU DE CONFIANCE (avis) ==== */

.trust-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: var(--shadow-soft);
}

.trust-banner-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-right: 32px;
  border-right: 1px solid var(--color-border);
}

.trust-banner-rating strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-ink);
  white-space: nowrap;
}

.trust-banner p {
  flex: 1;
  min-width: 220px;
  margin: 0;
}

@media (max-width: 720px) {
  .trust-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .trust-banner-rating { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--color-border); padding-bottom: 20px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-primary-tint);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 2px solid rgba(142, 31, 99, 0.2);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.5' cy='9' rx='2' ry='2.6'/%3E%3Cellipse cx='9.7' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='14.3' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='18.5' cy='9' rx='2' ry='2.6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.5' cy='9' rx='2' ry='2.6'/%3E%3Cellipse cx='9.7' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='14.3' cy='5.8' rx='2' ry='2.6'/%3E%3Cellipse cx='18.5' cy='9' rx='2' ry='2.6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ==== ICONS ==== */

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==== BUTTONS ==== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-organic), box-shadow 0.2s var(--ease-organic), background var(--transition-fast), color var(--transition-fast);
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-lift);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-outline-invert {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn-outline-invert:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
}

.btn-light:hover {
  background: var(--color-primary-tint);
  box-shadow: var(--shadow-lift);
}

/* ==== HEADER / NAV ==== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 245, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 31, 53, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Tant que le JS n'a pas tourné, l'entête reste opaque par sécurité
   (toujours lisible). Une fois le JS actif, il démarre transparent et
   se fond dans le hero/la bannière, puis redevient opaque au scroll. */
html.js .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

html.js .site-header.scrolled {
  background: rgba(253, 245, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(58, 31, 53, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.logo .paw {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
}

.logo .paw .icon {
  width: 20px;
  height: 20px;
  stroke-width: 0;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  color: var(--color-ink);
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary-dark);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-ink);
}

.nav-phone .icon {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-organic), opacity 0.2s ease;
}

.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==== HERO ==== */

.hero {
  position: relative;
  padding: 160px 0 110px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

.hero-bg .blob-layer,
.hero-blob-decor {
  display: none;
}

.hero-bg img.real-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg:has(img.real-photo)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253, 245, 248, 0.15) 0%, rgba(253, 245, 248, 0.95) 100%);
}

/* ==== BLOB MESH (fond animé pro pour hero + bannières de page) ==== */

.blob-layer {
  position: absolute;
  inset: -15%;
  z-index: 0;
  will-change: transform;
}

.blob-drift {
  position: absolute;
  inset: 0;
  filter: blur(50px);
  animation: blob-drift 18s ease-in-out infinite alternate;
}

@keyframes blob-drift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(-4%, 4%) scale(1.12) rotate(6deg); }
}

@keyframes blob-drift-alt {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(5%, -5%) scale(1.14) rotate(-8deg); }
}

.hero-bg .blob-drift {
  opacity: 0.5;
  background:
    radial-gradient(closest-side, var(--color-secondary), transparent 70%) 12% 22% / 48% 55% no-repeat,
    radial-gradient(closest-side, var(--color-accent), transparent 70%) 88% 18% / 42% 48% no-repeat,
    radial-gradient(closest-side, var(--color-primary), transparent 70%) 55% 92% / 52% 55% no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  .blob-layer { transform: none !important; }
  .blob-drift { animation: none; }
  .bg-aurora,
  .hero-blob-decor { animation: none; }
}

/* ==== FOND AURORA (toutes les pages) ====
   Une seule nappe de couleur, fixée à l'écran derrière tout le contenu,
   qui dérive en continu. Comme les sections n'ont plus de fond propre
   (voir .section-alt plus haut), il n'y a jamais deux aplats qui se
   touchent : tout le monde regarde la même couche, toujours en mouvement,
   sans aucune ligne de rupture. */

.bg-aurora {
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.6;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(circle, var(--color-primary), transparent 65%),
    radial-gradient(circle, var(--color-secondary), transparent 65%),
    radial-gradient(circle, var(--color-accent), transparent 65%),
    radial-gradient(circle, var(--color-primary-tint), transparent 70%);
  background-size: 60% 60%, 55% 55%, 50% 50%, 65% 65%;
  background-position:
    10% 20%,
    85% 15%,
    25% 85%,
    75% 80%;
  animation: aurora-drift 32s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  0% {
    background-position:
      10% 20%,
      85% 15%,
      25% 85%,
      75% 80%;
  }
  50% {
    background-position:
      30% 45%,
      60% 40%,
      45% 60%,
      55% 50%;
  }
  100% {
    background-position:
      20% 55%,
      90% 30%,
      15% 70%,
      80% 90%;
  }
}

@media (max-width: 720px) {
  .bg-aurora {
    opacity: 0.5;
    filter: blur(70px);
  }
}

.hero-content {
  max-width: var(--max-width);
}

.hero-content h1 {
  max-width: 700px;
  font-size: clamp(2.6rem, 4.6vw, 3.9rem);
}

.hero-content p.lead {
  max-width: 600px;
  font-size: 1.15rem;
  margin: 20px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-ink);
  font-size: 0.95rem;
}

.hero-badge .icon {
  color: var(--color-primary);
  width: 1.2em;
  height: 1.2em;
}

.page-hero {
  position: relative;
  padding: 140px 0 60px;
  text-align: center;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  margin-bottom: 16px;
}

.hero-blob-decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  animation: blob-drift 20s ease-in-out infinite alternate;
}

.hero-blob-decor.blob-shape-2 {
  animation-name: blob-drift-alt;
  animation-duration: 24s;
}

/* ==== PHOTO SLOTS (illustration en attendant les vraies photos) ==== */
/* Une illustration décorative occupe l'espace ; dès qu'un fichier réel est
   déposé dans /images avec le bon nom, <img onerror> le fait disparaître
   automatiquement et laisse place à la vraie photo — sans toucher au code. */

.photo-slot {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  min-height: 260px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-organic), box-shadow 0.3s var(--ease-organic);
}

/* ==== FORMES ORGANIQUES ====
   Contours asymétriques façon "blob" plutôt que des rectangles nets —
   la vraie photo, une fois déposée, épouse automatiquement cette forme
   grâce à overflow:hidden + object-fit:cover. */

.blob-shape-1 { border-radius: 63% 37% 54% 46% / 55% 45% 55% 45%; }
.blob-shape-2 { border-radius: 40% 60% 65% 35% / 48% 42% 58% 52%; }
.blob-shape-3 { border-radius: 55% 45% 38% 62% / 60% 40% 60% 40%; }

.photo-blob-wrap {
  position: relative;
}

.photo-blob-wrap::before {
  content: "";
  position: absolute;
  inset: -9% -7%;
  z-index: -1;
  background: var(--blob-bg-color, var(--color-accent-tint));
  border-radius: 46% 54% 63% 37% / 40% 58% 42% 60%;
}

.paw-scatter {
  position: absolute;
  fill: currentColor;
  stroke: none;
  pointer-events: none;
}

.photo-slot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.illus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 22%, var(--illus-tint, var(--color-primary-tint)), transparent 62%),
    linear-gradient(135deg, var(--color-background-alt), var(--color-border));
}

.illus-icon {
  position: relative;
  width: 34%;
  max-width: 130px;
  min-width: 56px;
  color: var(--illus-icon-color, var(--color-primary-dark));
  opacity: 0.9;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-item .illus-icon {
  width: 30%;
  max-width: 84px;
}

.hero-bg .illus {
  justify-content: center;
}

.hero-bg .illus-icon {
  width: 20%;
  max-width: 160px;
  opacity: 0.35;
}

.photo-slot .photo-hint {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--color-ink-light);
  background: rgba(255, 253, 249, 0.75);
  padding: 3px 10px;
  border-radius: 999px;
}

.photo-slot img.real-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==== CARDS ==== */

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-organic), box-shadow 0.3s var(--ease-organic);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-organic);
}

.card:hover .icon-badge {
  transform: rotate(-8deg) scale(1.08);
}

.card .icon-badge .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.96rem;
}

/* ==== LISTE ÉDITORIALE NUMÉROTÉE (remplace les grilles de cartes répétitives) ==== */

.feature-list {
  display: flex;
  flex-direction: column;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-row:first-child {
  padding-top: 0;
}

.feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-num {
  flex-shrink: 0;
  width: 56px;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--color-secondary);
  opacity: 0.6;
}

.feature-row .icon-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.feature-row .icon-badge .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-row-text h3 {
  margin-bottom: 6px;
}

.feature-row-text p {
  margin: 0;
  font-size: 0.96rem;
}

@media (max-width: 600px) {
  .feature-row { gap: 16px; padding: 22px 0; }
  .feature-num { width: auto; font-size: 2rem; }
}

/* ==== SPLIT SECTION (image + texte) ==== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .tag-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split .tag-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
}

.split .tag-list li span.mark {
  color: var(--color-accent);
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.split .tag-list li small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink-light);
  margin-top: 2px;
}

/* ==== TABLES (tarifs) ==== */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.price-table th, .price-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-background-alt);
}

.price-table thead th {
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: var(--color-background-alt);
}

.price-table td.price {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.weight-alert {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 28px auto 0;
  padding: 16px 20px;
  background: var(--color-card);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.weight-alert p {
  margin: 0;
  color: var(--color-ink);
  font-size: 1rem;
}

.weight-alert strong {
  color: var(--color-primary-dark);
}

.weight-alert-badge {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.weight-alert-compact {
  max-width: none;
  margin: 0 0 20px;
  box-shadow: none;
}

@media (max-width: 480px) {
  .weight-alert { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-item { grid-column: span 2; }
.service-item:nth-child(n+4) { grid-column: span 3; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-item, .service-item:nth-child(n+4) { grid-column: auto; }
  .service-item:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 24px 24px 22px;
}

.service-item h3 {
  margin-bottom: 8px;
}

.service-item p {
  font-size: 0.95rem;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.table-scroll:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 3px;
}

.breed-table {
  min-width: 760px;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.breed-table th, .breed-table td {
  padding: 14px 18px;
  white-space: nowrap;
}

.breed-table thead th:not(:first-child),
.breed-table td {
  text-align: center;
}

.breed-table td {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.breed-table td.na {
  font-weight: 400;
  color: var(--color-ink-light);
}

.breed-table tbody th {
  font-weight: 700;
  color: var(--color-ink);
  white-space: normal;
  min-width: 170px;
}

.breed-table tbody tr:nth-child(even) {
  background: var(--color-background);
}

.breed-table tbody tr:hover {
  background: var(--color-primary-tint);
}

.breed-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--color-card);
  box-shadow: 1px 0 0 var(--color-border);
}

.breed-table thead th:first-child {
  background: var(--color-ink);
}

.breed-table tbody tr:nth-child(even) th:first-child {
  background: var(--color-background);
}

.breed-table tbody tr:hover th:first-child {
  background: var(--color-primary-tint);
}

.price-note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--color-ink-light);
}

.callout {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-accent-tint);
  border: 1px solid rgba(92, 58, 99, 0.3);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 32px;
}

.callout .icon-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout .icon-badge .icon {
  width: 1.4rem;
  height: 1.4rem;
}

/* ==== GALLERY ==== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
}

/* ==== AVIS CLIENTS (testimonials) ==== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--color-primary);
}

.review-stars .icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke: none;
  fill: currentColor;
}

.review-card p.review-text {
  font-style: italic;
  color: var(--color-ink);
  font-size: 0.98rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-ink);
  font-size: 1.2rem;
}

.review-author span {
  font-size: 0.82rem;
  color: var(--color-ink-light);
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.reviews-badge .review-stars .icon {
  width: 1.3rem;
  height: 1.3rem;
}

/* ==== MINI CARTE (accueil) ==== */

.map-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.map-teaser .map-frame-small {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.map-teaser-info {
  background: var(--color-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.map-teaser-info h3 {
  margin-bottom: 0;
}

/* ==== CTA BANNER ==== */

.cta-banner {
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--color-white);
  box-shadow: var(--shadow-lift);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ==== INFO BLOCKS (contact) ==== */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.info-card h3 .icon {
  color: var(--color-primary);
  width: 1.2em;
  height: 1.2em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-background-alt);
  color: var(--color-ink);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td:last-child {
  text-align: right;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ==== FOOTER ==== */

.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid .logo {
  color: var(--color-white);
  margin-bottom: 12px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.social-links a .icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 1.6;
}

.social-links a:hover {
  background: var(--color-primary);
}

/* ==== REVEAL ON SCROLL ==== */

/* Par défaut (pas de JS / avant exécution du script), le contenu reste
   visible : la classe .js est ajoutée en tête de page par un script
   inline synchrone si le JavaScript s'exécute, seul cas où on peut
   masquer .reveal en toute sécurité avant l'animation d'apparition.
   Ainsi un moteur de recherche ou un navigateur sans JS voit toujours
   le contenu complet. */
html.js :where(.reveal) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-organic), transform 0.6s var(--ease-organic);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==== PAW TRAIL (scroll progress, signature de la marque) ==== */

.paw-trail {
  position: fixed;
  top: 0;
  left: 14px;
  width: 32px;
  height: 100vh;
  pointer-events: none;
  z-index: 40;
}

.paw-track {
  position: absolute;
  inset: 0;
}

.paw-print {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0;
  color: var(--color-accent);
  opacity: 0.16;
  transform: scale(0.6) rotate(var(--paw-rot, 0deg));
  transition: opacity 0.45s var(--ease-organic), transform 0.45s var(--ease-organic);
}

.paw-print svg {
  width: 100%;
  height: 100%;
}

.paw-print.is-stepped {
  opacity: 0.85;
  transform: scale(1) rotate(var(--paw-rot, 0deg));
}

.paw-print.paw-left { left: 0; }
.paw-print.paw-right { left: 14px; }

@media (max-width: 1200px) {
  .paw-trail { display: none; }
}

/* ==== RESPONSIVE ==== */

@media (max-width: 900px) {
  .split, .info-grid, .map-teaser, .intro-split { grid-template-columns: 1fr; }
  .intro-split { gap: 16px; }
  .grid-3, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-banner { flex-direction: column; text-align: center; }
  .photo-blob-wrap::before { inset: -6% -3%; }

  .nav-links, .nav-phone-wrap { display: none; }
  .nav-toggle { display: flex; }

  .site-header.open {
    background: var(--color-background);
    backdrop-filter: blur(8px);
    border-bottom-color: rgba(58, 31, 53, 0.08);
  }

  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-background);
    padding: 24px;
    border-bottom: 1px solid rgba(58, 31, 53, 0.08);
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 720px) {
  .hero { padding: 130px 0 80px; }
  .page-hero { padding-top: 120px; }

  .grid-3, .grid-2, .gallery-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; }
  .eyebrow { border-radius: 16px; text-align: left; }
}

@media (max-width: 480px) {
  .grid-3, .grid-2, .gallery-grid, .reviews-grid { grid-template-columns: 1fr; }
  .hero { padding: 116px 0 64px; }
  .cta-banner { padding: 30px 20px; }
}

@media (max-width: 600px) {
  .price-table th, .price-table td { padding: 14px 16px; }
  .breed-table th, .breed-table td { padding: 12px 14px; }
  .breed-table { min-width: 680px; }
  .breed-table tbody th { min-width: 130px; }
}

@media (max-width: 430px) {
  .nav { padding: 14px 16px; gap: 10px; }
  .logo { font-size: 1.4rem; gap: 8px; }
  .logo .paw { width: 32px; height: 32px; }
  .nav-actions { gap: 10px; }
  .nav-call-text { display: none; }
  .nav-call { padding: 12px; }
  .nav-call .icon { width: 1.3em; height: 1.3em; }
}

.weight-alert-hero {
  margin: 28px 0 0;
  max-width: 600px;
}

.blob-shape-salon {
  border-radius: 38% 62% 52% 48% / 40% 45% 55% 60%;
  min-height: 0 !important;
  aspect-ratio: 16 / 11;
}

/* salon-1.jpg est déjà prolongée sur ses bords (enseigne éloignée des arrondis) */
.blob-shape-salon img.real-photo {
  object-position: 35% 50%;
}


/* ==== GALERIE AVANT / APRÈS ==== */

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.ba-card {
  margin: 0;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-soft);
}

/* Chaque photo garde son format d'origine (--r = largeur/hauteur) : hauteurs égales, aucun recadrage */
.ba-pair {
  display: flex;
  gap: 10px;
}

.ba-photo {
  position: relative;
  flex: var(--r) 1 0;
  min-width: 0;
  aspect-ratio: var(--r);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-background-alt);
}

.ba-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ba-tag-after {
  background: var(--color-primary);
  color: var(--color-white);
}

.ba-card figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ink);
}

@media (max-width: 720px) {
  .ba-pair { flex-direction: column; }
  .ba-photo { flex: none; width: 100%; }
}

.breed-missing {
  margin: 20px 0 0;
}

.breed-missing a {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ==== RETOUCHES MOBILE ==== */

[hidden] { display: none !important; }

.split:has(> .photo-blob-wrap[hidden]) { grid-template-columns: 1fr; }

.nav-menu-call { display: none; }

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-open { margin-top: 16px; }

.breed-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  margin-bottom: 20px;
}

.breed-search label {
  font-weight: 700;
  color: var(--color-ink);
}

.breed-search input {
  font: inherit;
  font-size: 1rem;
  padding: 12px 18px;
  min-height: 48px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-card);
  color: var(--color-ink);
}

.breed-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-tint);
}

.breed-empty {
  margin-bottom: 20px;
  color: var(--color-ink);
}

.breed-empty a {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

.ba-tag { font-size: 0.875rem; }

@media (max-width: 900px) {
  .site-header.open .nav-menu-call {
    display: block;
    width: 100%;
    margin-top: 6px;
  }

  .site-header.open .nav-menu-call .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .site-header.open .nav-links { gap: 4px; }
  .site-header.open .nav-links a:not(.btn) { display: block; padding: 10px 2px; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }

  .page-hero .paw-scatter { display: none; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .footer-grid ul li { margin-bottom: 0; }
  .footer-grid ul li a,
  .footer-bottom a { display: inline-block; padding: 11px 0; }

  .map-teaser .map-frame-small { display: none; }
  .map-actions .btn { width: 100%; justify-content: center; }
  .map-open { width: 100%; justify-content: center; }

  /* Tableau des races -> une fiche par race */
  .table-scroll { overflow: visible; box-shadow: none; border-radius: 0; }
  .breed-table, .breed-table tbody, .breed-table tr, .breed-table th, .breed-table td { display: block; }
  .breed-table { min-width: 0; background: none; }
  .breed-table thead { display: none; }

  .breed-table tbody tr {
    background: var(--color-card) !important;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 6px 18px 10px;
    margin-bottom: 14px;
  }

  .breed-table tbody th,
  .breed-table tbody tr:nth-child(even) th:first-child,
  .breed-table tbody tr:hover th:first-child {
    position: static;
    background: none;
    box-shadow: none;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    padding: 8px 0 6px;
    border-bottom: 1px solid var(--color-border);
    min-width: 0;
  }

  .breed-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    text-align: right;
    border-bottom: 1px dashed var(--color-border);
  }

  .breed-table td::before {
    content: attr(data-label);
    font-weight: 400;
    color: var(--color-ink-light);
    text-align: left;
  }

  .breed-table td:last-of-type { border-bottom: none; }
  .breed-table td.na { display: none; }
  .breed-search { max-width: none; }
}

.nav-links .nav-menu-call a.btn,
.nav-links .nav-menu-call a.btn:hover { color: var(--color-white); }

@media (max-width: 720px) {
  .breed-table tbody th:first-child { box-shadow: none; border-bottom: none; }
  .breed-table td { border-bottom: none; border-top: 1px dashed var(--color-border); }
  .breed-table th + td { border-top: 1px solid var(--color-border); }
}

/* ==== PAGES D'ERREUR (404 / 50x) ==== */

.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-bottom: 100px;
}

.error-page .container { max-width: 680px; }

.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.04em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(6rem, 22vw, 10rem);
  line-height: 1;
  color: var(--color-primary);
  margin: 8px 0 12px;
}

.error-code .icon {
  width: 0.8em;
  height: 0.8em;
  fill: currentColor;
  stroke: none;
  transform: rotate(-14deg);
  animation: error-paw 2.4s ease-in-out infinite;
}

@keyframes error-paw {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-8px); }
}

.error-page .lead {
  font-size: 1.15rem;
  margin: 18px auto 32px;
  max-width: 520px;
}

.error-page .hero-actions { justify-content: center; }

.error-help {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--color-ink-light);
}

.error-help a { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .error-code .icon { animation: none; }
}
