/* ============================================================
   TechSport Cara�bes � Feuille de style principale
   Encodage : UTF-8 | Fuseau : America/Guadeloupe
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --dark:       #0d2535;
  --dark-2:     #0a1e2c;
  --teal:       #00989e;
  --teal-dark:  #007a7e;
  --white:      #ffffff;
  --light:      #f5f7f8;
  --text:       #2d3748;
  --text-muted: #5a6a7a;
  --border:     #dde3e8;

  --font:       'Montserrat', sans-serif;
  --radius:     4px;
  --shadow:     0 10px 30px rgba(13, 37, 53, 0.08);
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ??? Boutons ????????????????????????????????????????????????? */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

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

/* ??? NAVBAR ?????????????????????????????????????????????????? */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.navbar-logo svg {
  width: 38px;
  height: 29px;
  color: var(--teal);
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-text .brand {
  font-size: 1rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.1;
  letter-spacing: 0em;
}

.logo-text .sub {
  font-size: 0.42rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-top: 1px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-nav a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  transition: color var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--teal);
}

.navbar-cta { display: flex; align-items: center; gap: 10px; }

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.btn-admin-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  background: rgba(0,152,158,.1);
  transition: color .2s, border-color .2s, background .2s;
  text-decoration: none;
}
.btn-admin-nav svg { color: var(--teal); }
.btn-admin-nav:hover {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}
.btn-admin-nav:hover svg { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: 80px;
  background: var(--white);
}

/* Aligné sur .container (header, Nos services) */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: clamp(360px, 30vw, 460px);
  position: relative;
}

/* Panneau texte — colonne gauche */
.hero-left {
  width: 42%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 24px 32px 0;
  background: var(--white);
  position: relative;
  z-index: 2;
}

/* Visuel hero — colonne droite, image entière sans rognage */
.hero-visual {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 1;
}

.hero-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(260px, 28vw, 340px);
  object-fit: contain;
  object-position: right center;
}

.hero-title {
  font-size: clamp(1.9rem, 2.5vw, 2.9rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Trait teal sous le titre */
.hero-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--teal);
  margin-top: 16px;
}

.hero-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 360px;
  margin-bottom: 36px;
}

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

/* ??? FEATURES BAR — alignée sur .container ??????????????????? */
.features-bar {
  background: transparent;
  padding: 24px 0;
  position: relative;
  z-index: 10;
}

.features-bar > .container {
  background: var(--teal);
  padding: 30px 24px;
  border-radius: var(--radius);
}

.features-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.feature-icon {
  width: 36px;
  height: 36px;
}

.feature-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ??? SERVICES ???????????????????????????????????????????????? */
.services {
  padding: 80px 0;
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--teal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-img {
  position: relative;
  height: 180px;
}

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

.service-icon-wrapper {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 4px solid var(--white);
  z-index: 2;
}

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

.service-content {
  padding: 40px 24px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 10px;
}

/* ??? STATS BAR — alignée sur .container + espace footer ????? */
.stats-bar {
  background: transparent;
  padding: 24px 0 56px;
}

.stats-bar > .container {
  background: var(--dark);
  padding: 40px 24px;
  border-radius: var(--radius);
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  color: var(--teal);
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}

/* ??? FOOTER ?????????????????????????????????????????????????? */
.footer {
  background: var(--dark-2);
  padding: 60px 0 20px;
  color: var(--white);
}

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

.footer-logo {
  margin-bottom: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo svg {
  width: 40px;
  height: 30px;
  color: var(--teal);
  display: block;
  margin-bottom: 2px;
}

.footer-logo .brand {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0em;
}

.footer-logo .sub {
  font-size: 0.46rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

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

.social-links a {
  color: var(--teal);
  transition: color var(--transition);
}

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

.newsletter-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: var(--white);
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  outline: none;
  width: 100%;
}

.newsletter-form button {
  padding: 0 20px;
  background: var(--teal);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: var(--teal-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   PAGE LOADER — intro logo (index.php)
   ============================================================ */
body.page-loading { overflow: hidden; }

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Intro : fond radial + halo teal */
.loader-intro {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 152, 158, 0.12) 0%, var(--dark) 70%);
}

.loader-intro-glow {
  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 152, 158, 0.18) 0%, transparent 70%);
  opacity: 0;
  animation: introGlow 2.2s ease-out forwards;
  pointer-events: none;
}

/* Logo vertical — icône en haut, texte en bas */
.loader-logo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: logoSettle 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s both;
}

.loader-logo-icon {
  flex-shrink: 0;
  opacity: 0;
  will-change: transform, opacity;
  animation: logoPartFromTop 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-logo-icon svg {
  display: block;
  width: 72px;
  height: 64px;
  color: var(--teal);
  filter: drop-shadow(0 0 12px rgba(0, 152, 158, 0.45));
}

.loader-logo-path {
  stroke-dasharray: 105;
  stroke-dashoffset: 105;
  animation: logoPathDraw 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}

.loader-logo-dot {
  opacity: 0;
  transform-origin: 68px 8px;
  animation: logoDotPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s forwards;
}

.loader-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  will-change: transform, opacity;
  animation: logoPartFromBottom 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-name {
  font-family: var(--font);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0em;
  line-height: 1.1;
}

.loader-sub {
  font-family: var(--font);
  font-size: clamp(0.45rem, 1.2vw, 0.6rem);
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

@keyframes logoPartFromLeft {
  0% {
    opacity: 0;
    transform: translateX(calc(-50vw - 40px)) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translateX(6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes logoPartFromRight {
  0% {
    opacity: 0;
    transform: translateX(calc(50vw + 40px)) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translateX(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes logoPartFromTop {
  0% {
    opacity: 0;
    transform: translateY(calc(-50vh - 40px)) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translateY(6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoPartFromBottom {
  0% {
    opacity: 0;
    transform: translateY(calc(50vh + 40px)) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoSettle {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 24px rgba(0, 152, 158, 0.35)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(0, 152, 158, 0.15)); }
}

@keyframes logoPathDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes logoDotPop {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes introGlow {
  0% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.15); }
}

/* ============================================================
   HERO — animations d'entrée (calées après la sortie du loader)
   ============================================================ */
body.page-index .hero-title {
  animation: heroSlideLeft 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.15s both;
}

body.page-index .hero-desc {
  animation: heroSlideLeft 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.35s both;
}

body.page-index .hero-actions {
  animation: heroSlideLeft 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.55s both;
}

body.page-index .hero-visual {
  animation: heroSlideRight 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.05s both;
}

.hero-title {
  animation: heroSlideLeft 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.85s both;
}

.hero-desc {
  animation: heroSlideLeft 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.05s both;
}

.hero-actions {
  animation: heroSlideLeft 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.25s both;
}

.hero-visual {
  animation: heroSlideRight 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.75s both;
}

@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}

@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   SCROLL REVEAL (IntersectionObserver — sections sous la fold)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal.delay-1 { transition-delay: 0.10s; }
.reveal.delay-2 { transition-delay: 0.22s; }
.reveal.delay-3 { transition-delay: 0.34s; }
.reveal.delay-4 { transition-delay: 0.46s; }

/* ============================================================
   ACCESSIBILITÉ — mouvement réduit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-title,
  .hero-desc,
  .hero-actions,
  .hero-visual {
    animation: none;
    opacity: 1;
    transform: none;
  }
  #page-loader,
  .loader-logo-icon,
  .loader-logo-text,
  .loader-logo,
  .loader-intro-glow,
  .loader-logo-path,
  .loader-logo-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
  #page-loader {
    display: none !important;
  }
}

/* ============================================================
   HERO BADGES — éléments décoratifs flottants
   ============================================================ */
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(13, 37, 53, 0.14), 0 2px 8px rgba(0, 152, 158, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  white-space: nowrap;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 152, 158, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.badge-icon svg {
  width: 18px;
  height: 18px;
}

.badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

.badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1;
}

/* Badge stat — fond teal */
.badge-stat {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
  background: var(--teal);
  border-radius: 12px;
}

.badge-stat .badge-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.badge-stat .badge-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Positions */
.badge-camera {
  top: 60px;
  right: 2%;
}

.badge-clubs {
  bottom: 52px;
  right: 4%;
}

.badge-jolt {
  top: 36%;
  left: 42%;
}

/* Animations flottantes décalées */
.badge-camera { animation: badgeFloat 3.6s ease-in-out infinite; }
.badge-clubs  { animation: badgeFloat 4.2s ease-in-out 0.8s infinite; }
.badge-jolt   { animation: badgeFloat 3.1s ease-in-out 1.6s infinite; }

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

@media (max-width: 1100px) { .hero-badge { display: none; } }

/* ============================================================
   PAGE HERO — bannière commune aux pages intérieures
   ============================================================ */
.page-hero {
  margin-top: 80px;
  background: var(--dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,152,158,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(0, 152, 158, 0.12);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.page-breadcrumb a { color: var(--teal); transition: color var(--transition); }
.page-breadcrumb a:hover { color: var(--white); }
.page-breadcrumb span { color: rgba(255,255,255,0.3); }

.page-hero-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero-title span { color: var(--teal); }

.page-hero-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--teal);
  margin-top: 16px;
}

.page-hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.7;
}

/* ============================================================
   PAGE CONTACT
   ============================================================ */
.contact-section {
  padding: 80px 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

/* ── Formulaire ── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.contact-form-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-form-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Ligne à 3 colonnes égales (modes heure / jour / semaine) */
.form-row--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Champ en lecture seule — clairement distingué */
.form-input[readonly],
.form-input.readonly {
  background: #f0f2f5;
  color: var(--text-muted);
  cursor: default;
  border-style: dashed;
  border-color: var(--border);
  user-select: none;
}

.form-input[readonly]:focus,
.form-input.readonly:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
}

.form-label .req {
  color: var(--teal);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 152, 158, 0.12);
  background: var(--white);
}

.form-select {
  appearance: none;
  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='%235a6a7a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit-wrap {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-alert.success {
  background: rgba(0, 152, 158, 0.1);
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
}

.form-alert.error {
  background: rgba(220, 50, 50, 0.08);
  border: 1.5px solid rgba(220, 50, 50, 0.4);
  color: #b91c1c;
}

.form-alert svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Infos de contact ── */
.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: transform var(--transition);
}

.contact-info-card:hover { transform: translateY(-3px); }

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 152, 158, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.contact-info-icon svg { width: 22px; height: 22px; }

.contact-info-body { flex: 1; }

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.contact-info-value a {
  color: var(--teal);
  transition: color var(--transition);
}

.contact-info-value a:hover { color: var(--teal-dark); }

/* Zone horaires */
.contact-hours-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-hours-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 16px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
}

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

.hours-day { color: rgba(255,255,255,0.6); font-weight: 500; }
.hours-time { color: var(--white); font-weight: 700; }
.hours-time.closed { color: rgba(255,255,255,0.35); }

/* Réseaux sociaux dans contact */
.contact-social { margin-top: 4px; }

.contact-social-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

.contact-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: background var(--transition), color var(--transition);
}

.contact-social-links a:hover {
  background: var(--teal);
  color: var(--white);
}

.contact-social-links svg { width: 16px; height: 16px; }

/* Responsive contact */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: -1; display: grid; grid-template-columns: repeat(2, 1fr); }
  .contact-hours-card, .contact-social { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .contact-info { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
  .form-row,
  .form-row--3col { grid-template-columns: 1fr; }
}

/* ??? RESPONSIVE ?????????????????????????????????????????????? */
/* ============================================================
   RESPONSIVE — tablette (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Hero : image en haut, texte en dessous */
  .hero-inner {
    flex-direction: column;
    min-height: 0;
    gap: 0;
  }
  .hero-visual {
    order: -1;
    width: 100%;
    justify-content: center;
    aspect-ratio: 1024 / 397;
    max-height: 260px;
  }
  .hero-img {
    max-height: 100%;
    object-position: center center;
  }
  .hero-left {
    width: 100%;
    padding: 50px 0 40px;
    text-align: center;
    align-items: center;
  }
  .hero-title { font-size: 2rem; }
  .hero-title::after { margin-left: auto; margin-right: auto; }

  .features-grid { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { flex-wrap: wrap; gap: 30px; justify-content: center; }
  .footer-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .navbar-nav { display: none; }

  .hero-visual { max-height: 200px; }
  .hero-left { padding: 40px 0 32px; }
  .hero-title { font-size: 1.7rem; }

  .services-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — très petit mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-visual { max-height: 150px; }
  .hero-left { padding: 32px 0 28px; }
  .hero-title { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}

/* ============================================================
   ADMIN — Page connexion
   ============================================================ */
.login-page {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.login-brand { margin-bottom: 36px; }

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.login-logo svg { width: 52px; height: 39px; color: var(--teal); display: block; }
.login-logo .logo-text { align-items: center; }
.login-logo .brand { font-size: 1.5rem; font-weight: 400; color: var(--white); line-height: 1.1; letter-spacing: 0em; }
.login-logo .sub   { font-size: 0.52rem; font-weight: 400; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 2px; }

.login-card {
  background: var(--white);
  border-radius: 12px;
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.login-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
}

.login-sep {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--teal);
  margin: 10px auto 6px;
}

.login-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
}

.password-field {
  position: relative;
}

.password-field .form-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.password-toggle:hover {
  color: var(--teal);
  background: rgba(0, 152, 158, 0.08);
}

.password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 152, 158, 0.16);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.password-toggle .icon-eye-off {
  display: none;
}

.password-toggle[aria-pressed="true"] .icon-eye {
  display: none;
}

.password-toggle[aria-pressed="true"] .icon-eye-off {
  display: block;
}

.login-back {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 22px;
  transition: color var(--transition);
}

.login-back:hover { color: var(--teal); }

/* ============================================================
   ADMIN — Layout général (sidebar + main)
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f0f2f5;
}

.admin-sidebar {
  width: 240px;
  background: var(--dark);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sidebar-brand svg  { width: 36px; height: 27px; color: var(--teal); display: block; }
.sidebar-brand .logo-text { align-items: center; }
.sidebar-brand .brand { font-size: 0.95rem; font-weight: 400; color: var(--white); line-height: 1.1; letter-spacing: 0em; }
.sidebar-brand .sub   { font-size: 0.42rem; font-weight: 400; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 2px; }

.sidebar-section-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 18px 18px 6px;
}

.sidebar-nav { flex: 1; padding: 4px 0; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  border-left: 3px solid transparent;
  transition: all 0.18s;
}

.sidebar-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.04); border-left-color: rgba(0,152,158,0.4); }
.sidebar-link.active { color: var(--white); background: rgba(0,152,158,0.14); border-left-color: var(--teal); }

.sidebar-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.sidebar-logout svg { width: 15px; height: 15px; }
.sidebar-logout:hover { color: #ef4444; }

.admin-main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }

.admin-topbar {
  background: var(--white);
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar-title { font-size: 0.9rem; font-weight: 800; color: var(--dark); text-transform: uppercase; letter-spacing: 0.04em; }

.admin-topbar-user { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--text-muted); }

.admin-topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.admin-content { padding: 26px; flex: 1; }

/* ── Stat cards ── */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stat-icon svg { width: 21px; height: 21px; }
.admin-stat-icon.teal   { background: rgba(0,152,158,0.12);  color: var(--teal); }
.admin-stat-icon.dark   { background: rgba(13,37,53,0.08);   color: var(--dark); }
.admin-stat-icon.orange { background: rgba(251,146,60,0.12); color: #f97316; }
.admin-stat-icon.green  { background: rgba(34,197,94,0.12);  color: #16a34a; }

.admin-stat-value { font-size: 1.7rem; font-weight: 800; color: var(--dark); line-height: 1; }
.admin-stat-label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }

/* ── Admin generic card ── */
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 22px;
  overflow: hidden;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}

.admin-card-title { font-size: 0.82rem; font-weight: 800; color: var(--dark); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Admin table ── */
.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
  background: #f8f9fb;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text);
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8f9fb; }

.admin-table .td-action { white-space: nowrap; }

/* ── Status badges ── */
.res-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.res-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.res-badge.en-attente { background: #fef3c7; color: #d97706; }
.res-badge.confirmee  { background: #d1fae5; color: #059669; }
.res-badge.annulee    { background: #fee2e2; color: #dc2626; }
.res-badge.terminee   { background: #e0f2fe; color: #0284c7; }

/* ── Filters ── */
.admin-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  background: #f8f9fb;
  flex-wrap: wrap;
}

.filter-select {
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 12px;
  outline: none;
  cursor: pointer;
}

.filter-select:focus { border-color: var(--teal); }
.filter-input {
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 12px;
  outline: none;
  width: 200px;
}
.filter-input:focus { border-color: var(--teal); }

.btn-sm { padding: 7px 14px; font-size: 0.76rem; }

/* ── Detail sliding panel ── */
.detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,37,53,0.5);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.detail-overlay.open { opacity: 1; visibility: visible; }

.detail-panel {
  background: var(--white);
  width: 500px;
  max-width: 100vw;
  height: 100vh;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

.detail-overlay.open .detail-panel { transform: none; }

.detail-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.detail-panel-title { font-size: 0.95rem; font-weight: 800; color: var(--dark); text-transform: uppercase; }

.detail-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  border-radius: 6px;
  line-height: 0;
  transition: background var(--transition);
}

.detail-close:hover { background: var(--border); color: var(--dark); }
.detail-close svg { width: 18px; height: 18px; }

.detail-body { padding: 22px; flex: 1; }

.detail-section { margin-bottom: 22px; }

.detail-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.detail-row { display: flex; gap: 12px; margin-bottom: 9px; }
.detail-key { font-size: 0.76rem; font-weight: 600; color: var(--text-muted); width: 130px; flex-shrink: 0; }
.detail-val { font-size: 0.82rem; color: var(--text); font-weight: 500; }

.detail-actions {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-form-group { margin-bottom: 14px; }

/* ── Admin grid (dashboard layout) ── */
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ── Admin empty state ── */
.admin-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.admin-empty svg { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.35; display: block; }

/* ── Alert flash ── */
.admin-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.admin-alert.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.admin-alert.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.admin-alert svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   PAGE RÉSERVATION — Formulaire public
   ============================================================ */
.res-form-section { padding: 48px 0; background: var(--light); }

.res-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  overflow: hidden;
}

.res-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  background: #fafbfc;
  border-bottom: 1.5px solid var(--border);
}

.res-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.res-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.res-label-note { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; font-weight: 500; }

.res-body { padding: 26px; }

/* Equipment selection cards */
.equip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.equip-catalog-empty {
  flex: 1 1 100%;
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 0;
}

.equip-card-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 152, 158, 0.08);
  color: var(--teal);
}

.equip-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 1 260px;
  width: 100%;
  max-width: 260px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
  text-align: center;
  position: relative;
  background: var(--white);
  overflow: hidden;
  min-width: 0;
}

.equip-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.equip-card:hover { border-color: rgba(0,152,158,0.5); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.equip-card.selected, .equip-card:has(input:checked) {
  border-color: var(--teal);
  background: rgba(0,152,158,0.04);
  box-shadow: 0 0 0 3px rgba(0,152,158,.12);
}

/* Sélection — check badge */
.equip-card.selected::after, .equip-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 8px;
  width: 20px; height: 20px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  line-height: 20px;
  font-weight: 700;
}

/* Thumbnail image (carte matériel) */
.equip-card-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: #eef1f3;
  line-height: 0;
  isolation: isolate;
}

.equip-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.equip-card:hover .equip-card-thumb img { transform: scale(1.04); }

/* Zone texte sous l'image */
.equip-card-meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 12px 14px;
  gap: 3px;
  min-width: 0;
}

/* Thumbnail illustration (carte "autre besoin") */
.equip-card-thumb--custom {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 152, 158, 0.11) 0%, rgba(0, 152, 158, 0.04) 55%, rgba(13, 37, 53, 0.05) 100%);
  line-height: normal;
  height: 155px;
  overflow: hidden;
}

.equip-custom-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equip-custom-art svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.equip-card:hover .equip-custom-art svg { transform: scale(1.04); }

.equip-card-name {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.4;
  width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.equip-card-sub {
  font-size: 0.68rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Checkboxes / radios inline */
.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-item  { display: flex; align-items: center; gap: 7px; font-size: 0.83rem; cursor: pointer; user-select: none; }
.check-item input { width: 16px; height: 16px; accent-color: var(--teal); cursor: pointer; }

/* Caution box */
.caution-box {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
}

.caution-accept { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.caution-accept input { width: 18px; height: 18px; accent-color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.caution-accept-text { font-size: 0.84rem; color: var(--text); }
.caution-accept-text strong { color: var(--dark); }

.caution-amount { text-align: center; padding: 0 18px; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.caution-amount-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.08em; }
.caution-amount-value { font-size: 0.83rem; font-weight: 600; color: var(--text-muted); font-style: italic; }

.caution-secure { text-align: center; }
.caution-secure-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.08em; }
.caution-cards { display: flex; gap: 6px; justify-content: center; }
.pay-badge { background: var(--dark); color: var(--white); font-size: 0.62rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.04em; }
.pay-badge.blue  { background: #1a1f71; }
.pay-badge.red   { background: #eb001b; }
.pay-badge.green { background: #059669; }

.res-submit-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.res-submit-note svg { width: 13px; height: 13px; color: var(--teal); }

@media (max-width: 900px) { .admin-stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .equip-card { flex: 0 1 calc(50% - 8px); max-width: calc(50% - 8px); }
  .caution-box { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAUX — Système de confirmation / formulaires responsifs
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 37, 53, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(13, 37, 53, 0.22), 0 8px 24px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal-overlay.open .modal-box {
  transform: none;
}

.modal-box-lg { max-width: 660px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
  border-radius: 12px 12px 0 0;
}

.modal-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title svg { color: var(--teal); flex-shrink: 0; }

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  border-radius: 6px;
  line-height: 0;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.modal-close:hover { background: var(--border); color: var(--dark); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body { padding: 24px; }

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Confirm modal */
.modal-confirm-wrap { text-align: center; padding: 8px 0; }

.modal-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.modal-confirm-icon.danger  { background: rgba(220,38,38,0.1); color: #dc2626; }
.modal-confirm-icon.warning { background: rgba(251,146,60,0.1); color: #f97316; }
.modal-confirm-icon.info    { background: rgba(0,152,158,0.1);  color: var(--teal); }
.modal-confirm-icon svg { width: 28px; height: 28px; }

.modal-confirm-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modal-confirm-msg {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* Logos paiement */
.pay-logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Badge sans bordure — style référence image */
.pay-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1;
}

.pay-logo-badge img {
  display: block;
  width: auto;
}

/* Wrapper "Nous acceptons" (style section de référence) */
.pay-accept-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-accept-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
}

/* Card paiement admin */
.pay-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fb;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.pay-method-label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--dark);
}

.pay-method-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .modal-box { border-radius: 12px; }
  .modal-body { padding: 18px; }
  .modal-footer { justify-content: stretch; }
  .modal-footer .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   RÉSERVATION — FIL D'ARIANE / STEPPER MULTI-ÉTAPES
   ============================================================ */
.res-stepper-wrap {
  margin-top: 80px; /* compense la navbar fixed */
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  padding: 24px 0 18px;
}

.res-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.res-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  text-align: center;
}

.res-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.res-step.active .res-step-circle {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(0,152,158,.18);
}

.res-step.completed .res-step-circle {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.res-step-name {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.3;
}

.res-step.active .res-step-name    { color: var(--teal); }
.res-step.completed .res-step-name { color: var(--dark); }

.res-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 19px;
  align-self: flex-start;
  min-width: 30px;
  transition: background 0.3s;
}

.res-step-line.done { background: var(--teal); }

/* ── Titre de l'étape active ──────────────────────────── */
.res-step-title-bar {
  background: var(--white);
  padding: 36px 24px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* --- Bloc titre étapes 1 & 2 (style im5.jpeg) --- */
.res-title-form-block { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.res-title-form-h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.res-title-form-h1 span { color: var(--teal); }

.res-title-form-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  position: relative;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.res-title-form-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.res-title-form-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.res-title-form-caution {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.res-title-form-caution svg { color: var(--teal); flex-shrink: 0; }

/* --- Bloc titre étape 3 (style im3.jpeg) --- */
.res-title-payment-block { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.res-step-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  text-transform: none;
  margin-bottom: 6px;
}

.res-step-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.res-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,152,158,.1);
  border: 1px solid rgba(0,152,158,.25);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  margin-top: 10px;
}

/* --- Bloc titre étape 4 (confirmation) --- */
.res-title-confirm-block { display: flex; flex-direction: column; align-items: center; }

/* ── Prix sur les cartes équipement ────────────────────── */
.equip-card-price {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.02em;
}

/* ── Navigation step (boutons bas) ─────────────────────── */
.res-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 8px;
  gap: 16px;
}

.res-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
}

.res-back-link:hover { color: var(--teal); }

/* ── Layout paiement 2 colonnes ─────────────────────────── */
.res-pay-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.res-pay-left  { display: flex; flex-direction: column; gap: 0; }
.res-pay-right { display: flex; flex-direction: column; gap: 16px; }

/* ── Récap en-tête ─────────────────────────────────────── */
.res-recap-head {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.res-recap-img {
  width: 110px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light);
}

.res-recap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.res-recap-info { flex: 1; }

.res-recap-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.res-recap-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.res-recap-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.res-recap-meta svg { flex-shrink: 0; color: var(--teal); }

/* ── Tableau des prix ───────────────────────────────────── */
.res-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.res-price-table td { padding: 7px 4px; }

.res-pt-label { color: var(--text); flex: 1; }
.res-pt-qty   { color: var(--text-muted); white-space: nowrap; padding: 7px 12px; }
.res-pt-price { text-align: right; font-weight: 600; color: var(--dark); white-space: nowrap; }
.res-pt-incl  { color: var(--teal); font-weight: 700; font-size: 0.75rem; }

.res-price-table tfoot tr { border-top: 1px solid var(--border); }
.res-price-table .res-pt-sep td { padding-top: 12px; }

.res-pt-total {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--dark);
}

.res-pt-total td { padding-top: 8px; color: var(--teal); font-size: 1.05rem; }
.res-pt-total td:first-child { color: var(--dark); font-size: 0.88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.res-pt-total span { font-size: 0.72rem; font-weight: 600; margin-left: 4px; }

/* ── Options (assurance, livraison) ────────────────────── */
.res-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 0 0;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
}

.res-option-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.81rem;
  color: var(--text);
  cursor: pointer;
}

.res-option-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
}

/* ── Onglets de paiement ───────────────────────────────── */
.pay-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pay-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.pay-tab:hover { border-color: rgba(0,152,158,.45); color: var(--teal); }
.pay-tab.active {
  border-color: var(--teal);
  background: rgba(0,152,158,.06);
  color: var(--teal);
  font-weight: 700;
}

/* ── Formulaire carte ──────────────────────────────────── */
.pay-content-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pay-card-input-wrap {
  position: relative;
}

.pay-card-input-wrap .form-input {
  padding-right: 38px;
}

.pay-card-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.pay-secure-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(0,152,158,.07);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.pay-secure-note svg { flex-shrink: 0; margin-top: 1px; }

/* ── Info blocs PayPal / Virement ──────────────────────── */
.pay-info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  background: var(--light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── CGV row ───────────────────────────────────────────── */
.res-cgv-row {
  padding: 14px 0;
  font-size: 0.82rem;
}

/* ── Bouton Payer ──────────────────────────────────────── */
.btn-pay {
  padding: 15px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ── Logo logos paiement ───────────────────────────────── */
.pay-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Scalapay ──────────────────────────────────────────── */
.scalapay-badge {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.scalapay-heart { color: #e91e8c; font-size: 1rem; }

.scalapay-logo {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.scalapay-sub {
  width: 100%;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Cartes latérales ──────────────────────────────────── */
.res-side-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}

.res-side-card--teal {
  border-left: 4px solid var(--teal);
}

.res-side-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 16px;
}

.res-advantages-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.res-advantages-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--text);
}

.res-info-block {
  margin-bottom: 14px;
}

.res-info-block strong {
  display: block;
  font-size: 0.82rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.res-info-block p {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Bandeau garanties ─────────────────────────────────── */
.res-trust-bar {
  background: #f0f4f7;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.res-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.res-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.res-trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-trust-item strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.res-trust-item span {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
}

/* ── Page confirmation (étape 4) ───────────────────────── */
.res-confirm-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}

.res-confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,152,158,.1);
  border: 2px solid rgba(0,152,158,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal);
}

.res-confirm-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.res-confirm-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.res-confirm-details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.res-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
}

.res-confirm-row:last-child { border-bottom: none; }
.res-confirm-row span { color: var(--text-muted); }
.res-confirm-row strong { color: var(--dark); font-weight: 700; }

.res-confirm-next {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  text-align: left;
}

.res-confirm-next h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 14px;
}

.res-confirm-next ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.res-confirm-next li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text);
}

/* ── Validation — champs en erreur ────────────────────────────── */
@keyframes shakeField {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

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

.form-input.field-error,
.form-select.field-error,
.form-textarea.field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  animation: shakeField 0.4s ease;
}

.field-err-msg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 600;
  color: #dc2626;
  margin-top: 6px;
  animation: fadeInDown 0.22s ease;
}

.field-error-wrap > .field-err-msg { margin-top: 6px; }

/* Groupes (caution-box, equip-grid) encadrés en rouge */
.equip-grid.field-error-wrap {
  outline: 2px solid #ef4444;
  outline-offset: 3px;
  border-radius: var(--radius);
  animation: shakeField 0.4s ease;
}

.caution-box.field-error-wrap {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  animation: shakeField 0.4s ease;
}

/* ── Sélecteur type de location (heure / jour / semaine) ───────── */
.loc-type-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.loc-type-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.loc-type-tab:hover {
  border-color: rgba(0,152,158,.5);
  color: var(--teal);
}

.loc-type-tab.active {
  border-color: var(--teal);
  background: rgba(0,152,158,.08);
  color: var(--teal);
  font-weight: 700;
}

.loc-type-info {
  margin-top: 10px;
}

.loc-type-rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0,152,158,.09);
  border: 1px solid rgba(0,152,158,.2);
  padding: 5px 12px;
  border-radius: 20px;
}

.loc-type-rate--warn {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd34d;
}

/* ── Bouton Payer — état désactivé ─────────────────────────────── */
.btn-pay {
  transition: background 0.3s, border-color 0.3s, opacity 0.3s, box-shadow 0.2s;
}

.btn-pay:disabled,
.btn-pay--disabled {
  background: #94a3b8 !important;
  border-color: #94a3b8 !important;
  color: rgba(255,255,255,0.85) !important;
  cursor: not-allowed !important;
  opacity: 0.8;
  pointer-events: none;
  box-shadow: none !important;
}

/* ── Responsivité ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .res-pay-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 820px) {
  .res-pay-layout {
    grid-template-columns: 1fr;
  }
  .res-pay-right { order: -1; }
}

@media (max-width: 640px) {
  .res-stepper { gap: 0; padding: 0 12px; }
  .res-step    { min-width: 60px; }
  .res-step-name { font-size: 0.55rem; }
  .res-step-circle { width: 32px; height: 32px; font-size: 0.78rem; }
  .res-step-line { min-width: 16px; margin-top: 16px; }
  .res-trust-grid { grid-template-columns: 1fr; }
  .res-recap-head { flex-direction: column; }
  .res-recap-img  { width: 100%; height: 160px; }
  .pay-tabs { flex-direction: column; }
  .pay-tab  { justify-content: center; }
  .res-step-nav { flex-direction: column-reverse; gap: 12px; }
  .res-step-nav .btn { width: 100%; justify-content: center; }
  .res-back-link { width: 100%; justify-content: center; }
}
