/* =====================================================
   Vibranium Tecnologia — Landing Page
   Design tokens espelham o sistema visual da apresentação:
   dark #1F2633, turquoise #55BB91, branco e variações neutras.
   ===================================================== */

:root {
  --dark: #1F2633;
  --dark-2: #161B26;
  --dark-3: #0F131C;
  --turq: #55BB91;
  --turq-2: #3FA078;
  --white: #FFFFFF;
  --soft: #F4F5F7;
  --slate: #2A3142;
  --muted: #8A93A6;
  --border: #E2E5EC;
  --cfd4: #CFD4DE;
  --warm: #C7553D;
  --orange: #E59F2B;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 1px 2px rgba(15, 19, 28, 0.06), 0 8px 24px -10px rgba(15, 19, 28, 0.12);
  --shadow-2: 0 12px 40px -16px rgba(15, 19, 28, 0.55);

  --container: 1200px;
  --gutter: 24px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =================== Reset ================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* =================== Layout ================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 320px;
  background: var(--turq);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.18;
  pointer-events: none;
}

.section--cta {
  background: var(--dark);
  color: var(--white);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.section--cta::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle at center, rgba(85,187,145,0.15), transparent 70%);
  pointer-events: none;
}

.section__head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin: 12px 0 16px;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.section--dark .section__title,
.section--cta .section__title { color: var(--white); }

.section__lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}
.section__lead--light { color: var(--cfd4); }

/* =================== Typography utility ================== */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--turq);
  margin: 0 0 8px;
}
.eyebrow--light { color: var(--turq); }

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

/* =================== Buttons ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.btn--primary {
  background: var(--turq);
  color: var(--dark);
  box-shadow: 0 8px 24px -10px rgba(85, 187, 145, 0.7);
}
.btn--primary:hover { background: var(--turq-2); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
}

/* =================== Nav ================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 38, 51, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.nav__icon { width: 28px; height: 28px; }
.nav__wordmark {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 14px;
}
.nav__links {
  display: flex;
  gap: 26px;
}
.nav__links a {
  color: var(--cfd4);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.nav__links a:hover { color: var(--white); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--turq);
  transition: width 0.2s ease;
}
.nav__links a:hover::after { width: 100%; }

/* =================== Hero ================== */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__triangle {
  position: absolute;
  top: 0; right: 0;
  width: 380px; height: 380px;
  background: var(--turq);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.85;
}
.hero__stripe {
  position: absolute;
  top: 0; right: 0;
  width: 6px; height: 100%;
  background: var(--turq);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 110px 0 120px;
  position: relative;
}
.hero__title {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 14px 0 22px;
}
.hero__lead {
  font-size: 18px;
  color: var(--cfd4);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  color: var(--cfd4);
  font-size: 14px;
}
.hero__bullets .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--turq);
  margin-right: 8px;
  vertical-align: 1px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__logo {
  width: min(420px, 100%);
  filter: drop-shadow(0 30px 60px rgba(85,187,145,0.18));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =================== Trust strip ================== */
.trust {
  background: var(--dark-2);
  color: var(--white);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust__item {
  display: flex;
  flex-direction: column;
  text-align: center;
  flex: 1 1 220px;
}
.trust__item strong {
  font-size: 28px;
  color: var(--turq);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.trust__item span {
  font-size: 13px;
  color: var(--cfd4);
  margin-top: 2px;
}
.trust__divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

/* =================== Grid + Cards ================== */
.grid {
  display: grid;
  gap: 18px;
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
  border-color: rgba(85,187,145,0.4);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(85,187,145,0.12);
  color: var(--turq);
  font-size: 18px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--dark);
  font-weight: 700;
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* =================== Pilares (dark) ================== */
.grid--pillars { gap: 22px; position: relative; z-index: 1; }
.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pillar:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(85,187,145,0.45);
}
.pillar__num {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  color: var(--turq);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.pillar h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--white);
}
.pillar p {
  margin: 0;
  color: var(--cfd4);
  font-size: 14px;
}

/* =================== Case ================== */
.case {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.case__copy h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.case__tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}
.brand-white { color: var(--dark); }
.brand-orange { color: var(--orange); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--slate);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--turq);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%231F2633' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/></svg>");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Mockups CSS-only (sem imagens) */
.case__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.case__mock {
  position: absolute;
  border-radius: 12px;
  background: var(--dark);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.case__mock--desktop {
  width: 75%;
  height: 280px;
  top: 30px;
  left: 0;
}
.mock__bar {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--dark-3);
}
.mock__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.mock__bar i:nth-child(1) { background: #FF5F57; }
.mock__bar i:nth-child(2) { background: #FEBC2E; }
.mock__bar i:nth-child(3) { background: #28C840; }

.mock__screen {
  padding: 20px;
  height: calc(100% - 30px);
  display: grid;
  gap: 12px;
  align-content: start;
}
.mock__dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--turq);
  opacity: 0.85;
}
.mock__line {
  height: 10px;
  width: 70%;
  background: rgba(255,255,255,0.18);
  border-radius: 4px;
}
.mock__line--short { width: 40%; background: rgba(85,187,145,0.45); }
.mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.mock__grid span {
  height: 56px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.04);
}

.case__mock--phone {
  width: 130px;
  height: 240px;
  bottom: 0;
  right: 8%;
  border-radius: 22px;
  background: var(--dark-3);
  padding: 14px 12px;
}
.phone__screen {
  background: var(--dark);
  border-radius: 14px;
  height: 100%;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.phone__title {
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.phone__chip {
  width: 100%;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}
.phone__chip--accent {
  background: var(--turq);
  border-color: transparent;
}

/* =================== CTA / Contato ================== */
.cta {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.cta__title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  margin: 12px 0 18px;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cta__lead {
  color: var(--cfd4);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
  display: grid;
  gap: 18px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turq);
}
.field input,
.field textarea {
  background: rgba(15,19,28,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(207,212,222,0.45); }
.field input:focus,
.field textarea:focus {
  border-color: var(--turq);
  background: rgba(15,19,28,0.65);
}

.contact-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.contact-form__direct {
  color: var(--cfd4);
  font-size: 14px;
}
.contact-form__direct strong { color: var(--turq); }

/* =================== Footer ================== */
.footer {
  background: var(--dark-3);
  color: var(--cfd4);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr;
  gap: 60px;
}
.footer__brand img {
  width: 180px;
  margin-bottom: 14px;
}
.footer__brand p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.footer__cols h4 {
  color: var(--white);
  font-size: 14px;
  margin: 0 0 14px;
  letter-spacing: 0.05em;
}
.footer__cols a,
.footer__cols span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--cfd4);
}
.footer__cols a:hover { color: var(--turq); }

.footer__bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12.5px;
  color: var(--muted);
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* =================== Responsivo ================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 80px 0 90px; }
  .hero__visual { order: -1; }
  .hero__logo { width: 220px; }
  .case { grid-template-columns: 1fr; }
  .case__visual { min-height: 340px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .nav__links { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .grid--4 { grid-template-columns: 1fr; }
  .trust__inner { flex-direction: column; align-items: stretch; }
  .trust__divider { display: none; }
  .trust__item { text-align: left; flex-direction: row; gap: 10px; align-items: baseline; }
  .check-list { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom .container { justify-content: center; text-align: center; }
}

/* Acessibilidade: foco visível */
:focus-visible {
  outline: 2px solid var(--turq);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
