* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  background: radial-gradient(circle at 12% 12%, rgba(22,94,210,.22), transparent 34%), radial-gradient(circle at 88% 22%, rgba(255,45,65,.13), transparent 30%), #070b18;
  color: #e8edf5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a1024; }
::-webkit-scrollbar-thumb { background: #ffd400; border-radius: 8px; }

a { text-decoration: none; color: inherit; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 14px 28px;
  background: rgba(7, 11, 24, 0.68);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(224, 124, 46, 0.08);
}
.navbar.scrolled {
  background: rgba(7, 11, 24, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(224, 124, 46, 0.2);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 58px;
}
.nav-logo img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.55));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: #c8d0dc;
  font-size: 0.95rem;
  padding: 4px 0;
  transition: 0.2s;
  letter-spacing: 0.3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #ffd400;
  box-shadow: 0 0 12px #ffd400;
  transition: width 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: #ffd400;
  padding: 10px 28px;
  border-radius: 60px;
  font-weight: 600;
  color: #070b18 !important;
  transition: 0.2s;
  border: 1px solid rgba(224, 124, 46, 0.3);
  box-shadow: 0 4px 14px rgba(224, 124, 46, 0.25);
}
.nav-cta:hover { background: #ffe34d; transform: scale(1.02); box-shadow: 0 8px 24px rgba(224, 124, 46, 0.35); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 28px;
  height: 2.5px;
  background: #c8d0dc;
  border-radius: 4px;
  transition: 0.25s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10, 10, 18, 0.98);
  backdrop-filter: blur(18px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 28px 24px 34px;
  border-top: 1px solid rgba(224, 124, 46, 0.2);
  gap: 18px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #c8d0dc;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-menu .nav-cta-mobile {
  background: #ffd400;
  text-align: center;
  padding: 14px;
  border-radius: 60px;
  font-weight: 600;
  color: #070b18;
}

/* --- WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.08); background: #1fa85a; }

/* --- HERO --- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 540px;
  background: #070b18;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease, transform 1.1s ease;
  transform: scale(1.02);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
}
.carousel-slide:nth-child(1) { background-image: url('assets/hero/hero-slide-1.png') !important; }
.carousel-slide:nth-child(2) { background-image: url('assets/hero/hero-slide-2.png') !important; }
.carousel-slide:nth-child(3) { background-image: url('assets/hero/hero-slide-3.png') !important; }
.carousel-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(10, 10, 15, 0.8) 20%, rgba(0, 0, 0, 0.5) 80%);
  z-index: 2;
}
.slide-content {
  position: relative;
  z-index: 12;
  max-width: 780px;
  padding: 0 28px;
  margin-left: 6%;
  animation: fadeUp 1s ease forwards;
}
.slide-content h1 {
  font-size: clamp(2.5rem, 10vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  color: #fff;
}
.slide-content h1 span { color: #ffd400; }
.carousel-slide:nth-child(2) .slide-content h1 span {
  display: block;
  margin-top: 4px;
}
.slide-content p {
  font-size: 1.2rem;
  max-width: 540px;
  margin: 18px 0 28px;
  opacity: 0.9;
  font-weight: 300;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  color: #d0d8e4;
}
.btn-primary {
  display: inline-block;
  background: #ffd400;
  padding: 14px 40px;
  border-radius: 60px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #070b18;
  transition: 0.2s;
  border: 1px solid rgba(224, 124, 46, 0.3);
  box-shadow: 0 4px 14px rgba(224, 124, 46, 0.3);
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-primary:hover { background: #ffe34d; transform: scale(1.02); box-shadow: 0 8px 24px rgba(224, 124, 46, 0.4); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 14px 40px;
  border-radius: 60px;
  font-weight: 600;
  color: #fff;
  transition: 0.2s;
  display: inline-block;
  margin-left: 12px;
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: #ffd400; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(10, 10, 18, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background: #ffd400; border-color: #ffd400; color: #070b18; }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

.carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 14px;
}
.carousel-indicators span {
  width: 12px;
  height: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  transition: 0.3s;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
}
.carousel-indicators span.active {
  background: #ffd400;
  width: 34px;
  border-color: #ffd400;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(26px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- SEÇÕES --- */
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, #42c8ff 5%, #ffd400 52%, #ff4057 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.category-card {
  background: #0d1730;
  border-radius: 28px;
  padding: 28px 24px 32px;
  border: 1px solid #243866;
  transition: 0.2s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.category-card:hover { transform: translateY(-8px); background: linear-gradient(145deg, #102044, #0d1730); border-color: #ffd400; box-shadow: 0 16px 40px rgba(224, 124, 46, 0.12); }
.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  background: #15284b;
}
.category-card h3 { font-size: 1.8rem; margin-bottom: 8px; color: #f0e8d8; }
.category-card p { color: #b0bcca; line-height: 1.5; margin-bottom: 18px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid #243866;
  padding-bottom: 20px;
}
.filter-btn {
  background: transparent;
  border: none;
  color: #9aa8b8;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 4px;
  cursor: pointer;
  transition: 0.15s;
  border-bottom: 2px solid transparent;
}
.filter-btn.active { color: #fff; border-bottom-color: #ffd400; }
.filter-btn:hover { color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}
.product-card {
  background: #0d1730;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid #20345f;
  transition: 0.2s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover { border-color: #42c8ff; box-shadow: 0 18px 45px rgba(34,126,255,.18); transform: scale(1.01); }
.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #15284b;
}
.product-card.portrait-product img {
  height: 300px;
  object-fit: contain;
  padding: 10px;
  background: radial-gradient(circle at center, #172b50, #070b18 75%);
}
.product-info {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info > p:first-of-type { min-height: 66px; }
.product-info .tag { color: #42c8ff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.product-info h4 { font-size: 1.4rem; margin: 6px 0 4px; color: #f0e8d8; }
.product-info .price { color: #ffd400; font-weight: 700; font-size: 1.25rem; margin: 8px 0 12px; }
.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.btn-small {
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  background: #1e2a3a;
  color: #d0d8e4;
  border: none;
  cursor: pointer;
  transition: 0.15s;
}
.btn-small.primary { background: #ffd400; color: #070b18; }
.btn-small.primary:hover { background: #ffe34d; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  background: #0d1730;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 36px;
  padding: 32px 32px 40px;
  border: 1px solid #2a2a44;
  box-shadow: 0 30px 70px rgba(0,0,0,0.7);
  animation: fadeUp 0.3s ease;
}
.modal-box img { width: 100%; border-radius: 20px; margin-bottom: 16px; background: #1b1b2a; }
.product-gallery-main {
  position: relative;
  margin-bottom: 14px;
}
.product-gallery-main img {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: contain;
  margin-bottom: 0;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,10,15,.8);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.gallery-nav:hover { background: #ffd400; color: #070b18; }
.gallery-nav.prev { left: 8px; }
.gallery-nav.next { right: 8px; }
.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
  max-height: 180px;
  overflow-y: auto;
}
.modal-box .product-thumbnails img {
  height: 70px;
  object-fit: cover;
  margin: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: .65;
}
.modal-box .product-thumbnails img:hover,
.modal-box .product-thumbnails img.active { border-color: #ffd400; opacity: 1; }
.modal-box .close-modal {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 0 -34px auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(7,11,24,.9);
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}
.modal-box .close-modal:hover,
.modal-box .close-modal:focus-visible { background: #ffd400; color: #070b18; }
body.modal-open { overflow: hidden; }
.modal-box h2 { font-size: 2rem; margin: 0 0 6px; color: #f0e8d8; }
.modal-box .price { color: #ffd400; font-size: 1.6rem; font-weight: 700; margin: 12px 0; }
.modal-box .feature-list { list-style: none; padding: 0; margin: 16px 0; }
.modal-box .feature-list li { padding: 6px 0; border-bottom: 1px solid #243866; color: #c8d0dc; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.25s;
  border: 1px solid #1f3561;
  cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.03); border-color: #ffd400; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 24px;
  margin: 40px 0;
}
.step-card { background: #0d1730; padding: 28px 20px; border-radius: 30px; border-left: 4px solid #ffd400; }
.step-card h4 { color: #f0e8d8; }
.step-card p { color: #b0bcca; }

.footer {
  background: #0a0a10;
  border-top: 1px solid #1e1e30;
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 40px;
}
.footer-grid h4 { color: #f0e8d8; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: #8a9aaa; line-height: 1.8; }
.footer-bottom { border-top: 1px solid #1a1a2a; padding-top: 24px; margin-top: 40px; text-align: center; color: #5a6a7a; }

.faq-item { border-bottom: 1px solid #1f1f30; padding: 16px 0; cursor: pointer; }
.faq-item .question { font-weight: 600; display: flex; justify-content: space-between; color: #e0e8f0; }
.faq-item .answer { max-height: 0; overflow: hidden; transition: 0.3s; color: #aab4c8; }
.faq-item.open .answer { max-height: 150px; padding-top: 12px; }

+
/* --- REFINAMENTOS DE APRESENTAÇÃO --- */
.nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  padding: 8px 15px 9px;
  color: #f7fbff;
  font-family: "Trebuchet MS", "Arial Black", Impact, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: .045em;
  text-transform: uppercase;
  border: 1px solid rgba(66,200,255,.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(21,40,75,.94), rgba(7,11,24,.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.28);
}
.nav-logo::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffd400, #42c8ff, #ff4057);
}
.nav-logo span {
  font-family: inherit;
  font-weight: 900;
  letter-spacing: .075em;
}
.nav-logo .brand-rappy {
  color: #ffd400;
  text-shadow: 0 2px 0 rgba(255,64,87,.7), 0 0 18px rgba(255,212,0,.34);
}
.nav-logo .brand-diversoes {
  color: #fff;
  text-shadow: 0 2px 0 rgba(21,40,75,.9), 0 0 14px rgba(66,200,255,.2);
}
.nav-logo .nav-brand-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.5));
}
.carousel-slide {
  background-color: #070b18;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.carousel-slide .overlay {
  background: linear-gradient(90deg, rgba(7,11,24,.99) 0%, rgba(7,11,24,.94) 38%, rgba(7,11,24,.48) 62%, rgba(7,11,24,.12) 100%);
}
.slide-content {
  max-width: min(680px, 52vw);
}
.slide-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
}
#sobre {
  position: relative;
  padding: 72px 0 56px !important;
  scroll-margin-top: 88px;
}
#sobre .section-title {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 3vw, 2.35rem);
  white-space: nowrap;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.about-copy {
  position: relative;
  z-index: 2;
  padding: 28px;
  border-left: 4px solid #ffd400;
  border-radius: 0 22px 22px 0;
  background: linear-gradient(135deg, rgba(21,40,75,.72), rgba(13,23,48,.36));
}
.about-media {
  position: relative;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(66,200,255,.38);
  border-radius: 28px;
  background: #0d1730;
  box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 30px rgba(66,200,255,.08);
  width: 100%;
  max-width: 470px;
  justify-self: end;
}
.about-media img {
  display: block;
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { padding: 22px; }
  .about-media { max-width: 680px; width: 100%; margin: 0 auto; }
  .about-media img { height: min(60vw, 340px); }
}
@media (max-width: 768px) {
  .carousel-slide {
    background-size: cover;
    background-position: center;
  }
  .carousel-slide .overlay {
    background: linear-gradient(180deg, rgba(7,11,24,.38) 0%, rgba(7,11,24,.88) 52%, rgba(7,11,24,.98) 100%);
  }
  .slide-content {
    align-self: flex-end;
    max-width: 100%;
    margin: 0 0 80px;
    padding: 0 24px;
  }
  .slide-content h1 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  #sobre { padding-top: 70px !important; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar { padding: 12px 20px; }
  .nav-logo { min-height: 48px; }
}
@media (max-width: 768px) {
  .hero-carousel { height: 80vh; min-height: 440px; }
  .slide-content { margin-left: 4%; padding: 0 16px; }
  .carousel-btn {
    top: auto;
    bottom: 28px;
    transform: none;
    width: 34px;
    height: 34px;
    font-size: 14px;
    background: rgba(7,11,24,.78);
  }
  .carousel-btn.prev { left: 18px; }
  .carousel-btn.next { right: 18px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); }
}
@media (max-width: 480px) {
  .btn-outline { margin-left: 0; margin-top: 10px; }
  .gallery-nav {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .gallery-nav.prev { left: 6px; }
  .gallery-nav.next { right: 6px; }
  .modal-box .close-modal {
    width: 30px;
    height: 30px;
    margin-bottom: -30px;
    font-size: 1.25rem;
  }
}
