:root {
  --primary: #00a8cc;
  --primary-dark: #003d5c;
  --primary-light: #00d4ff;
  --soft: #f5f9fa;
  --dark: #1a1a1a;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  line-height: 1.6;
}

.fw-black {
  font-weight: 900;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 204, 0.3);
}

.bg-soft {
  background: var(--soft) !important;
}

.letter-wide {
  letter-spacing: 0.12em;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

/* ===== LOGO ===== */
.logo-round {
  border-radius: 50%;
  object-fit: cover;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary);
  font-size: 0.95rem;
}

.toplink {
  transition: opacity 0.3s;
}

.toplink:hover {
  opacity: 0.85;
}

.topsep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.iconbtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.iconbtn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
#navbar {
  background-color: var(--primary-dark);
}

.navbar {
  background-color: var(--primary-dark);
}

.navbar-brand img {
  transition: transform 0.3s;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 80%;
}

/* ===== HERO ===== */
.hero {
  min-height: 85vh;
  background: 
    linear-gradient(135deg, rgba(0, 61, 92, 0.85), rgba(0, 168, 204, 0.75)),
    url("../img/foto-01.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.2));
}

.hero-box {
  border-radius: 20px;
  margin-top: 32px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ===== ZIG ZAG ===== */
.zig {
  width: 60px;
  height: 12px;
  background:
    linear-gradient(135deg, transparent 75%, var(--primary) 75%) 0 0/12px 12px,
    linear-gradient(225deg, transparent 75%, var(--primary) 75%) 0 0/12px 12px;
}

/* ===== PRODUTOS ===== */
.product-card {
  padding: 2rem;
  border-radius: 16px;
  background: white;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 168, 204, 0.15);
  transform: translateY(-5px);
}

.product-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* ===== CTA AZUL ===== */
.cta-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-primary::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

.cta-primary .container {
  position: relative;
  z-index: 1;
}

.cta-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cta-highlight {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-btn {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.cta-note {
  font-size: 0.95rem;
}

/* ===== SOBRE ===== */
.stat-box {
  padding: 1.5rem;
  border-radius: 12px;
  background: white;
  border: 2px solid var(--primary);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 600;
  color: #666;
}

.checkdot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.1;
  z-index: -1;
}

/* ===== PROJETOS ===== */
.proj-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 280px;
}

.proj-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 168, 204, 0.25);
}

.proj-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.proj-card:hover .proj-img {
  transform: scale(1.1);
}

.proj-badge {
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  backdrop-filter: blur(10px);
}

/* ===== DEPOIMENTOS ===== */
.testimonial-card {
  border-radius: 20px;
  min-height: 350px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: var(--primary) !important;
  color: white;
  transform: scale(1.1);
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-final::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -220px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  font-size: 1rem;
}

.cta-underline {
  position: relative;
  display: inline-block;
}

.cta-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.cta-points {
  display: grid;
  gap: 0.8rem;
  max-width: 500px;
}

.cta-point {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 1.1rem;
}

.cta-point i {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.cta-card__title {
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.cta-mini {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.cta-mini__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.cta2-btn {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: all 0.3s;
}

.cta2-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cta-small {
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-dark);
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.social-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: min(1200px, 95vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .hero {
    min-height: 70vh;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .display-6 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .topbar .container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-align: center;
  }
  
  .topbar .container > .d-flex:first-child {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
  }
  
  .topbar .topsep {
    display: none !important;
  }
  
  .topbar .container > .d-flex:last-child {
    margin-left: 0 !important;
    justify-content: center !important;
  }
  
  .cta-primary .col-lg-8,
  .cta-primary .col-lg-4 {
    text-align: center;
  }
  
  .cta-primary .d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .cta-badge {
    margin: 0 auto 1rem;
  }
  
  #sobre {
    text-align: center;
  }
  
  #sobre .zig {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  #sobre ul.list-unstyled {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  
  .proj-card {
    height: 220px;
  }
  
  .stat-box {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-box {
    padding: 2rem 1.5rem !important;
  }
  
  .proj-card {
    height: 180px;
  }
  
  .wa-float {
    right: 15px;
    bottom: 15px;
  }
}

/* ===== ANIMAÇÕES ===== */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== SCROLL SUAVE ===== */
html {
  scroll-behavior: smooth;
}

/* ===== UTILIDADES ===== */
.shadow-lg {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
}
