/* ============================================
   Nathan Webdesign — Styles partagés
   DA reprise du repo : dark + lime accent
   ============================================ */

:root {
  --bg: #050505;
  --surface: #0C0C0E;
  --card: #111113;
  --border: #2A2A2E;
  --border-strong: #45454D;
  --fg: #FAFAFA;
  --muted: #C7C7CE;
  --muted-2: #9C9CA6;
  --muted-3: #7A7A84;
  --muted-4: #4A4A52;
  --lime: #C8FF00;
  --section-gap: clamp(6rem, 15vh, 12rem);
  --container-padding: clamp(1.25rem, 5vw, 3rem);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  will-change: auto;
}

/* === MOBILE PERF: désactive effets coûteux (grain + backdrop-filter sur navbar) === */
@media (max-width: 768px) {
  body::after { display: none; }
  .nav-pill.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 11, 13, 0.96); }
  .status-badge { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mobile-menu { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

/* === Respect prefers-reduced-motion : coupe les animations === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* === Skip rendering for off-screen sections (Core Web Vitals boost) === */
section.section-pad {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

::selection {
  background: rgba(200, 255, 0, 0.2);
  color: var(--fg);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(200, 255, 0, 0.3); border-radius: 100px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ============ TYPO ============ */
.font-heading {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 { font-family: 'Syne', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

.lime { color: var(--lime); }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }

.glow-lime {
  text-shadow: 0 0 40px rgba(200, 255, 0, 0.4), 0 0 80px rgba(200, 255, 0, 0.15);
}

/* ============ BG UTILS ============ */
.bg-grid {
  background-image:
    linear-gradient(rgba(200, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.gradient-radial-hero {
  background: radial-gradient(ellipse 800px 500px at 50% 20%, rgba(200, 255, 0, 0.06), transparent 70%);
}

/* ============ NAVBAR ============ */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 16px 0;
  pointer-events: none;
}
.nav-wrap > * { pointer-events: auto; }

.nav-pill {
  margin: 0 auto;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.5s var(--ease-out-expo);
}
.nav-pill.scrolled {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(17, 17, 19, 0.8);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-pill a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-pill a:hover { color: var(--fg); }
.nav-pill a.active { color: var(--lime); }

.nav-cta {
  padding: 8px 18px !important;
  background: var(--lime);
  color: #050505 !important;
  font-weight: 600 !important;
}
.nav-cta:hover { color: #050505 !important; filter: brightness(1.08); }

.nav-mobile-btn {
  display: none;
  margin-left: auto;
  height: 44px;
  width: 44px;
  border-radius: 999px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 17, 19, 0.8);
  backdrop-filter: blur(20px);
}
.nav-mobile-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}
.nav-mobile-btn.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-mobile-btn.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(30px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  transition: color 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--lime); }

@media (max-width: 768px) {
  .nav-pill { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-wrap { display: flex; justify-content: flex-end; }
}

/* ============ LAYOUT ============ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.container-sm {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section { position: relative; }

.section-pad {
  padding: var(--section-gap) 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--lime);
  color: #050505;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(200, 255, 0, 0.3);
  filter: brightness(1.08);
}
.btn-secondary {
  border-color: var(--border);
  color: var(--fg);
}
.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--card);
}
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ CARDS ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.5s var(--ease-out-expo);
}
.card:hover {
  border-color: rgba(200, 255, 0, 0.18);
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.04);
}

.card-dashed {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.5s;
}
.card-dashed:hover { border-color: var(--border-strong); }

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}
.tag-lime {
  border-color: rgba(200, 255, 0, 0.25);
  background: rgba(200, 255, 0, 0.08);
  color: var(--lime);
}

/* ============ HERO ============ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--container-padding) 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero .bg-grid { position: absolute; inset: 0; }
.hero .gradient-radial-hero { position: absolute; inset: 0; }
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 17, 19, 0.6);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.status-badge .dot {
  position: relative;
  display: flex;
  height: 8px;
  width: 8px;
}
.status-badge .dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--lime);
  opacity: 0.75;
  animation: ping 2s var(--ease-out-expo) infinite;
}
.status-badge .dot::after {
  content: '';
  position: relative;
  display: block;
  height: 8px;
  width: 8px;
  border-radius: 999px;
  background: var(--lime);
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hero h1 span { display: block; }

.hero-desc {
  max-width: 540px;
  margin: 32px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-reassure {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--muted-3);
  letter-spacing: 0.04em;
}

/* ============ MARQUEE / TRUST ============ */
.trust {
  padding: 50px var(--container-padding);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-bottom: 28px;
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 64px;
}
.trust-grid span {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}
.trust-grid span.next {
  color: var(--lime);
  font-style: italic;
  font-weight: 400;
  opacity: 0.7;
}

/* ============ SECTION HEAD ============ */
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-head h2 .dim { color: var(--muted); }
.section-head p.lead {
  max-width: 480px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.section-head.center { text-align: center; }
.section-head.center p.lead { margin-left: auto; margin-right: auto; }

/* ============ GRIDS ============ */
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============ SERVICE CARDS ============ */
.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.5s var(--ease-out-expo);
}
.svc-card:hover {
  border-color: rgba(200, 255, 0, 0.18);
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.04);
}
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #1A1A1D;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.5s;
}
.svc-card:hover .svc-icon {
  border-color: rgba(200, 255, 0, 0.22);
  background: rgba(200, 255, 0, 0.06);
}
.svc-icon svg { width: 20px; height: 20px; stroke: var(--lime); fill: none; stroke-width: 1.8; }
.svc-card h3 { font-size: 19px; margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--lime);
  font-weight: 500;
}
.svc-link:hover { text-decoration: underline; }

/* ============ WHY ME ============ */
.why-item {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.why-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  color: var(--lime);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.why-item h3 { font-size: 21px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ============ PROJECT CARDS ============ */
.proj-feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}
.proj-feature:hover { border-color: rgba(200, 255, 0, 0.15); }

.proj-img {
  aspect-ratio: 21 / 9;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1820, #050505);
}
@media (max-width: 700px) { .proj-img { aspect-ratio: 16 / 9; } }

.proj-img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card) 0%, rgba(17,17,19,0.4) 50%, transparent 100%);
  pointer-events: none;
}

.proj-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  height: 42px;
  width: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}
.proj-feature:hover .proj-arrow { border-color: var(--lime); background: var(--lime); }
.proj-arrow svg { width: 16px; height: 16px; stroke: white; transition: stroke 0.3s; }
.proj-feature:hover .proj-arrow svg { stroke: #050505; }

.proj-body { padding: 32px; }
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.proj-body h3 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 4px; }
.proj-body .meta { color: var(--lime); font-size: 13.5px; margin-bottom: 12px; }
.proj-body p { color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 560px; }

.proj-coming-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}
@media (max-width: 700px) { .proj-coming-grid { grid-template-columns: 1fr; } }

.proj-coming {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.4s;
}
.proj-coming:hover { border-color: var(--border-strong); }
.proj-placeholder {
  height: 128px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: rgba(17, 17, 19, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--muted-4);
}
.proj-placeholder svg { width: 24px; height: 24px; }
.proj-coming h3 { font-size: 17px; color: var(--muted-2); margin: 8px 0 4px; }
.proj-coming .meta { font-size: 12.5px; color: var(--muted-2); }
.proj-coming p { font-size: 13.5px; color: var(--muted-3); line-height: 1.6; margin-top: 12px; }

.badge-soon {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.1);
  color: var(--lime);
  font-size: 11.5px;
  font-weight: 500;
}

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  padding: 32px 28px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.process-step:last-child { border-right: none; }
@media (max-width: 900px) {
  .process-step:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .process-step { border-right: none; }
}
.process-step .num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  color: var(--lime);
  margin-bottom: 16px;
  font-weight: 700;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 56px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px;
  transition: all 0.5s;
}
.tier:hover { border-color: var(--border-strong); }
.tier.popular {
  background: var(--card);
  border-color: rgba(200, 255, 0, 0.3);
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.06);
}
.tier-ribbon {
  position: absolute;
  top: 24px;
  right: -36px;
  background: var(--lime);
  color: #050505;
  padding: 4px 40px;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}
.tier-name {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.tier-tagline {
  font-size: 13px;
  color: var(--muted-2);
  font-style: italic;
  margin-bottom: 22px;
}
.tier-prices {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 22px;
}
.tier-price-row { display: flex; align-items: baseline; gap: 6px; }
.tier-price-row + .tier-price-row { margin-top: 8px; }
.tier-price {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tier-unit { font-size: 14px; color: var(--muted-2); }
.tier-label { font-size: 11.5px; color: var(--muted-3); margin-left: auto; text-transform: uppercase; letter-spacing: 0.1em; }
.tier-engage { margin-top: 10px; font-size: 11px; color: var(--muted-3); }
.tier-ideal { font-size: 13px; color: var(--muted); margin-bottom: 22px; line-height: 1.5; }
.tier-ideal strong { color: var(--fg); font-weight: 600; }

.tier-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.tier-feats h4 { font-size: 11.5px; color: var(--muted-3); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-top: 6px; }
.tier-feats h4:first-child { margin-top: 0; }
.tier-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.tier-feat svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 4px; stroke: var(--muted-3); }
.tier.popular .tier-feat svg { stroke: var(--lime); }

.tier-cta {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--fg);
  transition: all 0.3s;
}
.tier-cta:hover { border-color: var(--border-strong); background: var(--card); }
.tier.popular .tier-cta { background: var(--lime); color: #050505; border-color: var(--lime); }
.tier.popular .tier-cta:hover { box-shadow: 0 0 30px rgba(200, 255, 0, 0.3); filter: brightness(1.08); }

/* Comparison table */
.compare {
  margin-top: 80px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 16px 20px;
  text-align: center;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
}
.compare th { background: var(--surface); font-family: 'Syne', sans-serif; color: var(--fg); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.1em; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--fg); font-weight: 500; }
.compare td { color: var(--muted); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--lime); font-weight: 700; }
.compare .no { color: var(--muted-4); }
.compare .pop { background: rgba(200, 255, 0, 0.04); }
.compare .highlight-row td { background: rgba(200, 255, 0, 0.03); }

@media (max-width: 700px) {
  .compare { overflow-x: auto; }
  .compare table { min-width: 600px; }
}

/* ============ FAQ ============ */
.faq-list { margin-top: 56px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--lime); }
.faq-q .ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo);
  stroke: var(--muted);
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); stroke: var(--lime); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 24px; max-width: 700px; }

/* ============ TESTIMONIALS PLACEHOLDER ============ */
.testi-placeholder {
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 60px 32px;
  text-align: center;
  background: var(--surface);
}
.testi-placeholder p {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}
.testi-placeholder .accent { color: var(--lime); }

/* ============ CTA FINAL ============ */
.cta-final {
  text-align: center;
  padding: var(--section-gap) var(--container-padding);
  position: relative;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 60%, rgba(200, 255, 0, 0.08), transparent 70%);
  pointer-events: none;
}
.cta-final-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta-final h2 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.cta-final h2 .accent { color: var(--lime); }
.cta-final-phone {
  display: block;
  margin-top: 32px;
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.cta-final-phone:hover { color: var(--lime); }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px var(--container-padding) 40px;
  background: var(--surface);
}
.foot-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-brand h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.foot-brand h3 .light { font-weight: 300; color: var(--muted); }
.foot-brand p { font-size: 13.5px; color: var(--muted-2); line-height: 1.6; max-width: 280px; }

.foot-col h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-3);
  margin-bottom: 16px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a, .foot-col li { font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.foot-col a:hover { color: var(--lime); }

.foot-bottom {
  max-width: 1100px;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted-3);
}
.foot-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.3s;
}
.foot-social:hover { color: var(--lime); border-color: rgba(200, 255, 0, 0.3); }
.foot-social svg { width: 16px; height: 16px; }

.foot-cities {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.foot-cities h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-3);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-cities p {
  font-size: 12px;
  color: var(--muted-3);
  line-height: 1.8;
  max-width: 900px;
}
.foot-cities span { color: var(--muted-2); }

/* ============ AS THERMI PROJECT SCREENSHOT ============ */
.proj-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out-expo);
}
.proj-feature:hover .proj-screenshot { transform: scale(1.03); }

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo), filter 0.7s var(--ease-out-expo);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============ FORM ============ */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.form input, .form select, .form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14px;
  color: var(--fg);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: rgba(200, 255, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.1);
}
.form textarea { resize: vertical; min-height: 130px; }
.form ::placeholder { color: var(--muted-3); }
.form select { 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' fill='none' stroke='%23A1A1AA' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }

.form-status {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 0;
  border-radius: 12px;
  transition: all 0.3s var(--ease-out-expo);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
.form-status.loading,
.form-status.ok,
.form-status.error {
  padding: 14px 16px;
  max-height: 200px;
  opacity: 1;
  margin-top: -4px;
}
.form-status.loading {
  background: rgba(200, 255, 0, 0.04);
  border: 1px solid rgba(200, 255, 0, 0.15);
  color: var(--muted);
}
.form-status.ok {
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.3);
  color: var(--lime);
  font-weight: 500;
}
.form-status.error {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* ============ PAGE-TITLE BLOCK (sub pages) ============ */
.page-title {
  padding: 180px var(--container-padding) 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 300px at 50% 30%, rgba(200, 255, 0, 0.05), transparent 70%);
  z-index: 0;
}
.page-title > * { position: relative; z-index: 1; }
.page-title h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.page-title h1 .dim { color: var(--muted); }
.page-title .lead {
  max-width: 580px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ============ BREADCRUMB ============ */
.crumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  font-size: 12.5px;
  color: var(--muted-3);
  margin-top: -40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--lime); }

/* ============ COOKIE BANNER ============ */
.cookies {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(17, 17, 19, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  z-index: 100;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease-out-expo);
}
.cookies.in { transform: translateY(0); }
.cookies button {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: #050505;
  font-weight: 600;
  font-size: 12.5px;
  transition: filter 0.2s;
}
.cookies button:hover { filter: brightness(1.08); }
@media (max-width: 500px) { .cookies { flex-direction: column; align-items: flex-start; left: 16px; right: 16px; bottom: 16px; } }

/* ============ HELPERS ============ */
.text-center { text-align: center; }
.mt-xl { margin-top: 80px; }
.mt-lg { margin-top: 56px; }
.mt-md { margin-top: 32px; }
.divider { height: 1px; background: var(--border); margin: 0 auto; max-width: 1100px; }
