/* ==========================================================================
   Reine Valensol — Psychanalyste — Feuille de style principale
   ========================================================================== */

:root {
  --cream: #fbf5f2;
  --sand: #f5e5e8;
  --sand-dark: #e9cdd4;
  --terracotta: #a24d78;
  --terracotta-dark: #7e3a5c;
  --sage: #c98aa6;
  --sage-dark: #a24d78;
  --ink: #4a3d40;
  --ink-soft: #7d6d70;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(140, 70, 100, 0.1);
  --shadow-soft: 0 4px 16px rgba(140, 70, 100, 0.07);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(160deg, #f6e2e7 0%, #fbf5f2 42%, #fdf9f7 100%);
  background-attachment: fixed;
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--terracotta-dark);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; color: var(--sage-dark); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { color: var(--terracotta); }

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

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

.section {
  padding: 90px 0;
}

.section--sand { background: var(--sand); }
.section--tight { padding: 60px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sage-dark);
  background: rgba(142, 161, 131, 0.14);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  font-weight: 500;
}

.lead {
  font-size: 1.15rem;
  max-width: 640px;
  color: var(--ink-soft);
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(193, 125, 90, 0.35);
}
.btn--primary:hover { background: var(--terracotta-dark); color: var(--white); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--terracotta-dark);
  border: 1.5px solid var(--terracotta);
}
.btn--ghost:hover { background: rgba(193, 125, 90, 0.08); color: var(--terracotta-dark); }

.btn--sage {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(142, 161, 131, 0.35);
}
.btn--sage:hover { background: var(--sage-dark); color: var(--white); transform: translateY(-2px); }

.btn--block { width: 100%; justify-content: center; }

/* Light-sweep shine, used on the booking / "Prendre RDV en ligne" buttons */
.btn--shine {
  position: relative;
  overflow: hidden;
}
.btn--shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.4s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}
@keyframes btnShine {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 245, 239, 0.98);
  border-bottom: 1px solid rgba(193, 125, 90, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
@media (max-width: 760px) {
  .logo img { height: 40px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li { position: relative; }

.nav-links a.nav-link {
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 500;
  border-radius: 30px;
  white-space: nowrap;
}
.nav-links a.nav-link:hover,
.nav-links li.active > a.nav-link {
  background: rgba(193, 125, 90, 0.12);
  color: var(--terracotta-dark);
}

.has-dropdown > a.nav-link::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 5px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--sand); color: var(--terracotta-dark); }
.dropdown a.active { background: var(--sand); color: var(--terracotta-dark); font-weight: 600; }

.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--terracotta-dark);
  cursor: pointer;
  padding: 4px 8px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 70px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 130%;
  background: radial-gradient(circle at 70% 30%, rgba(201, 138, 166, 0.35), rgba(201, 138, 166, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

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

.hero-art {
  position: relative;
  transform-origin: center;
  animation: breathe 6.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes breatheDot {
  0%, 100% { r: 13; opacity: 0.95; }
  50% { r: 18; opacity: 0.55; }
}

@keyframes breatheRing {
  0%, 100% { r: 44; opacity: 0.5; }
  50% { r: 64; opacity: 0.1; }
}

@keyframes breatheRingOuter {
  0%, 100% { r: 62; opacity: 0.28; }
  50% { r: 84; opacity: 0; }
}

.breathe-dot {
  animation: breatheDot 6.5s ease-in-out infinite;
  transform-origin: 210px 210px;
}

.breathe-ring {
  animation: breatheRing 6.5s ease-in-out infinite;
  transform-origin: 210px 210px;
}

.breathe-ring-outer {
  animation: breatheRingOuter 6.5s ease-in-out infinite;
  transform-origin: 210px 210px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .breathe-dot,
  .breathe-ring,
  .breathe-ring-outer,
  .btn--shine::after {
    animation: none !important;
  }
}

.page-hero {
  padding: 60px 0 30px;
  text-align: center;
}
.page-hero .eyebrow { }

/* ==========================================================================
   Cards / Grids
   ========================================================================== */

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(193, 125, 90, 0.08);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.card .icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}

.card a.card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Info blocks (tarifs, signes, etc.) */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-list li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(193, 125, 90, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
}
.info-list li:last-child { border-bottom: none; }
.info-list strong { color: var(--ink); font-weight: 600; }

.tag-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tag-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}
.tag-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--sage);
}

/* Diplomas / training timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(193, 125, 90, 0.25);
}
.timeline li:last-child { border-bottom: none; padding-bottom: 0; }
.timeline .year {
  flex: 0 0 auto;
  min-width: 52px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--terracotta-dark);
}
.timeline .desc { color: var(--ink-soft); }

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--terracotta-dark);
  border-left: 3px solid var(--sage);
  padding-left: 24px;
  margin: 30px 0;
}
blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--terracotta) 0%, var(--sage) 100%);
  border-radius: var(--radius);
  padding: 56px 50px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.92); }
.cta-banner .btn--primary { background: var(--white); color: var(--terracotta-dark); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-banner .btn--primary:hover { background: var(--cream); }
.cta-banner .btn--ghost { border-color: var(--white); color: var(--white); }
.cta-banner .btn--ghost:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* Two-column content + sidebar */
.content-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 110px;
}
.sidebar-card h3 { margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #2f2a25;
  color: #d9d1c6;
  padding: 70px 0 30px;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: #d9d1c6; }
.site-footer a:hover { color: var(--terracotta); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid p, .footer-grid li { color: #b8ada0; font-size: 0.94rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8f8578;
}
.footer-bottom a { color: #8f8578; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: none;
  font-size: 0.92rem;
}
.form-status.visible { display: block; }
.form-status.success { background: rgba(142,161,131,0.16); color: var(--sage-dark); }

/* Utility */
.mt-0 { margin-top: 0; }
.divider {
  width: 60px;
  height: 3px;
  background: var(--sage);
  border-radius: 3px;
  margin: 0 auto 24px;
}
.divider--left { margin-left: 0; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--terracotta-dark); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

.legal-block { margin-bottom: 40px; }
.legal-block h3 { margin-bottom: 10px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--terracotta);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .hero .container { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    background: var(--cream);
    box-shadow: 0 -1px 0 rgba(162, 77, 120, 0.14) inset;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li { width: 100%; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: var(--sand);
    margin-top: 4px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .section { padding: 60px 0; }
}


/* ==========================================================================
   ENHANCEMENTS — Harmonisation chromatique + profondeur & animations 3D douces
   Ajout non destructif : ces règles surchargent volontairement certaines
   valeurs plus haut dans le fichier (même spécificité, la dernière l'emporte).
   Tout est neutralisé si l'utilisateur a activé « réduire les animations ».
   ========================================================================== */

:root {
  --mauve-glow: rgba(162, 77, 120, 0.30);
  --mauve-glow-soft: rgba(162, 77, 120, 0.16);
  --depth-1: 0 6px 18px rgba(126, 58, 92, 0.10);
  --depth-2: 0 18px 44px rgba(126, 58, 92, 0.16);
  --depth-3: 0 30px 70px rgba(126, 58, 92, 0.22);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Harmonisation : ombres/halos alignés sur le mauve de la charte --------- */
.btn--primary { box-shadow: 0 10px 24px var(--mauve-glow); }
.btn--primary:hover { box-shadow: 0 16px 34px var(--mauve-glow); }
.btn--sage { box-shadow: 0 10px 24px rgba(201, 138, 166, 0.38); }
.btn--sage:hover { box-shadow: 0 16px 34px rgba(201, 138, 166, 0.45); }
.btn--ghost:hover { background: var(--mauve-glow-soft); }
.eyebrow { background: var(--mauve-glow-soft); color: var(--terracotta-dark); }
.card { box-shadow: var(--depth-1); }
.site-header { border-bottom: 1px solid rgba(162, 77, 120, 0.14); }

/* --- Fond « aurore » : nappe de couleur lente et immersive en profondeur ---
   Volontairement léger (pas de filtre flou plein écran) pour rester fluide
   et éviter tout artefact de compositing sur GPU modestes. */
body::before {
  content: "";
  position: fixed;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 12% 6%, rgba(201, 138, 166, 0.22), transparent 62%),
    radial-gradient(44vmax 44vmax at 90% 10%, rgba(162, 77, 120, 0.14), transparent 64%),
    radial-gradient(48vmax 48vmax at 72% 96%, rgba(233, 205, 212, 0.34), transparent 62%);
  animation: auroraDrift 40s ease-in-out infinite alternate;
}
main, .site-footer { position: relative; z-index: 1; }
.site-header { position: sticky; z-index: 200; }
@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(1.5%, 1.5%, 0); }
}

/* --- Barre de progression de lecture (fine, discrète) --------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--terracotta), var(--sage));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* --- En-tête : effet verre dépoli quand on descend ----------------------- */
.site-header {
  transition: background 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft),
              backdrop-filter 0.35s var(--ease-soft);
}
.site-header.scrolled {
  background: rgba(251, 245, 242, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 30px rgba(126, 58, 92, 0.10);
}

/* --- HERO : orbes flottants + parallaxe + profondeur 3D ------------------ */
.hero { perspective: 1400px; }
.hero .container { transform-style: preserve-3d; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: transform 0.6s var(--ease-soft);
  animation: orbFloat 16s ease-in-out infinite alternate;
}
.hero-orb--1 { width: 170px; height: 170px; top: 16%; right: 5%;
  background: radial-gradient(circle at 30% 30%, #f3d7e0, #c98aa6); opacity: 0.38; }
.hero-orb--2 { width: 120px; height: 120px; bottom: 8%; left: 2%;
  background: radial-gradient(circle at 35% 30%, #fbeef2, #a24d78); opacity: 0.32;
  animation-duration: 22s; }
.hero-orb--3 { width: 70px; height: 70px; top: 52%; left: 40%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e9cdd4); opacity: 0.42;
  animation-duration: 12s; }
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -26px, 0); }
}

.hero-art {
  will-change: transform, translate;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition: translate 0.5s var(--ease-soft), filter 0.5s var(--ease-soft);
  filter: drop-shadow(0 30px 50px rgba(126, 58, 92, 0.18));
}
.hero:hover .hero-art { filter: drop-shadow(0 38px 60px rgba(126, 58, 92, 0.26)); }

/* --- Cartes : inclinaison 3D au survol (piloté en JS via --rx / --ry) ---- */
.grid { perspective: 1100px; }
.card {
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}
.card:hover {
  box-shadow: var(--depth-3);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}
.card .icon,
.card h3,
.card p,
.card .card-link { transform: translateZ(30px); }
.card .icon { transition: transform 0.4s var(--ease-soft); }
.card:hover .icon { transform: translateZ(46px) scale(1.06); }

/* --- Sidebar & bannière CTA : légère profondeur ------------------------- */
.sidebar-card { box-shadow: var(--depth-2); }
.cta-banner {
  box-shadow: var(--depth-2);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 15% 0%, rgba(255,255,255,0.22), transparent 60%);
  pointer-events: none;
}

/* --- Révélation au défilement (fondu + montée + micro-rotation 3D) ------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Lien RDV : halo respirant pour attirer l'œil en douceur ------------ */
.btn--shine {
  box-shadow: 0 10px 24px var(--mauve-glow);
  animation: ctaPulse 4.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 24px var(--mauve-glow); }
  50%      { box-shadow: 0 14px 34px rgba(162, 77, 120, 0.42); }
}

/* --- Focus visible homogène (accessibilité) ---------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- Respect absolu de « prefers-reduced-motion » -------------------- */
@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero-orb,
  .btn--shine,
  .hero-art { animation: none !important; }
  .hero-art { translate: none !important; }
  .card,
  .card:hover { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-progress { display: none; }
}

/* --- Mobile : on allège la 3D pour la fluidité ------------------------ */
@media (max-width: 760px) {
  .card, .card:hover { transform: translateY(0) !important; }
  .hero-orb { display: none; }
  .card .icon, .card h3, .card p, .card .card-link { transform: none; }
}

/* --- Navigation : compactage entre 760px et 1080px pour éviter le retour
   à la ligne du bouton « Prendre RDV » ---------------------------------- */
@media (max-width: 1080px) and (min-width: 761px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 2px; }
  .nav-links a.nav-link { padding: 9px 10px; font-size: 0.9rem; }
  .nav-cta { margin-left: 4px; }
  .nav-cta .btn { padding: 11px 18px; font-size: 0.86rem; }
}
.nav-cta .btn { white-space: nowrap; }

/* --- Photo légendée (cabinet, portrait…) ------------------------------- */
.photo-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--depth-2);
  background: var(--white);
}
.photo-figure img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.photo-figure figcaption {
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}
