/* ==========================================================================
   SuiteAI — Légal, cookies, contact mobile, badge avis, disponibilités, prix
   ========================================================================== */
.sai-btn-gold, .sai-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.75rem 1.4rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: all .3s var(--ease-out-expo); text-decoration: none;
}
.sai-btn-gold { background: linear-gradient(135deg, var(--gold-light, #E8D5A8), var(--gold, #C9A96E) 50%, var(--gold-dark, #A68B5B)); color: #0D0D0D; border: 0; }
.sai-btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sai-btn-ghost { background: transparent; color: #f5f0e8; border: 1px solid rgba(201,169,110,0.45); }
.sai-btn-ghost:hover { border-color: var(--gold); color: var(--gold-light, #E8D5A8); }

/* ---------- Pages légales ---------- */
.footer-bottom .sai-legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201,169,110,0.4); cursor: pointer; }
.footer-bottom .sai-legal-links a:hover { color: var(--gold); }
.sai-legal { position: fixed; inset: 0; z-index: 100001; display: none; cursor: auto; }
.sai-legal.open { display: flex; align-items: center; justify-content: center; }
.sai-legal-bg { position: absolute; inset: 0; background: rgba(5,5,5,0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sai-legal-panel {
  position: relative; width: min(760px, 94vw); max-height: 86vh; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #181716, #111010); border: 1px solid rgba(201,169,110,0.2);
  border-radius: 18px; padding: 2.6rem 2.4rem 2rem; box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  animation: saiIn .5s var(--ease-out-expo);
}
@keyframes saiIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.sai-legal-title { font-family: var(--font-heading); font-weight: 400; font-size: 2rem; color: var(--gold-light, #E8D5A8); margin: 0 0 1.4rem; }
.sai-legal-body h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; color: var(--gold); margin: 1.6rem 0 0.5rem; }
.sai-legal-body p, .sai-legal-body li { font-size: 0.86rem; line-height: 1.75; color: rgba(245,240,232,0.75); }
.sai-legal-body ul { padding-left: 1.1rem; margin: 0; }
.sai-legal-body strong { color: #f5f0e8; font-weight: 600; }
.sai-legal-body a { color: var(--gold); }
.sai-legal-date { margin-top: 1.6rem; font-size: 0.75rem !important; opacity: 0.6; }
.sai-legal-close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #fff;
}
.sai-legal-close:hover { background: var(--gold); color: #0D0D0D; }

/* ---------- Bandeau cookies ---------- */
.sai-consent {
  position: fixed; left: 50%; bottom: 1.2rem; z-index: 99990; width: min(720px, calc(100vw - 2rem));
  transform: translate(-50%, 140%); transition: transform .6s var(--ease-out-expo);
  display: flex; align-items: center; gap: 1.2rem;
  background: rgba(17,16,15,0.96); border: 1px solid rgba(201,169,110,0.25); border-radius: 16px;
  padding: 1rem 1.2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.5); backdrop-filter: blur(12px); cursor: auto;
}
.sai-consent.show { transform: translate(-50%, 0); }
.sai-consent p { margin: 0; font-size: 0.78rem; line-height: 1.55; color: rgba(245,240,232,0.8); }
.sai-consent p strong { color: var(--gold-light, #E8D5A8); }
.sai-consent a { color: var(--gold); }
.sai-consent-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.sai-consent .sai-btn-gold, .sai-consent .sai-btn-ghost { padding: 0.6rem 1.1rem; font-size: 0.7rem; }
.sai-consent-ph { text-align: center; padding: 2rem 1.5rem; border: 1px dashed rgba(201,169,110,0.3); border-radius: 14px; max-width: 520px; margin: 0 auto; }
.sai-consent-ph i { color: var(--gold); font-size: 1.4rem; }
.sai-consent-ph p { font-size: 0.85rem; color: rgba(245,240,232,0.7); margin: 0.8rem 0 1.1rem; line-height: 1.6; }
.sg-lb-consent { display: flex; align-items: center; justify-content: center; text-align: center; background: #0b0b0b center/cover no-repeat; position: relative; }
.sg-lb-consent::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.65); border-radius: 8px; }
.sg-lb-consent > div { position: relative; padding: 1.5rem; max-width: 420px; }
.sg-lb-consent p { color: #f5f0e8; font-size: 0.9rem; margin-bottom: 1rem; }

@media (max-width: 768px) {
  .sai-consent { flex-direction: column; align-items: stretch; gap: 0.7rem; padding: 0.8rem 0.9rem; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .sai-consent p { font-size: 0.72rem; }
  .sai-consent-actions .sai-btn-gold, .sai-consent-actions .sai-btn-ghost { flex: 1; }
  .sai-legal-panel { padding: 2.2rem 1.3rem 1.6rem; max-height: 90vh; }
  .sai-legal-title { font-size: 1.6rem; }
}

/* ---------- Curseur : la flèche normale reste visible ---------- */
body { cursor: auto; }
a, button, [role="button"], label, select, summary, .sg-tile, .sai-cal-day, .sai-sat { cursor: pointer; }
input, textarea { cursor: text; }
.cursor-dot { display: none !important; }
.cursor { opacity: 0.55; }

/* ---------- Vidéo d'ambiance du hero ---------- */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.4s ease; z-index: 0;
  transform: scale(1.15); will-change: transform;
}
.hero-video.on { opacity: 1; }
.hero-overlay { z-index: 1; }

/* ---------- Badge note Google ---------- */
.hero-rating {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: -0.6rem auto 1.4rem; padding: 0.45rem 1rem 0.45rem 0.8rem;
  border-radius: 999px; background: rgba(13,13,13,0.45); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fbf6ec; font-size: 0.78rem; letter-spacing: 0.03em; text-decoration: none;
  transition: border-color .3s, background .3s;
}
a.hero-rating:hover { border-color: var(--gold); background: rgba(13,13,13,0.6); }
.sai-stars { color: #F5C451; font-size: 0.72rem; letter-spacing: 1px; display: inline-flex; gap: 1px; }
.motion-on .hero-rating { opacity: 0; transform: translateY(20px); }
.hero-rating { display: flex; width: fit-content; max-width: 100%; }
body[data-layout="magazine"] .hero-rating { margin-left: 0; }
body[data-layout="asymetrique"] .hero-rating { margin-right: 0; }
@media (max-width: 768px) { body[data-layout] .hero-rating { margin-left: auto; margin-right: auto; } .hero-rating { font-size: 0.72rem; } }

.sai-rating-head {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.6rem;
  padding: 0.9rem 1.4rem; border-radius: 16px; border: 1px solid rgba(201,169,110,0.2); background: rgba(255,255,255,0.02);
}
.sai-rating-score { font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; color: var(--gold-light, #E8D5A8); }
.sai-rating-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.sai-rating-head .sai-stars { font-size: 0.9rem; }
.sai-rating-sub { font-size: 0.75rem; color: var(--text-muted, #999); }
.sai-rating-sub a { color: var(--gold); }
.sai-mn-block { max-width: 900px; margin: 3.5rem auto 0; padding: 0 4%; text-align: center; }
.sai-mn-title { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.sai-mn-title i { margin-right: 0.35rem; }

/* ---------- Prix « à partir de » ---------- */
.service-card .service-price {
  margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(201,169,110,0.15);
  font-family: var(--font-heading); font-size: 1.25rem; font-style: italic; color: var(--gold-light, #E8D5A8);
}
.service-card .service-price:empty { display: none; }
.service-card .service-price { line-height: 1.3; }
.service-card .service-price.is-placeholder { opacity: 0.45; font-size: 0.95rem; }

/* ---------- Bouton Contact mobile ---------- */
@media (max-width: 768px) {
  html.sai-has-bottom-nav .whatsapp-float, html.sai-has-bottom-nav .ai-chat-btn { display: none !important; }
}
.sai-sheet { position: fixed; inset: 0; z-index: 100002; pointer-events: none; }
.sai-sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity .35s; }
.sai-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 1rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  background: #151413; border-top: 1px solid rgba(201,169,110,0.25); border-radius: 22px 22px 0 0;
  transform: translateY(105%); transition: transform .45s var(--ease-out-expo);
}
.sai-sheet.open { pointer-events: auto; }
.sai-sheet.open .sai-sheet-bg { opacity: 1; }
.sai-sheet.open .sai-sheet-panel { transform: none; }
.sai-sheet-grip { display: block; width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.2); margin: 0 auto 0.9rem; }
.sai-sheet-title { font-family: var(--font-heading); font-size: 1.4rem; color: #f5f0e8; margin: 0 0 0.6rem 0.3rem; }
.sai-sheet-item {
  display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 0.8rem 0.4rem;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: #f5f0e8; text-align: left; text-decoration: none;
  font-family: var(--font-body);
}
.sai-sheet-item:last-child { border-bottom: 0; }
.sai-sheet-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(201,169,110,0.12); color: var(--gold); font-size: 1rem; }
.sai-ic-wa { background: rgba(37,211,102,0.14); color: #25D366; }
.sai-ic-tel { background: rgba(102,187,106,0.14); color: #66bb6a; }
.sai-sheet-tx { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; }
.sai-sheet-tx strong { font-size: 0.92rem; font-weight: 600; }
.sai-sheet-tx small { font-size: 0.74rem; color: rgba(245,240,232,0.55); }
.sai-sheet-chev { color: rgba(255,255,255,0.25); font-size: 0.75rem; }

/* ---------- Disponibilités ---------- */
.sai-avail { text-align: center; }
.sai-avail-wrap {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; text-align: left;
}
.sai-cal { background: rgba(255,255,255,0.02); border: 1px solid rgba(201,169,110,0.15); border-radius: 18px; padding: 1.4rem; }
.sai-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.sai-cal-head strong { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 400; color: #f5f0e8; }
.sai-cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(201,169,110,0.3); background: transparent; color: var(--gold); }
.sai-cal-nav:disabled { opacity: 0.25; cursor: default; }
.sai-cal-nav:not(:disabled):hover { background: var(--gold); color: #0D0D0D; }
.sai-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sai-cal-dow { font-size: 0.68rem; letter-spacing: 0.12em; color: rgba(245,240,232,0.4); text-align: center; padding-bottom: 0.3rem; }
.sai-cal-dow.we { color: var(--gold); }
.sai-cal-day {
  aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-family: var(--font-body); border: 1px solid transparent; background: none; color: inherit; padding: 0;
}
.sai-cal-day.available { background: rgba(102,187,106,0.08); color: #a8dcab; border-color: rgba(102,187,106,0.18); transition: all .25s; }
.sai-cal-day.available:hover { background: var(--gold); color: #0D0D0D; border-color: var(--gold); transform: scale(1.08); }
.sai-cal-day.available.we { border-color: rgba(102,187,106,0.45); font-weight: 600; }
.sai-cal-day.option { background: rgba(255,152,0,0.12); color: #FFB74D; }
.sai-cal-day.booked { background: rgba(239,83,80,0.1); color: rgba(239,83,80,0.75); text-decoration: line-through; }
.sai-cal-day.past { opacity: 0.2; }
.sai-cal-day.today { box-shadow: inset 0 0 0 1px var(--gold); }
.sai-avail-kicker { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.sai-sat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.sai-sat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; padding: 0.8rem 0.9rem; border-radius: 12px;
  border: 1px solid rgba(201,169,110,0.2); background: rgba(255,255,255,0.02); color: #f5f0e8; text-align: left; transition: all .3s;
}
.sai-sat span { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,240,232,0.5); }
.sai-sat strong { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 500; }
.sai-sat small { font-size: 0.7rem; color: rgba(245,240,232,0.45); }
.sai-sat:hover { border-color: var(--gold); background: rgba(201,169,110,0.08); transform: translateY(-2px); }
.sai-legend { display: flex; gap: 1rem; margin-top: 1.3rem; font-size: 0.72rem; color: rgba(245,240,232,0.6); flex-wrap: wrap; }
.sai-legend .lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 0.35rem; vertical-align: -1px; }
.lg.available { background: rgba(102,187,106,0.5); } .lg.option { background: rgba(255,152,0,0.6); } .lg.booked { background: rgba(239,83,80,0.55); }
.sai-avail-note { font-size: 0.76rem; color: rgba(245,240,232,0.5); margin-top: 0.9rem; line-height: 1.6; }
@media (max-width: 860px) {
  .sai-avail-wrap { grid-template-columns: 1fr; padding: 0 0.2rem; }
  .sai-cal { padding: 1rem; }
  .sai-cal-grid { gap: 4px; }
  .sai-cal-day { font-size: 0.8rem; border-radius: 8px; }
}
