/* ===================================================================
   Praga Enterprises Holdings Inc. — Landing page
   Paleta: prata + chumbo (graphite)
   =================================================================== */

:root {
  /* Chumbo / graphite */
  --ink-900: #15181d;
  --ink-800: #1a1d22;
  --ink-700: #23272e;
  --ink-600: #2b2f36;
  --ink-500: #3a3f47;

  /* Prata / silver */
  --silver-100: #f4f6f8;
  --silver-200: #e6e9ee;
  --silver-300: #d4d9e0;
  --silver-400: #b9bfc9;
  --silver-500: #9aa1ac;

  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(20, 24, 29, 0.10);

  --accent: linear-gradient(135deg, #eef1f5 0%, #c2c8d2 45%, #9aa1ac 100%);
  --accent-line: linear-gradient(90deg, #e6e9ee, #9aa1ac);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 24px 60px -28px rgba(10, 12, 15, 0.55);

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--silver-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--silver-500);
  margin-bottom: 14px;
}

.accent {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #2b2f36, #15181d);
  color: var(--silver-200);
  box-shadow: 0 12px 26px -14px rgba(10, 12, 15, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(10, 12, 15, 0.75); }
.btn-ghost {
  background: transparent; color: var(--ink-800);
  border-color: var(--silver-400);
}
.btn-ghost:hover { border-color: var(--ink-700); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 248, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; letter-spacing: 0.16em; font-size: 1.05rem; color: var(--ink-900); }
.brand-text small { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-500); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-600); transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--ink-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink-800); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, #2b2f36 0%, #1a1d22 40%, #15181d 100%);
  color: var(--silver-200);
  padding: clamp(72px, 12vw, 132px) 0 clamp(64px, 9vw, 104px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 80% at 70% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.hero-inner { position: relative; }
.hero .eyebrow { color: var(--silver-400); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.lead { font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: var(--silver-300); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 48px; }
.hero .btn-ghost { color: var(--silver-200); border-color: rgba(255,255,255,0.22); }
.hero .btn-ghost:hover { border-color: rgba(255,255,255,0.6); }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: #fff; }
.hero-stats span { font-size: 0.85rem; color: var(--silver-500); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: #fff; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

.two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.col-text p { margin-bottom: 16px; color: var(--ink-600); }

.check-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-700); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--silver-100);
}

/* visual card */
.col-visual { display: flex; }
.visual-card {
  position: relative; width: 100%; aspect-ratio: 4 / 3.4;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #2b2f36, #15181d);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.visual-stripes {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px),
    radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,0.10), transparent 60%);
}
.visual-tag {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(20,24,29,0.7); backdrop-filter: blur(6px);
  color: var(--silver-200); font-size: 0.82rem; font-weight: 500;
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee08a; box-shadow: 0 0 0 4px rgba(126,224,138,0.18); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--silver-100); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section-alt .card { background: var(--silver-100); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--silver-300); }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(150deg, #2b2f36, #15181d); color: var(--silver-200);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.94rem; color: var(--ink-600); }

/* ---------- Portfolio ---------- */
.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.proj {
  position: relative; min-height: 280px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  isolation: isolate;
}
.proj::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.proj::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,24,29,0) 30%, rgba(21,24,29,0.86) 100%);
}
.proj:hover::before { transform: scale(1.06); }
.proj-a::before { background-image: linear-gradient(135deg, #3a3f47, #15181d), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px); }
.proj-b::before { background-image: linear-gradient(135deg, #4a505a, #1a1d22); }
.proj-c::before { background-image: linear-gradient(135deg, #2b2f36, #20242a); }
.proj-d::before { background-image: linear-gradient(135deg, #5a606b, #23272e); }
.proj-body { padding: 26px; position: relative; }
.proj-status {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: rgba(244,246,248,0.16); border: 1px solid rgba(255,255,255,0.22);
  margin-bottom: 12px;
}
.status-live { background: rgba(126,224,138,0.18); border-color: rgba(126,224,138,0.4); }
.status-soon { background: rgba(201,209,221,0.2); border-color: rgba(201,209,221,0.45); }
.proj-body h3 { color: #fff; }
.proj-body p { font-size: 0.9rem; color: var(--silver-300); margin-top: 4px; }

/* ---------- Métricas (dark) ---------- */
.section-dark { background: radial-gradient(120% 120% at 50% 0%, #2b2f36, #15181d); color: var(--silver-200); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--silver-400); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { text-align: center; padding: 28px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.metric strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; color: #fff; }
.metric span { font-size: 0.86rem; color: var(--silver-500); }

/* ---------- Contato ---------- */
.contact-col { align-items: start; }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--ink-700); }
.ci { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink-800); color: var(--silver-200); font-size: 1rem; }
.contact-list a:hover { color: var(--ink-900); text-decoration: underline; }

.contact-form {
  background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-800);
  padding: 12px 14px; border: 1px solid var(--silver-300); border-radius: var(--radius-sm);
  background: var(--silver-100); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink-600); box-shadow: 0 0 0 3px rgba(43,47,54,0.12); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.86rem; min-height: 1.2em; }
.form-note.ok { color: #2e7d4f; }
.form-note.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--silver-400); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 10px; max-width: 320px; font-size: 0.92rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 0.92rem; transition: color .15s; }
.footer-nav a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; font-size: 0.82rem; color: var(--silver-500); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(244,246,248,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 20px; transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-links .btn { margin-top: 12px; }
  .nav-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .portfolio { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
}

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