/* ===== RESET E VARIÁVEIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
  /* CORES DA MARCA REI RODAS */
  --primary: #FFC107;        /* Amarelo principal */
  --primary-hover: #FFD54F;  /* Amarelo claro (hover) */
  --primary-dark: #E0A800;   /* Amarelo escuro (bordas) */
  --primary-soft: rgba(255, 193, 7, 0.1);  /* Amarelo translúcido */
  --primary-glow: rgba(255, 193, 7, 0.4);  /* Glow amarelo */
  
  --dark: #0a0a0a;           /* Preto profundo */
  --dark-2: #111111;         /* Preto secundário */
  --dark-3: #050505;         /* Preto do footer */
  
  --light: #ffffff;          /* Branco puro */
  --glass: rgba(255,255,255,0.05);
  --whatsapp: #25d366;
  
  /* Texto sobre amarelo (para contraste) */
  --text-on-primary: #0a0a0a;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  padding-bottom: 80px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
  transition: height 0.3s;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-instagram {
  background: var(--primary);
  color: var(--text-on-primary) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-instagram:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.btn-instagram::after { display: none; }

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
  user-select: none;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  max-height: 1080px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Overlay com tom preto/amarelo sutil */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.75) 50%, rgba(255,193,7,0.15) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeUp 1s ease-out;
}

.slide-content h1,
.slide-content h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.slide-content h1 span,
.slide-content h2 span {
  color: var(--primary);
  display: inline-block;
}

.slide-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BOTÃO PRIMÁRIO — AMARELO COM TEXTO PRETO */
.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--primary-glow);
}

/* BOTÃO OUTLINE — BRANCO/AMARELO */
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

/* BOTÕES DE NAVEGAÇÃO DO SLIDE */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 2rem;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
}

.slide-btn:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.slide-btn.prev { left: 20px; }
.slide-btn.next { right: 20px; }

/* DOTS */
.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.slide-dots .dot.active {
  background: var(--primary);
  transform: scale(1.3);
  width: 28px;
  border-radius: 6px;
}

.slide-dots .dot:hover {
  background: var(--primary-hover);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section.dark { background: var(--dark-2); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 56px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}

.section-title span { color: var(--primary); }

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* ===== SOBRE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-lead {
  font-size: 1.15rem !important;
  color: rgba(255,255,255,0.9) !important;
  line-height: 1.7;
  margin-bottom: 24px !important;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.about-text p {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-text strong {
  color: var(--primary);
  font-weight: 600;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,193,7,0.15);
}

/* ===== SERVIÇOS ===== */
.services-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-top: -40px;
  margin-bottom: 56px;
  padding: 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  color: inherit;
  text-decoration: none;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 26px 20px;
  background: rgba(0,0,0,0.78);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-overlay h3,
.service-overlay p,
.service-link {
  transform: translateY(15px);
}

.service-overlay h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform 0.5s ease 0.1s;
}

.service-overlay p {
  margin-bottom: 18px;
  color: #d1d1d1;
  font-size: 0.85rem;
  line-height: 1.5;
  transition: transform 0.5s ease 0.2s;
}

.service-link {
  display: inline-block;
  padding: 9px 22px;
  border: 1.5px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.5s ease 0.3s;
}

.service-card:hover img,
.service-card:focus-visible img {
  transform: scale(1.15);
}

.service-card:hover .service-overlay,
.service-card:focus-visible .service-overlay {
  opacity: 1;
}

.service-card:hover .service-overlay h3,
.service-card:hover .service-overlay p,
.service-card:hover .service-link,
.service-card:focus-visible .service-overlay h3,
.service-card:focus-visible .service-overlay p,
.service-card:focus-visible .service-link {
  transform: translateY(0);
}

.service-card:hover .service-link,
.service-card:focus-visible .service-link {
  background: var(--primary);
  color: var(--text-on-primary);
}

.service-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { height: 280px; }
}

@media (hover: none) {
  .service-overlay { opacity: 1; }
  .service-overlay h3,
  .service-overlay p,
  .service-link { transform: translateY(0); }
}

/* ===== AVALIAÇÕES ===== */
.reviews-subtitle {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: -40px;
  margin-bottom: 48px;
  padding: 0 20px;
}

.reviews-widget-placeholder {
  background: var(--glass);
  border: 2px dashed rgba(255,193,7,0.25);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.reviews-widget-placeholder p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.reviews-widget-placeholder .small { font-size: 0.9rem; }
.reviews-widget-placeholder a { color: var(--primary); }

/* ===== CONTATO ===== */
/* ===== CONTATO ===== */
.contact-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-top: -40px;
  margin-bottom: 56px;
  padding: 0 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARDS DE INFORMAÇÃO */
.info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: rgba(255,193,7,0.3);
  background: rgba(255,193,7,0.04);
  transform: translateX(4px);
}

/* ÍCONES DOS CARDS */
.info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: 10px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-card:hover .info-icon {
  background: var(--primary);
  color: #0a0a0a;
  transform: scale(1.05);
}

/* Ícone do WhatsApp tem cor verde fixa */
.info-icon.whatsapp-icon {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.25);
  color: var(--whatsapp);
}

.info-card:hover .whatsapp-icon {
  background: var(--whatsapp);
  color: #fff;
}

/* CONTEÚDO DOS CARDS */
.info-content h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.info-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.6;
}

.info-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.info-content a:hover {
  color: var(--primary-hover);
}

/* REDES SOCIAIS */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding-left: 4px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #0a0a0a;
  transform: translateY(-4px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* MAPA */
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,193,7,0.15);
  min-height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(20%) contrast(1.05);
  display: block;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .contact-subtitle {
    font-size: 0.95rem;
    margin-top: -32px;
    margin-bottom: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info-card {
    padding: 18px 20px;
  }

  .info-icon {
    width: 42px;
    height: 42px;
  }

  .info-icon svg {
    width: 20px;
    height: 20px;
  }

  .info-content h3 {
    font-size: 0.8rem;
  }

  .info-content p {
    font-size: 0.95rem;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map iframe {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .info-card {
    padding: 16px;
    gap: 16px;
  }

  .info-icon {
    width: 38px;
    height: 38px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark-3);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255,193,7,0.15);
}

footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer-credit {
  margin-top: 8px;
  font-size: 0.8rem !important;
}

/* ===== BOTÃO FIXO WHATSAPP ===== */
.whatsapp-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2.5s infinite;
}

.whatsapp-fixed:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 36px rgba(37,211,102,0.6);
}

.whatsapp-fixed svg { flex-shrink: 0; }

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,0.7); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .about-grid { gap: 40px; }
  .contact-grid { gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-top: 2px solid var(--primary);
  }

  .nav-links.active { display: flex; }
  .hamburger { display: block; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section { padding: 64px 0; }
  .section-title { margin-bottom: 40px; }

  .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; max-width: 320px; text-align: center; }

  .slide-btn { padding: 8px 14px; font-size: 1.4rem; }
  .slide-btn.prev { left: 10px; }
  .slide-btn.next { right: 10px; }

  .slide-content p { margin-bottom: 28px; }

  .whatsapp-fixed {
    padding: 14px;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-fixed span { display: none; }

  .reviews-widget-placeholder { padding: 40px 24px; }
  .info-item p { font-size: 0.95rem; }

  .services-subtitle {
    font-size: 0.95rem;
    margin-top: -32px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .logo img { height: 40px; }
  .section { padding: 56px 0; }

  .hero-slider {
    height: 100svh;
    min-height: 520px;
  }

  .slide-content { padding: 0 20px; }
  .slide-content h1,
  .slide-content h2 { letter-spacing: -0.5px; }

  .slide-dots { bottom: 20px; }
  .slide-dots .dot { width: 10px; height: 10px; }
  .slide-dots .dot.active { width: 22px; }

  .reviews-subtitle { font-size: 0.95rem; margin-top: -32px; }
  .contact-map iframe { height: 260px; }

  .about-lead {
    font-size: 1.05rem !important;
    padding-left: 12px;
  }
}

@media (max-width: 360px) {
  .hero-slider { min-height: 480px; }
  .slide-content h1,
  .slide-content h2 { font-size: 1.75rem; }
  .slide-content p { font-size: 0.9rem; }
  .btn-primary, .btn-outline { padding: 14px 28px; font-size: 0.9rem; }
}

@media (min-width: 1920px) {
  .hero-slider { max-height: 1080px; }
  .container { max-width: 1400px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    height: 100vh;
    min-height: 400px;
  }
  .slide-content h1,
  .slide-content h2 { font-size: 1.8rem; margin-bottom: 12px; }
  .slide-content p { font-size: 0.95rem; margin-bottom: 20px; }
  .btn-primary, .btn-outline { padding: 10px 22px; font-size: 0.9rem; }
  .slide-dots { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}