/* ═══════════════════════════════════════════════════════════════
   HOSPEO.CSS v5.0 — Master Design System
   Fixes: mixed-content, mobile animations, UX issues from audit
   © 2026 Hospeo Conciergerie — Casablanca & Marrakech
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --forest:   #060f09;
  --forest2:  #0d2b1e;
  --forest3:  #143824;
  --forest4:  #2d5a3d;
  --lime:     #5cb85c;
  --lime2:    #4aa84a;
  --gold:     #c8a96a;
  --gold2:    #e0c98a;
  --white:    #ffffff;
  --off:      #f7f6f2;
  --off2:     #eeede8;
  --ink:      #111110;
  --ink2:     #4a4a46;
  --ink3:     #8a8a84;
  --rule:     #e4e3de;
  --pad:      clamp(20px, 5vw, 72px);
  --rad:      6px;
  --rad-lg:   12px;
  --nav-h:    64px;
  --announce-h: 40px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body, 'Barlow', sans-serif);
  background: var(--off);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* Custom properties for font stacks */
:root {
  --display: 'Bebas Neue', sans-serif;
  --cond:    'Barlow Condensed', sans-serif;
  --body:    'Barlow', sans-serif;
}

/* ── ANNOUNCE BAR ── */
.announce {
  background: var(--forest2);
  color: rgba(255,255,255,.72);
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-align: center;
  padding: 0 16px;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.announce a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .12em;
  border-bottom: 1px solid rgba(200,169,106,.3);
  transition: color .2s;
}
.announce a:hover { color: var(--gold2); }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(6,15,9,.96);
  border-bottom: 1px solid rgba(255,255,255,.06);
  /* Frosted glass on Safari/iOS */
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  /* Fallback for older safari without backdrop-filter */
  @supports not (backdrop-filter: blur(1px)) {
    background: rgba(6,15,9,.99);
  }
}
.nav-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: .8; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--lime);
  padding: 9px 18px;
  border-radius: var(--rad);
  text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--lime2); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6,15,9,.98);
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  /* iOS safe area */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 8px 24px;
  transition: color .2s;
}
.nav-drawer a:hover { color: var(--white); }
.drawer-cta {
  font-family: var(--cond) !important;
  font-size: 14px !important;
  letter-spacing: .2em !important;
  background: var(--lime);
  color: var(--white) !important;
  padding: 14px 36px !important;
  border-radius: var(--rad);
  margin-top: 16px;
}

/* ── WRAP ── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── SECTIONS ── */
.s-white { background: var(--white); }
.s-off   { background: var(--off); }
.s-dark  { background: var(--forest2); }
.bb { border-bottom: 1px solid var(--rule); }

/* ── REVEAL ANIMATION ──
   Mobile-safe: uses translate instead of translateY to avoid
   Safari paint flicker. Reduced motion respected.
── */
.rv {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.rv.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .22s; }
.rv.d3 { transition-delay: .34s; }
.rv.d4 { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── TYPOGRAPHY ── */
.label {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}
.razor-h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: .92;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
}
.razor-h2 em {
  font-style: italic;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: .82em;
  letter-spacing: .02em;
  color: var(--ink2);
}
.razor-h2.wh { color: var(--white); }
.razor-h2.wh em { color: rgba(255,255,255,.55); }
.razor-h3 {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

/* ── STATS BAR ── */
.stat-n {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1;
}
.stat-n sup {
  font-family: var(--cond);
  font-size: .32em;
  font-weight: 600;
  letter-spacing: .08em;
  vertical-align: super;
  color: var(--lime);
}
.stat-l {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.65;
  margin-top: 8px;
}

/* ── PLATFORM BAR ── */
.plat-bar {
  background: var(--forest2);
  padding: 16px 0;
  overflow: hidden;
}
.plat-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.plat-lbl {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}
.plat-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
.plat-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.plat-chip {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 4px 14px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--rad);
  transition: background .2s, transform .15s, box-shadow .2s;
  /* iOS tap fix */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-lg { padding: 14px 26px; font-size: 12px; }
.btn-lime {
  background: var(--lime);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(92,184,92,.25);
}
.btn-lime:hover { background: var(--lime2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(92,184,92,.35); }
.btn-lime:active { transform: translateY(0); }
.btn-outline-w {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}
.btn-outline-w:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-outline:hover { background: var(--off2); border-color: var(--ink3); }
.btn-wa {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.25);
}
.btn-wa:hover { background: #1db954; transform: translateY(-1px); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-off {
  background: var(--off);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.card-off:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-2px); }
.card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-tag {
  font-family: var(--cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
  display: block;
  margin-bottom: 12px;
}
.card-n {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--display);
  font-size: 48px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.12);
  line-height: 1;
}
.card-photo { position: relative; overflow: hidden; }
.card-photo canvas { width: 100% !important; height: 100% !important; }
.card-link {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
  width: fit-content;
}
.card-link:hover { color: var(--lime); border-color: var(--lime); }

/* ── CV WRAP ── */
.cv-wrap {
  position: relative;
  overflow: hidden;
}
.cv-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* ── CTA BAR ── */
.cta-bar {
  position: relative;
  background: var(--forest2);
  overflow: hidden;
  text-align: center;
}
.cta-bar canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .6;
}
.cta-bar-inner {
  position: relative;
  z-index: 2;
}
.cta-bar p {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-top: 16px;
  margin-bottom: 32px;
}
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── STEPS ── */
.step-num {
  font-family: var(--display);
  font-size: 72px;
  letter-spacing: .04em;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 16px;
}

/* ── PRICING ── */
.pricing-box {
  background: var(--forest2);
  border-radius: 16px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.price-n {
  font-family: var(--display);
  font-size: 120px;
  letter-spacing: .02em;
  color: var(--white);
  line-height: .9;
  position: relative;
}
.price-pct {
  font-family: var(--cond);
  font-size: 36px;
  font-weight: 600;
  color: var(--lime);
  vertical-align: super;
  line-height: 1;
}
.pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pricing-feat:last-child { border-bottom: none; }
.pricing-feat svg { flex-shrink: 0; margin-top: 2px; }

/* ── TESTIMONIALS ── */
.testi-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.testi-photo { height: 120px; position: relative; overflow: hidden; }
.testi-photo canvas { width: 100% !important; height: 100% !important; }
.testi-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.testi-quote {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
  margin-bottom: 20px;
}
.testi-author {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.testi-role {
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink3);
  margin-top: 3px;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: var(--cond);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.faq-q:hover { color: var(--lime); }
.faq-q svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .3s ease;
  stroke: var(--ink3);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); stroke: var(--lime); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .3s;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.82;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--lime); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--rule); }

/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,.07);
}
.fc-top {
  background: var(--forest2);
  padding: 28px 32px 24px;
}
.fc-label {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.fc-title {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.fc-cities {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(255,255,255,.38);
}
.fc-progress {
  height: 3px;
  background: rgba(0,0,0,.06);
}
.fc-bar {
  height: 100%;
  background: var(--lime);
  transition: width .4s ease;
  width: 0%;
}
.fc-body {
  padding: 28px 32px;
  min-height: 260px;
}
.fc-step-n {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 14px;
}
.fc-q {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
}
.fc-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.fc-opt {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  background: var(--off);
  transition: border-color .15s, background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.fc-opt:hover { border-color: var(--lime); background: rgba(92,184,92,.05); }
.fc-opt.sel { border-color: var(--lime); background: rgba(92,184,92,.1); color: var(--lime); font-weight: 500; }
.fc-inp-wrap { margin-bottom: 16px; }
.fc-inp {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: var(--off);
  outline: none;
  transition: border-color .2s;
  /* Fix iOS zoom on focus */
  font-size: max(16px, 15px);
}
.fc-inp:focus { border-color: var(--lime); background: var(--white); }
.fc-hint {
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink3);
  margin-top: 8px;
}
.fc-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fc-next {
  padding: 13px 24px;
  background: var(--lime);
  color: var(--white);
  border-radius: var(--rad);
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.fc-next:hover { background: var(--lime2); transform: translateY(-1px); }
.fc-back {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--ink3);
  text-transform: uppercase;
  padding: 4px 0;
  transition: color .2s;
}
.fc-back:hover { color: var(--ink); }
.fc-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
}
.fc-done-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(92,184,92,.12);
  border: 1px solid rgba(92,184,92,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.fc-done-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--lime);
  stroke-width: 2.5;
  fill: none;
}
.fc-done-title {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.fc-done-sub {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.72;
  max-width: 300px;
  margin-bottom: 24px;
}
.fc-done-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--rad);
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.fc-done-wa:hover { background: #1db954; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(6,15,9,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  /* iOS safe area */
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(32px) scale(.96);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close svg {
  width: 12px;
  height: 12px;
  stroke: rgba(255,255,255,.7);
  stroke-width: 2;
  fill: none;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px var(--pad) 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
  margin-bottom: 16px;
}
.foot-tagline {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  line-height: 1.72;
  max-width: 240px;
}
.foot-col h4 {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.foot-col a:hover { color: rgba(255,255,255,.88); }
.foot-contact-item { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-copy {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.28);
}
.foot-legal {
  display: flex;
  gap: 24px;
}
.foot-legal a {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.28);
  text-decoration: none;
  transition: color .2s;
}
.foot-legal a:hover { color: rgba(255,255,255,.55); }

/* ── FLOATING WA BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  /* iOS safe area */
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.wa-float svg { width: 26px; height: 26px; fill: var(--white); }

/* ── BLOG CARDS ── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--rad-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.09); transform: translateY(-3px); }
.blog-thumb { height: 160px; position: relative; overflow: hidden; }
.blog-thumb canvas { width: 100% !important; height: 100% !important; }
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 20px 0;
}
.blog-cat {
  font-family: var(--cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
}
.blog-date {
  font-family: var(--cond);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--ink3);
}
.blog-title {
  font-family: var(--cond);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.35;
  padding: 10px 20px 0;
  flex: 1;
}
.blog-readmore {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 14px 20px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── CANVAS FULL-COVER HELPER ── */
canvas.abs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── HERO PHONE ANIMATIONS ──
   Uses CSS custom properties + will-change for GPU compositing
   Avoids -webkit-animation; uses standard which Safari 9+ supports
── */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-8px) rotate(2deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Notif slide-in */
.notif-hidden {
  transform: translateX(110%);
  opacity: 0;
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .45s ease;
}
.notif-hidden.show {
  transform: translateX(0);
  opacity: 1;
}

/* Phone float — GPU layer */
.phone-wrap {
  will-change: transform;
  animation: phoneFloat 4s ease-in-out infinite;
}
.bubble-float {
  will-change: transform;
  animation: bubbleFloat 3.2s ease-in-out infinite;
}
.bubble-float-2 {
  will-change: transform;
  animation: bubbleFloat 4s ease-in-out infinite .8s;
}
.pulse-dot {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ── SCROLL SIMULATOR ── */
.sim-card {
  background: var(--forest2);
  border-radius: var(--rad-lg);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.sim-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 14px;
}

/* ── SECTION PADDING ── */
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* Hide phone mockup on tablet */
  .hero-right { display: none !important; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }
  /* 3-col grid → 1-col */
  [class*="grid-3"] { grid-template-columns: 1fr !important; }
  /* 2-col grid → 1-col */
  [class*="grid-2"] { grid-template-columns: 1fr !important; }
  /* Stats bar — stack */
  .stats-grid { grid-template-columns: 1fr !important; }
  .stats-grid > div[style*="border-right"] {
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
    margin-right: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  /* Pricing box */
  .pricing-box { padding: 32px 24px; }
  /* Nav CTA hide on small */
  .nav-cta { display: none; }
  /* Hero text */
  .hero-h1 { font-size: clamp(56px, 14vw, 88px) !important; }
}

@media (max-width: 480px) {
  .razor-h2 { font-size: clamp(32px, 10vw, 52px); }
  .price-n { font-size: 80px; }
  .wa-float { right: 16px; bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); }
  .modal-box { border-radius: 12px; }
}

/* ── iOS-specific fixes ── */
/* Prevent bounce scroll on modals */
.modal-overlay.open { overflow-y: scroll; -webkit-overflow-scrolling: touch; }
/* Fix 300ms tap delay — already handled by touch-action but belt+suspenders */
a, button { -webkit-tap-highlight-color: transparent; }
/* Fix canvas on retina displays */
canvas { image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }

/* ── SIMULATEUR ── */
.sim-result {
  font-family: var(--display);
  font-size: 52px;
  letter-spacing: .04em;
  color: var(--lime);
  line-height: 1;
}
.sim-label {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink3);
  text-transform: uppercase;
  margin-top: 6px;
}
.range-wrap { position: relative; }
.range-wrap input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--rule);
  border-radius: 2px;
  outline: none;
}
.range-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(92,184,92,.4);
}
.range-wrap input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(92,184,92,.4);
}

/* ── GHOST PAGE REDIRECT NOTICE (admin only) ── */
.ghost-notice { display: none; }
