/* ============================================================
   styles.css — Landing Page Fernando Eduardo
   Separado do index.html monolítico para melhor manutenção.

   ETAPAS APLICADAS:
   - Etapa 1: Correções de overflow e responsividade
   - Etapa 2: Fluid typography, espaçamento, hover/focus, animações GPU, acessibilidade
   - Etapa 5: Print stylesheet, ::selection, scrollbar, FOUC loading, micro-interações
   ============================================================ */

/* ============================================================
   CSS VARIABLES — Todas as cores centralizadas (dark mode ready)
   ============================================================ */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #1a1a28;
  --accent: #4da6ff;
  --accent-light: #7ac0ff;
  --accent-glow: rgba(77,166,255,0.25);
  --green: #00e676;
  --green-glow: rgba(0,230,118,0.15);
  --orange: #ff6b35;
  --text: #e8e6f0;
  /* Contraste elevado: #9494a8 → #b0adc0 para legibilidade em fundo escuro (WCAG AA ≥4.5:1) */
  --text-muted: #b0adc0;
  --border: rgba(255,255,255,0.06);
  /* ETAPA 2: Variável de focus ring para consistência */
  --focus-ring: rgba(77,166,255,0.6);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ETAPA 5: FOUC prevention — body inicia invisível, faz fade-in após tradução */
html.loading body {
  opacity: 0;
}
html.loaded body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ETAPA 5: Estilização de ::selection para combinar com o tema */
::selection {
  background: rgba(77,166,255,0.35);
  color: var(--text);
}
::-moz-selection {
  background: rgba(77,166,255,0.35);
  color: var(--text);
}

/* ETAPA 5: Scrollbar customizada — Webkit */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) var(--bg);
  scroll-behavior: smooth;
}

/* ETAPA 2: Focus visible global — acessibilidade via teclado */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed; inset: 0;
  /* ETAPA 1: z-index reduzido de 9999 → 999 para não bloquear futuros modais */
  z-index: 999;
  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");
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  /* ETAPA 2: Padding fluido */
  padding: clamp(0.8rem, 1.2vw, 1rem) clamp(1rem, 3vw, 2.5rem);
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  /* ETAPA 2: Transição para estado scrolled */
  transition: background-color 0.3s ease;
}

/* ETAPA 4: Nav mais opaca ao scrollar */
nav.scrolled {
  background: rgba(10,10,15,0.95);
}

.nav-logo {
  font-family: 'Space Mono', monospace; font-weight: 700;
  /* ETAPA 2: Fluid font-size */
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.25rem);
  color: var(--text); text-decoration: none;
  transition: opacity 0.2s ease;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo span { color: var(--accent); }

.nav-right {
  display: flex; align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
}

.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: var(--text); }

/* ETAPA 4: Scroll spy — link ativo com indicador */
.nav-links a.active {
  color: var(--accent);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text);
  padding: clamp(0.35rem, 0.5vw, 0.45rem) clamp(0.6rem, 1vw, 0.8rem);
  border-radius: 8px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.85rem);
  /* ETAPA 2: Propriedades específicas ao invés de 'all' */
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lang-btn:hover { border-color: var(--accent); background: rgba(77,166,255,0.08); }
.lang-btn .flag { font-size: clamp(0.95rem, 1vw, 1.1rem); line-height: 1; display: none; }
.lang-btn .arrow {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
  display: inline-block;
}
.lang-switcher.open .arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; min-width: 180px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem; cursor: pointer;
  font-size: clamp(0.8rem, 0.75rem + 0.15vw, 0.88rem);
  color: var(--text-muted);
  /* ETAPA 2: Propriedades específicas */
  transition: background-color 0.15s ease, color 0.15s ease;
  border: none; background: none; width: 100%; text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.lang-option:hover { background: rgba(77,166,255,0.1); color: var(--text); }
.lang-option.active { color: var(--accent); background: rgba(77,166,255,0.06); }
.lang-option .flag { font-size: clamp(1.05rem, 1.1vw, 1.2rem); }
.lang-option .check { margin-left: auto; font-size: 0.75rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  /* ETAPA 2: Padding fluido com clamp() */
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  /* ETAPA 1: Gradiente responsivo — min() evita overflow em telas pequenas */
  width: min(600px, 90vw); height: min(600px, 90vw);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 10%; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}

/* ETAPA 5: Micro-interação — parallax sutil no hero */
.hero-content {
  position: relative;
  z-index: 1;
  will-change: transform;
}

.hero-badge {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.65rem, 0.6rem + 0.3vw, 0.85rem);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green); background: var(--green-glow);
  border: 1px solid rgba(0,230,118,0.2);
  padding: clamp(0.4rem, 0.5vw, 0.55rem) clamp(1rem, 1.5vw, 1.4rem);
  border-radius: 50px;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
  display: inline-flex; align-items: center; gap: 0.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-badge .dot {
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2rem, 2rem + 3.5vw, 5.5rem);
  font-weight: 700; line-height: 1.1;
  max-width: clamp(300px, 70vw, 900px);
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero p {
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: clamp(280px, 65vw, 600px);
  line-height: 1.7;
  margin: 0 auto clamp(2rem, 3vw, 2.5rem);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: clamp(0.88rem, 0.8rem + 0.3vw, 1.1rem);
  padding: clamp(0.85rem, 1vw, 1rem) clamp(1.6rem, 2.5vw, 2.2rem);
  border-radius: 12px; cursor: pointer;
  text-decoration: none; border: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  /* ETAPA 2: Apenas propriedades GPU-accelerated + border/background */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

/* ETAPA 2: Focus state para botões */
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 25px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(77,166,255,0.4);
}

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}
/* ETAPA 2: Transform adicionado para consistência com btn-primary */
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(77,166,255,0.08);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: flex; justify-content: center;
  /* ETAPA 2: Gap e padding fluidos */
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  font-family: 'Space Mono', monospace;
  /* ETAPA 2: Fluid font-size (era 3rem fixo em .step-number) */
  font-size: clamp(1.6rem, 1.4rem + 1.6vw, 2.8rem);
  font-weight: 700; color: var(--green);
}

.stat-label {
  font-size: clamp(0.75rem, 0.65rem + 0.3vw, 0.95rem);
  color: var(--text-muted); margin-top: 0.3rem;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
section {
  /* ETAPA 2: Padding fluido */
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
  max-width: 1200px; margin: 0 auto;
}

.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.65rem, 0.55rem + 0.25vw, 0.8rem);
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.5rem, 1.2rem + 2.5vw, 3.2rem);
  font-weight: 700; margin-bottom: 1rem; line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.92rem, 0.85rem + 0.35vw, 1.15rem);
  max-width: 650px; line-height: 1.6;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

/* ============================================================
   CASES GRID
   ============================================================ */
/* ETAPA 1: minmax reduzido de 320px → min(280px,100%) para caber em 360px */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.case-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  /* ETAPA 2: Propriedades específicas ao invés de 'all' (evita reflow) */
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77,166,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.case-header {
  padding: clamp(1.4rem, 2vw, 1.8rem) clamp(1.4rem, 2vw, 1.8rem) 0;
}

.case-tag {
  font-family: 'Space Mono', monospace;
  /* ETAPA 2: Era 0.65rem fixo — agora fluid */
  font-size: clamp(0.6rem, 0.55rem + 0.15vw, 0.7rem);
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 6px;
  display: inline-block; margin-bottom: 1rem;
}

.tag-automacao { background: rgba(77,166,255,0.15); color: var(--accent); }
.tag-app { background: rgba(0,230,118,0.12); color: var(--green); }
.tag-site { background: rgba(255,107,53,0.12); color: var(--orange); }

.case-title {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
  font-weight: 700; margin-bottom: 0.6rem;
}

.case-client {
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.95rem);
  color: var(--text-muted); margin-bottom: 1rem;
}

.case-body {
  padding: 0 clamp(1.4rem, 2vw, 1.8rem) clamp(1.2rem, 1.8vw, 1.5rem);
}

.case-problem, .case-solution {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  line-height: 1.6; margin-bottom: 0.8rem;
}
.case-problem strong, .case-solution strong { color: var(--text); }

.case-results {
  background: var(--surface-2);
  padding: clamp(1rem, 1.5vw, 1.2rem) clamp(1.4rem, 2vw, 1.8rem);
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

.result-item { flex: 1; min-width: 100px; }

.result-value {
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 700; color: var(--green);
}

.result-label {
  font-size: clamp(0.7rem, 0.65rem + 0.2vw, 0.85rem);
  color: var(--text-muted); margin-top: 0.2rem;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  /* ETAPA 1: min() garante que nunca exceda 100% em telas pequenas */
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.2rem, 2vw, 1.5rem);
  position: relative;
  /* ETAPA 2: Propriedades específicas + transform para hover */
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ETAPA 2: Transform adicionado — antes só mudava border, agora eleva como case-card */
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(77,166,255,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.step-number {
  font-family: 'Space Mono', monospace;
  /* ETAPA 2: Era 3rem fixo — agora fluid */
  font-size: clamp(2.2rem, 2rem + 1vw, 3rem);
  font-weight: 700;
  color: rgba(122,192,255,0.6);
  position: absolute; top: 1rem; right: 1.2rem; line-height: 1;
}

.step-title {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
  font-weight: 700; margin-bottom: 0.6rem;
}

.step-desc {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  color: var(--text-muted); line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* ETAPA 1: minmax ajustado de 300px → min(280px,100%) para telas <360px */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  position: relative;
  /* ETAPA 2: Hover sutil para testimonials */
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-2px);
  border-color: rgba(77,166,255,0.2);
}

.testimonial::before {
  content: '\201C';
  font-size: clamp(3rem, 4vw, 4rem);
  color: var(--accent); opacity: 0.3;
  position: absolute; top: 0.5rem; left: 1.2rem;
  line-height: 1; font-family: Georgia, serif;
}

.testimonial-text {
  font-size: clamp(0.88rem, 0.82rem + 0.25vw, 1.05rem);
  line-height: 1.7; color: var(--text-muted);
  margin-bottom: 1.2rem; padding-top: 1rem; font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: clamp(0.88rem, 0.82rem + 0.2vw, 1rem);
}

.testimonial-role {
  font-size: clamp(0.78rem, 0.72rem + 0.15vw, 0.88rem);
  color: var(--text-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  /* ETAPA 1: Gradiente responsivo — min() evita overflow */
  width: min(500px, 90vw); height: min(500px, 90vw);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  bottom: 0; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}

.cta-box {
  background: var(--surface); border: 1px solid rgba(77,166,255,0.2);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 750px; margin: 0 auto; position: relative;
}

.cta-box h2 {
  font-size: clamp(1.3rem, 1rem + 2.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6;
  font-size: clamp(0.92rem, 0.85rem + 0.3vw, 1.1rem);
}

.cta-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  text-align: center;
  /* ETAPA 2: Era 0.8rem fixo — agora fluid */
  font-size: clamp(0.72rem, 0.68rem + 0.15vw, 0.8rem);
  color: var(--text-muted);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Scroll reveal — ETAPA 2: Usa apenas transform + opacity (GPU-accelerated) */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ETAPA 4: Stagger delay via CSS custom property definida pelo JS */
.fade-in[style*="--delay"] {
  transition-delay: calc(var(--delay, 0) * 1ms);
}

/* ============================================================
   RESPONSIVE — LARGE SCREENS (1600px+)
   ============================================================ */
@media (min-width: 1600px) {
  section { max-width: 1400px; }
  .stats { gap: 5rem; }
  nav { padding: 1.2rem 3rem; }
  .cta-box { max-width: 850px; }
}

/* ===== EXTRA LARGE (2000px+) ===== */
@media (min-width: 2000px) {
  section { max-width: 1600px; }
}

/* ===== TABLET (768px — 1024px) ===== */
@media (max-width: 1024px) {
  .nav-links { gap: 1.5rem; }
}

/* ===== MOBILE (< 768px) ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(1.6rem, 1rem + 4vw, 2.5rem); max-width: 90vw; }
  .hero p { max-width: 90vw; }
  .hero-cta { flex-direction: column; align-items: center; width: 100%; }
  .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-results { flex-direction: column; gap: 0.8rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ===== SMALL MOBILE (< 420px) ===== */
@media (max-width: 420px) {
  .process-steps { grid-template-columns: 1fr; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   REDUCED MOTION — Acessibilidade para quem prefere menos animação
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ============================================================
   ETAPA 5: PRINT STYLESHEET
   ============================================================ */
@media print {
  * { background: transparent !important; color: #000 !important; box-shadow: none !important; }
  .grain, nav, .lang-switcher, .hero::before, .cta-section::before { display: none !important; }
  body { font-size: 12pt; line-height: 1.5; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero h1 { font-size: 24pt; -webkit-text-fill-color: #000; }
  .hero h1 .highlight { -webkit-text-fill-color: #333; background: none; }
  section { padding: 1.5rem 0; page-break-inside: avoid; }
  .cases-grid, .process-steps, .testimonials-grid { grid-template-columns: 1fr; }
  .case-card, .step, .testimonial { border: 1px solid #ccc; page-break-inside: avoid; }
  .btn { border: 1px solid #666 !important; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  .cta-section { padding: 2rem 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555 !important; }
  footer { border-top: 1px solid #ccc; }
}