/* =================================================================
   Comme 1 accord — Laurence Strippoli, Psychologue clinicienne
   Style : Soft UI Evolution · Palette taupe #A79A90
   Polices : Lora (titres) + Raleway (texte)
   ================================================================= */

:root {
  --background: #fbf7f2;
  --foreground: #2a211c;
  --card: #ffffff;
  --primary: #bb6f58;        /* Terracotta (couleur principale) */
  --primary-foreground: #16110d; /* Texte noir sur les boutons terracotta */
  --accent: #924b3f;         /* Terracotta profond pour le texte/liens (contraste AA) */
  --muted: #f3ebe3;
  --muted-foreground: #6f6157;
  --border: #e9dcd0;
  --ring: #bb6f58;

  --shadow-soft: 0 4px 24px -8px rgba(46, 42, 37, 0.12);
  --shadow-soft-lg: 0 18px 48px -16px rgba(46, 42, 37, 0.18);

  --maxw: 1200px;
  --radius: 0.75rem;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* compense le header fixe */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--foreground);
}

h1,
h2,
h3,
h4 {
  font-family: "Lora", Georgia, serif;
  color: var(--foreground);
  line-height: 1.2;
  font-weight: 600;
}

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

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 60ch;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

.accent-bar {
  width: 4.5rem;
  height: 4px;
  background: var(--primary);
  border-radius: 99px;
  margin: 1.25rem 0;
}

.text-accent {
  color: var(--accent);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border-radius: 99px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease, color 0.2s ease;
  min-height: 44px;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground); /* texte foncé sur taupe = 5,2:1 */
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: #a85f49;
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-lg);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}
.btn-outline:hover {
  background: var(--muted);
  color: var(--foreground);
  transform: translateY(-2px);
}

/* =================================================================
   Header
   ================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img {
  height: 50px;
  width: auto;
  border-radius: 10px;
}
.brand-text strong {
  display: block;
  font-family: "Lora", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.1;
}
.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--foreground);
  align-items: center;
  justify-content: center;
}

/* =================================================================
   Hero
   ================================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: var(--background);
  min-height: 100svh;
  padding-top: 72px; /* header */
}
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 2.5rem 1.5rem;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .hero-content {
    width: 60%;
    padding: 4rem;
  }
}
@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem clamp(3rem, 6vw, 6rem);
  }
}

.hero-slogan {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
}
.hero-title span {
  color: var(--accent);
}
.hero-subtitle {
  max-width: 42ch;
  color: var(--muted-foreground);
  font-size: 1.1rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-size: 1rem;
  align-self: flex-start;
}
.hero-cta svg {
  transition: transform 0.25s ease;
}
.hero-cta:hover svg {
  transform: translateX(5px);
}

.hero-info {
  margin-top: auto;
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .hero-info {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-info-item svg {
  color: var(--primary);
  flex-shrink: 0;
}
.hero-info-item a {
  color: var(--muted-foreground);
}
.hero-info-item a:hover {
  color: var(--accent);
}

.hero-image {
  width: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  .hero-image {
    width: 40%;
    min-height: 100%;
    /* Révélation animée façon "clip-path" du composant d'origine */
    animation: hero-clip 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
@keyframes hero-clip {
  from {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  to {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  }
}

/* Animations d'entrée échelonnées (gauche du hero) */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.6s ease-out forwards;
}
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.3s; }
.d3 { animation-delay: 0.45s; }
.d4 { animation-delay: 0.6s; }
.d5 { animation-delay: 0.75s; }
.d6 { animation-delay: 0.9s; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================================================
   À propos
   ================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.about-photo {
  position: relative;
}
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft-lg);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 60%;
  height: 60%;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  z-index: -1;
}
.about-text p {
  color: var(--muted-foreground);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}
.about-text p:last-of-type {
  margin-bottom: 0;
}
.about-signature {
  margin-top: 1.75rem;
  font-family: "Lora", serif;
  font-style: italic;
  color: var(--foreground);
}
.about-creds {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about-creds li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--foreground);
  font-size: 0.97rem;
  font-weight: 500;
}
.about-creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 99px;
  background: var(--primary);
}

.about-byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.about-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}
.about-byline strong {
  display: block;
  font-family: "Lora", serif;
  font-size: 1rem;
  color: var(--foreground);
  line-height: 1.2;
}
.about-byline span {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 800px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.faq-item h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
  color: var(--foreground);
}
.faq-item p {
  color: var(--muted-foreground);
  font-size: 0.97rem;
}

/* =================================================================
   Services
   ================================================================= */
.services {
  background: var(--muted);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-lg);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--muted);
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--muted-foreground);
  font-size: 0.97rem;
}

/* =================================================================
   Citation / approche
   ================================================================= */
.quote {
  position: relative;
  background-image: linear-gradient(
      rgba(46, 42, 37, 0.62),
      rgba(46, 42, 37, 0.68)
    ),
    url("../images/nature.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.quote blockquote {
  max-width: 50ch;
  margin-inline: auto;
  font-family: "Lora", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  font-style: italic;
  color: #fff;
}
.quote cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* =================================================================
   Contact
   ================================================================= */
.contact-cta {
  margin-top: 1.75rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item .service-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.contact-item p,
.contact-item a {
  color: var(--muted-foreground);
  font-size: 1rem;
}
.contact-item a:hover {
  color: var(--accent);
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* =================================================================
   Footer
   ================================================================= */
.site-footer {
  background: var(--foreground);
  color: #d9d2ca;
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer-brand .brand-text strong {
  color: #fff;
}
.footer-brand p {
  margin-top: 1rem;
  color: #b7afa6;
  font-size: 0.95rem;
  max-width: 36ch;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: #d9d2ca;
  font-size: 0.92rem;
  font-weight: 500;
}
.footer-social svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.footer-social:hover {
  color: #fff;
}
.footer-social:hover svg {
  transform: scale(1.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a,
.footer-col p {
  color: #c7c0b7;
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #a89f95;
}
.footer-bottom a {
  color: #c7c0b7;
}
.footer-bottom a:hover {
  color: #fff;
}

/* =================================================================
   Révélation au scroll
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================================
   Pages légales (contenu texte)
   ================================================================= */
.legal {
  padding-top: calc(72px + 3rem);
  padding-bottom: 4rem;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}
.legal .legal-sub {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
}
.legal p,
.legal li {
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.legal ul {
  padding-left: 1.25rem;
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* =================================================================
   Responsive : menu mobile
   ================================================================= */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft-lg);
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 90;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
  }
  .nav-links a {
    padding: 0.6rem 0;
  }
  .nav .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =================================================================
   Cookies / RGPD
   ================================================================= */
[hidden] {
  display: none !important;
}

/* Placeholder de la carte (avant consentement) */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  height: 100%;
  min-height: 320px;
  padding: 2rem;
  background: var(--muted);
  color: var(--muted-foreground);
}
.map-placeholder svg {
  color: var(--primary);
}
.map-placeholder p {
  max-width: 32ch;
  font-size: 0.95rem;
}

/* Bouton flottant */
.cookie-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent);
  box-shadow: var(--shadow-soft-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}
.cookie-fab:hover {
  transform: translateY(-2px) scale(1.05);
  color: var(--foreground);
}

/* Bannière */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px -16px rgba(46, 42, 37, 0.25);
  animation: cookie-slide-up 0.4s ease-out both;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-block: 1.5rem;
}
@media (min-width: 900px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cookie-text h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.cookie-text p {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  max-width: 70ch;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .cookie-actions .btn {
    flex: 0 0 auto;
  }
}

/* Panneau de préférences (modale) */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 37, 0.55);
}
.cookie-modal-box {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft-lg);
  padding: 2rem;
  animation: fade-up 0.3s ease-out both;
}
.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.cookie-modal-close:hover {
  background: var(--muted);
  color: var(--foreground);
}
.cookie-modal-box h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}
.cookie-modal-intro {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
}
.cookie-cat-text h3 {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}
.cookie-cat-text p {
  color: var(--muted-foreground);
  font-size: 0.88rem;
  max-width: 42ch;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.cookie-modal-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
}

/* Interrupteur (toggle) */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  cursor: pointer;
}
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #cfc6bb;
  transition: background-color 0.2s ease;
}
.cookie-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--primary);
}
.cookie-toggle input:checked + .cookie-slider::before {
  transform: translateX(20px);
}
.cookie-toggle input:focus-visible + .cookie-slider {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
.cookie-toggle.is-locked {
  cursor: not-allowed;
  opacity: 0.7;
}

/* =================================================================
   Accessibilité : mouvement réduit
   ================================================================= */
@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;
  }
  .reveal,
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-image {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  }
}
