/*
Theme Name: RSV Tecnologia
Theme URI: https://rsvtecnologia.com.br
Author: RSV Tecnologia
Author URI: https://rsvtecnologia.com.br
Description: Tema institucional e responsivo para RSV Tecnologia - Soluções em CFTV, Redes e Informática.
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: rsv-tecnologia
*/

:root {
  --bg-dark: #070c18;
  --bg-card: #0f182c;
  --bg-card-hover: #16233f;
  --primary: #00d2ff;
  --primary-glow: rgba(0, 210, 255, 0.35);
  --secondary: #0066ff;
  --accent: #10b981;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 210, 255, 0.5);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* HEADER & NAVBAR (MENU PRETO) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.brand-name span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.18em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  padding: 160px 0 100px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0066ff, #00d2ff);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 10px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-feat-item span {
  color: var(--accent);
  font-weight: bold;
}

/* SECTION COMMONS */
.section {
  padding: 90px 0;
}

.section-alt {
  background: #0b1323;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PLANS SECTION */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 35px rgba(0, 210, 255, 0.18);
  background: #111e38;
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
  min-height: 44px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-main);
  font-size: 0.93rem;
  margin-bottom: 12px;
}

.plan-features li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}

.plan-btn {
  text-align: center;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border);
}

.plan-card.featured .plan-btn {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border: none;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.plan-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.plans-notice {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 1rem;
}

.plans-notice a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* DIFFERENTIALS / TRUST */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 26px 22px;
  border-radius: 14px;
  text-align: center;
}

.diff-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.diff-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.diff-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 30px 24px;
  border-radius: 14px;
  position: relative;
}

.step-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  color: #cbd5e1;
  font-size: 0.98rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.testimonial-author {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* GALLERY / WORK PLACEHOLDER */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-muted);
  transition: transform 0.2s, border-color 0.2s;
  padding: 20px;
  text-align: center;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.work-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* CONTACT & FORM */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.info-text span, .info-text a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-text a:hover {
  color: var(--primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: #080f1d;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* FOOTER */
.footer {
  background: #040811;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #000000;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 22px;
    transition: left 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
