/* ===================================================
   ProxiCare Services — Feuille de styles globale
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ===== VARIABLES ===== */
:root {
  --cream: #F7F4EE;
  --warm-white: #FDFCF9;
  --sage: #7A9E87;
  --sage-light: #EFF5F1;
  --sage-dark: #4A7A5A;
  --charcoal: #2C2C2C;
  --muted: #8A8680;
  --border: #E5E1D8;
  --accent: #E8844A;
  --accent-light: #FDF0E8;
  --soon: #C4A882;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: 'Fraunces', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-logo .proxi { color: var(--charcoal); }
.nav-logo .care  { color: var(--sage-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-links a:hover { color: var(--sage-dark); }

.nav-links a.active {
  color: var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
}

.nav-cta {
  background: var(--sage-dark) !important;
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 100px !important;
  border-bottom: none !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--sage) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem;
  z-index: 199;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--sage-dark); color: white; }
.btn-primary:hover { background: var(--sage); }
.btn-secondary { background: transparent; color: var(--charcoal); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--cream); border-color: #BBBAB5; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ===== TYPOGRAPHY HELPERS ===== */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 4.5rem 0 3.5rem;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}
.page-header-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}
.page-header-title {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-header-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}

/* ===== CARDS ===== */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.card-icon  { font-size: 2rem; margin-bottom: 1rem; }
.card-title { font-size: 1.2rem; font-weight: 500; margin-bottom: 0.5rem; }
.card-desc  { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ===== TAGS ===== */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag {
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
}
.tag-soon {
  background: #FAF4ED;
  color: var(--soon);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-soon {
  background: #FAF4ED;
  color: var(--soon);
  border: 1px solid #E8D5B7;
}
.badge-active {
  background: var(--sage-light);
  color: var(--sage-dark);
  border: 1px solid rgba(74,122,90,0.2);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: var(--cream);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--charcoal);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 490px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Floating visual */
.hero-visual {
  position: relative;
  height: 480px;
}
.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
}
.float-card {
  position: absolute;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  min-width: 210px;
}
.float-card-icon  { font-size: 1.6rem; margin-bottom: 0.5rem; }
.float-card-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.float-card-desc  { font-size: 0.8rem; color: var(--muted); }

.float-1 { top: 8%;  left: 0%;   animation: float1 6s ease-in-out infinite; }
.float-2 { top: 36%; right: 0%;  animation: float2 7.5s ease-in-out infinite; }
.float-3 { bottom: 8%; left: 12%; animation: float3 5.5s ease-in-out infinite; }

.location-badge {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--charcoal);
  color: white;
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 5.5rem 0;
  background: var(--cream);
}
.services-header { margin-bottom: 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.service-card:not(.service-card-soon) {
  cursor: pointer;
}
.service-card:not(.service-card-soon):hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.service-card-soon { opacity: 0.62; cursor: not-allowed; }

.service-arrow {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  opacity: 0;
  font-size: 1.2rem;
  color: var(--sage-dark);
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:not(.service-card-soon):hover .service-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ===== ZONE SECTION ===== */
.zone-section {
  background: var(--charcoal);
  color: white;
  padding: 4rem 0;
}
.zone-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.zone-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
}
.zone-title {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  color: white;
}
.zone-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.zone-pill {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.88);
  padding: 0.4rem 1.05rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===== OPTION CARDS (service pages) ===== */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.option-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.option-card:hover {
  border-color: var(--sage-dark);
  box-shadow: 0 6px 28px rgba(74,122,90,0.1);
}
.option-price {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 1.1rem 0 0.25rem;
}
.option-price-suffix {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}
.option-extras {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.option-extra {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.option-extra-icon { color: var(--accent); flex-shrink: 0; font-weight: 700; }

/* ===== SUPPLEMENT NOTICE ===== */
.supplement-notice {
  background: var(--accent-light);
  border: 1px solid rgba(232,132,74,0.28);
  border-radius: 16px;
  padding: 1.4rem 1.75rem;
  margin-top: 2.5rem;
}
.supplement-notice h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.65rem;
  font-family: 'DM Sans', sans-serif;
}
.supplement-notice li {
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

/* ===== PRICE TABLE ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.price-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
}
.price-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  vertical-align: middle;
}
.price-table tr:last-child td { border-bottom: none; }
.price-val {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sage-dark);
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.step-card { text-align: center; padding: 1.5rem 1rem; }
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--sage-dark);
  opacity: 0.25;
  display: block;
  margin-bottom: 0.75rem;
}
.step-title { font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
.step-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ===== DÉMARCHES GRID ===== */
.demarches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.demarche-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.demarche-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.demarche-icon  { font-size: 1.8rem; margin-bottom: 0.5rem; }
.demarche-label { font-size: 0.84rem; font-weight: 500; color: var(--charcoal); line-height: 1.4; }

/* ===== MODE CARDS ===== */
.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.mode-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mode-card:hover {
  border-color: var(--sage-dark);
  box-shadow: 0 6px 28px rgba(74,122,90,0.09);
}
.mode-price {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 1.1rem 0 0.25rem;
}

/* ===== EMPLOI SECTION ===== */
.emploi-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}
.emploi-price {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 1rem 0 0.25rem;
}

/* ===== CONFIDENTIALITY ===== */
.confidentiality-section {
  background: var(--sage-light);
  border: 1px solid rgba(74,122,90,0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
}
.confidentiality-section h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.conf-items { display: flex; flex-direction: column; gap: 0.6rem; }
.conf-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.conf-icon { color: var(--sage-dark); flex-shrink: 0; font-size: 1.1rem; }

/* ===== CONTACT INFO ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.contact-info-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}
.contact-info-icon  { font-size: 1.5rem; margin-bottom: 0.75rem; }
.contact-info-label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact-info-value { font-size: 0.93rem; color: var(--charcoal); line-height: 1.55; }

/* ===== FORM ===== */
.form-wrapper {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.87rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--charcoal);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--sage-dark);
  background: var(--warm-white);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A8680' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ===== LEGAL PAGE ===== */
.legal-content {
  max-width: 820px;
}
.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--sage-dark);
  font-family: 'DM Sans', sans-serif;
}
.legal-section p, .legal-section li {
  font-size: 0.93rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ===== DIVIDER ===== */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--sage-light);
  border: 1px solid rgba(74,122,90,0.2);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.info-box strong { color: var(--sage-dark); }

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-logo .proxi { color: rgba(255,255,255,0.9); }
.footer-logo .care  { color: var(--sage); }
.footer-copy { font-size: 0.83rem; color: rgba(255,255,255,0.4); text-align: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: white; }

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links    { display: none; }
  .burger       { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem;
  }
  .hero        { min-height: auto; padding: 3rem 0; }
  .hero-visual { display: none; }
  .hero-title  { font-size: 2.6rem; }

  .section-title     { font-size: 1.9rem; }
  .page-header-title { font-size: 2.2rem; }

  .services-grid   { grid-template-columns: 1fr; }
  .options-grid    { grid-template-columns: 1fr; }
  .mode-grid       { grid-template-columns: 1fr; }
  .steps-grid      { grid-template-columns: 1fr 1fr; }
  .demarches-grid  { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }

  .footer-inner   { flex-direction: column; text-align: center; }
  .footer-links   { justify-content: center; }
}

@media (max-width: 600px) {
  .steps-grid     { grid-template-columns: 1fr; }
  .hero-title     { font-size: 2.1rem; }
  .hero-actions   { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .form-wrapper   { padding: 1.5rem; }
  .page-header-title { font-size: 1.9rem; }
}

/* ===== HERO 4 CARDS ===== */
.float-4 { bottom: 2%; right: 2%; animation: float4 6.8s ease-in-out infinite; min-width: 180px; }
@keyframes float4 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ===== ZONE SECTION TWO-TIER ===== */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}
.zone-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.zone-col-label.primary { color: rgba(255,255,255,0.9); }
.zone-col-label.extended { color: rgba(255,255,255,0.5); }
.zone-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 700px;
}
.zone-note strong { color: rgba(255,255,255,0.8); }

/* ===== CAROUSEL (services.html) ===== */
.carousel-section { padding: 2rem 0 5rem; overflow: hidden; }
.carousel-wrapper  { position: relative; }

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
  position: relative;
}

.carousel-card {
  position: absolute;
  width: 340px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s ease,
              box-shadow 0.3s ease;
  user-select: none;
}
.carousel-card.active {
  transform: translateX(0) scale(1);
  opacity: 1; z-index: 5;
  box-shadow: 0 16px 60px rgba(0,0,0,0.10);
}
.carousel-card.prev  { transform: translateX(-78%) scale(0.83); opacity: 0.5; z-index: 3; }
.carousel-card.next  { transform: translateX(78%)  scale(0.83); opacity: 0.5; z-index: 3; }
.carousel-card.far-prev { transform: translateX(-130%) scale(0.7); opacity: 0.18; z-index: 2; }
.carousel-card.far-next { transform: translateX(130%)  scale(0.7); opacity: 0.18; z-index: 2; }

.carousel-card.soon.active { cursor: not-allowed; }

.carousel-card-icon     { font-size: 2.2rem; margin-bottom: 0.9rem; }
.carousel-card-badge    { margin-bottom: 0.75rem; }
.carousel-card-title    { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.35rem; }
.carousel-card-subtitle { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.75rem; font-weight: 500; }
.carousel-card-desc     { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

.carousel-hint {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  height: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.carousel-hint.visible { opacity: 1; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  color: var(--charcoal);
}
.carousel-btn:hover:not(:disabled) { background: var(--sage-dark); color: white; border-color: var(--sage-dark); }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.carousel-dot.active { background: var(--sage-dark); width: 18px; border-radius: 3px; }

/* Detail panel */
.service-detail-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  opacity: 0;
}
.service-detail-panel.open { max-height: 700px; opacity: 1; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 2rem;
  background: var(--warm-white);
  border: 1.5px solid var(--sage-dark);
  border-radius: 24px;
  padding: 2.5rem;
  margin: 0.5rem 0 1rem;
  align-items: start;
  position: relative;
}

.detail-close-btn {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none; border: none;
  font-size: 1.1rem; color: var(--muted);
  cursor: pointer; padding: 0.25rem;
  border-radius: 6px; transition: color 0.2s;
  line-height: 1;
}
.detail-close-btn:hover { color: var(--charcoal); }

.detail-price-big {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem; font-weight: 600;
  color: var(--sage-dark);
  margin: 1rem 0 0.3rem;
}
.detail-features-list { display: flex; flex-direction: column; gap: 0.7rem; }
.detail-feature {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.88rem; color: var(--charcoal);
}
.detail-feature-check { color: var(--sage-dark); flex-shrink: 0; margin-top: 1px; font-size: 0.85rem; }
.detail-visual-box {
  background: var(--sage-light);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  height: 180px; font-size: 4.5rem;
}

/* ===== OPTION CAROUSEL (courses.html) ===== */
.option-carousel { position: relative; padding: 1rem 0 2rem; }
.option-track {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 540px;
  position: relative;
}
.opt-card {
  position: absolute;
  width: 390px;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 2.25rem;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s ease, border-color 0.3s;
  user-select: none;
  overflow: hidden;
}
.opt-card.active {
  transform: translateX(0) scale(1);
  opacity: 1; z-index: 5;
  border-color: var(--sage-dark);
  box-shadow: 0 12px 50px rgba(74,122,90,0.14);
}
.opt-card.prev     { transform: translateX(-72%) scale(0.83); opacity: 0.45; z-index: 3; }
.opt-card.next     { transform: translateX(72%)  scale(0.83); opacity: 0.45; z-index: 3; }
.opt-card.far-prev { transform: translateX(-125%) scale(0.7); opacity: 0.18; z-index: 2; }
.opt-card.far-next { transform: translateX(125%)  scale(0.7); opacity: 0.18; z-index: 2; }

.opt-num {
  font-family: 'Fraunces', serif;
  font-size: 4rem; font-weight: 700;
  color: var(--sage-dark); opacity: 0.1;
  position: absolute; top: 0.75rem; right: 1.25rem;
  line-height: 1;
}
.opt-price-big {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem; font-weight: 600;
  color: var(--sage-dark); margin: 1rem 0 0.2rem;
}
.opt-features { display: flex; flex-direction: column; gap: 0.55rem; margin: 1rem 0; }
.opt-feature  { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.84rem; color: var(--charcoal); }
.opt-feature span:first-child { color: var(--sage-dark); flex-shrink: 0; }
.opt-conditions {
  margin-top: 1rem; padding: 0.75rem 1rem;
  background: var(--sage-light); border-radius: 10px;
  font-size: 0.78rem; color: var(--sage-dark); line-height: 1.55;
}
.opt-cta { display: none; width: 100%; justify-content: center; margin-top: 1.5rem; }
.opt-card.active .opt-cta { display: flex; }

/* ===== BOOKING TUNNEL ===== */
.booking-tunnel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  opacity: 0; margin-top: 2rem;
}
.booking-tunnel.open { max-height: 4000px; opacity: 1; }

.tunnel-wrapper {
  background: var(--warm-white);
  border: 1.5px solid var(--sage-dark);
  border-radius: 24px; padding: 2.5rem;
}
.tunnel-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 1.5rem;
}
.tunnel-title { font-size: 1.1rem; font-weight: 600; font-family: 'DM Sans', sans-serif; }
.tunnel-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: var(--muted); padding: 0.25rem;
  border-radius: 6px; transition: color 0.2s; line-height: 1;
}
.tunnel-close:hover { color: var(--charcoal); }

.tunnel-progress { display: flex; gap: 0.4rem; margin-bottom: 2rem; }
.tunnel-progress-bar {
  height: 3px; flex: 1; border-radius: 2px;
  background: var(--border); transition: background 0.3s;
}
.tunnel-progress-bar.done    { background: var(--sage-dark); }
.tunnel-progress-bar.current { background: var(--sage); }

.tunnel-step { display: none; }
.tunnel-step.active { display: block; }
.tunnel-step-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 1.25rem; font-family: 'DM Sans', sans-serif; color: var(--charcoal); }

.profile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.profile-opt {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 1rem 0.75rem; text-align: center; cursor: pointer;
  transition: all 0.2s; font-size: 0.85rem; font-weight: 500;
  background: var(--cream);
}
.profile-opt:hover { border-color: var(--sage); }
.profile-opt.selected { border-color: var(--sage-dark); background: var(--sage-light); color: var(--sage-dark); }
.profile-opt-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }

.floor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }

.elevator-label {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 12px;
  cursor: pointer; font-size: 0.9rem; font-weight: 500;
  background: var(--cream); transition: all 0.2s; user-select: none;
}
.elevator-label.has-elevator  { border-color: var(--sage-dark); background: var(--sage-light); }
.elevator-toggle-inner {
  width: 40px; height: 22px; border-radius: 11px;
  background: var(--border); position: relative;
  transition: background 0.3s; flex-shrink: 0;
}
.elevator-toggle-inner::after {
  content: ''; position: absolute;
  width: 16px; height: 16px; border-radius: 50%;
  background: white; top: 3px; left: 3px;
  transition: transform 0.3s; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.elevator-label.has-elevator .elevator-toggle-inner { background: var(--sage-dark); }
.elevator-label.has-elevator .elevator-toggle-inner::after { transform: translateX(18px); }

.supplement-alert {
  display: none; align-items: center; gap: 0.6rem;
  background: var(--accent-light); border: 1px solid rgba(232,132,74,0.3);
  border-radius: 10px; padding: 0.75rem 1rem;
  font-size: 0.85rem; color: var(--charcoal); margin-top: 0.75rem;
}
.supplement-alert.visible { display: flex; }

.time-display {
  background: var(--sage-light); border-radius: 12px;
  padding: 0.9rem 1.25rem; margin-top: 0.75rem;
  font-size: 0.88rem; color: var(--sage-dark); font-weight: 500;
}

.summary-row {
  display: flex; justify-content: space-between;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  font-weight: 700; font-size: 1.15rem;
  color: var(--sage-dark); padding-top: 1rem; border-top: 2px solid var(--border);
}
.summary-label { color: var(--muted); }
.summary-value { font-weight: 500; }

.tunnel-actions { display: flex; gap: 1rem; margin-top: 1.75rem; }

.status-pending { text-align: center; padding: 1.5rem 0; }
.status-icon  { font-size: 3rem; margin-bottom: 0.75rem; }
.status-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.status-desc  { color: var(--muted); font-size: 0.9rem; line-height: 1.6; max-width: 400px; margin: 0 auto; }
.status-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent-light); color: var(--accent);
  border: 1px solid rgba(232,132,74,0.3);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; margin-top: 1rem;
}

/* Responsive additions */
/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(44,44,44,0.48);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 600; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--warm-white); border-radius: 24px; padding: 2.5rem;
  max-width: 480px; width: 100%; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
  transform: translateY(14px);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; font-size: 1.1rem; color: var(--muted);
  cursor: pointer; border-radius: 6px; padding: 0.25rem; transition: color 0.2s; line-height: 1;
}
.modal-close:hover { color: var(--charcoal); }
.modal-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }
.modal-title { font-size: 1.2rem; font-weight: 500; margin-bottom: 1rem; letter-spacing: -0.02em; }
.modal-body { font-size: 0.9rem; color: var(--charcoal); line-height: 1.78; }
.modal-body p { margin-bottom: 0.8rem; }
.modal-body p:last-child { margin-bottom: 0; color: var(--muted); }

/* ===== INFO BUTTON ===== */
.info-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(74,122,90,0.15); color: var(--sage-dark);
  font-size: 0.7rem; font-weight: 700; cursor: pointer;
  border: none; margin-left: 0.35rem; transition: background 0.2s;
  vertical-align: middle; flex-shrink: 0;
}
.info-btn:hover { background: var(--sage-dark); color: white; }

/* ===== OPTIONS STATIC GRID ===== */
.opts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2.5rem;
}
.opt-s-card {
  background: var(--warm-white); border: 1.5px solid var(--border);
  border-radius: 24px; padding: 2rem; position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.opt-s-card:hover {
  border-color: var(--sage-dark); box-shadow: 0 8px 32px rgba(74,122,90,0.1);
  transform: translateY(-3px);
}
.opt-s-num {
  font-family: 'Fraunces', serif; font-size: 0.85rem; font-weight: 600;
  color: var(--sage-dark); opacity: 0.4; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.opt-s-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.opt-s-price {
  font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600;
  color: var(--sage-dark); margin: 1rem 0 0.2rem;
}
.opt-s-features { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.opt-s-feature  { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.83rem; }
.opt-s-feature-ok   { color: var(--sage-dark); flex-shrink: 0; }
.opt-s-feature-info { color: var(--accent); flex-shrink: 0; }
.opt-s-conditions {
  margin-top: 0.75rem; padding: 0.7rem 0.9rem;
  background: var(--sage-light); border-radius: 10px;
  font-size: 0.78rem; color: var(--sage-dark); line-height: 1.55;
}
.opt-s-warning {
  margin-top: 0.75rem; padding: 0.65rem 0.9rem;
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 10px;
  font-size: 0.78rem; color: #DC2626; line-height: 1.5;
  display: flex; gap: 0.4rem; align-items: flex-start;
}
.opt-s-notice {
  margin-top: 0.75rem; padding: 0.65rem 0.9rem;
  background: var(--accent-light); border: 1px solid rgba(232,132,74,0.3);
  border-radius: 10px; font-size: 0.78rem; color: var(--accent); line-height: 1.5;
}

/* ===== ADDRESS / FIELD VALIDATION ===== */
.form-input.valid   { border-color: #22C55E; }
.form-input.invalid { border-color: #EF4444; }
.field-fb { font-size: 0.76rem; margin-top: 0.3rem; min-height: 1rem; display: flex; align-items: center; gap: 0.3rem; }
.field-fb.ok  { color: #22C55E; }
.field-fb.err { color: #EF4444; }

/* ===== CALENDAR ===== */
.cal-wrapper {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; max-width: 380px; margin: 0 auto;
}
.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.cal-nav-btn {
  background: none; border: 1.5px solid var(--border); border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 0.85rem;
  color: var(--charcoal); transition: all 0.2s;
}
.cal-nav-btn:hover:not(:disabled) { background: var(--sage-dark); color: white; border-color: var(--sage-dark); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-month-title { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 500; }
.cal-grid {
  display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; padding: 0.9rem;
}
.cal-head {
  text-align: center; font-size: 0.68rem; font-weight: 700;
  color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; padding: 0.35rem 0;
}
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; border-radius: 50%; cursor: pointer; transition: all 0.2s; font-weight: 500;
}
.cal-day:hover:not(.disabled):not(.empty) { background: var(--sage-light); color: var(--sage-dark); }
.cal-day.selected { background: var(--sage-dark) !important; color: white !important; }
.cal-day.today { font-weight: 700; color: var(--sage-dark); }
.cal-day.disabled { color: #D1CEC8; cursor: not-allowed; }
.cal-day.empty  { cursor: default; }

/* Time slots */
.time-slots-wrap { margin-top: 1.5rem; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.time-slots-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem;
}
.time-slots-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0.45rem; }
.time-slot {
  text-align: center; padding: 0.55rem 0.4rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.82rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s; background: var(--cream);
}
.time-slot:hover { border-color: var(--sage-dark); background: var(--sage-light); color: var(--sage-dark); }
.time-slot.selected { background: var(--sage-dark); color: white; border-color: var(--sage-dark); }

/* ===== FILE UPLOAD ===== */
.file-drop-zone {
  border: 2px dashed var(--border); border-radius: 16px; padding: 2.5rem;
  text-align: center; transition: border-color 0.2s, background 0.2s;
  cursor: pointer; position: relative;
}
.file-drop-zone:hover, .file-drop-zone.dragover {
  border-color: var(--sage-dark); background: var(--sage-light);
}
.file-drop-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.file-drop-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.file-drop-text { font-size: 0.88rem; color: var(--charcoal); margin-bottom: 0.2rem; }
.file-drop-hint { font-size: 0.76rem; color: var(--muted); }
.file-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.file-item {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--sage-light); border-radius: 10px; padding: 0.6rem 0.9rem;
}
.file-item-icon { font-size: 1.1rem; flex-shrink: 0; }
.file-item-name { flex: 1; font-size: 0.85rem; font-weight: 500; color: var(--charcoal); }
.file-item-size { font-size: 0.76rem; color: var(--muted); }
.file-item-rm {
  background: none; border: none; cursor: pointer; color: var(--muted);
  font-size: 0.9rem; transition: color 0.2s; padding: 0.1rem;
}
.file-item-rm:hover { color: #EF4444; }

/* ===== RESA SUMMARY ===== */
.resa-summary {
  background: var(--cream); border-radius: 20px;
  padding: 1.75rem; border: 1px solid var(--border);
}
.resa-sum-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border);
}
.resa-sum-icon  { font-size: 2rem; }
.resa-sum-title { font-size: 1.05rem; font-weight: 500; }
.resa-sum-sub   { font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }
.resa-section-lbl {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 0.5rem;
}
.resa-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border); gap: 1rem;
}
.resa-row:last-child { border-bottom: none; }
.resa-row-lbl  { font-size: 0.82rem; color: var(--muted); flex-shrink: 0; }
.resa-row-val  { font-size: 0.88rem; font-weight: 500; text-align: right; }
.resa-total    {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0 0; margin-top: 0.5rem; border-top: 2px solid var(--border);
}
.resa-total-lbl { font-size: 1rem; font-weight: 600; }
.resa-total-val { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 600; color: var(--sage-dark); }

/* ===== RESA TUNNEL SELECTORS ===== */
.svc-sel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.svc-sel-card {
  border: 1.5px solid var(--border); border-radius: 16px; padding: 1.25rem;
  cursor: pointer; transition: all 0.2s; background: var(--cream); text-align: left;
}
.svc-sel-card:hover { border-color: var(--sage); background: var(--sage-light); }
.svc-sel-card.selected { border-color: var(--sage-dark); background: var(--sage-light); }
.svc-sel-icon { font-size: 1.4rem; margin-bottom: 0.45rem; }
.svc-sel-name { font-weight: 600; font-size: 0.88rem; }
.svc-sel-desc { font-size: 0.76rem; color: var(--muted); margin-top: 0.2rem; line-height: 1.4; }

.sub-opt-list { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.25rem; }
.sub-opt-item {
  border: 1.5px solid var(--border); border-radius: 14px; padding: 0.9rem 1.1rem;
  cursor: pointer; transition: all 0.2s; background: var(--cream);
  display: flex; justify-content: space-between; align-items: center;
}
.sub-opt-item:hover { border-color: var(--sage); background: var(--sage-light); }
.sub-opt-item.selected { border-color: var(--sage-dark); background: var(--sage-light); }
.sub-opt-left { display: flex; flex-direction: column; gap: 0.15rem; }
.sub-opt-name  { font-weight: 500; font-size: 0.88rem; }
.sub-opt-hint  { font-size: 0.76rem; color: var(--muted); }
.sub-opt-price { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 600; color: var(--sage-dark); }

.prof-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.7rem; margin-top: 1.25rem; }
.prof-card {
  border: 1.5px solid var(--border); border-radius: 14px; padding: 0.9rem;
  cursor: pointer; transition: all 0.2s; background: var(--cream); text-align: center;
}
.prof-card:hover { border-color: var(--sage); }
.prof-card.selected { border-color: var(--sage-dark); background: var(--sage-light); color: var(--sage-dark); }
.prof-icon { font-size: 1.4rem; margin-bottom: 0.3rem; }
.prof-name { font-size: 0.82rem; font-weight: 500; }

/* Payment methods */
.pay-method {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
  border: 1px solid var(--border); border-radius: 12px; font-size: 0.88rem;
  margin-bottom: 0.5rem; background: var(--cream);
}
.pay-badge {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem; border-radius: 100px; margin-left: auto;
}
.pay-badge-ok   { background: #DCFCE7; color: #15803D; }
.pay-badge-soon { background: #FAF4ED; color: var(--soon); }

/* Responsive */
@media (max-width: 900px) {
  .zone-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .carousel-track { height: 400px; }
  .carousel-card { width: 290px; padding: 1.5rem; }
  .carousel-card.prev { transform: translateX(-66%) scale(0.82); }
  .carousel-card.next { transform: translateX(66%)  scale(0.82); }
  .service-detail-inner { grid-template-columns: 1fr; }
  .detail-visual-box { height: 100px; font-size: 3rem; }
  .option-track { height: 580px; }
  .opt-card { width: 310px; padding: 1.75rem; }
  .opt-card.prev { transform: translateX(-62%) scale(0.83); }
  .opt-card.next { transform: translateX(62%)  scale(0.83); }
  .profile-grid { grid-template-columns: 1fr; }
  .floor-row { grid-template-columns: 1fr; }
  .tunnel-actions { flex-direction: column; }
  .tunnel-actions .btn { width: 100%; justify-content: center; }
  .opts-grid { grid-template-columns: 1fr; }
  .svc-sel-grid { grid-template-columns: 1fr; }
  .prof-grid { grid-template-columns: 1fr 1fr; }
  .time-slots-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 600px) {
  .opt-card { width: 270px; padding: 1.5rem; }
  .opt-price-big { font-size: 1.8rem; }
  .time-slots-grid { grid-template-columns: repeat(3,1fr); }
  .prof-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COURSES TUNNEL — COMPOSANTS SPÉCIFIQUES
   ============================================================ */

/* --- Sous-titre d'étape --- */
.tunnel-step-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 1.4rem 0 0.45rem;
}

/* --- Aides à la mobilité --- */
.mobility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0.75rem 0;
}
.mobility-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  font-size: 0.85rem;
  user-select: none;
}
.mobility-item:hover { transform: translateY(-1px); border-color: var(--sage); }
.mobility-item.active {
  border-color: var(--sage-dark);
  background: var(--sage-light);
  font-weight: 500;
}
.mobility-item input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--sage-dark);
  flex-shrink: 0;
}
.mobility-item-icon { font-size: 1.3rem; flex-shrink: 0; }

/* --- Onglets mode liste (opt3) --- */
.list-mode-tabs {
  display: flex;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.list-mode-tab {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.list-mode-tab.active { color: var(--sage-dark); border-bottom-color: var(--sage-dark); }
.list-mode-tab:hover:not(.active) { color: var(--charcoal); }

/* --- Zone de dépôt (QR & liste) --- */
.qr-drop-zone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  background: var(--warm-white);
}
.qr-drop-zone:hover { border-color: var(--sage); background: var(--sage-light); }
.qr-drop-zone.drag-over {
  border-color: var(--sage-dark);
  background: var(--sage-light);
  transform: scale(1.01);
}
.qr-drop-zone.has-file { border-color: var(--sage-dark); border-style: solid; background: var(--sage-light); }
.qr-drop-zone-icon { font-size: 2.2rem; margin-bottom: 0.4rem; }
.qr-drop-zone-label { font-size: 0.85rem; color: var(--muted); }
.qr-file-preview {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding: 0.65rem 0.9rem;
  background: var(--sage-light);
  border-radius: 10px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}
.qr-file-preview-name {
  flex: 1;
  color: var(--charcoal);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qr-file-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1rem; padding: 0 0.2rem;
  transition: color 0.2s;
}
.qr-file-remove:hover { color: var(--accent); }

/* --- Toggle adresse de retour (opt2) --- */
.return-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin: 0.65rem 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.87rem;
}
.return-toggle-row.active {
  border-color: var(--sage-dark);
  background: var(--sage-light);
}
.return-toggle-row input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--sage-dark);
  flex-shrink: 0;
}

/* --- Séparateur de section --- */
.shop-divider { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }

/* --- Animation fade-in section --- */
@keyframes fadeSectionIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.shop-fade { animation: fadeSectionIn 0.3s ease forwards; }
.tunnel-step { animation: fadeSectionIn 0.25s ease; }

/* --- Modes de paiement (récap) --- */
.payment-methods {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.pay-method {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
}
.pay-method.ok { background: var(--sage-light); border-color: var(--sage); color: var(--sage-dark); }
.pay-method.soon { background: var(--cream); border-color: var(--border); color: var(--muted); }
.badge-soon {
  font-size: 0.68rem;
  background: var(--soon);
  color: #fff;
  padding: 0.1em 0.45em;
  border-radius: 100px;
  margin-left: 0.15rem;
}

/* --- Responsive mobility grid --- */
@media (max-width: 480px) {
  .mobility-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AUTOCOMPLETE ADRESSE
   ============================================================ */
.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute;
  top: calc(100% + 3px); left: 0; right: 0; z-index: 300;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  display: none;
}
.autocomplete-item {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  transition: background 0.15s;
  color: var(--charcoal);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--sage-light); color: var(--sage-dark); }

/* --- Distance & Maps --- */
.dist-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}
.dist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sage-light);
  color: var(--sage-dark);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--sage);
}

/* ================================================================
   ANIMATIONS & MONTÉE EN GAMME — 2026
   ================================================================ */

/* ===== NAV : état "scrolled" ===== */
.nav {
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.nav.scrolled {
  background: rgba(247, 244, 238, 0.75);
  box-shadow: 0 10px 34px rgba(44, 44, 44, 0.09);
}

/* ===== HERO : dégradé animé + halos flottants ===== */
.hero { position: relative; }
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 520px; height: 520px;
  top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(107, 158, 122, 0.22), transparent 65%);
  animation: heroBlobA 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 420px; height: 420px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(232, 132, 74, 0.13), transparent 65%);
  animation: heroBlobB 20s ease-in-out infinite alternate;
}
@keyframes heroBlobA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-60px, 50px, 0) scale(1.15); }
}
@keyframes heroBlobB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(70px, -40px, 0) scale(1.1); }
}
.hero-inner { position: relative; z-index: 1; }

/* ===== HERO : parallaxe 3D (pilotée par js/animations.js) ===== */
.hero-visual { perspective: 900px; }
.floating-cards {
  transform-style: preserve-3d;
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg))
             translate3d(var(--parX, 0px), var(--parY, 0px), 0);
  transition: transform 0.25s ease-out;
  will-change: transform;
}

/* ===== FLOAT CARDS : effet verre + halo ===== */
.float-card {
  background: rgba(250, 250, 247, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.4s ease;
}
.float-card:hover {
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(107, 158, 122, 0.25),
    0 0 42px rgba(107, 158, 122, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ===== BANDE DE STATS + COMPTEURS ===== */
.stats-band {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.4rem 2rem;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== MARQUEE DES COMMUNES ===== */
.marquee {
  overflow: hidden;
  background: var(--sage-light);
  border-top: 1px solid var(--border);
  padding: 0.85rem 0;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  gap: 2.75rem;
  padding-right: 2.75rem;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.marquee-item::before { content: '·'; color: var(--sage); font-weight: 700; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== TRANSITIONS ENTRE PAGES (View Transitions API) ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: pageFadeOut 0.22s ease both;
}
::view-transition-new(root) {
  animation: pageFadeIn 0.3s ease 0.06s both;
}
@keyframes pageFadeOut {
  to { opacity: 0; transform: translateY(8px); }
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
}

/* ===== ACCESSIBILITÉ : mouvement réduit ===== */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .marquee-track,
  .float-1, .float-2, .float-3, .float-4 { animation: none !important; }
  .floating-cards { transform: none !important; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ===== TIMELINE "COMMENT ÇA MARCHE" ===== */
.how-section { background: var(--warm-white); padding: 5rem 0; }
.how-steps {
  max-width: 900px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--sage-light), var(--sage), var(--sage-light));
}
.how-step { text-align: center; position: relative; }
.how-step-num {
  width: 54px; height: 54px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--sage-dark);
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--warm-white), 0 6px 18px rgba(74, 122, 90, 0.3);
}
.how-step-title { font-weight: 600; font-size: 1.02rem; margin-bottom: 0.4rem; }
.how-step-desc  { font-size: 0.87rem; color: var(--muted); line-height: 1.6; max-width: 240px; margin: 0 auto; }
@media (max-width: 700px) {
  .how-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .how-steps::before { display: none; }
}

/* ===== FAQ ===== */
.faq-section { padding: 5rem 0; background: var(--cream); }
.faq-list { max-width: 760px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item[open] { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--sage-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== CTA STICKY MOBILE ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.sticky-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 700px) {
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 72px; }
}

/* ===== CHIPS ENSEIGNES (courses) ===== */
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.55rem 0 0.9rem;
}
.brand-chip {
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  color: var(--charcoal);
  border-radius: 100px;
  padding: 0.32rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.18s ease;
}
.brand-chip:hover { border-color: var(--sage); color: var(--sage-dark); }
.brand-chip.selected {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
}

/* ===== REVEALS ENRICHIS (variantes de scroll) ===== */
.reveal-left  { opacity: 0; transform: translateX(-38px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(38px);  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale { opacity: 0; transform: scale(0.92);       transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Entrée de page : le header glisse doucement */
.page-header .page-header-label,
.page-header .page-header-title,
.page-header .page-header-desc {
  animation: pageHeaderIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-header .page-header-title { animation-delay: 0.08s; }
.page-header .page-header-desc  { animation-delay: 0.16s; }
@keyframes pageHeaderIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .page-header .page-header-label,
  .page-header .page-header-title,
  .page-header .page-header-desc { animation: none; }
}

/* ===== FORMULES — panneau de détail des services (services.html) ===== */
.detail-formules {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.75rem;
}
.detail-formules-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.formule-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.4rem;
}
.formule-tab {
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.formule-tab:hover { border-color: var(--sage); }
.formule-tab.active {
  background: var(--sage-dark); border-color: var(--sage-dark); color: #fff;
}
.formule-tab .formule-tab-price { font-weight: 400; opacity: 0.75; margin-left: 0.35rem; }
.formule-head {
  display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 0.4rem;
}
.formule-head h4 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.formule-head .formule-price {
  font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; color: var(--sage-dark);
}
.formule-head .formule-price span { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.formule-pour {
  display: inline-flex; align-items: flex-start; gap: 0.5rem;
  background: var(--sage-light); border-radius: 12px;
  padding: 0.6rem 0.9rem; font-size: 0.85rem; color: var(--sage-dark);
  margin: 0.5rem 0 1.25rem;
}
.formule-cols {
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1.75rem;
}
.formule-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.75rem;
}
.fx-list { display: flex; flex-direction: column; gap: 0.55rem; }
.fx-item { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.86rem; line-height: 1.5; }
.fx-item .fx-ok { color: var(--sage-dark); flex-shrink: 0; margin-top: 1px; }
.fx-item .fx-no { color: #C0614A; flex-shrink: 0; margin-top: 1px; }
.fx-item.fx-off { color: var(--muted); }
.formule-steps { display: flex; flex-direction: column; gap: 0.7rem; counter-reset: fstep; }
.formule-step { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.86rem; line-height: 1.5; }
.formule-step-num {
  counter-increment: fstep;
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: var(--sage-light); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
}
.formule-note {
  display: flex; align-items: flex-start; gap: 0.6rem;
  background: var(--accent-light); border-radius: 12px;
  padding: 0.75rem 0.95rem; font-size: 0.82rem; line-height: 1.55;
  color: #7A4A28; margin-top: 1.4rem;
}
.formule-book { margin-top: 1.4rem; }
@media (max-width: 900px) {
  .formule-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .formule-tabs { gap: 0.4rem; }
  .formule-tab { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
}

/* Le panneau contient désormais les formules détaillées : hauteur élargie */
.service-detail-panel.open { max-height: 4500px; }

/* ===== ESPACE CLIENT & ADMIN ===== */
.espace-section { padding: 3rem 0 5rem; }
.auth-card {
  max-width: 430px; margin: 0 auto;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 22px; padding: 2.25rem;
}
.auth-card h2 { font-size: 1.45rem; font-weight: 500; margin-bottom: 0.4rem; }
.auth-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; }
.auth-field { margin-bottom: 1rem; }
.auth-switch { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 1.25rem; }
.auth-switch a { color: var(--sage-dark); font-weight: 600; cursor: pointer; }
.auth-error {
  display: none; background: #FBEDE9; color: #A34A32;
  border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.85rem; margin-bottom: 1rem;
}
.auth-info {
  display: none; background: var(--sage-light); color: var(--sage-dark);
  border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.85rem; margin-bottom: 1rem;
}
.esp-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.esp-header h2 { font-size: 1.5rem; font-weight: 500; }
.esp-header .esp-mail { font-size: 0.85rem; color: var(--muted); }
.esp-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.esp-tab {
  border: 1.5px solid var(--border); background: var(--warm-white);
  border-radius: 999px; padding: 0.55rem 1.2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600;
  color: var(--charcoal); cursor: pointer; position: relative;
}
.esp-tab.active { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }
.esp-tab .tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 19px; height: 19px; border-radius: 999px; padding: 0 5px;
  background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; margin-left: 0.4rem;
}
.resa-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 18px; padding: 1.4rem 1.5rem; margin-bottom: 1rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center;
}
.resa-card .resa-icon { font-size: 1.9rem; }
.resa-card .resa-name { font-weight: 600; font-size: 0.95rem; }
.resa-card .resa-meta { font-size: 0.83rem; color: var(--muted); margin-top: 0.15rem; }
.resa-card .resa-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.55rem; }
.resa-amount { font-family: 'Fraunces', serif; font-weight: 600; color: var(--charcoal); }
.st-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.28rem 0.8rem;
  font-size: 0.75rem; font-weight: 700;
}
.st-badge .st-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-paid    { background: var(--accent-light); color: #A3622F; }
.st-paid .st-dot { animation: dot-blink 1.3s ease-in-out infinite; }
@keyframes dot-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.st-confirmed { background: var(--sage-light); color: var(--sage-dark); }
.st-pending   { background: var(--cream); color: var(--muted); }
.st-cancelled { background: #FBEDE9; color: #A34A32; }
.st-done      { background: var(--sage-light); color: var(--sage-dark); }
.esp-empty {
  text-align: center; color: var(--muted); font-size: 0.9rem;
  padding: 3rem 1rem; background: var(--warm-white);
  border: 1px dashed var(--border); border-radius: 18px;
}
/* Messagerie */
.chat-wrap {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; height: 480px;
}
.chat-scroll { flex: 1; overflow-y: auto; padding: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chat-msg { max-width: 78%; padding: 0.65rem 0.95rem; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg small { display: block; font-size: 0.68rem; opacity: 0.65; margin-top: 0.25rem; }
.chat-msg.me   { align-self: flex-end; background: var(--sage-dark); color: #fff; border-bottom-right-radius: 5px; }
.chat-msg.them { align-self: flex-start; background: var(--cream); color: var(--charcoal); border-bottom-left-radius: 5px; }
.chat-input-row { display: flex; gap: 0.6rem; border-top: 1px solid var(--border); padding: 0.85rem; }
.chat-input-row input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0.65rem 1.1rem; font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  background: #fff; outline: none;
}
.chat-input-row input:focus { border-color: var(--sage); }
/* Admin : liste des fils */
.thread-item {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 14px; padding: 0.9rem 1.2rem; margin-bottom: 0.6rem; cursor: pointer;
}
.thread-item:hover { border-color: var(--sage); }
.thread-item .th-mail { font-weight: 600; font-size: 0.9rem; }
.thread-item .th-last { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.admin-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-validate {
  background: var(--sage-dark); color: #fff; border: none; border-radius: 999px;
  padding: 0.5rem 1.1rem; font-family: 'DM Sans', sans-serif; font-size: 0.83rem; font-weight: 600; cursor: pointer;
}
.btn-cancel-resa {
  background: none; color: #A34A32; border: 1.5px solid #E8C7BE; border-radius: 999px;
  padding: 0.5rem 1.1rem; font-family: 'DM Sans', sans-serif; font-size: 0.83rem; font-weight: 600; cursor: pointer;
}
@media (max-width: 700px) {
  .resa-card { grid-template-columns: auto 1fr; }
  .resa-card .resa-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .chat-wrap { height: 420px; }
}
