/* ========================================
   Christian Caiaques - Estilos
   ======================================== */

/* Reset e Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #0a0f1a;
  --foreground: #f0f4f8;
  --card: #111827;
  --card-foreground: #f0f4f8;
  --primary: #0891b2;
  --primary-foreground: #ffffff;
  --secondary: #1e293b;
  --secondary-foreground: #f0f4f8;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --accent: #d4a017;
  --accent-foreground: #0a0f1a;
  --border: #334155;
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-primary {
  color: var(--primary);
}

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

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(240, 244, 248, 0.8);
  font-weight: 500;
  transition: color 0.3s;
}

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

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: rgba(240, 244, 248, 0.8);
}

.header-cta:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: currentColor;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.nav-mobile.active {
  display: block;
}

.nav-mobile .nav-link {
  display: block;
  padding: 0.75rem 0;
}

@media (min-width: 768px) {
  .header-content {
    height: 80px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), var(--background), rgba(30, 41, 59, 0.3));
}

.hero-decoration-1 {
  position: absolute;
  top: 25%;
  left: 0;
  width: 256px;
  height: 256px;
  background: rgba(8, 145, 178, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-decoration-2 {
  position: absolute;
  bottom: 25%;
  right: 0;
  width: 384px;
  height: 384px;
  background: rgba(212, 160, 23, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero-logo {
  width: 192px;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 576px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: rgba(8, 145, 178, 0.9);
  transform: scale(1.05);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.8);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background: rgba(212, 160, 23, 0.9);
}

.hero-image {
  flex: 1;
  position: relative;
  max-width: 512px;
  margin: 0 auto;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 145, 178, 0.2), rgba(212, 160, 23, 0.2));
  border-radius: 1.5rem;
  filter: blur(40px);
  transform: rotate(6deg);
}

.hero-image img {
  position: relative;
  border-radius: 1rem;
  width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 80px;
  }

  .hero-logo {
    width: 256px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    gap: 4rem;
  }

  .hero-text {
    text-align: left;
  }

  .hero-logo {
    margin: 0 0 1.5rem;
    width: 320px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: flex-start;
  }
}

/* ========================================
   Section Base
   ======================================== */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(8, 145, 178, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: rgba(30, 41, 59, 0.3);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 26, 0.6), transparent);
}

.about-image-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.about-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.about-content strong {
  color: var(--foreground);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(8, 145, 178, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature-item h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .about-content h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Brands Section
   ======================================== */
.brands {
  background: rgba(51, 65, 85, 0.3);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.brand-card {
  background: var(--background);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.brand-card:hover {
  border-color: rgba(8, 145, 178, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.brand-logo {
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(51, 65, 85, 0.5);
  margin-bottom: 1rem;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.3s;
}

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

.brand-card h3 {
  font-weight: 600;
  text-align: center;
  font-size: 0.875rem;
}

.brand-card p {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
  margin-top: 0.25rem;
}

.brands-badge {
  margin-top: 3rem;
  text-align: center;
}

.brands-badge > div {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 160, 23, 0.1);
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
}

.brands-badge svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .brand-card h3 {
    font-size: 1rem;
  }

  .brand-card p {
    font-size: 0.875rem;
  }
}

/* ========================================
   Products Section
   ======================================== */
.products-grid {
  display: grid;
  gap: 2rem;
}

.product-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.product-card:hover {
  border-color: rgba(8, 145, 178, 0.5);
}

.product-image {
  position: relative;
  height: 256px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card), transparent);
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-content > p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-feature {
  font-size: 0.75rem;
  background: rgba(8, 145, 178, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

.product-card .btn {
  width: 100%;
}

.products-cta {
  margin-top: 3rem;
  text-align: center;
}

.products-cta p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Accessories Section
   ======================================== */
.accessories {
  background: rgba(30, 41, 59, 0.3);
}

.accessory-card {
  max-width: 896px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.accessory-grid {
  display: grid;
}

.accessory-image {
  position: relative;
  height: 256px;
}

.accessory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accessory-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accessory-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.accessory-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.accessory-content > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.accessory-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.accessory-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.accessory-features svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .accessory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accessory-image {
    height: auto;
  }

  .accessory-content {
    padding: 2rem;
  }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-info-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.contact-card:hover {
  border-color: rgba(8, 145, 178, 0.5);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(8, 145, 178, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--foreground);
}

.contact-card .sub {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.whatsapp-cta {
  background: rgba(8, 145, 178, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.whatsapp-cta h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.whatsapp-cta p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.map-container {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 640px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-container {
    height: auto;
    min-height: 400px;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-links h3,
.footer-contact h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.footer-contact .phone {
  color: var(--foreground);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   WhatsApp Button
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  position: relative;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: white;
}

.whatsapp-float .pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 1rem;
  background: var(--card);
  color: var(--foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.whatsapp-float a:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   Utilities
   ======================================== */
.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* SVG Icons inline */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
