/* ============================================================
   Sillage Palace Spa — feuille de style unique
   Fidèle au design de référence (accueil.dc.html).
   Propriétés logiques (inline-start/end) => le RTL arabe
   fonctionne sans feuille dédiée.
   ============================================================ */

:root {
  --bg: #F7F2EA;            /* fond crème */
  --card: #FFFDF9;          /* fond des cartes */
  --alt: #F1EADC;           /* section alternative */
  --ink: #2B241C;           /* texte principal */
  --footer-bg: #20180D;     /* fond du pied de page */
  --green: #1E4D40;         /* vert principal */
  --green-dark: #163a30;    /* vert survol */
  --gold: #B4915A;          /* doré accent */
  --gold-hover: #c7a56c;
  --gold-light: #D8BE8C;    /* doré clair (sur fond sombre) */
  --cream: #F7F2EA;
  --border-25: rgba(180, 145, 90, .25);
  --border-30: rgba(180, 145, 90, .3);
  --border-35: rgba(180, 145, 90, .35);
  --border-40: rgba(180, 145, 90, .4);
  --border-50: rgba(180, 145, 90, .5);
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; }

/* --- Polices arabes : l'arabe ne supporte pas l'espacement de lettres
       (il casse la liaison des caractères) --- */
html[lang="ar"] body { font-family: 'Noto Sans Arabic', var(--sans); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] .offer-price, html[lang="ar"] .treatment-price,
html[lang="ar"] .rooftop-card-price, html[lang="ar"] .faq-sign {
  font-family: 'Noto Naskh Arabic', var(--serif);
}
html[lang="ar"] * { letter-spacing: 0 !important; }

/* ============ Éléments communs ============ */

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--gold-light); font-size: 12.5px; }
.center { text-align: center; }

.section { max-width: 1200px; margin: 0 auto; padding: 84px 20px; }

.section-title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 1px;
}
.section-title.center { margin-inline: auto; }

.section-title-sm {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: 1px;
}

.divider { width: 56px; height: 1px; background: var(--gold); margin: 0 auto 46px; }

.body-text { margin: 0 0 26px; font-size: 15.5px; line-height: 1.75; color: rgba(43, 36, 28, .78); }
.body-text.no-margin { margin: 0; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  font-weight: 500;
  text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { flex: none; }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--footer-bg); }
.btn-gold:hover { background: var(--gold-hover); color: var(--footer-bg); }
.btn-outline-light { border: 1px solid rgba(247, 242, 234, .55); color: var(--cream); }
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline-green { border: 1px solid var(--green); color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: var(--cream); }

.btn-lg { padding: 15px 32px; font-size: 14.5px; letter-spacing: 1.5px; }
.btn-outline-light.btn-lg { padding: 14px 30px; }
.btn-md { padding: 14px 28px; font-size: 14px; letter-spacing: 1.5px; }
.btn-outline-green.btn-md { padding: 13px 26px; }
.btn-sm { flex: 1; padding: 11px 10px; font-size: 13px; letter-spacing: 1px; }
.btn-header { padding: 10px 18px; font-size: 13.5px; letter-spacing: 1px; }
.btn-sticky { flex: 1; padding: 14px 10px; font-size: 14.5px; letter-spacing: 1.5px; }

/* Placeholders photo (rayures) — photos à fournir par le client */
.photo-ph {
  background: repeating-linear-gradient(45deg, #EDE5D6 0 14px, #E5DCCA 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-ph span {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: rgba(43, 36, 28, .55);
  text-align: center;
  padding: 0 20px;
}

/* ============ En-tête ============ */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border-35);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Décalage d'ancre : les sections ne passent pas sous l'en-tête collant */
section[id] { scroll-margin-top: 84px; }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.header-menu {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

/* Bouton burger — visible uniquement sur mobile */
.burger {
  display: none;
  margin-inline-start: auto;
  background: none;
  border: 1px solid var(--border-50);
  border-radius: 3px;
  padding: 9px 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.logo-plate {
  display: flex;
  align-items: center;
  background: var(--green);
  border-radius: 3px;
  padding: 7px 16px;
}
.logo-plate img { height: 46px; width: auto; display: block; }

.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-inline-start: auto;
  font-size: 14px;
  letter-spacing: .4px;
}
.main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--gold); }
.main-nav a.is-active {
  color: var(--green);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--border-50);
  border-radius: 3px;
  padding: 5px 9px;
  font-size: 12px;
  letter-spacing: 1px;
}
.lang-switch svg { display: block; }
.lang-current { display: flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; }
.lang-link { display: flex; align-items: center; gap: 4px; color: rgba(43, 36, 28, .6); }
.lang-link:hover { color: var(--gold); }
.lang-sep { color: rgba(43, 36, 28, .35); }

/* ============ 1. Hero ============ */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 12, .78) 0%, rgba(20, 17, 12, .25) 55%, rgba(20, 17, 12, .15) 100%);
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 60px 20px 64px;
  color: var(--cream);
}
.hero-content .eyebrow { margin-bottom: 14px; }
.hero-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.12;
  letter-spacing: 1px;
  max-width: 820px;
  text-wrap: balance;
}
.hero-sub {
  margin: 0 0 30px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  max-width: 620px;
  color: rgba(247, 242, 234, .92);
}
.hero-trust { margin: 26px 0 0; font-size: 13px; letter-spacing: 2px; color: rgba(247, 242, 234, .8); }

/* ============ 2. Trois plaisirs ============ */

.pillars-section { padding-bottom: 40px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}
.pillar { display: flex; flex-direction: column; gap: 16px; }

.arch-frame {
  border: 1px solid var(--border-50);
  border-radius: 170px 170px 4px 4px;
  padding: 8px;
  background: var(--card);
}
.arch-frame img {
  width: 100%;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
  border-radius: 160px 160px 3px 3px;
  display: block;
}
.arch-ph { width: 100%; aspect-ratio: 3 / 3.4; border-radius: 160px 160px 3px 3px; }

.pillar-title {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 1px;
}
.pillar-text { margin: 0; text-align: center; font-size: 14.5px; line-height: 1.65; color: rgba(43, 36, 28, .75); }

/* ============ 3. Journée d'exception ============ */

.day-section { background: var(--green); color: var(--cream); margin-top: 60px; }
.day-inner { max-width: 1200px; margin: 0 auto; padding: 84px 20px; }
.day-inner .section-title { margin-bottom: 16px; }
.day-intro { margin: 0 0 48px; max-width: 640px; font-size: 15.5px; line-height: 1.7; color: rgba(247, 242, 234, .85); }

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid rgba(216, 190, 140, .35);
}
.timeline-item {
  padding: 30px 24px;
  border-inline-end: 1px solid rgba(216, 190, 140, .25);
}
.timeline-item:first-child { padding-inline-start: 0; }
.timeline-item:last-child { padding-inline-end: 0; border-inline-end: none; }
.timeline-time { margin: 0 0 8px; font-size: 12.5px; letter-spacing: 3px; color: var(--gold-light); }
.timeline-title { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 26px; }
.timeline-text { margin: 0; font-size: 14.5px; line-height: 1.65; color: rgba(247, 242, 234, .8); }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
/* Cartes d'offre : fond blanc, texte foncé, accents dorés (sur la section vert foncé) */
.offer-card {
  background: var(--card);
  border: 1px solid var(--border-50);
  border-radius: 4px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.offer-card--highlight { background: #FFF9EF; border-color: var(--gold); }
.offer-label { margin: 0; font-size: 11.5px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.offer-price { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--green); }
.price-old { font-size: 19px; font-weight: 500; color: rgba(43, 36, 28, .45); text-decoration: line-through; }
.offer-text { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(43, 36, 28, .7); }

.day-ctas { margin-top: 44px; }

/* ============ 4. Soins & tarifs ============ */

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}
.treatment-card {
  background: var(--card);
  border: 1px solid var(--border-35);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--gold);
  color: var(--footer-bg);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.treatment-card > img {
  width: 100%;
  aspect-ratio: 4 / 2.7;
  object-fit: cover;
  display: block;
}
/* Placeholder rayé si l'image d'un soin n'est pas encore déposée */
.treatment-ph { width: 100%; aspect-ratio: 4 / 2.7; }
.treatment-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.treatment-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: .4px;
}
.treatment-desc { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(43, 36, 28, .7); }
.treatment-price {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  color: var(--green);
}
.price-old-sm { font-size: 17px; color: rgba(43, 36, 28, .45); text-decoration: line-through; font-weight: 500; }
.treatment-ctas { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; }

.treatments-note { margin: 40px 0 0; text-align: center; font-size: 13px; letter-spacing: 2px; color: rgba(43, 36, 28, .6); }

/* ============ 5. Restaurant ============ */

.resto-section {
  background: var(--card);
  border-top: 1px solid var(--border-30);
  border-bottom: 1px solid var(--border-30);
}
.split-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
  align-items: center;
}
.resto-ph { width: 100%; aspect-ratio: 16 / 11; border-radius: 4px; }
.resto-img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 4px; display: block; }

/* ============ 6. Rooftop ============ */

.rooftop-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 36px;
}
.rooftop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  align-items: start;
}
.rooftop-grid .section-title-sm { margin-bottom: 16px; }
.rooftop-card {
  border: 1px solid var(--border-50);
  border-radius: 4px;
  padding: 26px 28px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rooftop-card-label {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}
.rooftop-card-price { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--green); }
.rooftop-card-text { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: rgba(43, 36, 28, .75); }
.rooftop-card-ctas { display: flex; gap: 10px; }
.rooftop-card-ctas .btn-sm { padding: 12px 10px; font-size: 13.5px; }

/* ============ 7. Emplacement ============ */

.location-section { background: var(--alt); border-top: 1px solid var(--border-30); }
.location-title { margin-bottom: 26px; }

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  color: rgba(43, 36, 28, .82);
}
.feature-list li { display: flex; gap: 12px; align-items: baseline; }
.tick { width: 22px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }

.location-address { margin: 26px 0 0; font-size: 14px; color: rgba(43, 36, 28, .65); }

.map-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, #E8E0CF 0 14px, #E0D6C2 14px 28px);
}
.map-embed {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 4px;
  display: block;
}

/* ============ 8. Avis ============ */

.reviews-section .section-title { margin-bottom: 16px; }
.reviews-rating { margin: 0 0 44px; text-align: center; font-size: 16px; color: var(--green); }
.stars { color: var(--gold); letter-spacing: 3px; }
.stars-sm { font-size: 14px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.review-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border-35);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: rgba(43, 36, 28, .78); font-style: italic; }
.review-card footer { font-size: 13px; letter-spacing: 1.5px; color: rgba(43, 36, 28, .6); }

.reviews-cta { margin: 36px 0 0; text-align: center; }
.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border-40);
  border-radius: 3px;
  padding: 13px 26px;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .15s ease;
}
.btn-google:hover { border-color: var(--gold); color: var(--ink); }
.btn-google svg { flex: none; }

/* ============ 9. FAQ ============ */

.faq-section { max-width: 820px; margin: 0 auto; padding: 20px 20px 100px; }
.faq-title { margin-bottom: 40px; }

.faq-list { border-top: 1px solid var(--border-40); }
.faq-item { border-bottom: 1px solid var(--border-40); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  text-align: start;
}
html[lang="ar"] .faq-q { font-family: 'Noto Sans Arabic', var(--sans); }
.faq-sign { font-family: var(--serif); font-size: 24px; color: var(--gold); flex: none; }
.faq-a { margin: 0; padding: 0 4px 22px; font-size: 14.5px; line-height: 1.7; color: rgba(43, 36, 28, .72); }

/* ============ Pied de page ============ */

.site-footer { background: var(--footer-bg); color: rgba(247, 242, 234, .85); }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-brand { gap: 12px; align-items: flex-start; }
.footer-brand img { height: 76px; width: auto; display: block; }
.footer-brand p { margin: 8px 0 0; line-height: 1.7; }
.footer-eyebrow {
  margin: 0 0 4px;
  font-size: 11.5px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-col a { color: var(--cream); }
.footer-col a:hover { color: var(--gold-light); }
.footer-hours { margin: 6px 0 0; line-height: 1.7; }

.footer-bottom { border-top: 1px solid var(--border-25); }
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(247, 242, 234, .5);
}
.footer-credit a { color: rgba(247, 242, 234, .72); border-bottom: 1px solid rgba(180, 145, 90, .4); }
.footer-credit a:hover { color: var(--gold-light); }

/* ============ Barre CTA fixe ============ */

.sticky-spacer { height: 72px; }
.sticky-cta {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 50;
  background: rgba(247, 242, 234, .97);
  border-top: 1px solid var(--border-50);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ============ Bouton flottant Google Maps (mobile uniquement) ============ */

.maps-fab { display: none; }

/* ============ Mobile ============ */

@media (max-width: 900px) {
  /* Menu burger : la navigation et les actions passent dans un panneau déroulant */
  .burger { display: block; }
  .header-menu {
    display: none;
    flex: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 6px;
  }
  .header-menu.open { display: flex; }
  .main-nav { flex-direction: column; gap: 0; margin-inline-start: 0; }
  .main-nav a { padding: 13px 2px; border-top: 1px solid var(--border-25); font-size: 15px; }
  .main-nav a.is-active { border-bottom: none; padding-bottom: 13px; }
  .header-actions {
    padding: 14px 0 8px;
    justify-content: space-between;
    border-top: 1px solid var(--border-25);
  }

  /* Bouton flottant Google Maps, au-dessus de la barre Appeler/WhatsApp */
  .maps-fab {
    position: fixed;
    bottom: 84px;
    inset-inline-end: 16px;
    z-index: 49;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border-50);
    box-shadow: 0 4px 16px rgba(32, 24, 13, .25);
  }
}

@media (max-width: 720px) {
  /* Section « Le parcours Sillage » : timeline empilée, séparateurs horizontaux */
  .timeline-item {
    border-inline-end: none;
    border-bottom: 1px solid rgba(216, 190, 140, .25);
    padding: 24px 0;
  }
  .timeline-item:last-child { border-bottom: none; padding-bottom: 8px; }
}
