/* ================================================================
   style.css — leo7en | Refinamento Final de Produção
   ================================================================ */

:root {
  /* Cores de Fundo */
  --bg:         #191E25;          
  --bg-alt:     #15191F;          
  --surface:    #1F2631;          
  --surface-2:  #262F3D;          
  --border:     rgba(255, 255, 255, 0.08); 
  --border-h:   rgba(91, 141, 184, 0.4);  

  /* Tipografia & Texto */
  --text:       #EFF6FF;          
  --text-sec:   #9AA3B2;          
  --text-dim:   rgba(239, 246, 255, 0.35); 

  /* Accent - Azul Aço leo7en */
  --accent:     #5B8DB8;
  --accent-h:   #4A7BA8;
  --accent-lo:  rgba(91, 141, 184, 0.10);
  --accent-lo2: rgba(91, 141, 184, 0.18);

  /* WhatsApp */
  --wa:         #25D366;
  --wa-h:       #20BE5C;

  /* Fontes */
  --fH: "Bebas Neue", sans-serif;   
  --fB: "Montserrat", sans-serif;   

  /* Radius & Motion */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;

  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 400ms;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h:  74px;
  --max-w:  1120px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); font-size: 16px; }
body { font-family: var(--fB); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--fB); }

/* LAYOUT CONTAINER */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.tc { text-align: center; }

.section-header { margin-bottom: 3rem; }
.section-header.tc .section-sub { margin-left: auto; margin-right: auto; }

/* TIPOGRAFIA FLUIDA */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--fB);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-sec);
  max-width: 640px;
  line-height: 1.75;
}

.accent { color: var(--accent); }
.micro-text { font-size: 0.75rem; color: var(--text-dim); margin-top: 14px; }

/* EYEBROW RESPONSIVO */
.eyebrow {
  display: inline-block;
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-lo);
  border: 1px solid rgba(91, 141, 184, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.lead { font-size: 1rem; color: var(--text-sec); line-height: 1.8; margin-bottom: 2rem; }

/* BOTÕES COM TOUCH TARGET ACESSÍVEL */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fB); font-weight: 600; font-size: 0.85rem; min-height: 44px;
  border-radius: 50px; padding: 12px 26px; transition: all var(--dur-base) var(--ease);
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(91, 141, 184, 0.25); }
.btn-ghost { background: transparent; border-color: var(--border-h); color: var(--text-sec); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); background: var(--accent-lo); }
.btn-wa { background: var(--wa); color: #fff; font-weight: 700; }
.btn-wa:hover { background: var(--wa-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25); }
.btn-small { min-height: 36px; padding: 6px 16px; font-size: 0.78rem; border-radius: var(--r-sm); border: 1px solid var(--border-h); color: var(--accent); }
.btn-small:hover { background: var(--accent); color: #fff; }

/* REVEAL ON SCROLL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000; transition: all var(--dur-slow) var(--ease); border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(25, 30, 37, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--border); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo-text { font-family: var(--fH); font-size: 1.6rem; letter-spacing: 2px; color: var(--text); }
.logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--text-sec); transition: color var(--dur-base) var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); }
.lang-sw { display: flex; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); border-radius: 50px; padding: 2px; }
.lang-btn { min-height: 32px; padding: 4px 10px; font-size: 0.7rem; font-weight: 700; color: var(--text-sec); border-radius: 50px; transition: all var(--dur-base) var(--ease); }
.lang-btn.active { background: var(--accent); color: #fff; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; min-height: 44px; min-width: 44px; justify-content: center; align-items: center; z-index: 1100; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--dur-base) var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 900; }
.menu-overlay.active { display: block; }

/* HERO SECTION */
#hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); position: relative; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(91, 141, 184, 0.08) 0%, transparent 70%), var(--bg);
}
#hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 60px 0; position: relative; z-index: 1; }
.hero-content h1 { font-family: var(--fH); font-size: clamp(3.2rem, 6vw, 5.5rem); line-height: 0.95; letter-spacing: 1px; margin-bottom: 20px; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.hero-stats { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.stat-item { display: flex; flex-direction: column; }
.stat-n { font-family: var(--fH); font-size: 1.5rem; color: var(--accent); line-height: 1; }
.stat-l { font-size: 0.72rem; color: var(--text-sec); margin-top: 2px; }
.stat-divider { width: 1px; height: 28px; background: var(--border); }

/* HERO VISUAL CARD */
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.hero-card-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.window-dots span:nth-child(1) { background: #FF5F56; }
.window-dots span:nth-child(2) { background: #FFBD2E; }
.window-dots span:nth-child(3) { background: #27C93F; }

.hero-card-url { font-size: 0.65rem; color: var(--text-dim); background: var(--bg); padding: 2px 10px; border-radius: 4px; }
.status-badge { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; color: var(--accent); }
.status-dot { width: 6px; height: 6px; background: var(--wa); border-radius: 50%; box-shadow: 0 0 8px var(--wa); }

.hero-card-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.hero-card-header-sim { display: flex; justify-content: space-between; align-items: center; }
.hero-card-logo { font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; }
.hero-card-logo span { color: var(--accent); }
.hero-card-nav-dots { display: flex; gap: 8px; }
.hero-card-nav-dots span { width: 24px; height: 4px; background: var(--border); border-radius: 2px; }

.hero-card-hero-sim { background: var(--bg-alt); border-radius: var(--r-md); padding: 16px; border: 1px solid var(--border); }
.sim-tag { font-size: 0.55rem; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 6px; }
.sim-title { width: 75%; height: 10px; background: var(--text); opacity: 0.8; border-radius: 2px; margin-bottom: 6px; }
.sim-sub { width: 50%; height: 6px; background: var(--text-sec); opacity: 0.5; border-radius: 2px; margin-bottom: 12px; }
.sim-btn { width: 60px; height: 16px; background: var(--accent); border-radius: 50px; }

.hero-card-metrics { display: flex; gap: 12px; }
.metric-chip { flex: 1; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-md); padding: 8px 12px; display: flex; flex-direction: column; }
.m-val { font-weight: 700; font-size: 0.8rem; color: var(--text); }
.m-lbl { font-size: 0.62rem; color: var(--text-dim); }

.scroll-hint { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); opacity: 0.4; }
.mouse { width: 18px; height: 30px; border: 1.5px solid var(--border-h); border-radius: 10px; position: relative; }
.mouse::after { content: ""; width: 2px; height: 6px; background: var(--accent); position: absolute; top: 6px; left: 50%; transform: translateX(-50%); border-radius: 2px; }

/* SOBRE */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-grid--reversed { grid-template-columns: 1.1fr 0.9fr; }
.about-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--border); }
.placeholder-img { width: 100%; aspect-ratio: 3/4; background: var(--surface); border: 1px dashed var(--border-h); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--text-dim); font-weight: 600; }
.about-content p { color: var(--text-sec); font-size: 0.92rem; line-height: 1.85; margin-bottom: 16px; }
.about-content strong { color: var(--text); }

/* POR QUE UM SITE (WHY GRID) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: all var(--dur-base) var(--ease); }
.why-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.why-icon { font-size: 1.6rem; margin-bottom: 12px; }
.why-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 0.8rem; color: var(--text-sec); line-height: 1.6; }

/* SERVIÇOS */
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; margin-bottom: 24px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.service-card > p { font-size: 0.9rem; color: var(--text-sec); margin-bottom: 24px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-sec); }
.check-icon { width: 16px; height: 16px; background: var(--accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; flex-shrink: 0; }
.disclaimer { font-size: 0.75rem; color: var(--text-dim); margin-top: 24px; border-top: 1px solid var(--border); padding-top: 16px; }

.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.diff-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.diff-icon { font-size: 1.4rem; margin-bottom: 8px; display: block; }
.diff-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.diff-card p { font-size: 0.78rem; color: var(--text-sec); line-height: 1.6; }

/* PROCESSO HORIZONTAL */
.process-horizontal { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.process-step {
  flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 20px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.step-badge {
  width: 32px; height: 32px; background: var(--accent-lo); border: 1px solid var(--border-h);
  border-radius: 50%; color: var(--accent); font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.process-step h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 0.8rem; color: var(--text-sec); line-height: 1.6; }
.process-arrow { font-size: 1.2rem; color: var(--text-dim); font-weight: 300; }

/* PROJETOS (FORMATO REUTILIZÁVEL) */
.projects-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card, .rev-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all var(--dur-base) var(--ease); display: flex; flex-direction: column;
}
.project-card:hover, .rev-card:hover { border-color: var(--border-h); transform: translateY(-3px); }

.project-image { aspect-ratio: 16/10; background: var(--bg-alt); position: relative; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.project-card:hover .project-image img { transform: scale(1.03); }

.project-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; align-items: flex-start; }
.project-tag { font-size: 0.65rem; font-weight: 700; color: var(--accent); text-transform: uppercase; background: var(--accent-lo); padding: 2px 8px; border-radius: var(--r-sm); }
.project-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-top: 2px; }
.project-desc { font-size: 0.8rem; color: var(--text-sec); line-height: 1.6; flex: 1; margin-bottom: 8px; }

/* Tag especial para projetos conceituais / sem link */
.badge-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-sec);
  background: var(--surface-2);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  margin-top: auto;
}

.rev-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rev-stars { color: var(--accent); font-size: 0.85rem; }
.rev-text { font-size: 0.85rem; font-style: italic; color: var(--text-sec); line-height: 1.6; flex: 1; }
.rev-author { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.rev-source { font-size: 0.68rem; color: var(--text-dim); }

/* FAQ ACCORDION ACCESSIBLE */
.faq-accordion { max-width: 720px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 8px; overflow: hidden; transition: border-color var(--dur-base) var(--ease); }
details[open] { border-color: var(--border-h); }
summary { padding: 18px 20px; font-weight: 600; font-size: 0.88rem; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; min-height: 48px; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-toggle { font-weight: 400; font-size: 1.1rem; color: var(--accent); transition: transform var(--dur-base) var(--ease); }
details[open] .faq-toggle { transform: rotate(45deg); }
details p { padding: 0 20px 18px; font-size: 0.84rem; color: var(--text-sec); line-height: 1.7; }

/* CTA FINAL */
.cta-section { background: var(--bg-alt); }

/* FOOTER SIMPLIFICADO */
.footer { padding: 48px 0 24px; background: #11141A; border-top: 1px solid var(--border); }
.footer-simple { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 32px; }
.footer-brand-info { display: flex; flex-direction: column; gap: 8px; max-width: 400px; }
.footer-brand-info p { font-size: 0.8rem; color: var(--text-dim); }
.footer-location { font-size: 0.75rem; color: var(--accent); font-weight: 600; }

.footer-socials { display: flex; gap: 20px; align-items: center; }
.footer-socials a { font-size: 0.8rem; color: var(--text-sec); transition: color var(--dur-base) var(--ease); padding: 6px 0; }
.footer-socials a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-dim); }

/* ELEMENTOS FIXOS */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 998;
  width: 50px; height: 50px; background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); transition: transform var(--dur-base) var(--ease);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 24px; height: 24px; }

#back-to-top {
  position: fixed; bottom: 84px; right: 24px; z-index: 997;
  width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%; color: var(--text-sec); opacity: 0; visibility: hidden;
  transition: all var(--dur-base) var(--ease);
}
#back-to-top.show { opacity: 1; visibility: visible; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVO E MOBILE REVISADO
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-grid, .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .about-grid--reversed { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; } 
  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: flex-start; }
  .stat-divider { display: none; }
  
  .check-list { grid-template-columns: 1fr; }
  .projects-grid, .reviews-grid, .why-grid, .diff-grid { grid-template-columns: 1fr; gap: 16px; }
  
  /* Processo na vertical no mobile */
  .process-horizontal { flex-direction: column; gap: 8px; }
  .process-arrow { transform: rotate(90deg); margin: 4px 0; }
  
  /* Footer mobile */
  .footer-simple { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-socials { flex-wrap: wrap; gap: 16px; }

  /* Navbar & Menu Mobile */
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; width: 280px; height: 100dvh;
    background: var(--bg-alt); border-left: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; padding: 90px 28px 40px;
    transform: translateX(100%); transition: transform 300ms var(--ease);
    gap: 16px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.95rem; width: 100%; display: block; padding: 8px 0; }
}