/* =========================================================
   RKV21 Consultoria Digital — style.css
   ========================================================= */

:root {
  --teal: #00A5B5;
  --teal-dark: #04858F;
  --teal-deep: #036068;
  --coral: #FF7276;
  --coral-dark: #F0575C;
  --cyan-light: #98D2D9;
  --bg-light: #EAF5F6;
  --dark: #12242A;
  --graphite: #33383D;
  --graphite-deep: #202428;
  --text: #263238;
  --text-muted: #5B6B70;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(10, 40, 45, 0.09);
  --shadow-strong: 0 20px 44px rgba(10, 40, 45, 0.16);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.22;
  margin: 0 0 18px;
}

h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }

p { margin: 0 0 16px; color: var(--text); font-size: 1.05rem; }

a { color: var(--teal-dark); text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.narrow { max-width: 760px; }

.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-light); }

.center { text-align: center; }
.section-lead.center { max-width: 640px; margin: 0 auto 48px; }

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}
.tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
}
.tag.center { display: block; text-align: center; padding-left: 0; }
.tag.center::before { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255, 114, 118, 0.4);
}
.btn-primary:hover { background: var(--coral-dark); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo-img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-link:hover { color: var(--teal-dark); border-color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  border-bottom: none !important;
  box-shadow: 0 8px 18px rgba(0,165,181,0.28);
}
.nav-cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--graphite-deep);
  background-image:
    linear-gradient(100deg, rgba(24,27,30,0.93) 0%, rgba(32,36,40,0.9) 45%, rgba(38,42,46,0.88) 100%),
    url("../images/hero-bg.jpg");
  background-blend-mode: multiply, normal;
  background-size: cover;
  background-position: center 20%;
  padding: 96px 0 0;
}

.hero-inner {
  position: relative;
  display: block;
  max-width: 620px;
  padding-bottom: 90px;
}

.eyebrow {
  color: var(--cyan-light);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.84rem;
  margin-bottom: 18px;
}

.hero h1 { color: var(--white); }
.hero h1 .highlight { color: var(--white); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 4px; text-underline-offset: 4px; }

.hero-lead { color: rgba(255,255,255,0.92); font-size: 1.1rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-platforms {
  margin-top: 26px;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.hero-platforms span { color: var(--cyan-light); font-weight: 600; margin-right: 6px; }

.hero-badge {
  position: relative;
  z-index: 2;
  max-width: 300px;
  margin: 0 auto 46px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--coral-dark); line-height: 1; }
.hero-badge span { font-size: 0.8rem; color: var(--text-muted); }

.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--dark);
  padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 720px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--cyan-light);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { display: block; color: rgba(255,255,255,0.72); font-size: 0.85rem; line-height: 1.45; }

/* ---------- Sobre / diagnóstico ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 56px;
}
.about-visual { display: flex; align-items: center; justify-content: center; }
.about-illustration { width: 100%; max-width: 260px; height: auto; }

/* ---------- Highlight row (por que a rkv21) ---------- */
.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 0;
}
.highlight-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.highlight-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.highlight-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0; }

.c-teal { background: var(--bg-light); color: var(--teal-dark); }
.c-coral { background: #FFECEC; color: var(--coral-dark); }
.c-cyan { background: #E6F6F8; color: #1D8894; }

/* ---------- Nossa forma de trabalhar ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.work-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}
.work-card-icons { display: flex; gap: 12px; margin-bottom: 22px; }
.mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-family: var(--font-head); font-size: 0.98rem; color: var(--dark); }
.check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 4px solid transparent;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); border-top-color: var(--teal); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.98rem; color: var(--text-muted); margin-bottom: 0; }

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.founder-visual { position: relative; display: flex; flex-direction: column; align-items: center; padding: 20px; }
.founder-avatar-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
  border: 6px solid var(--white);
}
.founder-quote-badge {
  position: absolute;
  top: 6px;
  left: calc(50% + 62px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 3px solid var(--white);
}
.founder-years {
  margin-top: 22px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-years strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--teal-dark); line-height: 1; }
.founder-years span { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- CTA + Form ---------- */
.cta-section {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.cta-illustration { width: 96px; height: 96px; margin-bottom: 20px; }

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.cta-copy h2 { color: var(--white); }
.cta-copy p { color: rgba(255,255,255,0.78); }

.contact-info {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
}
.contact-info svg { color: var(--cyan-light); flex-shrink: 0; }
.contact-info a { color: rgba(255,255,255,0.9); }
.contact-info a:hover { color: var(--cyan-light); }

.cta-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-strong);
}

.cta-form h3 { color: var(--dark); margin-bottom: 22px; }

.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }

.form-row label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-row input, .form-row textarea {
  border: 1.5px solid #DCE4E6;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
  background: #FAFDFD;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,165,181,0.15);
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-feedback {
  margin: 14px 0 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-feedback.success { color: var(--teal-dark); font-weight: 600; }
.form-feedback.error { color: var(--coral-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0B1A1F;
  color: rgba(255,255,255,0.75);
  padding: 48px 0 30px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer-logo { height: 46px; }

.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--cyan-light); }

.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.06); }

@keyframes pulse {
  0% { box-shadow: 0 8px 22px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 8px 22px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 22px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-visual { order: -1; }
  .about-illustration { max-width: 200px; }
  .highlight-row { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-visual { margin: 0 auto; }
  .founder-quote-badge { left: calc(50% + 70px); }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-illustration { margin-left: auto; margin-right: auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 20px rgba(0,0,0,0.06);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-cta { width: 100%; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }

  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero {
    padding: 76px 0 0;
    background-image:
      linear-gradient(180deg, rgba(24,27,30,0.94) 0%, rgba(34,38,42,0.92) 100%),
      url("../images/hero-bg.jpg");
    background-blend-mode: multiply, normal;
  }
  .hero-inner { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .cta-form-wrap { padding: 26px; }
  .stats-grid { grid-template-columns: 1fr; gap: 22px; max-width: 260px; }
  .stat-number { font-size: 1.9rem; }
}
