/* ============================================================
   SterneStudio — feuille de style partagée (pages ville/service)
   Reprend les tokens, la nav, le hero, les sections et le footer
   de la page d'accueil pour une cohérence parfaite.
   ============================================================ */

:root {
  --canvas: #0E0E0E;
  --surface: #171717;
  --card: #202020;
  --fg: #F4F0E8;
  --fg2: #B8B2A8;
  --fg3: #7E7A72;
  --accent: #C77A3A;
  --accent-h: #E08A3E;
  --accent-rgb: 199,122,58; /* @kind color */
  --b1: #333333;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 18px;
  --max: 1180px;
  --gutter: clamp(24px, 5vw, 72px); /* @kind spacing */
  --display: 'Bebas Neue', Impact, sans-serif; /* @kind font */
  --body: 'Inter', system-ui, sans-serif; /* @kind font */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--fg);
  font-family: var(--body); -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── NAV ───────────────────────────────────────────── */
#nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px var(--gutter);
  display: flex; justify-content: center;
  background: linear-gradient(to bottom, rgba(14,14,14,0.9), rgba(14,14,14,0));
}
.nav-shell {
  width: 100%; max-width: var(--max);
  display: flex; align-items: center; gap: 8px;
  background: rgba(14,14,14,0.78);
  border: 1px solid var(--b1);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo .lo { font-size: 16px; letter-spacing: 0; line-height: 1; }
.nav-logo .lo b { font-weight: 700; color: var(--fg); }
.nav-logo .lo span { font-weight: 400; color: var(--fg2); }
.nav-divider { width: 1px; height: 20px; background: var(--b1); margin: 0 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-right: auto; flex-wrap: nowrap; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--fg2);
  text-decoration: none; letter-spacing: 0.1px;
  padding: 8px 14px; border-radius: 999px;
  transition: color 180ms, background 180ms;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,0.06); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--accent); color: #0E0E0E;
  font-size: 13px; font-weight: 600; text-decoration: none;
  padding: 10px 18px; border-radius: 999px;
  transition: background 180ms;
}
.nav-cta:hover { background: var(--accent-h); }
.nav-cta svg { width: 14px; height: 14px; }

/* ── BREADCRUMB ────────────────────────────────────── */
.breadcrumb {
  padding: 22px 0 0;
  font-size: 12.5px; color: var(--fg3); letter-spacing: 0.2px;
}
.breadcrumb a { color: var(--fg3); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--fg2); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ── PAGE HERO ─────────────────────────────────────── */
.page-hero { padding: 48px 0 56px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(46px, 7vw, 86px); line-height: 0.98;
  letter-spacing: 0.5px; margin: 0 0 24px; text-wrap: balance;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--fg2); line-height: 1.6; max-width: 60ch; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  padding: 14px 26px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: background 180ms, border-color 180ms, transform 180ms;
}
.btn--primary { background: var(--accent); color: #0E0E0E; }
.btn--primary:hover { background: var(--accent-h); }
.btn--secondary { background: rgba(255,255,255,0.05); color: var(--fg); border-color: var(--b1); }
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── SECTIONS ──────────────────────────────────────── */
.section { padding: 72px 0; }
.section--surface { background: none; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02;
  margin: 0 0 20px; letter-spacing: 0.4px; text-wrap: balance;
}
.section h2 em { font-style: normal; color: var(--accent); }
.section .intro { font-size: 17px; color: var(--fg2); line-height: 1.65; max-width: 62ch; }
.section-head { max-width: 640px; margin-bottom: 48px; }

/* ── GRID + CARDS ──────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--b1);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color 200ms, transform 200ms;
}
.card h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: 0.2px; }
.card p { font-size: 14.5px; color: var(--fg2); line-height: 1.6; margin: 0; }
a.card { text-decoration: none; display: block; }
a.card:hover { border-color: rgba(var(--accent-rgb),0.5); transform: translateY(-3px); }
.card-num {
  font-family: var(--display); font-size: 26px; color: var(--accent);
  letter-spacing: 1px; margin-bottom: 12px;
}
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--accent); font-size: 13px; font-weight: 600; }
.card-link svg { width: 13px; height: 13px; }

/* ── CHECK LIST ────────────────────────────────────── */
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.checks li {
  display: grid; grid-template-columns: auto 1fr;
  column-gap: 13px; row-gap: 3px; align-items: start; line-height: 1.45;
}
.checks li::before {
  content: '✓'; color: var(--accent); font-weight: 700; font-size: 14px;
  grid-column: 1; grid-row: 1 / span 2;
}
.checks li b { grid-column: 2; grid-row: 1; font-weight: 600; color: var(--fg); font-size: 15.5px; }
.checks li span { grid-column: 2; grid-row: 2; color: var(--fg2); font-size: 14.5px; }

/* ── PROSE ─────────────────────────────────────────── */
.prose p { font-size: 16px; color: var(--fg2); line-height: 1.75; margin: 0 0 18px; max-width: 68ch; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(var(--accent-rgb),0.3); }
.prose a:hover { border-color: var(--accent); }

/* ── ZONES (chips) ─────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  font-size: 13px; color: var(--fg2);
  background: rgba(255,255,255,0.04); border: 1px solid var(--b1);
  border-radius: 999px; padding: 8px 16px; text-decoration: none;
  transition: border-color 180ms, color 180ms;
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ── CTA BAND ──────────────────────────────────────── */
.cta-band {
  border-top: 1px solid var(--b1);
  padding: 72px var(--gutter);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(var(--accent-rgb),0.10), transparent 70%),
    var(--canvas);
}
.cta-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 56px); margin: 0 0 16px; letter-spacing: 0.5px; }
.cta-band p { font-size: 17px; color: var(--fg2); max-width: 52ch; margin: 0 auto 28px; line-height: 1.6; }

/* ── VIDEO EMBED ───────────────────────────────────── */
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--b1); background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed { cursor: pointer; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 0; }
.video-play-btn { width: 72px; height: 72px; border-radius: 50%; background: rgba(var(--accent-rgb),0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(0,0,0,0.5); transition: transform 200ms ease-out, background 200ms ease-out; }
.video-embed:hover .video-play-btn { transform: scale(1.08); background: var(--accent-h); }
.video-play-arrow { width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 22px solid #0E0E0E; margin-left: 5px; }
@media (max-width: 600px) { .video-play-btn { width: 60px; height: 60px; } .video-play-arrow { border-top-width: 11px; border-bottom-width: 11px; border-left-width: 18px; } }
.video-caption { font-size: 13px; color: var(--fg3); margin-top: 14px; text-align: center; }
.brand { color: var(--fg2); font-weight: 400; }
.brand b { color: var(--fg); font-weight: 700; }

/* ── FOOTER ────────────────────────────────────────── */
footer { background: var(--canvas); border-top: 1px solid var(--b1); padding: 32px var(--gutter); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { text-decoration: none; font-size: 18px; }
.footer-logo b { font-weight: 700; color: var(--fg); }
.footer-logo span { font-weight: 400; color: var(--fg2); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--fg3); text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--fg3); width: 100%; text-align: center; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ── BOUTON APPEL MOBILE ─────────────────────────────── */
.call-fab { display: none; }
@media (max-width: 768px) {
  .call-fab { position: fixed; bottom: 16px; right: 16px; z-index: 9000; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #0E0E0E; font-weight: 600; font-size: 15px; padding: 14px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
  .call-fab svg { width: 18px; height: 18px; }
}
