/* ═══════════════════════════════════════════════════════════════════════════════
   HIMILCO · Glass Cosmic Design System
   Loaded by all SEO pages (tarifs, faq, a-propos, villes, blog, etc.)
   ═══════════════════════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #070a13;
  --indigo: #818cf8;
  --indigo-light: #a5b4fc;
  --indigo-soft: #c7d2fe;
  --violet: #a78bfa;
  --fuchsia: #e879f9;
  --emerald: #6ee7b7;
  --emerald-bright: #34d399;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --glass-bg: rgba(11, 15, 30, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  letter-spacing: -0.01em;
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.7;
}

body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.6;
}
body::before {
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(129,140,248,0.22) 0%, transparent 70%);
  animation: orb-float 18s ease-in-out infinite;
}
body::after {
  bottom: -25%; left: -15%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(232,121,249,0.15) 0%, transparent 70%);
  animation: orb-float 22s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.05); }
}

::selection { background: rgba(139,92,246,0.3); color: #f8fafc; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.25); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148,163,184,0.4); }

main, header, nav, footer, section { position: relative; z-index: 1; }

/* ═══ TYPOGRAPHY ═══ */
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-feature-settings: "ss01" 0, "zero" 0;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0, "ss01" 0, "ss02" 0;
}

.kicker {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--indigo);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--indigo);
}

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 100px;
  background: rgba(11,15,30,0.6);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  max-width: calc(100% - 40px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(129,140,248,0.4);
}
.nav-brand .badge {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 400;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(129,140,248,0.12);
  border: 1px solid rgba(129,140,248,0.25);
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 2px;
  padding: 0 4px;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  margin: 0 4px;
}
.nav-link {
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 13.5px;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.nav-cta {
  padding: 8px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, #818cf8, #a78bfa 40%, #e879f9);
  color: #0b0f1e;
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(129,140,248,0.35);
  transition: transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ═══ LAYOUT ═══ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ HERO ═══ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-feature-settings: "ss01" 0, "zero" 0;
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text);
  margin: 20px auto 28px;
  max-width: 18ch;
}
.page-hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-hero .lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 auto 40px;
  line-height: 1.65;
  font-weight: 300;
}
.page-hero .cta-group {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #818cf8, #a78bfa 40%, #e879f9);
  color: #0b0f1e;
  box-shadow: 0 8px 32px rgba(99,102,241,0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}
.btn-emerald {
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  color: #0b0f1e;
  box-shadow: 0 8px 32px rgba(52,211,153,0.3);
}

/* ═══ GLASS ═══ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
}

/* ═══ SECTIONS ═══ */
section {
  padding: 80px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-feature-settings: "ss01" 0, "zero" 0;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 16px 0 14px;
  color: var(--text);
}
.section-head h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.section-head p {
  color: var(--text-muted);
  max-width: 64ch;
  margin: 0 auto;
  line-height: 1.65;
  font-size: 16px;
  font-weight: 300;
}

/* ═══ CONTENT TYPO (blog/article) ═══ */
.content h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-feature-settings: "ss01" 0;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 56px 0 20px;
  line-height: 1.15;
}
.content h3 {
  font-family: 'Fraunces', serif;
  font-feature-settings: "ss01" 0;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 36px 0 16px;
}
.content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 300;
}
.content p strong, .content li strong {
  color: var(--text);
  font-weight: 500;
}
.content a {
  color: var(--indigo-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(165,180,252,0.3);
  transition: border-color 0.2s;
}
.content a:hover { border-color: var(--indigo-light); }

.content ul, .content ol {
  margin: 0 0 20px 20px;
  color: var(--text-muted);
  font-weight: 300;
}
.content li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.content ul li::marker { color: var(--indigo); }
.content ol li::marker { color: var(--indigo); font-family: 'IBM Plex Mono', monospace; }

.content blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  background: rgba(129,140,248,0.04);
  border-left: 3px solid var(--indigo);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
}

.content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 40px 0;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.content th {
  text-align: left;
  padding: 14px 16px;
  background: rgba(129,140,248,0.08);
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid rgba(129,140,248,0.2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
}
.content tr:last-child td { border-bottom: none; }

/* ═══ PRICING CARDS ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.pricing-card {
  padding: 32px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,140,248,0.3);
}
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(129,140,248,0.1), rgba(232,121,249,0.05));
  border-color: rgba(129,140,248,0.25);
}
.pricing-phase {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-feature-settings: "zero" 0;
}
.pricing-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  margin: 10px 0 8px;
  font-weight: 400;
  font-feature-settings: "ss01" 0;
  color: var(--text);
}
.pricing-target {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 300;
}
.pricing-rate {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-feature-settings: "zero" 0, "ss01" 0;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.pricing-card.featured .pricing-rate {
  background: linear-gradient(180deg, #fff, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-rate-unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-feature-settings: "zero" 0;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-features li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  display: flex;
  align-items: start;
  gap: 10px;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  color: var(--emerald);
  flex-shrink: 0;
  font-weight: 500;
}

/* ═══ FAQ ═══ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}
details.faq-item {
  padding: 0;
  transition: border-color 0.2s;
}
details.faq-item[open] {
  border-color: rgba(129,140,248,0.3);
}
details.faq-item summary {
  padding: 20px 26px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  color: var(--indigo);
  flex-shrink: 0;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item .faq-answer {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
}
details.faq-item .faq-answer strong { color: var(--text); font-weight: 500; }
details.faq-item .faq-answer a { color: var(--indigo-light); border-bottom: 1px solid rgba(165,180,252,0.3); text-decoration: none; }

/* ═══ CTA CARD ═══ */
.cta-card {
  padding: 56px 40px;
  background: linear-gradient(135deg, rgba(129,140,248,0.12), rgba(232,121,249,0.06));
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at 50% 0%, rgba(232,121,249,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card h2, .cta-card p, .cta-card > * { position: relative; }
.cta-card h2 {
  font-family: 'Fraunces', serif;
  font-feature-settings: "ss01" 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.cta-card h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.cta-card p {
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
}

/* ═══ STATS ═══ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-border);
  margin: 40px 0;
}
.stat-cell {
  background: var(--glass-bg);
  padding: 36px 24px;
  text-align: center;
}
.stat-value {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-feature-settings: "zero" 0, "ss01" 0;
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--indigo-light); }
.breadcrumb span.sep { color: var(--text-dim); }

/* ═══ FEATURE CARDS ═══ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129,140,248,0.2);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(129,140,248,0.2), rgba(139,92,246,0.12));
  border: 1px solid rgba(129,140,248,0.25);
  display: grid;
  place-items: center;
  color: #c7d2fe;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-feature-settings: "ss01" 0;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--text);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
}

/* ═══ FOOTER ═══ */
.site-footer {
  padding: 60px 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  margin-top: 40px;
}
.site-footer a {
  color: var(--indigo-light);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer .footer-links {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ═══ MOBILE ═══ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { padding: 6px; }
  .nav-brand { font-size: 14px; padding: 6px 10px; }
  .nav-brand img { width: 26px; height: 26px; }
  .nav-brand .badge { display: none; }
  .nav-cta { font-size: 12.5px; padding: 6px 14px; }
  .page-hero { padding: 130px 0 60px; }
  section { padding: 60px 0; }
  .cta-card { padding: 40px 24px; }
}
