﻿:root{
  --sg-primary: #0b76d1;
  --sg-accent:  #074f8a;
  --sg-shadow:  rgba(11,118,209,0.12);
  --sg-orange: #ff8c00;
  --sg-orange-light: #ffa500;
  --sg-orange-dark: #e67e00;
  --sg-footer-bg: #f5f5f5;
  --sg-card-bg: #fafafa;
}

body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
.card-modern{ 
  background-color: var(--sg-card-bg);
  border-radius: .8rem; 
  box-shadow: 0 6px 18px var(--sg-shadow); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.15);
}
.hero{ 
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, rgba(255, 165, 0, 0.04) 100%); 
  padding: 2rem; 
  border-radius: .6rem;
  border-left: 4px solid #ff8c00;
}
.footer-logo{ font-weight:700; color:var(--sg-primary); }
.icon-box{ font-size:1.6rem; color: var(--sg-primary); }
a { color: var(--sg-primary); }
.btn-sg { background: var(--sg-primary); border-color: var(--sg-accent); color:#fff; }
.btn-sg:hover{ background: var(--sg-accent); border-color: var(--sg-primary); }
.btn-orange {
  background: #ff8c00;
  border-color: #e67e00;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}
.btn-orange:hover {
  background: #e67e00;
  border-color: #ff8c00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}
.logo-navbar {
  width: 12vw;      /* escala com a tela */
  max-width: 200px; /* limite */
  height: auto;
}

/* ===== NAVBAR STYLING =====*/
.navbar {
  padding: 0.5rem 0;
}

.bg-navbar {
  background: linear-gradient(135deg, #6B4423 0%, #8B7355 100%);
  box-shadow: 0 2px 10px rgba(107, 68, 35, 0.3);
  padding: 0.5rem 0;
  margin: 0;
}

.navbar-brand-spacer {
  display: block;
  width: 0;
  height: auto;
}

.bg-navbar .navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.3rem 1rem !important;
}

.bg-navbar .navbar-nav .nav-link:hover {
  color: #ffa500 !important;
}

.bg-navbar .navbar-brand {
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .bg-navbar {
    padding: 0;
  }

  .bg-navbar .navbar-nav .nav-link {
    padding: 0.3rem 0.8rem !important;
    font-size: 0.95rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #1fa855 0%, #15a145 100%);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  transform: scale(1.1);
  text-decoration: none;
  color: #fff;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
}

.bg-teste {
  background: linear-gradient(135deg, #b49862 0%, #9ac0bb 100%);
}

.bg-footer {
  background: linear-gradient(135deg, #eed5a4 0%, #ebf1ef 100%);
  border-top: 3px solid #8f5004;
}

.bg-footer a {
  color: #032072;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bg-footer a:hover {
  color: #f30d05;
}

/* ========== APP HEADER COM GALERIA SKEWED ==========*/
.app-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: #ffffff;
  padding: 0;
  margin: 0;
  height: 110px;
  width: 100%;
  position: relative;
  flex-wrap: nowrap;
  line-height: 0;
  font-size: 0;
}

.app-header-wrapper {
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
  border-bottom: none;
  padding: 0;
  margin: 0;
  display: flex;
}

/* ===== EFEITOS DE ANIMAÇÃO =====*/
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1s;
}

.animated {
  animation-duration: 1s;
}

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

/* ===== FIGURA SLOTS - GALERIA DE IMAGENS =====*/
section.figure-slots {
  display: flex;
  width: 42.5%;   /* metade do restante (75% / 2) */
  height: 100%;
  align-items: stretch;
  justify-content: stretch;
  margin: 0;
  padding: 0;
}

section.figure-slots figure {
  flex: 1;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #eee;
  overflow: hidden;
  justify-content: center;
  filter: grayscale(35%);
  transition: filter 0.3s ease;
  position: relative;
  transform-origin: center;

}


section.figure-slots figure:hover {
  filter: grayscale(0);
}

section.figure-slots figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

/* ===== LAYOUT DIREITA (LR - LEFT ROTATE) =====*/
section.figure-slots.lr figure {
  transform: skewX(-25deg);
  box-shadow:
    3px 0 8px rgba(0, 0, 0, 0.4),
    inset -2px 0 0 rgba(255,255,255,0.6);
}

section.figure-slots.lr figure img {
   transform: skewX(25deg) scaleX(1.28);
}

section.figure-slots.lr figure img:hover {
  transform: skewX(25deg) scaleX(1.35);
}

section.figure-slots.lr figure::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  pointer-events: none;
  background: rgba(255,255,255,0.4);
  box-shadow:
    0 0 4px rgba(255,255,255,0.6),
    0 0 8px rgba(255,255,255,0.3);
}

section.figure-slots.lr figure:first-child {
  z-index: 3;
}

section.figure-slots.lr figure:nth-child(2) {
  z-index: 2;
}

section.figure-slots.lr figure:nth-child(3) {
  z-index: 1;
}

section.figure-slots.lr figure:nth-child(4) {
  z-index: 0;
}

/* ===== LAYOUT ESQUERDA (RL - RIGHT ROTATE) =====*/
section.figure-slots.rl figure {
  transform: skewX(25deg);
  box-shadow:
    -3px 0 8px rgba(0, 0, 0, 0.4),
    inset 2px 0 0 rgba(255,255,255,0.6);
}

section.figure-slots.rl figure img {
  transform: skewX(-25deg) scaleX(1.28);
}

section.figure-slots.rl figure img:hover {
  transform: skewX(-25deg) scaleX(1.35);
}

section.figure-slots.rl figure::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 100%;
  pointer-events: none;
  background: rgba(255,255,255,0.4);
  box-shadow:
    0 0 4px rgba(255,255,255,0.6),
    0 0 8px rgba(255,255,255,0.3);
}

section.figure-slots.rl figure:first-child {
  z-index: 3;
}

section.figure-slots.rl figure:nth-child(2) {
  z-index: 2;
}

section.figure-slots.rl figure:nth-child(3) {
  z-index: 1;
}

section.figure-slots.rl figure:nth-child(4) {
  z-index: 0;
}

/* ===== LOGO CENTRALIZADA =====*/
.app-header a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;   /* AJUSTA TAMANHO DO ESPAÇO DA LOGO */
  height: 100%;
  overflow: visible; /* <-- ESSENCIAL */
  position: relative;
}

.app-header a img {
  height: 100%;
  width: auto;
  max-height: none;     /* REMOVE a trava */
  filter: brightness(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transform: scale(1.18); /* aumenta só a logo */
  transform-origin: center;
  display: block; 

}

.app-header a:hover img {
  transform: scale(1.22);
}

/* ===== RESPONSIVIDADE =====*/
@media (max-width: 1024px) {
  section.figure-slots {
    max-height: 95px;
    height: 100%;
    min-height: 47px;
  }

.app-header a img {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .app-header {
    padding: 0rem 0;
    gap: 0;
  }
  .app-header a {
  width: 35%;
}

  section.figure-slots.lr figure img {
  transform: skewX(25deg) scaleX(1.35);
  }

   section.figure-slots.rl figure img {
  transform: skewX(-25deg) scaleX(1.35);
 }

section.figure-slots {
  display: flex;
  flex: 1;
  height: 100%;
  width: 32.5%;
  align-items: stretch;
  justify-content: stretch;
}

  .app-header a img {
  height: 90%;
}

  .navbar-brand-spacer {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Esconde as laterais */
  .app-header {
    height: 90px;
  }

  section.figure-slots {
    display: none;
  }

  .app-header a {
    width: 100%;
    justify-content: center;
  }

  .app-header a img {
    height: 85%;
    max-height: none;
  }
}
