/* ============================================================
   Centre Dentaire Marina — custom styles
   Complements Tailwind (CDN) with components & animations
============================================================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

::selection {
  background: rgba(34, 184, 207, 0.25);
}

/* ------------------------------------------------------------
   Navigation
------------------------------------------------------------ */
.glass-nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px rgba(15, 76, 129, 0.08);
}

#site-header.is-scrolled .glass-nav {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 50px rgba(15, 76, 129, 0.14);
}

#site-header.is-scrolled {
  padding-top: 0.625rem;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.75);
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #22B8CF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link.is-active {
  color: #0F4C81;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-link {
  display: block;
  padding: 12px;
  border-radius: 14px;
  font-weight: 600;
  color: #1F2937;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: rgba(34, 184, 207, 0.08);
  color: #0F4C81;
}

.mobile-submenu-toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(15, 76, 129, 0.06);
  color: #0F4C81;
  transition: background 0.2s ease;
}

.mobile-submenu-toggle svg {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-submenu-toggle:hover,
.mobile-submenu-toggle.is-open {
  background: rgba(34, 184, 207, 0.14);
}

.mobile-submenu-toggle.is-open svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  margin-left: 20px;
  padding-left: 14px;
  border-left: 2px solid rgba(15, 76, 129, 0.15);
}

.mobile-sublink {
  display: block;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(31, 41, 55, 0.55);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-sublink:hover,
.mobile-sublink.is-active {
  background: rgba(34, 184, 207, 0.08);
  color: #0F4C81;
}

/* "Nos soins" desktop dropdown */
.nav-dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.75);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.is-active {
  background: rgba(34, 184, 207, 0.1);
  color: #0F4C81;
}

.mobile-menu {
  animation: menuIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Language switcher */
.lang-btn {
  display: inline-flex;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 1px solid #E8EEF3;
  border-radius: 9999px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.4;
  filter: saturate(0.55);
  transition: opacity 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.lang-btn svg {
  width: 100%;
  height: 100%;
}

.lang-btn:hover {
  opacity: 0.85;
  filter: none;
}

.lang-btn.is-active {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 2px rgba(34, 184, 207, 0.4);
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.hero-bg {
  background:
    radial-gradient(1000px 600px at 85% 20%, rgba(34, 184, 207, 0.07), transparent 60%),
    radial-gradient(800px 500px at 5% 80%, rgba(15, 76, 129, 0.05), transparent 60%),
    #FAFBFC;
}

.gradient-text {
  background: linear-gradient(100deg, #2F80ED 0%, #22B8CF 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* extremely subtle blurred clinic interior behind the doctor */
.clinic-backdrop {
  position: absolute;
  inset: 6% -4% 0 -4%;
  border-radius: 40px;
  background:
    radial-gradient(45% 55% at 24% 38%, rgba(15, 76, 129, 0.10), transparent 70%),
    radial-gradient(35% 45% at 78% 30%, rgba(34, 184, 207, 0.10), transparent 70%),
    radial-gradient(50% 40% at 60% 85%, rgba(47, 128, 237, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(232, 238, 243, 0.5), rgba(250, 251, 252, 0));
  filter: blur(28px);
  opacity: 0.8;
}

/* soft gradient stage directly behind the doctor */
.doctor-stage {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 96%);
  height: 86%;
  border-radius: 300px 300px 0 0;
  background: linear-gradient(180deg,
    rgba(214, 231, 243, 0.9) 0%,
    rgba(234, 243, 249, 0.65) 55%,
    rgba(250, 251, 252, 0) 100%);
}

@media (min-width: 1024px) {
  .doctor-stage {
    left: auto;
    right: 6%;
    transform: none;
  }
}

.doctor-figure img,
.doctor-figure svg {
  filter: drop-shadow(0 30px 45px rgba(15, 76, 129, 0.22));
}

.doctor-shadow {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 76, 129, 0.22), transparent 70%);
  filter: blur(6px);
}

.avatar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 3px solid #FAFBFC;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Floating cards — minimal glass pills */
.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(15, 76, 129, 0.10);
  animation: floatY 6s ease-in-out infinite;
  animation-delay: var(--float-d, 0s);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.float-card:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(15, 76, 129, 0.15);
}

.float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(34, 184, 207, 0.14);
  color: #0F4C81;
}

.float-icon svg {
  width: 17px;
  height: 17px;
}

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

/* Mobile (<lg) : garder les pastilles de réassurance immobiles (pas de flottement) */
@media (max-width: 1023px) {
  .float-card {
    animation: none;
    transform: none;
  }
}

/* Pastilles de réassurance (mobile) — version accordéon dépliable */
.pill-acc {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(15, 76, 129, 0.10);
  animation: none;
  transform: none;
  overflow: hidden;
}

.pill-acc-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 8px 14px 8px 9px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pill-acc-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: auto;
  color: #0F4C81;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.pill-acc-trigger[aria-expanded="true"] .pill-acc-chevron {
  transform: rotate(180deg);
}

.pill-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.pill-acc-trigger[aria-expanded="true"] + .pill-acc-panel {
  grid-template-rows: 1fr;
}

.pill-acc-panel-inner {
  overflow: hidden;
}

.pill-acc-text {
  padding: 0 18px 16px 53px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(20, 34, 51, 0.7);
}

.pill-acc-text p + p {
  margin-top: 10px;
}

/* ------------------------------------------------------------
   Section basics
------------------------------------------------------------ */
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #22B8CF;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  color: #0F4C81;
}

/* ------------------------------------------------------------
   Stats
------------------------------------------------------------ */
.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 44px 20px;
  text-align: center;
}

.stat-icon {
  order: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  border-radius: 9999px;
  background: rgba(34, 184, 207, 0.10);
  color: #0F4C81;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
}

/* ------------------------------------------------------------
   Services
------------------------------------------------------------ */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #E8EEF3;
  box-shadow: 0 8px 30px rgba(15, 76, 129, 0.05);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 184, 207, 0.4);
  box-shadow: 0 30px 70px rgba(15, 76, 129, 0.14);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(15, 76, 129, 0.08), rgba(34, 184, 207, 0.14));
  color: #0F4C81;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card:hover .service-icon {
  background: linear-gradient(140deg, #0F4C81, #22B8CF);
  color: #fff;
  transform: scale(1.06);
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #2F80ED;
  transition: gap 0.25s ease, color 0.25s ease;
}

.service-more:hover {
  gap: 13px;
  color: #0F4C81;
}

/* ------------------------------------------------------------
   Why choose us
------------------------------------------------------------ */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(34, 184, 207, 0.12);
  color: #0F4C81;
}

.feature-check svg {
  width: 20px;
  height: 20px;
}

/* ------------------------------------------------------------
   Why-choose-us photo slider
------------------------------------------------------------ */
.why-slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 3.9;      /* +30 % de hauteur */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
}

.why-slider:focus-visible {
  box-shadow: 0 20px 60px rgba(15, 76, 129, 0.10), 0 0 0 3px rgba(34, 184, 207, 0.5);
}

.why-slider.is-dragging {
  cursor: grabbing;
}

.why-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.why-slider.is-dragging .why-track {
  transition: none;
}

.why-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.why-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0F4C81;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.why-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.why-arrow svg {
  width: 20px;
  height: 20px;
}

.why-prev { left: 14px; }
.why-next { right: 14px; }

/* Reviews carousel arrows — sit beside the card row, not overlaid on top of it
   (overlaying like .why-arrow does works for photos but covers review text) */
/* Sized + inset to sit inside each card's own edge padding (review-card 12px
   + review-inner 30px = 42px of guaranteed-empty margin) so the row of cards
   can be full width (same as the banner above it) without the arrow ever
   covering review text. */
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid #E8EEF3;
  background: #fff;
  color: #0F4C81;
  box-shadow: 0 6px 16px rgba(15, 76, 129, 0.14);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.reviews-arrow:hover { background: #F3F7FA; transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 16px rgba(15, 76, 129, 0.22); }
.reviews-arrow svg { width: 16px; height: 16px; }
.reviews-prev { left: 4px; }
.reviews-next { right: 4px; }

/* Visible on mobile too, so tapping is an alternative to swiping — kept
   small (28px) there so it reads as a hint rather than crowding the card. */
@media (max-width: 640px) {
  .reviews-arrow { width: 28px; height: 28px; }
  .reviews-arrow svg { width: 14px; height: 14px; }
}

.why-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
}

.why-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.3s ease;
}

.why-dot.is-active {
  width: 22px;
  background: #fff;
}

/* ------------------------------------------------------------
   Image gallery carousel — multi-image article cards (small,
   auto-advance) + single-article hero (larger, manual). Shared
   by home.php / single.php via bennouna_render_gallery_slides();
   main.js binds every .gallery-carousel independently.
------------------------------------------------------------ */
.gallery-carousel {
  position: relative;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.gallery-carousel.is-dragging {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.gallery-carousel.is-dragging .gallery-track {
  transition: none;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0F4C81;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.gallery-arrow svg {
  width: 18px;
  height: 18px;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* Image-count badge, top-right — "1/6", updates as you swipe/autoplay
   (à la Google Business Profile photo carousel). */
.gallery-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.card-gallery .gallery-counter {
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  font-size: 11px;
}

.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 5px;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.is-active {
  width: 18px;
  background: #fff;
}

/* Article-card thumbnails: same component, smaller arrows so they
   don't overwhelm a compact 16:10 card image. */
.card-gallery .gallery-arrow {
  width: 30px;
  height: 30px;
}
.card-gallery .gallery-arrow svg {
  width: 14px;
  height: 14px;
}
.card-gallery .gallery-prev { left: 8px; }
.card-gallery .gallery-next { right: 8px; }

/* ------------------------------------------------------------
   Image zoom
------------------------------------------------------------ */
.img-zoom img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-zoom:hover img {
  transform: scale(1.045);
}

/* ------------------------------------------------------------
   Before / After slider
------------------------------------------------------------ */
.ba-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 76, 129, 0.12);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.ba-wrap:focus-visible {
  box-shadow: 0 20px 60px rgba(15, 76, 129, 0.12), 0 0 0 3px rgba(34, 184, 207, 0.5);
}

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

.ba-img-before {
  clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(15, 76, 129, 0.3);
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background: #fff;
  color: #0F4C81;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.25);
  transition: transform 0.25s ease;
}

.group:hover .ba-handle-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-handle-btn svg {
  width: 22px;
  height: 22px;
}

.ba-label {
  position: absolute;
  top: 20px;
  z-index: 5;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F4C81;
}

/* ------------------------------------------------------------
   Reviews carousel
------------------------------------------------------------ */
.review-card {
  flex: 0 0 100%;
  padding: 10px 12px;
}

@media (min-width: 768px)  { .review-card { flex-basis: 50%; } }
@media (min-width: 1024px) { .review-card { flex-basis: 33.3333%; } }

.review-inner {
  height: 100%;
  padding: 34px 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #E8EEF3;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.review-inner:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15, 76, 129, 0.10);
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.star {
  width: 15px;
  height: 15px;
}

.review-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #E8EEF3;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.review-dot.is-active {
  width: 28px;
  background: #22B8CF;
}

/* ------------------------------------------------------------
   Instagram reels — minimal frames, no chrome
------------------------------------------------------------ */
.reel-slot {
  border-radius: 20px;
  overflow: hidden;
  background: #F3F7FA;
  border: 1px solid #E8EEF3;
  transition: border-color 0.3s ease;
}

.reel-slot:hover {
  border-color: rgba(34, 184, 207, 0.45);
}

/* neutralise the embed's own frame so the slot stays quiet */
.reel-slot .instagram-media,
.reel-slot iframe.instagram-media {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

.reel-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 9 / 16;
  color: rgba(15, 76, 129, 0.25);
  transition: color 0.3s ease;
}

.reel-slot:hover .reel-placeholder {
  color: rgba(15, 76, 129, 0.45);
}

.reel-placeholder svg {
  width: 30px;
  height: 30px;
}

/* ------------------------------------------------------------
   Final CTA
------------------------------------------------------------ */
.cta-panel {
  background: linear-gradient(150deg, #0B3B66 0%, #0F4C81 55%, #11568f 100%);
  box-shadow: 0 40px 90px rgba(15, 76, 129, 0.35);
}

.cta-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  pointer-events: none;
}

.cta-glow-a {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: rgba(34, 184, 207, 0.22);
}

.cta-glow-b {
  width: 380px;
  height: 380px;
  bottom: -180px;
  left: -100px;
  background: rgba(47, 128, 237, 0.18);
}

/* ------------------------------------------------------------
   Quick booking bar (under the hero)
   Title left, 2×2 field grid right
------------------------------------------------------------ */
.qform {
  display: grid;
  gap: 28px;
  padding: 32px 26px;
}

.qform-title {
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.02;
  color: #0F4C81;
  justify-self: center;
  text-align: center;
}

/* dotted accent behind the title */
.qform-title::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -26px;
  width: 88px;
  height: 88px;
  background-image: radial-gradient(rgba(15, 76, 129, 0.22) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  z-index: -1;
}

.qform-fields {
  display: grid;
  gap: 14px;
}

.qform-input {
  width: 100%;
  border: 1px solid transparent;
  background: #EEF2F6;
  border-radius: 14px;
  padding: 16px 20px;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1F2937;
  outline: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.qform-input::placeholder {
  color: rgba(31, 41, 55, 0.4);
  font-weight: 500;
}

.qform-input:focus {
  background: #fff;
  border-color: #22B8CF;
  box-shadow: 0 0 0 4px rgba(34, 184, 207, 0.12);
}

select.qform-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%230F4C81' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.qform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 14px;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #22B8CF 0%, #2F80ED 100%);
  box-shadow: 0 12px 28px rgba(34, 184, 207, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.qform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(34, 184, 207, 0.42);
  filter: saturate(1.1);
}

/* two columns of fields from small screens up */
@media (min-width: 640px) {
  .qform-fields {
    grid-template-columns: 1fr 1fr;
  }

  /* 5 fields fill 2×2 + an orphan cell — let the CTA close the last row */
  .qform-btn {
    grid-column: 1 / -1;
  }
}

/* Desktop : title left, fields right */
@media (min-width: 1024px) {
  .qform {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr);
    align-items: center;
    gap: 20px 56px;
    padding: 44px 52px;
  }

  .qform-title {
    justify-self: start;
    text-align: left;
  }

  .qform-fields {
    gap: 16px 18px;
  }
}

/* ------------------------------------------------------------
   Booking form
------------------------------------------------------------ */
.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0F4C81;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid #E8EEF3;
  background: #FAFBFC;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1F2937;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(31, 41, 55, 0.35);
}

.form-input:focus {
  outline: none;
  background: #fff;
  border-color: #22B8CF;
  box-shadow: 0 0 0 4px rgba(34, 184, 207, 0.14);
}

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F4C81' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.footer-link {
  color: rgba(31, 41, 55, 0.6);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #0F4C81;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid #E8EEF3;
  color: #0F4C81;
  transition: all 0.25s ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: #0F4C81;
  border-color: #0F4C81;
  color: #fff;
  transform: translateY(-3px);
}

/* ------------------------------------------------------------
   Scroll reveal
------------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Button ripple
------------------------------------------------------------ */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ------------------------------------------------------------
   Reduced motion
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-card,
  .mobile-menu {
    animation: none;
  }

  .img-zoom img,
  .service-card,
  .review-inner {
    transition: none;
  }
}

/* ============================================================
   SHARED PAGE COMPONENTS (sous-pages)
   ============================================================ */

/* --- Bandeau hero des sous-pages --- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% 18%, rgba(34, 184, 207, 0.10), transparent 62%),
    radial-gradient(720px 420px at 8% 82%, rgba(15, 76, 129, 0.07), transparent 62%),
    linear-gradient(180deg, #F2F7FB 0%, #FAFBFC 100%);
  padding-top: 9.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  .page-hero { padding-top: 11.5rem; padding-bottom: 5.5rem; }
}

/* filigrane décoratif */
.page-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 40px;
  width: 340px;
  height: 340px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 35%, rgba(34, 184, 207, 0.14), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

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

/* fil d'ariane */
.crumb {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  font-weight: 600;
  color: rgba(31, 41, 55, .45);
}
.crumb a { transition: color .25s ease; }
.crumb a:hover { color: #0F4C81; }

/* --- Cartes génériques --- */
.u-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #E8EEF3;
  box-shadow: 0 8px 30px rgba(15, 76, 129, .05);
  transition: transform .38s cubic-bezier(.22,1,.36,1), box-shadow .38s ease, border-color .38s ease;
}
.u-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 184, 207, .42);
  box-shadow: 0 28px 64px rgba(15, 76, 129, .14);
}

/* pastille icône */
.u-icon {
  display: flex;              /* niveau bloc + centrage (sans dépendre de .block) */
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(15,76,129,.09), rgba(34,184,207,.16));
  color: #0F4C81;
  transition: background .38s ease, color .38s ease, transform .38s ease;
}
.u-card:hover .u-icon {
  background: linear-gradient(140deg, #0F4C81, #22B8CF);
  color: #fff;
  transform: scale(1.06);
}
.u-icon svg { width: 27px; height: 27px; }

/* numérotation éditoriale */
.u-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(15, 76, 129, .35);
}

/* --- Bandeau statistiques --- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #E8EEF3;
  background: #E8EEF3;
  box-shadow: 0 20px 60px rgba(15, 76, 129, .08);
}
@media (min-width: 900px) { .stat-band { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-band > div {
  background: #fff;
  padding: 2.2rem 1.25rem;
  text-align: center;
}
.stat-band .n {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #0F4C81;
}
.stat-band .l {
  margin-top: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(31,41,55,.55);
}

/* --- Séparateur orné --- */
.orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.orn::before, .orn::after {
  content: "";
  height: 1px;
  width: 46px;
  background: linear-gradient(90deg, transparent, rgba(34,184,207,.55));
}
.orn::after { background: linear-gradient(90deg, rgba(34,184,207,.55), transparent); }

/* --- Galerie mosaïque --- */
.mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic figure {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 10px 34px rgba(15,76,129,.09);
}
.mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.mosaic figure:hover img { transform: scale(1.07); }
@media (min-width: 768px) {
  .mosaic .m-wide { grid-column: span 2; }
  .mosaic .m-tall { grid-row: span 2; }
  .mosaic .m-tall img { aspect-ratio: auto; height: 100%; }
}

/* --- Galerie « Le cabinet » : slider une image + flèches --- */
.cabinet-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 76, 129, .14);
}
.cabinet-track {
  display: flex;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.cabinet-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}
.cabinet-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 14.3;   /* +30 % de hauteur */
  object-fit: cover;
}
@media (min-width: 768px) {
  .cabinet-slide img { aspect-ratio: 16 / 10.4; }   /* +30 % de hauteur */
}
.cabinet-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0F4C81;
  box-shadow: 0 8px 24px rgba(15, 76, 129, .18);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.cabinet-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.cabinet-arrow svg { width: 22px; height: 22px; }
.cabinet-prev { left: 14px; }
.cabinet-next { right: 14px; }
.cabinet-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.25rem;
}
.cabinet-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(15, 76, 129, .22);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.cabinet-dots button.is-active {
  background: #22B8CF;
  transform: scale(1.25);
}

/* ============================================================
   Pile de photos « polaroïd » façon tinder
   (le cadre entier bouge ; photos inclinées comme des cadres)
   ============================================================ */
.pstack {
  position: relative;
  width: 100%;
  padding: 18px 8px 6px;      /* marge pour l'inclinaison + l'ombre */
}
.pstack-deck {
  position: relative;
  width: 100%;
}
/* mobile : format portrait
   --cabinet (page « À propos ») est 30 % plus haut que --why :
   18.59 x 1.3 = 24.17 */
.pstack--why .pstack-deck     { aspect-ratio: 4 / 5.07; }
.pstack--cabinet .pstack-deck { aspect-ratio: 16 / 24.17; }
/* desktop / tablette : hauteur fixe. --cabinet est 30 % plus haut
   que --why (460 x 1.3 = 598px) */
@media (min-width: 768px) {
  .pstack--why .pstack-deck {
    aspect-ratio: auto;
    height: 460px;
  }
  .pstack--cabinet .pstack-deck {
    aspect-ratio: auto;
    height: 598px;
  }
}

/* chaque photo = un cadre "polaroïd" (bordure blanche réduite) */
.pstack-card {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #fff;
  padding: 6px;               /* bordure blanche fine */
  border-radius: 6px;
  box-shadow: 0 16px 42px rgba(15, 76, 129, .18);
  opacity: 0;
  z-index: 0;
  transform: rotate(-5deg) translate(-6px, 10px) scale(.96);
  transform-origin: center bottom;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .45s ease;
  pointer-events: none;
  will-change: transform, opacity;
}
.pstack-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
/* positions dans la pile (la carte entière bouge d'une position à l'autre) */
.pstack-card.is-p0 { opacity: 1; z-index: 30; transform: rotate(-2deg); pointer-events: auto; }
.pstack-card.is-p1 { opacity: 1; z-index: 20; transform: rotate(3.5deg) translate(7px, 5px) scale(.985); }
.pstack-card.is-p2 { opacity: 1; z-index: 10; transform: rotate(-5deg) translate(-6px, 9px) scale(.965); }

/* flèches */
.pstack-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0F4C81;
  box-shadow: 0 8px 24px rgba(15, 76, 129, .18);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.pstack-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.pstack-arrow svg { width: 21px; height: 21px; }
.pstack-prev { left: 6px; }
.pstack-next { right: 6px; }

/* points */
.pstack-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}
.pstack-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(15, 76, 129, .22);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.pstack-dots button.is-active { background: #22B8CF; transform: scale(1.3); }
/* Floating contact button (splits into Call + WhatsApp) */
.fab-contact{
  position:fixed;
  right:1.5rem;
  bottom:1.5rem;
  z-index:70;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
  pointer-events:none;
}
.fab-main{
  position:relative;
  z-index:3;
  pointer-events:auto;
  width:60px;
  height:60px;
  border-radius:50%;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#22B8CF;
  color:#fff;
  box-shadow:0 14px 34px rgba(15,76,129,.30);
  transition:transform .3s cubic-bezier(.22,1,.36,1), background .3s ease;
}
.fab-main:hover{
  transform:scale(1.06);
}
.fab-contact.is-open .fab-main{
  background:#0F4C81;
  transform:rotate(90deg);
}
.fab-icon{
  position:absolute;
  transition:opacity .25s ease, transform .25s ease;
}
.fab-icon-close{
  opacity:0;
  transform:scale(.5) rotate(-90deg);
}
.fab-contact.is-open .fab-icon-phone{
  opacity:0;
  transform:scale(.5) rotate(90deg);
}
.fab-contact.is-open .fab-icon-close{
  opacity:1;
  transform:scale(1) rotate(0deg);
}
.fab-option{
  position:absolute;
  right:4px;
  bottom:4px;
  z-index:2;
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  box-shadow:0 10px 26px rgba(15,76,129,.25);
  opacity:0;
  pointer-events:none;
  transform:translate(0,0) scale(.4);
  transition:transform .4s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.fab-whatsapp{ background:#25D366; }
.fab-call{ background:#0F4C81; }
.fab-social{
  position:relative;
  z-index:1;
  margin-right:4px;
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  pointer-events:auto;
  box-shadow:0 10px 26px rgba(15,76,129,.25);
  transition:transform .4s cubic-bezier(.22,1,.36,1);
}
/* menu ouvert : les réseaux remontent pour laisser la place à WhatsApp + Appeler */
.fab-contact.is-open .fab-social{
  transform:translateY(-152px);
}
.fab-instagram{ background:#E1306C; }
.fab-tiktok{ background:#010101; }
.fab-contact.is-open .fab-option{
  opacity:1;
  pointer-events:auto;
}
.fab-contact.is-open .fab-call{
  transform:translate(0,-84px) scale(1);
  transition-delay:.04s;
}
.fab-contact.is-open .fab-whatsapp{
  transform:translate(0,-152px) scale(1);
  transition-delay:.1s;
}
.fab-label{
  position:absolute;
  right:64px;
  top:50%;
  transform:translateY(-50%) translateX(8px);
  white-space:nowrap;
  background:#fff;
  color:#0F4C81;
  font-size:.8rem;
  font-weight:700;
  padding:.4rem .85rem;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(15,76,129,.18);
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease .15s, transform .3s ease .15s;
}
.fab-contact.is-open .fab-label{
  opacity:1;
  transform:translateY(-50%) translateX(0);
}
@media (max-width:640px){
  .fab-contact{ right:1.1rem; bottom:1.1rem; }
}

/* --- Dégradé décoratif en haut des sous-pages --- */
body { position: relative; }

.page-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 620px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 84% 12%, rgba(34, 184, 207, 0.13), transparent 60%),
    radial-gradient(760px 460px at 6% 40%, rgba(15, 76, 129, 0.08), transparent 62%),
    linear-gradient(180deg, #EEF5FA 0%, rgba(250, 251, 252, 0) 100%);
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 130px;
  width: 300px;
  height: 300px;
  border-radius: 9999px;
  background: radial-gradient(circle at 34% 34%, rgba(34, 184, 207, 0.16), transparent 66%);
  filter: blur(16px);
}

@media (max-width: 640px) {
  .page-hero-bg { height: 480px; }
  .page-hero-bg::after { display: none; }
}

/* ============================================================
   HERO — image complète + titre en superposition
   ============================================================ */
.hero-visual { background: #EAF3F9; }

/* voile clair côté gauche pour garantir la lisibilité du titre */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(250,251,252,.94) 0%,
    rgba(250,251,252,.86) 26%,
    rgba(250,251,252,.45) 46%,
    rgba(250,251,252,0) 64%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6%;
  max-width: 62%;
}

.hero-eyebrow {
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #22B8CF;
}

.hero-title {
  margin-top: clamp(.4rem, 1.2vw, 1.5rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.06;
  color: #0F4C81;
}

.hero-rule {
  display: block;
  margin-top: clamp(.5rem, 1.4vw, 2rem);
  height: 3px;
  width: clamp(28px, 4vw, 56px);
  border-radius: 999px;
  background: #22B8CF;
}

/* ============================================================
   HERO mobile (<lg) : image en haut avec fondu, texte dessous
   (structure inspirée de la carte "médecin")
   ============================================================ */
.hero-m { margin: 0; }

.hero-m-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.84;           /* hauteur réduite (−20 % supplémentaires) */
  object-fit: cover;
  object-position: 58% top;         /* cadrage à partir du haut */
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
}

.hero-m-body {
  position: relative;
  z-index: 2;
  margin-top: -2rem;      /* le texte remonte dans la zone de fondu */
  padding-bottom: 1rem;   /* petit espace sous « Soins sans douleur » */
}

.hero-m-title {
  margin-top: .35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 9vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  color: #0F4C81;
}

/* petits écrans : image un peu moins haute (hauteur réduite −30 %) */
@media (max-width: 420px) {
  .hero-m-img { aspect-ratio: 1 / 0.672; }
}

/* ------------------------------------------------------------
   Prose article body (soins + blog single templates)
------------------------------------------------------------ */
    .prose-article h2 {
      font-family: '"Cormorant Garamond"', Georgia, serif;
      font-size: clamp(26px, 3.4vw, 34px);
      font-weight: 600; color: #0F4C81;
      margin: 2.6rem 0 1rem; line-height: 1.25;
    }
    .prose-article h3 {
      font-size: 19px; font-weight: 700; color: #0F4C81; margin: 2rem 0 .7rem;
    }
    .prose-article p { margin-bottom: 1.15rem; line-height: 1.85; color: rgba(31,41,55,.75); }
    .prose-article ul { margin: 0 0 1.4rem; padding-left: 0; list-style: none; }
    .prose-article ul li {
      position: relative; padding-left: 1.75rem; margin-bottom: .7rem;
      line-height: 1.75; color: rgba(31,41,55,.75);
    }
    .prose-article ul li::before {
      content: ''; position: absolute; left: .1rem; top: .62em;
      width: 7px; height: 7px; border-radius: 50%; background: #22B8CF;
    }
    .prose-article strong { color: #0F4C81; font-weight: 700; }
    .callout {
      border-left: 3px solid #22B8CF; background: #FAFBFC;
      border-radius: 0 16px 16px 0; padding: 1.4rem 1.6rem; margin: 2rem 0;
    }
    .callout p { margin: 0; font-style: italic; color: #0F4C81; }

/* ------------------------------------------------------------
   Full booking form submit button — a dedicated class because
   Contact Form 7's [submit] tag "class:" option only accepts
   [-0-9a-zA-Z_]+ (no ":" or "."), so Tailwind's hover:/duration-*
   utilities can't be passed through it directly.
------------------------------------------------------------ */
.rdv-submit-btn {
  margin-top: 28px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9999px;
  background: #22B8CF;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 20px 60px rgba(15, 76, 129, 0.10);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.rdv-submit-btn:hover {
  transform: translateY(-2px);
  background: #2F80ED;
  box-shadow: 0 30px 80px rgba(15, 76, 129, 0.16);
}

/* ------------------------------------------------------------
   Formulaire de RDV fusionné dans la carte des avis
   (placé en fin de fichier : même spécificité que .qform,
    donc c'est l'ordre source qui doit trancher)
------------------------------------------------------------ */
.qform-merge-wrap {
  margin-top: 56px;
  border-top: 1px solid rgba(15, 76, 129, 0.10);
}
.qform-merged {
  padding: 40px 0 0;
}
@media (min-width: 1024px) {
  .qform-merge-wrap {
    margin-top: 64px;
  }
  .qform-merged {
    padding: 48px 0 0;
  }
}
