/* =========================================================
   CLÉO MALHAS FARDAMENTOS — estilos
========================================================= */

:root {
  --bg: #0a0c08;
  --bg-alt: #101309;
  --bg-card: #12150d;
  --green: #9dff1a;
  --green-soft: #c9ff7a;
  --green-dim: rgba(157, 255, 26, 0.35);
  --green-glow: rgba(157, 255, 26, 0.25);
  --text: #f5f7f0;
  --text-muted: #a8ada0;
  --border: rgba(157, 255, 26, 0.22);
  --radius: 10px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.3px;
}

.accent { color: var(--green); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lead {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  margin-top: 10px;
}
.lead.center, h2 + .lead.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 520px; }
.center { text-align: center; }

section { padding: clamp(48px, 8vw, 96px) 0; }

/* -------------------- BUTTONS -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--green), #6fce00);
  color: #0a0c08;
  box-shadow: 0 6px 24px var(--green-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--green-glow); }
.btn-outline {
  background: transparent;
  border-color: var(--green-dim);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--green); background: rgba(157,255,26,0.06); }
.btn-wide { width: 100%; max-width: 420px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* -------------------- HEADER -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 0.9; }
.logo-img {
  height: 34px;
  width: auto;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--green);
  transition: transform 0.25s ease, opacity 0.25s 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); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}
.main-nav a { color: var(--text-muted); transition: color 0.15s ease; }
.main-nav a:hover { color: var(--green); }
.nav-cta {
  color: var(--bg) !important;
  background: var(--green);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { color: var(--bg) !important; }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    height: 100vh;
    background: #0d1008;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-cta { margin-top: 10px; }
}

/* -------------------- HERO -------------------- */
.hero {
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
}
.hero-lead {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 480px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10,12,8,0) 22%);
  pointer-events: none;
}

/* quick nav pills below hero */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quick-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
  letter-spacing: 0.5px;
  border-right: 1px solid var(--border);
  transition: background 0.15s ease, color 0.15s ease;
}
.quick-nav a:last-child { border-right: none; }
.quick-nav a svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.6; flex-shrink: 0; }
.quick-nav a:hover { background: rgba(157,255,26,0.06); color: var(--green); }

@media (max-width: 640px) {
  .quick-nav { grid-template-columns: 1fr; }
  .quick-nav a { border-right: none; border-bottom: 1px solid var(--border); justify-content: flex-start; padding: 16px 6px; }
  .quick-nav a:last-child { border-bottom: none; }
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* -------------------- WHY / DIFERENCIAIS -------------------- */
.why { background: var(--bg-alt); }
.why-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 480px;
  margin-bottom: 34px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(157,255,26,0.08);
  border: 1px solid var(--border);
}
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-list h3 { font-size: 0.98rem; margin-bottom: 4px; letter-spacing: 0.5px; }
.feature-list p { color: var(--text-muted); font-size: 0.9rem; }

@media (min-width: 720px) {
  .why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
  .feature-list { grid-template-columns: 1fr 1fr; column-gap: 30px; }
}

/* -------------------- BRAND BANNER -------------------- */
.brand-banner {
  background:
    radial-gradient(circle at 50% 50%, rgba(157,255,26,0.10), transparent 60%),
    #070805;
  text-align: center;
  padding: clamp(50px, 10vw, 100px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-banner-logo {
  display: block;
  width: clamp(220px, 34vw, 440px);
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(157,255,26,0.35));
}

/* -------------------- SOLUÇÕES -------------------- */
.solucoes-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.solucoes h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }

.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 6px;
  width: 10px; height: 6px;
  border-left: 2px solid #0a0c08;
  border-bottom: 2px solid #0a0c08;
  transform: rotate(-45deg);
}

.pedido-box {
  justify-self: center;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 0.9;
  border: 2px solid var(--green);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  box-shadow: inset 0 0 40px rgba(157,255,26,0.08), 0 0 40px rgba(157,255,26,0.08);
}
.pedido-box span {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.pedido-box strong {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 5rem);
  color: var(--green);
  line-height: 1;
  margin: 4px 0;
}

@media (min-width: 860px) {
  .solucoes-grid { grid-template-columns: 1.3fr 0.7fr; }
}

/* -------------------- TÉCNICAS -------------------- */
.tecnicas { background: var(--bg-alt); }
.tecnicas-grid { display: grid; gap: 40px; }
.tecnicas-text h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.tecnicas-text p { color: var(--text-muted); margin: 14px 0 24px; max-width: 420px; }

.tecnicas-cards { display: grid; gap: 18px; }
.tecnica-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tecnica-card:hover { border-color: var(--green-dim); transform: translateY(-2px); }
.tecnica-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.tecnica-card p { color: var(--text-muted); font-size: 0.88rem; }

@media (min-width: 860px) {
  .tecnicas-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}
@media (min-width: 620px) and (max-width: 1100px) {
  .tecnicas-cards { grid-template-columns: 1fr 1fr; }
}

/* -------------------- ENTREGA -------------------- */
.entrega h2 { text-align: center; font-size: clamp(1.5rem, 4vw, 2.1rem); max-width: 640px; margin: 0 auto; }

.entrega-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.entrega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.entrega-item svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.entrega-item span { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.4px; }

@media (min-width: 640px) { .entrega-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .entrega-grid { grid-template-columns: repeat(3, 1fr); } }

/* -------------------- SEGMENTOS / FEITO PARA -------------------- */
.feito-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.feito-text h2 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); }

.gallery-mock {
  margin-top: 26px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.gallery-mock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segmentos-list { display: grid; gap: 20px; }
.segmentos-list li { padding-left: 18px; border-left: 3px solid var(--green); }
.segmentos-list strong {
  font-family: var(--font-head);
  color: var(--green);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.segmentos-list p { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

@media (min-width: 860px) {
  .feito-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* -------------------- PROCESSO -------------------- */
.processo { background: var(--bg-alt); text-align: center; }
.processo h2 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); }

.steps {
  margin: 46px 0 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
}
.steps li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.step-num {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green);
  background: var(--bg-card);
  box-shadow: 0 0 20px var(--green-glow);
}
.steps p { max-width: 160px; font-size: 0.85rem; color: var(--text-muted); }

@media (min-width: 780px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps::before {
    content: "";
    position: absolute;
    top: 31px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border);
    z-index: 0;
  }
}

/* -------------------- CONTATO -------------------- */
.contato-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contato-text h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.contato-text p { color: var(--text-muted); margin: 16px 0 26px; max-width: 380px; }

.pedido-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 280px;
}
.pedido-mini svg { width: 30px; height: 30px; fill: none; stroke: var(--green); stroke-width: 1.5; flex-shrink: 0; }
.pedido-mini span { font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.5px; color: var(--text-muted); }
.pedido-mini strong { color: var(--green); font-size: 0.95rem; }

.contato-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  gap: 14px;
}
.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%;
  background: #0d1008;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.contato-form input::placeholder,
.contato-form textarea::placeholder { color: var(--text-muted); }
.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus { border-color: var(--green); }
.contato-form select { appearance: none; color: var(--text-muted); }
.contato-form select:valid { color: var(--text); }
.contato-form textarea { resize: vertical; min-height: 90px; }
.contato-form .btn { margin-top: 6px; }

@media (min-width: 900px) {
  .contato-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

/* -------------------- FOOTER -------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-text { color: var(--text-muted); font-size: 0.9rem; max-width: 360px; }

@media (min-width: 720px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   Uses `animation` (not `transition`) so it never collides with
   the hover transitions already declared on .btn, .tecnica-card,
   .quick-nav a, etc.
========================================================= */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(var(--reveal-y, 28px)); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.is-visible {
  --reveal-y: 30px;
  animation: revealIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
}
.reveal-group.is-visible > * {
  --reveal-y: 24px;
  animation: revealIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-group.is-visible > *:nth-child(1) { animation-delay: 0.02s; }
.reveal-group.is-visible > *:nth-child(2) { animation-delay: 0.10s; }
.reveal-group.is-visible > *:nth-child(3) { animation-delay: 0.18s; }
.reveal-group.is-visible > *:nth-child(4) { animation-delay: 0.26s; }
.reveal-group.is-visible > *:nth-child(5) { animation-delay: 0.34s; }
.reveal-group.is-visible > *:nth-child(6) { animation-delay: 0.42s; }
.reveal-group.is-visible > *:nth-child(n+7) { animation-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
