/* ============================================
   HAVEN — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&family=DM+Mono:wght@300;400&display=swap');

:root {
  --bg:              #FFFFFF;
  --white:           #FFFFFF;
  --text:            #141414;
  --text-2:          #5A5A5A;
  --text-3:          #9A9A9A;
  --border:          rgba(20,20,20,.09);
  --border-md:       rgba(20,20,20,.16);
  --border-strong:   rgba(20,20,20,.18);
  --surface:         #FCFBF9;
  --surface-line:    rgba(20,20,20,.05);

  --lavender:        #9b79f7;
  --lavender-lt:     #F4EFFF;
  --lavender-glow:   rgba(155,121,247,.13);
  --peach:           #ebac3f;
  --peach-lt:        #FFF5E3;
  --peach-glow:      rgba(235,172,63,.12);
  --mint:            #23b889;
  --mint-lt:         #EAFAF4;
  --mint-glow:       rgba(35,184,137,.12);
  --rose:            #23b889;
  --rose-lt:         #EAFAF4;
  --rose-glow:       rgba(35,184,137,.12);
  --blueviolet:      #9b79f7;
  --blueviolet-lt:   #F4EFFF;

  --trait-energy:      #ebac3f;
  --trait-social:      #9b79f7;
  --trait-sensitivity: #23b889;

  --accent-violet:   #9b79f7;
  --accent-amber:    #ebac3f;
  --accent-green:    #23b889;
  --accent-glow:     0 0 0 3px rgba(155,121,247,.12);

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-full: 9999px;

  --sh-xs:  0 1px 2px rgba(20,20,20,.04), 0 10px 28px rgba(20,20,20,.04);
  --sh-sm:  0 2px 4px rgba(20,20,20,.05), 0 16px 42px rgba(20,20,20,.06);
  --sh-md:  0 4px 10px rgba(20,20,20,.06), 0 24px 64px rgba(20,20,20,.08);
  --sh-lg:  0 8px 18px rgba(20,20,20,.07), 0 36px 90px rgba(20,20,20,.10);

  --max:    1320px;
  --gutter: clamp(24px, 6vw, 96px);
  --col:    calc((var(--max) - var(--gutter) * 2) / 12);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor [role="button"] {
    cursor: none;
  }

  .cursor-ring,
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    will-change: transform, opacity;
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid var(--cursor-color, rgba(20,20,20,.72));
    background: transparent;
    transition: width .22s ease, height .22s ease, border-color .22s ease, opacity .22s ease;
  }

  .cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--cursor-color-solid, #141414);
    transition: transform .12s ease, opacity .18s ease, background .22s ease;
  }

  body.cursor-active .cursor-ring,
  body.cursor-active .cursor-dot {
    opacity: 1;
  }

  body.cursor-hover .cursor-ring {
    width: 44px;
    height: 44px;
    border-color: var(--cursor-color-soft, rgba(20,20,20,.42));
  }

body.cursor-hover .cursor-dot {
    transform: scale(.72);
    background: var(--cursor-accent, var(--accent-violet));
  }

  body.cursor-on-dark {
    --cursor-color: rgba(255,255,255,.82);
    --cursor-color-solid: #fff;
    --cursor-color-soft: rgba(255,255,255,.56);
    --cursor-accent: #fff;
  }
}

/* ── TYPOGRAPHY ─────────────────────────────── */

.display {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 200;
  letter-spacing: .06em;
  line-height: 1.05;
  text-transform: uppercase;
}
.display-sm {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 200;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
}
.heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.15;
}
.heading-sm {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.2;
}
.subheading {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.body-lg { font-size: 18px; font-weight: 300; line-height: 1.7; }
.body    { font-size: 15px; font-weight: 300; line-height: 1.7; }
.body-sm { font-size: 13px; font-weight: 300; line-height: 1.6; }
.mono    { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 300; letter-spacing: .08em; }

/* ── LAYOUT ─────────────────────────────────── */

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-sm { padding: clamp(48px, 8vw, 96px) 0; }

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

/* ── BLOBS (organic shapes) ─────────────────── */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .34;
}
.blob--lavender { background: var(--lavender); }
.blob--peach    { background: var(--peach); }
.blob--mint     { background: var(--mint); }
.blob--rose     { background: var(--rose); }
.blob--blue     { background: var(--blueviolet); }

/* ── BUTTONS ─────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: all .25s ease;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--text);
  color: var(--white);
}
.btn--primary:hover { background: #333; transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn--outline {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border-md);
}
.btn--outline:hover { border-color: var(--text); background: var(--white); box-shadow: var(--sh-xs); }

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  padding: 12px 20px;
}
.btn--ghost:hover { color: var(--text); }

.btn--lavender {
  background: var(--lavender-lt);
  color: var(--accent-violet);
  border: 1px solid rgba(155,121,247,.20);
}
.btn--lavender:hover {
  background: var(--accent-violet);
  color: var(--white);
  border-color: var(--accent-violet);
}

.btn-arrow::after { content: '→'; font-size: 14px; }

/* ── CARDS ───────────────────────────────────── */

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

/* ── TAGS / PILLS ────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.tag--lavender { background: rgba(155,121,247,.10); color: #7652D9; border-color: rgba(155,121,247,.20); }
.tag--peach    { background: rgba(235,172,63,.13); color: #A66F12; border-color: rgba(235,172,63,.24); }
.tag--mint     { background: rgba(35,184,137,.11); color: #168765; border-color: rgba(35,184,137,.22); }
.tag--rose     { background: rgba(35,184,137,.11); color: #168765; border-color: rgba(35,184,137,.22); }
.tag--neutral  { background: var(--white); color: var(--text-2); border-color: var(--border-md); }

.cart-count {
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0;
  vertical-align: middle;
}

.cart-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  padding: 14px 18px;
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--white);
  box-shadow: var(--sh-md);
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.cart-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}

/* ── NAV ─────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-mark {
  display: block;
  width: clamp(145px, 10vw, 180px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}
.nav__logo-text {
  font-size: 15px;
  font-weight: 200;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 12px; }

/* ── DECORATIVE ELEMENTS ─────────────────────── */

.crosshair {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.crosshair::before, .crosshair::after {
  content: '';
  position: absolute;
  background: var(--border-md);
}
.crosshair::before { width: 1px; height: 100%; left: 50%; transform: translateX(-50%); }
.crosshair::after  { height: 1px; width: 100%; top: 50%; transform: translateY(-50%); }

.label-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

.dot-grid {
  background-image: radial-gradient(circle, rgba(20,20,20,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── ENERGY BAR ─────────────────────────────── */

.energy-bar {
  display: flex;
  gap: 4px;
  align-items: center;
}
.energy-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-md);
}
.energy-bar__dot.active { background: var(--trait-energy); }

/* ── FORM ────────────────────────────────────── */

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.form-input:focus { border-color: var(--accent-violet); box-shadow: var(--accent-glow); }
.form-input::placeholder { color: var(--text-3); }

select.form-input { appearance: none; 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 d='M1 1l5 5 5-5' stroke='%239a9a9a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

/* ── PROGRESS / STEP ─────────────────────────── */

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.step.active { color: var(--text); }
.step.done { color: var(--mint); }
.step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 400;
}
.step.active .step__num { background: var(--text); color: var(--white); border-color: var(--text); }
.step.done .step__num { background: var(--mint); color: var(--white); border-color: var(--mint); }
.step__line { width: 48px; height: 1px; background: var(--border-md); margin: 0 8px; }

/* ── ACCORDION / FAQ ─────────────────────────── */

.accordion-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  cursor: pointer;
  gap: 24px;
}
.accordion-trigger:hover { color: var(--accent-violet); }
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  transition: all .25s;
}
.accordion-icon::before, .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--text-2);
  transition: all .25s;
}
.accordion-icon::before { width: 8px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.accordion-icon::after  { width: 1px; height: 8px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.accordion-item.open .accordion-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-body-inner { padding: 0 0 24px; color: var(--text-2); font-size: 15px; line-height: 1.75; }

/* ── FOOTER ──────────────────────────────────── */

.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 80px var(--gutter) 40px;
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
}
.footer__logo img {
  display: block;
  width: clamp(130px, 9vw, 170px);
  height: auto;
}
.footer__brand p { color: var(--text-2); margin-top: 16px; max-width: 280px; font-size: 14px; line-height: 1.7; }
.footer__col h4 { font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col ul a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.footer__col ul a:hover { color: var(--text); }
.footer__bottom {
  max-width: var(--max);
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom p { font-size: 12px; color: var(--text-3); }

/* ── PAGE HEADER ─────────────────────────────── */

.page-header {
  padding: 160px var(--gutter) 80px;
  position: relative;
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto;
}

/* ── UTILITIES ───────────────────────────────── */

.pt-nav { padding-top: 72px; }
.text-center { text-align: center; }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-lavender {
  color: var(--accent-violet);
}
.text-peach { color: var(--accent-amber); }
.text-mint { color: var(--accent-green); }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.wrap { flex-wrap: wrap; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .grid-12 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* --- White canvas refresh -------------------------------------------- */
body,
.page-header,
.footer,
.problems,
.promise,
.dogs-section,
.services-section,
.final-cta,
.values,
.story,
.rooms-section,
.booking-section,
.testimonials,
.pricing,
.shop-featured,
.related,
.horaires,
.visit-info,
.center-network,
.faq-still,
.manifesto,
.team {
  background: var(--white) !important;
}

.hero__right,
.stay-hero__right,
.visit-hero__right {
  background: var(--white) !important;
  border-left: 1px solid var(--border);
  box-shadow: inset 36px 0 72px rgba(20,20,20,.025);
}

.card,
.problem-card,
.pillar,
.dog-card,
.dog-card-lg,
.service-card,
.room-card,
.calendar-card,
.booking-summary,
.testimonial-card,
.product-card,
.cart-summary,
.crosssell-card,
.faq-contact-card,
.value-cell,
.team-card,
.center-card,
.visit-info-card,
.acces-card,
.contact-form-card,
.contact-info-card,
.map-card,
.option-card,
.option-list-item,
.payment-option,
.type-btn,
.profile-card,
.profile-trait,
.profile-compat-item,
.result-card-primary,
.pricing-card:not(.pricing-card--featured),
[style*="background:var(--bg)"] {
  background: var(--white) !important;
  border-color: var(--border-strong) !important;
  box-shadow: var(--sh-xs);
}

.card:hover,
.problem-card:hover,
.pillar:hover,
.dog-card:hover,
.dog-card-lg:hover,
.service-card:hover,
.room-card:hover,
.testimonial-card:hover,
.product-card:hover,
.crosssell-card:hover,
.faq-contact-card:hover,
.team-card:hover,
.center-card:hover,
.visit-info-card:hover,
.acces-card:hover,
.pricing-card:not(.pricing-card--featured):hover {
  box-shadow: var(--sh-md) !important;
}

.service-card,
.calendar-card,
.contact-info-card,
.profile-card__team,
.product-gallery__thumb,
.product-feature__icon,
.crosssell-card__add {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,251,249,.98)) !important;
}

.pillars,
.problem-cards,
.dogs-grid,
.services-grid,
.rooms-grid,
.testimonials-grid,
.pricing-grid,
.related__products,
.cart-items,
.center-grid {
  isolation: isolate;
}

.problem-card::before,
.service-card__glow,
.hero__blob-main,
.hero__blob-2,
.stay-hero__blob,
.map-card__blob,
.final-cta__blob {
  opacity: .16 !important;
}

.value-cell:hover,
.pillar:hover,
.option-card.selected,
.option-list-item.selected,
.payment-option.selected,
.type-btn.selected {
  background: linear-gradient(180deg, var(--white), var(--lavender-lt)) !important;
}

.form-input,
select.form-input,
textarea.form-input {
  background: var(--white);
  border-color: var(--border-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.footer,
.nav {
  box-shadow: 0 1px 0 rgba(20,20,20,.04);
}
