/* ==========================================================================
   Snow’Bulles Toilettage — « cocon botanique »
   Fond vivant crème / lin / sauge avec un grain de crépi, cartes en verre
   dépoli, encre terracotta des dessins au trait, et des bulles en clin
   d’œil au nom.

   Feuille mobile-first : les styles de base visent le téléphone, puis
   chaque palier ajoute ce qui change.
   Paliers :  600px  |  768px  |  1024px (menu complet)  |  1280px

   Sommaire :
     1. Polices          2. Variables        3. Base           4. Utilitaires
     5. Boutons, badges  6. En-tête & menu   7. Accueil        8. Sections
     9. Tarifs          10. Galerie         11. À propos      12. Pied de page
     8 bis. Services   12 bis. Encart rendez-vous
    13. Barre d’actions mobile               14. Apparitions   15. Paliers
    16. Animations réduites
   ========================================================================== */


/* 1. POLICES (hébergées sur le site : aucune requête vers un service tiers)
   ========================================================================== */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Alex Brush'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/alex-brush-400-normal.woff2') format('woff2'); }


/* 2. VARIABLES
   ========================================================================== */
:root {
  /* Couleurs */
  --terracotta: #6A2C22;
  --terracotta-deep: #50201A;
  --terracotta-08: rgba(106, 44, 34, 0.08);
  --terracotta-15: rgba(106, 44, 34, 0.15);
  --terracotta-25: rgba(106, 44, 34, 0.25);
  --sage: #9AA892;
  --sage-soft: #E3EADD;
  --sage-ink: #4E5E48;
  --cream: #FBF7F0;
  --paper: #FFFDF9;
  --blush: #F5E4D7;
  --ink: #1F251E;
  --ink-soft: #4A5246;
  --linen: #F3ECE0;
  --terracotta-light: #8C4535;

  /* Verre dépoli (glassmorphism) */
  --glass-bg: rgba(255, 252, 246, 0.56);
  --glass-bg-strong: rgba(255, 252, 246, 0.78);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-blur: blur(18px) saturate(1.35);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 6px -2px rgba(90, 52, 32, 0.08),
    0 30px 60px -28px rgba(90, 52, 32, 0.34);
  --glass-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px -4px rgba(90, 52, 32, 0.10),
    0 44px 80px -30px rgba(90, 52, 32, 0.42);
  --glow: 0 0 0 6px rgba(140, 69, 53, 0.12), 0 18px 40px -12px rgba(106, 44, 34, 0.65);

  /* Typographie */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Alex Brush', 'Segoe Script', cursive;

  /* Formes */
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --r-pill: 999px;

  /* Ombres douces teintées terracotta, jamais grises */
  --shadow-sm: 0 1px 2px rgba(80, 32, 26, 0.06), 0 4px 12px -4px rgba(80, 32, 26, 0.10);
  --shadow-md: 0 2px 4px rgba(80, 32, 26, 0.05), 0 18px 40px -16px rgba(80, 32, 26, 0.24);
  --shadow-lg: 0 4px 8px rgba(80, 32, 26, 0.05), 0 30px 60px -20px rgba(80, 32, 26, 0.32);

  /* Mouvement */
  --ease-out: cubic-bezier(0.22, 0.75, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  /* Mise en page */
  --gutter: 16px;
  --header-h: 84px;
  --max-w: 1200px;
}


/* 3. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

html.is-locked { overflow: hidden; }

/* Curseur personnalisé (empreinte, PNG 24×24 natif : un curseur CSS ne se
   redimensionne pas, la taille vient du fichier). Point actif au centre (12 12).
   Repli : auto pour la page, pointer pour les éléments cliquables. */
:root {
  --cursor-paw: url('../img/cursor.png') 12 12;
}

html,
body {
  cursor: var(--cursor-paw), auto;
}

a,
button,
label[for],
select,
summary,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"] {
  cursor: var(--cursor-paw), pointer;
}

/* Champs de saisie : on garde le curseur texte natif, plus lisible. */
input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea {
  cursor: text;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--linen);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fond vivant, sur des calques fixes ("background-attachment: fixed" ne marche
   pas sur iOS) :
   - body::before : dégradé enveloppant crème, lin et sauge très doux ;
   - .ambient     : trois halos qui dérivent lentement (transform seulement) ;
   - body::after  : le crépi d’origine, désaturé, en simple grain organique. */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
}

body::before {
  z-index: -3;
  background:
    radial-gradient(55% 45% at 8% 0%, rgba(206, 219, 197, 0.85), transparent 70%),
    radial-gradient(45% 40% at 100% 12%, rgba(247, 229, 214, 0.95), transparent 70%),
    radial-gradient(65% 55% at 85% 100%, rgba(196, 211, 188, 0.7), transparent 70%),
    radial-gradient(55% 55% at 0% 95%, rgba(252, 246, 236, 1), transparent 70%),
    linear-gradient(160deg, #FBF6EE 0%, #F1EADD 48%, #E7ECE1 100%);
}

body::after {
  z-index: -1;
  background: url('../img/fond-texture.webp') center / cover no-repeat;
  filter: grayscale(1) contrast(1.6);
  mix-blend-mode: multiply;
  opacity: 0.12;
}

.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }

.ambient span {
  position: absolute;
  border-radius: 50%;
  animation: drift 38s ease-in-out infinite alternate;
}

.ambient span:nth-child(1) {
  top: -18vmax; left: -12vmax; width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(181, 199, 171, 0.55), transparent 65%);
}

.ambient span:nth-child(2) {
  top: 30%; right: -20vmax; width: 55vmax; height: 55vmax;
  background: radial-gradient(circle, rgba(245, 218, 199, 0.6), transparent 65%);
  animation-duration: 46s;
  animation-direction: alternate-reverse;
}

.ambient span:nth-child(3) {
  bottom: -25vmax; left: 20%; width: 65vmax; height: 65vmax;
  background: radial-gradient(circle, rgba(255, 250, 240, 0.9), transparent 62%);
  animation-duration: 52s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vmax, 5vmax, 0) scale(1.12); }
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

::selection { background: var(--terracotta); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}


/* 4. UTILITAIRES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.nowrap { white-space: nowrap; }

/* Verre dépoli : fond blanc cassé translucide, flou d’arrière-plan, liseré clair
   et ombre profonde mais douce. Repli opaque si le flou n’est pas pris en charge. */
.service-card,
.tarif-card:not(.tarif-card--accent),
.gallery-card,
.about-text,
.footer-card,
.info-tile,
.hero-card,
.size-picker,
.legal-doc {
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .service-card,
  .tarif-card:not(.tarif-card--accent),
  .gallery-card,
  .about-text,
  .footer-card,
  .info-tile,
  .hero-card,
  .size-picker,
  .legal-doc { background: var(--glass-bg-strong); }
}

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

.icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

/* Les dessins au trait sont sur fond blanc : "multiply" fait disparaître le blanc */
.line-art { mix-blend-mode: multiply; }

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--gutter);
  z-index: 1100;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }


/* 5. BOUTONS, BADGES, PASTILLES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: var(--cursor-paw), pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn { position: relative; isolation: isolate; overflow: hidden; }

/* Reflet qui balaie le bouton au survol */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

.btn:active { transform: scale(0.97); }

.btn-lg { min-height: 56px; padding: 0 28px; font-size: 0.98rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 55%, var(--terracotta-deep) 100%);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 26px -12px rgba(106, 44, 34, 0.75);
}

.btn-ghost {
  border-color: var(--terracotta);
  background: rgba(255, 252, 246, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--terracotta);
}

.btn-light {
  border-color: var(--terracotta-15);
  background: var(--paper);
  color: var(--terracotta);
}

.icon-arrow { transition: transform 0.3s var(--ease-out); }

@media (hover: hover) {
  .btn:hover::after { transform: translateX(120%); }
  .btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: var(--glow); }
  .btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 252, 246, 0.75); box-shadow: 0 0 0 5px rgba(106, 44, 34, 0.08); }
  .btn-light:hover { border-color: var(--terracotta); }
  .btn:hover .icon-arrow { transform: translateX(5px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

.eyebrow-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--terracotta-15);
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.7);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* Pastille « ouvert / fermé » : le texte est calculé par main.js */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.75);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
}

.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage);
}

.status-pill[data-state='open'] .status-dot { background: #4F8A4A; }
.status-pill[data-state='closed'] .status-dot { background: #B5654F; }

.status-pill[data-state='open'] .status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #4F8A4A;
  animation: pulse 2.4s var(--ease-out) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}


/* 6. EN-TÊTE & MENU
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px var(--gutter) 0;
  pointer-events: none; /* seule la barre capte les clics, pas la marge autour */
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max-w);
  height: 64px;
  margin-inline: auto;
  padding: 0 8px 0 12px;
  pointer-events: auto;
}

/* Le fond flouté est sur un calque à part : un "backdrop-filter" posé sur la
   barre elle-même piégerait le panneau du menu (position: fixed) à l’intérieur. */
.header-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--glass-border);
  border-radius: inherit;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header-bar { border-radius: var(--r-pill); }

.site-header.is-scrolled .header-bar::before {
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow-hover);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--terracotta);
  text-decoration: none;
}

.brand-logo { width: auto; height: 46px; }

.brand-title { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-ink);
}

/* Bouton menu : 48 px, deux traits qui se croisent en X */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--terracotta);
  cursor: var(--cursor-paw), pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}

.nav-toggle:active { transform: scale(0.92); }

.nav-toggle-lines { position: relative; width: 20px; height: 10px; }

.nav-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.35s var(--ease-spring), top 0.25s ease;
}

.nav-toggle-lines span:first-child { top: 0; }
.nav-toggle-lines span:last-child { top: 8px; }

.is-menu-open .nav-toggle-lines span:first-child { top: 4px; transform: rotate(45deg); }
.is-menu-open .nav-toggle-lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* Panneau plein écran : s’ouvre en cercle depuis le bouton */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 24px) 24px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--cream);
  pointer-events: auto;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 48px) 42px);
  transition: clip-path 0.55s var(--ease-out), visibility 0s linear 0.55s;
}

.is-menu-open .nav-panel {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 48px) 42px);
  transition: clip-path 0.6s var(--ease-out), visibility 0s;
}

.nav-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 56px;
  padding: 8px 0;
  border-bottom: 1px solid var(--terracotta-15);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 9vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--terracotta);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}

.nav-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--sage-ink);
}

.is-menu-open .nav-links a { opacity: 1; transform: none; }
.is-menu-open .nav-links li:nth-child(1) a { transition-delay: 0.12s; }
.is-menu-open .nav-links li:nth-child(2) a { transition-delay: 0.17s; }
.is-menu-open .nav-links li:nth-child(3) a { transition-delay: 0.22s; }
.is-menu-open .nav-links li:nth-child(4) a { transition-delay: 0.27s; }
.is-menu-open .nav-links li:nth-child(5) a { transition-delay: 0.32s; }

.nav-panel-footer { display: grid; gap: 14px; justify-items: center; }
.nav-panel-footer .btn { min-height: 56px; }

.header-cta { display: none; }


/* 7. ACCUEIL
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 28px) 0 56px;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
}

.hero-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: 22px; }

.hero-slogan {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 11vw, 5.2rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

/* Surlignage pastel sous « une bulle de douceur. » */
.hero-slogan em {
  font-style: inherit;
  color: var(--terracotta);
  background: linear-gradient(transparent 62%, rgba(245, 228, 215, 0.95) 62%, rgba(245, 228, 215, 0.95) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.hero-actions .btn { flex: 1 1 220px; }

/* Entrée de l’accueil en CSS seul : pas besoin d’attendre le JS. Le titre et
   la photo ne sont pas animés pour ne pas retarder leur affichage. */
.hero-copy > :not(.hero-slogan),
.hero-card,
.hero-scissors {
  animation: rise-in 0.8s var(--ease-out) both;
}

.hero-copy > .eyebrow { animation-delay: 0.05s; }
.hero-copy > .tag-list { animation-delay: 0.15s; }
.hero-copy > .hero-actions { animation-delay: 0.25s; }
.hero-copy > .status-pill { animation-delay: 0.35s; }
.hero-scissors { animation-delay: 0.3s; }
.hero-card { animation-delay: 0.5s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-visual {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  padding: 0 4px;
}

/* Grande bulle pastel derrière la photo */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 8%;
  left: -10%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 253, 249, 0.85), rgba(245, 228, 215, 0.55) 60%, rgba(245, 228, 215, 0) 72%);
}

.hero-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero-scissors {
  position: absolute;
  top: -4%;
  left: -6%;
  width: 24%;
  rotate: -16deg;
}

.hero-card {
  position: absolute;
  right: -2px;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-md);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blush);
  font-size: 1.05rem;
}

.hero-paw { display: none; }

/* Sceau tournant « Le Plessis-Feu-Aussoux · Toilettage » */
.hero-seal {
  position: absolute;
  top: 3%;
  right: -2%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  animation: rise-in 0.8s var(--ease-out) 0.6s both;
}

.hero-seal > svg {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  overflow: visible;
  animation: spin 30s linear infinite;
}

.hero-seal > svg text {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: var(--terracotta);
}

.hero-seal-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta-deep));
  font-size: 1.3rem;
  color: var(--cream);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Bulles : simples cercles en dégradé, animés seulement en "transform" */
.bubbles { position: absolute; inset: 0; pointer-events: none; }

.bubbles span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0 6%, rgba(255, 255, 255, 0.28) 22%, rgba(255, 255, 255, 0.06) 62%);
  animation: float 12s ease-in-out infinite alternate;
}

.bubbles span:nth-child(1) { top: 16%; right: 8%;  width: 58px;  height: 58px; }
.bubbles span:nth-child(2) { top: 44%; left: 4%;   width: 26px;  height: 26px; animation-duration: 9s; }
.bubbles span:nth-child(3) { bottom: 10%; right: 30%; width: 88px; height: 88px; animation-duration: 15s; }
.bubbles span:nth-child(4) { top: 9%;  left: 46%;  width: 16px;  height: 16px; animation-duration: 8s; }
.bubbles span:nth-child(5) { bottom: 26%; left: 38%; width: 38px; height: 38px; animation-duration: 11s; }

@keyframes float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(6px, -26px, 0); }
}


/* 8. SECTIONS
   ========================================================================== */
.section { padding-block: clamp(72px, 11vw, 128px); }

/* Galerie posée sur un grand panneau crème translucide */
.section--tinted {
  margin-inline: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(214, 225, 206, 0.45), rgba(244, 238, 228, 0.35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-header {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--terracotta);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.section-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--terracotta-light);
}

/* Tarifs : l’intro s’étale sur la largeur du contenu (1 à 2 lignes sur ordinateur) */
#tarifs .section-header { max-width: 1100px; }
#tarifs .section-subtitle {
  max-width: none;
  font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.4rem);
}

.section-subtitle {
  max-width: 46ch;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  text-wrap: balance;
}


/* 8 bis. SERVICES (aperçu des soins avec prix d’appel)
   ========================================================================== */
.section--services { padding-top: clamp(40px, 7vw, 88px); padding-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.services-grid > li { display: flex; }

/* Téléphone : une ligne par soin, toute la carte est cliquable */
.service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    'icon name  price'
    'icon meta  arrow';
  align-items: center;
  gap: 2px 14px;
  flex: 1;
  min-height: 76px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s ease;
}

.service-card:active { transform: scale(0.985); }

.service-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--paper), var(--blush));
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -10px rgba(106, 44, 34, 0.55);
  font-size: 1.5rem;
  color: var(--terracotta);
  transition: transform 0.5s var(--ease-spring), background 0.3s ease, color 0.3s ease;
}

.service-name {
  grid-area: name;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--terracotta);
}

.service-meta {
  grid-area: meta;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-ink);
}

.service-price {
  grid-area: price;
  justify-self: end;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--terracotta);
}

.service-price small {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.service-arrow {
  grid-area: arrow;
  justify-self: end;
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--terracotta);
  transition: transform 0.35s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
}

@media (hover: hover) {
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); background: var(--glass-bg-strong); }
  .service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); background: var(--terracotta); color: var(--cream); }
  .service-card:hover .service-arrow { transform: translateX(3px); background: var(--terracotta); color: var(--cream); }
}


/* 9. TARIFS
   ========================================================================== */

/* Sélecteur de taille (téléphone uniquement, ajouté par main.js) */
.size-picker {
  --i: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 440px;
  margin: 0 auto 20px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.size-picker[hidden] { display: none; }

.size-option {
  position: relative;
  z-index: 1;
  min-height: 46px;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: var(--cursor-paw), pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease;
}

.size-option[aria-pressed='true'] { color: var(--cream); }

.size-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc((100% - 10px) / 4);
  border-radius: var(--r-pill);
  background: var(--terracotta);
  transform: translateX(calc(100% * var(--i)));
  transition: transform 0.45s var(--ease-spring);
}

.tarifs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.tarif-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 18px;
  overflow: hidden;
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* Liseré qui s’étire au survol */
.tarif-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--terracotta);
  transform: scaleX(0.16);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.tarif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--terracotta-25);
}

.tarif-head h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--terracotta);
}

/* « Petits Chiens », « Chiens Moyens »… toujours sur une seule ligne ; si la
   carte est trop étroite, c’est la jauge de taille qui passe dessous */
.tarif-card--dog .tarif-head { flex-wrap: wrap; row-gap: 8px; }
.tarif-card--dog .tarif-head h3 { white-space: nowrap; }
@media (min-width: 1024px) {
  /* 4 cartes côte à côte : la jauge passe sous le titre, sur les 4 cartes */
  .tarif-card--dog .tarif-head { flex-direction: column; align-items: flex-start; }
  .tarif-card--dog .tarif-head h3 { font-size: 1.5rem; }

  /* Suppléments : intitulés et prix plus serrés pour tenir dans la colonne */
  .tarif-card--accent .tarif-item,
  .tarif-card--accent .tarif-item dt { gap: 6px; }
  .tarif-card--accent .tarif-item dt { font-size: 0.86rem; }
  .tarif-card--accent .tarif-item dt::after { min-width: 6px; }
}

/* Chiots, Chats, Lapins, Suppléments : les prix « +15 € / 30m » ont besoin
   d’environ 300 px de large. 1 colonne jusqu’à 767 px, 2 jusqu’à 1279 px. */
@media (max-width: 767px) {
  .tarifs-grid.tarifs-grid--others { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .tarifs-grid.tarifs-grid--others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* « Présence Du Maître… » : sous la Tonte (chats) et le Toilettage complet
   (lapins), en bordeaux, sur toute la largeur de la ligne de tarif */
.tarif-item--presence { flex-wrap: wrap; row-gap: 8px; }

.tarif-item dd.tarif-presence {
  flex-basis: 100%;
  padding: 7px 12px;
  border-left: 3px solid var(--terracotta-deep);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--blush);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: normal;
  color: var(--terracotta-deep);
}

.tarif-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--paper), var(--blush));
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(106, 44, 34, 0.5);
  font-size: 1.35rem;
  color: var(--terracotta);
  transition: transform 0.5s var(--ease-spring);
}

.tarif-card--accent .tarif-icon { background: rgba(251, 247, 240, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); color: var(--cream); }

@media (hover: hover) {
  .tarif-card:hover .tarif-icon { transform: rotate(-10deg) scale(1.08); }
}

/* Jauge de taille : quatre bulles de plus en plus grandes */
.size-scale { display: flex; align-items: flex-end; gap: 4px; }

.size-scale i {
  display: block;
  border: 1.5px solid var(--terracotta-25);
  border-radius: 50%;
}

.size-scale i:nth-child(1) { width: 7px;  height: 7px; }
.size-scale i:nth-child(2) { width: 10px; height: 10px; }
.size-scale i:nth-child(3) { width: 13px; height: 13px; }
.size-scale i:nth-child(4) { width: 16px; height: 16px; }

.size-scale[data-level='1'] i:nth-child(-n+1),
.size-scale[data-level='2'] i:nth-child(-n+2),
.size-scale[data-level='3'] i:nth-child(-n+3),
.size-scale[data-level='4'] i:nth-child(-n+4) {
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.tarif-card dl { display: grid; gap: 2px; }

/* Ligne de tarif façon carte de salon : intitulé, pointillés, prix */
.tarif-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-inline: -10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  transition: background-color 0.25s ease;
}

.tarif-item dt {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.tarif-item dt::after {
  content: '';
  flex: 1;
  min-width: 16px;
  border-bottom: 1.5px dotted var(--terracotta-25);
  transform: translateY(-4px);
}

.tarif-item dd {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  line-height: 1;
  white-space: nowrap;
  color: var(--terracotta);
  transition: transform 0.3s var(--ease-spring);
}

.tarif-item dd small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.tarif-item dd.is-quote {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--blush);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
}

@media (hover: hover) {
  .tarif-card:hover { transform: translateY(-8px); box-shadow: var(--glass-shadow-hover); }
  .tarif-card:hover::before { transform: scaleX(1); }
  .tarif-item:hover { background: var(--sage-soft); }
  .tarif-item:hover dd:not(.tarif-presence) { transform: scale(1.08); }
}

/* Carte « Suppléments » en couleur pleine */
.tarif-card--accent {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(120% 90% at 0% 0%, var(--terracotta-light), var(--terracotta) 55%, var(--terracotta-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 60px -28px rgba(80, 32, 26, 0.6);
  color: var(--cream);
}
.tarif-card--accent::before { background: var(--blush); }
.tarif-card--accent .tarif-head { border-color: rgba(251, 247, 240, 0.3); }
.tarif-card--accent .tarif-head h3,
.tarif-card--accent .tarif-item dd { color: var(--cream); }
.tarif-card--accent .tarif-item dt::after { border-color: rgba(251, 247, 240, 0.35); }

@media (hover: hover) {
  .tarif-card--accent .tarif-item:hover { background: rgba(251, 247, 240, 0.12); }
}

/* Passage d’une taille à l’autre sur téléphone */
.tarif-card.is-entering { animation: card-in 0.45s var(--ease-out); }

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-md);
  background: rgba(245, 228, 215, 0.72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--terracotta-deep);
}

/* Note sous les tarifs chiens : plus discrète */
.callout--note {
  align-items: center;
  width: fit-content; /* s’étale sur toute la largeur utile, centrée si plus courte */
  max-width: 100%;
  margin-inline: auto;
  padding: 12px 16px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.callout--note .callout-icon { width: 34px; height: 34px; font-size: 0.85rem; }

.callout-icon,
.info-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1rem;
}

.callout-icon { background: var(--terracotta); color: var(--cream); }

.info-tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.info-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  font-size: 0.93rem;
  line-height: 1.6;
}

.info-icon { background: var(--sage-soft); color: var(--terracotta); }

.info-tile strong { color: var(--terracotta); }

.info-tile a {
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}


/* 10. GALERIE AVANT / APRÈS
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 480px;
  margin-inline: auto;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

@media (hover: hover) {
  .gallery-card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); }
}

/* Rend --pos animable : un toucher bref fait glisser le curseur en douceur */
@property --pos {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 50%;
}

.ba-slider {
  --pos: 50%;
  transition: --pos 0.5s var(--ease-out);
  -webkit-touch-callout: none;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--sage-soft);
  cursor: var(--cursor-paw), ew-resize;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y; /* horizontal = curseur, vertical = défilement de la page */
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* « Après » à droite du curseur, « Avant » à gauche */
.ba-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}

.ba-label {
  position: absolute;
  top: 12px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(31, 37, 30, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}

.ba-label--before { left: 12px; }
.ba-label--after { right: 12px; background: rgba(106, 44, 34, 0.72); }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: var(--paper);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

/* Poignée ronde de 48 px : confortable au pouce */
.ba-handle::after {
  content: '\2039\2003\203A';
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: var(--shadow-md);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  transition: transform 0.3s var(--ease-spring);
}

.ba-slider.is-dragging,
.ba-slider.is-instant { transition: none; }
.ba-slider.is-dragging .ba-handle::after { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 8px rgba(251, 247, 240, 0.35), var(--shadow-md); }

@media (hover: hover) {
  .ba-slider:hover .ba-handle::after { transform: translate(-50%, -50%) scale(1.08); }
}

.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible::after { outline: 3px solid var(--blush); outline-offset: 2px; }

.gallery-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 16px 10px 8px;
}

.gallery-body h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--terracotta);
}

.gallery-body .tag { background: var(--sage-soft); border-color: transparent; color: var(--sage-ink); }


/* 11. À PROPOS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

/* Téléphone : bande de photos qui défile au doigt, avec aimantation */
.photo-strip {
  display: flex;
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.photo-strip::-webkit-scrollbar { display: none; }

.photo-frame {
  flex: 0 0 72%;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 5px solid var(--paper);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
}

.photo-frame--arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); }

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

@media (hover: hover) {
  .photo-frame:hover img { transform: scale(1.05); }
}

.about-text {
  padding: clamp(26px, 6vw, 60px) clamp(20px, 6vw, 64px);
  border-radius: var(--r-xl);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.about-text p + p { margin-top: 1.1em; }

.about-text .about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.about-text h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 2.2em 0 0.7em;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--terracotta);
}

/* Petite bulle devant chaque intertitre */
.about-text h3::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.42em;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  background: var(--blush);
}

.about-text .about-quote {
  position: relative;
  margin: 1.6em 0;
  padding: 28px 22px 22px;
  border-radius: var(--r-md);
  background: var(--sage-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  color: var(--sage-ink);
}

.about-text .about-quote::before {
  content: '\201C';
  position: absolute;
  top: -14px;
  left: 18px;
  font-family: var(--font-serif);
  font-size: 4.4rem;
  font-style: normal;
  line-height: 1;
  color: var(--terracotta);
}

.about-text .signature {
  margin-top: clamp(28px, 5vw, 48px);
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 4.4rem);
  line-height: 1.2;
  text-align: center;
  color: var(--terracotta);
}


/* 11 bis. PAGES ANNEXES (À propos, CGV)
   ========================================================================== */
/* Pas d’accueil plein écran : on dégage simplement l’en-tête fixe */
.page-top { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 80px)); }

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto clamp(28px, 5vw, 48px);
}

.legal-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--terracotta-25);
  border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--terracotta);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-spring);
}

.legal-toc a[aria-current="page"] { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }

@media (hover: hover) {
  .legal-toc a:hover { background: var(--terracotta); color: var(--cream); transform: translateY(-2px); }
}

.legal-doc {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.legal-part > h2:first-child,
.legal-part > .legal-date:first-child { margin-top: 0; }

.legal-part h2 {
  margin: 1.8em 0 0.4em;
  font-size: 1rem;
  font-weight: 700;
  color: var(--terracotta-deep);
}

.legal-part p + p { margin-top: 0.7em; }

.legal-part a {
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-date {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* Fiche SIRET : intitulé / valeur, séparés comme les horaires */
.legal-facts { margin: 0.6em 0 1.2em; }
.legal-facts > div {
  display: grid;
  gap: 2px 20px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--terracotta-25);
}
.legal-facts dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.legal-facts dd { font-weight: 600; color: var(--ink); }
@media (min-width: 600px) {
  .legal-facts > div { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; }
}

/* Lien « ← Retour au site », en haut et en bas des pages légales */
.back-row { margin-bottom: clamp(20px, 4vw, 32px); }
.back-row--end { margin: clamp(28px, 5vw, 44px) 0 0; text-align: center; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--terracotta);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.back-link span { transition: transform 0.25s var(--ease-spring); }

@media (hover: hover) {
  .back-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .back-link:hover span { transform: translateX(-4px); }
}

/* Information encore manquante : bien visible tant qu’elle n’est pas remplie */
.legal-todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #FCE9B8;
  font-style: italic;
}


/* 12. PIED DE PAGE
   ========================================================================== */
.site-footer {
  /* Réserve la place de la barre d’actions fixe sur téléphone */
  padding: clamp(48px, 8vw, 96px) 0 calc(104px + env(safe-area-inset-bottom));
}

.footer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding: clamp(28px, 6vw, 56px) clamp(20px, 6vw, 56px);
  border-radius: var(--r-xl);
}

.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.4rem + 0.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--terracotta);
}

.footer-contact address { font-style: normal; }

.contact-list { display: grid; gap: 4px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  margin-inline: -8px;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.25s ease;
}

.contact-icon { background: var(--sage-soft); color: var(--terracotta); transition: transform 0.3s var(--ease-spring), background-color 0.25s ease, color 0.25s ease; }

.contact-mail { overflow-wrap: break-word; }

@media (hover: hover) {
  .contact-row:hover { background: var(--cream); }
  .contact-row:hover .contact-icon { transform: scale(1.08); background: var(--terracotta); color: var(--cream); }
}

.hours-list { margin-bottom: 18px; }

/* Horaires toujours sous le jour, de la même façon pour chaque ligne */
.hours-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--terracotta-25);
}

.hours-row dt { font-weight: 600; color: var(--ink); }

.hours-row dd {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  color: var(--terracotta);
}

.footer-hours .status-pill { background: var(--cream); }

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

.social-links a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--terracotta-25);
  border-radius: 50%;
  font-size: 1.35rem;
  color: var(--terracotta);
  transition: transform 0.3s var(--ease-spring), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
  .social-links a:hover {
    transform: translateY(-3px) rotate(-6deg);
    border-color: var(--terracotta);
    background: var(--terracotta);
    color: var(--cream);
  }
}

.footer-art { width: 150px; margin-top: 24px; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
  margin-top: 24px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .legal-links a:hover { color: var(--terracotta); text-decoration: underline; text-underline-offset: 4px; }
}


/* 12 bis. ENCART PRISE DE RENDEZ-VOUS
   ========================================================================== */
.cta-band { padding-bottom: 0; }

.cta-card {
  position: relative;
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding: clamp(32px, 7vw, 72px) clamp(22px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(245, 228, 215, 0.22), transparent 60%),
    radial-gradient(120% 100% at 0% 100%, var(--terracotta-deep), transparent 70%),
    linear-gradient(135deg, var(--terracotta-light), var(--terracotta));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 40px 80px -36px rgba(80, 32, 26, 0.7);
  color: var(--cream);
}

.cta-copy, .cta-actions { position: relative; z-index: 1; }

.eyebrow--light { color: var(--blush); }

.cta-title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.4rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.cta-text {
  max-width: 34ch;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(251, 247, 240, 0.85);
}

.cta-actions { display: grid; gap: 12px; align-content: center; justify-items: stretch; }

.btn-cream {
  background: var(--cream);
  color: var(--terracotta);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.45);
  font-size: 1.05rem;
}

.btn-outline-light { border-color: rgba(251, 247, 240, 0.5); color: var(--cream); }

@media (hover: hover) {
  .btn-cream:hover { background: var(--paper); transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 6px rgba(251, 247, 240, 0.16), 0 0 34px rgba(251, 247, 240, 0.35), 0 18px 32px -14px rgba(0, 0, 0, 0.5); }
  .btn-outline-light:hover { border-color: var(--cream); background: rgba(251, 247, 240, 0.1); }
}

.cta-card .status-pill { justify-self: start; background: rgba(251, 247, 240, 0.12); color: var(--cream); }

.cta-card :focus-visible { outline-color: var(--cream); }

.bubbles--cta span:nth-child(1) { top: -30px; right: -20px; width: 160px; height: 160px; }
.bubbles--cta span:nth-child(2) { bottom: 18%; right: 34%; width: 34px; height: 34px; }
.bubbles--cta span:nth-child(3) { bottom: -40px; left: 8%; width: 110px; height: 110px; }
.bubbles--cta span { border-color: rgba(255, 255, 255, 0.22); background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.35) 0 6%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0.02) 62%); }


/* 13. BARRE D’ACTIONS MOBILE (apparaît après l’accueil)
   ========================================================================== */
.action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 480px;
  margin-inline: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-pill);
  background: rgba(251, 247, 240, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.45s var(--ease-out);
}

.action-bar .btn { min-height: 52px; padding: 0 14px; }

.action-bar.is-visible { transform: none; }
.is-menu-open ~ .action-bar,
html.is-locked .action-bar { transform: translateY(calc(100% + 24px)); }


/* 14. APPARITIONS AU DÉFILEMENT
   Activées par main.js (classe "has-reveal" sur <html>) : sans JS, tout est visible.
   ========================================================================== */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease-out);
}

.has-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

/* Les cartes de tarifs gardent leur propre transition au survol une fois visibles */
.has-reveal .tarif-card[data-reveal].is-revealed,
.has-reveal .gallery-card[data-reveal].is-revealed {
  transition: opacity 0.7s ease, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}


/* 15. PALIERS
   ========================================================================== */

/* Téléphone : une seule taille de chien à la fois quand le sélecteur est actif,
   et flou de verre plus léger pour garder un défilement fluide */
@media (max-width: 767px) {
  :root { --glass-blur: blur(12px) saturate(1.3); }

  .has-size-picker .tarif-card--dog:not(.is-active) { display: none; }
}

/* Grand téléphone / petite tablette */
@media (min-width: 600px) {
  :root { --gutter: 24px; }

  .tarifs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .tarifs-grid--dogs { margin-top: 0; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }

  /* Carte seule sur la dernière ligne : centrée */
  .gallery-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }

  .photo-frame { flex-basis: 44%; }

  .callout { align-items: center; padding: 20px 26px; }

  .footer-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
  .footer-social .footer-title { margin-bottom: 0; }
  .footer-art { width: 120px; margin: 0 0 0 auto; }
}

/* Tablette */
@media (min-width: 768px) {
  .size-picker { display: none; }

  .section--tinted { margin-inline: 16px; }

  .hero { padding-top: calc(var(--header-h) + 40px); }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    column-gap: 32px;
  }

  /* Patte et main posées contre l’arche, en écho aux ciseaux en haut */
  .hero-paw {
    position: absolute;
    left: -24%;
    bottom: -3%;
    z-index: 1;
    display: block;
    width: 34%;
    animation: rise-in 0.8s var(--ease-out) 0.4s both;
  }

  .hero-slogan { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }

  .hero-actions { width: auto; }
  .hero-actions .btn { flex: 0 0 auto; }

  /* Inclusions en bandeau pleine largeur (1 à 2 lignes), les deux autres en dessous */
  .info-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .info-tile { flex-direction: column; }
  .info-tile:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  .about-text { font-size: 1.04rem; }
}

/* Ordinateur : menu complet dans la barre */
@media (min-width: 1024px) {
  :root { --gutter: 32px; --header-h: 96px; }

  .site-header { padding-top: 16px; }
  .header-bar { height: 68px; padding: 0 10px 0 18px; }

  .nav-toggle { display: none; }

  .nav-panel {
    position: static;
    z-index: auto;
    display: block;
    padding: 0;
    overflow: visible;
    background: none;
    visibility: visible;
    clip-path: none;
    transition: none;
  }

  .nav-panel-footer { display: none; }

  .nav-links { display: flex; gap: 4px; }

  .nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 1;
    transform: none;
    transition: color 0.25s ease;
  }

  .nav-num { display: none; }

  /* Soulignement qui se dessine depuis le centre */
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 1.5px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: transform 0.35s var(--ease-out);
  }

  .nav-links a:hover,
  .nav-links a.is-current { color: var(--terracotta); }

  .nav-links a:hover::after,
  .nav-links a.is-current::after { transform: scaleX(1); }

  .header-cta { display: inline-flex; min-height: 48px; }

  .hero {
    display: flex;
    align-items: center;
    min-height: min(100vh, 900px);
    min-height: min(100svh, 900px);
    padding: calc(var(--header-h) + 32px) 0 72px;
  }

  .hero > .container { width: 100%; }

  .hero-grid { column-gap: 56px; }

  .hero-visual { width: min(100%, 460px); justify-self: end; }
  .hero-card { right: -36px; font-size: 0.78rem; }

  .tarifs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tarif-card { padding: 28px 22px 20px; }

  /* Ordinateur : cartes de soins verticales, 4 par ligne */
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

  .service-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'icon  arrow'
      'name  name'
      'meta  meta'
      'price price';
    grid-template-rows: auto auto auto 1fr;
    gap: 6px;
    min-height: 210px;
    padding: 22px 22px 20px;
    border-radius: var(--r-lg);
  }

  .service-icon { width: 58px; height: 58px; margin-bottom: 14px; border-radius: 18px; font-size: 1.7rem; }
  .service-arrow { align-self: start; width: 36px; height: 36px; padding: 10px; }
  .service-name { font-size: 1.4rem; }
  .service-price { justify-self: stretch; align-self: end; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--terracotta-25); font-size: 1.6rem; }

  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .gallery-card:last-child:nth-child(odd) { grid-column: auto; width: auto; }
  .tarif-item dd { font-size: 1.35rem; }

  .section--tinted { margin-inline: 24px; border-radius: 48px; }

  /* À propos : photos en mosaïque collante à gauche, texte à droite */
  .about-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }

  .about-media { position: sticky; top: calc(var(--header-h) + 24px); }

  .photo-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .photo-frame--arch { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
  .photo-frame--arch img { object-position: 50% 30%; }
  .photo-frame:not(.photo-frame--arch) { aspect-ratio: 1; }

  .footer-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 48px;
  }

  .footer-social { grid-column: auto; display: block; }
  .footer-social .footer-title { margin-bottom: 16px; }
  .footer-art { width: 160px; margin: 28px 0 0; }

  .site-footer { padding-bottom: 40px; }

  .action-bar { display: none; }
}

@media (min-width: 1280px) {
  .hero-grid { column-gap: 80px; }
  .tarif-item dt { font-size: 0.95rem; }
}


/* 16. ANIMATIONS RÉDUITES (réglage du système)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient span, .hero-seal > svg { animation: none !important; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
