:root {
  --bg-color: #ffffff;
  --text-color: #222;
  --overlay-bg: rgba(0,0,0,0.45);
  --progress-color: #4cafef;
   --color-primary: #ffffff;
  --color-secondary: #dddddd;
  
  /*--overlay: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.75));*/
 /* --glass: rgba(255,255,255,0.08);*/
}


body {
  background: var(--bg-color);
  color: var(--text-color);
  overflow: hidden;
  
  /*font-family: 'Inter', sans-serif;*/
  /* height:100vh;*/
  /*overflow:hidden;*/
  /*color:#fff;*/
}

body.dark {
  --bg-color: #111;
  --text-color: #f2f2f2;
  --overlay-bg: rgba(0,0,0,0.65);
  --progress-color: #00c3ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}


/* LOADER */

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 4px solid #ddd;
  border-top: 4px solid var(--progress-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* SLIDER PROGRESS */

.slider-progress-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.25);
}

#slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--progress-color);
}

/* SLIDER */

.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform:scale(1.05);
  /*transition: opacity 1s ease-in-out;  */
  transition:opacity 1.2s ease, transform 8s ease
}

.slides img.active {
  opacity: 1;
  transform:scale(1); 
}

.slide-item {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}

.slide-item.active {
  opacity: 1;
  transform: scale(1);
}

/* slider OVERLAY CENTRADA */
.overlay {
  bottom: 12%;
  left: 8%;
  /*background: var(--overlay-bg);*/
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  padding: 10px 10px;
  border-radius: 8px;
  max-width: 620px;
  max-height: 320px;
}
.overlay h1 {
  font-size: 32px;
  margin-bottom: 18px;
}
.overlay p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.9;
}

.overlay-content {
  background: var(--overlay-bg);
  padding: 30px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 650px;
  width: 90%;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.overlay-content h1 {
  font-size: 38px;
  margin-bottom: 20px;
}

.overlay-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Slider Conter*/
.counter {
  margin-top: 20px;
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.9;
}
/* Slider Contact*/
.contact {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.85;
}


/* NAVEGAÇÃO */

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  padding: 10px 15px;
  cursor: pointer;
  color: white;
  background: rgba(0,0,0,0.4);
  user-select: none;
}

.prev { left: 15px; }
.next { right: 15px; }

/* INDICADORES */

.indicators {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.indicators span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.indicators span.active {
  background: white;
}

/*Slider countdown*/
.countdown {
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.8;
}


/* ================= HERO GLOBAL (CENTRO FIXO) ================= */

.hero-global {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /*transform: translateY(-8%);  */ /*  sobe ligeiramente */
  /*padding-bottom: 58vh;*/       /*  sobe visualmente o bloco */
  z-index: 6;					/* acima das imagens */
  pointer-events: none;			/* não bloqueia navegação do slider */
}

/*Para animar ao entrar*/
/* HERO FADE IN */
.hero-global {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}



.hero-global.top {
  align-items: flex-start;
  /*transform: translateY(0);*/
    opacity: 0;
  transform: translateY(20px);
   transition: opacity 0.9s ease, transform 0.9s ease;
}

.hero-global.middle {
  align-items: center;
  /*transform: translateY(-8%);*/
   opacity: 0;
  transform: translateY(20px);
   transition: opacity 0.9s ease, transform 0.9s ease;
}

.hero-global.bottom {
  align-items: flex-end;
  transform: translateY(0);
  opacity: 0;
  transform: translateY(-20px);
   transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-global.hero-visible {
  opacity: 1;
  transform: translateY(0);
  
}

.hero-global-content {
  padding: 45px 55px;
  border-radius: 18px;
  text-align: center;
  max-width: 720px;
  width: 92%;
  pointer-events: auto;
   /*Box com sombra tirei não gosto*/ 
  /* background: linear-gradient(
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  );  
   backdrop-filter: blur(6px); */ /* menos blur = menos sombra visual */ 
   
   /*Alternativa*/
  /* background: var(--overlay-bg);  */  
  /*box-shadow: 0 8px 20px rgba(0,0,0,0.25); */
}

/*Icon*/
#global-logo {
  position: absolute;
  top: 20px;
  z-index: 10;
}

#global-logo.left {
  left: 20px;
}

#global-logo.left-wide {
  left: 60px;
}

#global-logo.center {
  left: 50%;
  transform: translateX(-50%);
}

#global-logo.right {
  right: 20px;
}


.hero-icon {
  margin-bottom: 20px;
  display: flex;
}

.hero-icon img {
  max-width: 120px;
  height: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.6s ease;
}

.hero-global.hero-visible .hero-icon img {
  opacity: 1;
  transform: translateY(0);
}

/* POSIÇÕES */
.hero-icon.left {
  justify-content: flex-start;
}

.hero-icon.center {
  justify-content: center;
}

.hero-icon.right {
  justify-content: flex-end;
}

/* Título principal */
#global-title {
  font-size: 48px;
  margin-bottom: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

/* Subtítulo */
#global-subtitle {
  font-size: 26px;
  margin-bottom: 30px;
  opacity: 0.95;
  /*text-shadow: 0 2px 12px rgba(0,0,0,0.9);*/
}


#global-subtitle,.overlay-content p {
  color: var(--color-secondary);
}

/*
#global-contact,
.overlay-content p {
  color: var(--color-secondary);
}
  */

/* Contacto */
#global-contact {
  margin-top: 15px;
  font-size: 16px;
  opacity: 0.9;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}


#global-title {
  text-shadow:
    0 3px 20px rgba(0,0,0,0.8),
    0 1px 3px rgba(0,0,0,0.9);
}




/* ===== GLOBAL COUNTDOWN ===== */

#global-countdown {
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.9;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 25px;
  /*  margin-top: 20px;*/
  margin-bottom:25px;
  flex-wrap: wrap;
  
}


#global-countdown .countdown-item {
  /*background: rgba(255,255,255,0.10);*/
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);

  backdrop-filter: blur(8px);
  padding: 18px 20px;  
  border-radius: 16px;
  min-width: 82px;
  text-align: center;

  transition: all 0.3s ease;
}

#global-countdown .countdown-item h2 {
  font-size: 32px;
  margin-bottom: 6px;
  line-height: 1;
}

#global-countdown .countdown-item span {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.9;
}

#global-countdown .countdown-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
}
#global-countdown .countdown-item:hover h2 {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* EMAIL */
.hero-action {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-action input {
  padding: 12px 18px;
  border-radius: 25px;
  border: none;
  width: 260px;
}

.hero-action button {
  padding: 12px 22px;
  border-radius: 25px;
  border: none;
  background: #5b5bff;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.hero-action button:hover {
  background: #4444dd;
}



/*Para criar efeito quando o0 numero muda*/

/*
#global-countdown h2 {
  transition: color 0.25s ease;
}

#global-countdown h2.changed {
  color: #00d4ff;
}
#global-countdown h2 {
  will-change: contents;
}
*/

/*Social Icons*/

#footer-social {
  position: absolute;
  bottom: 70px;
  width: 100%;
  text-align: center;
  z-index: 20;
}

/*#footer-social a {  
  font-size: 18px;    
  text-decoration: none;
}*/

#footer-social a {
  color: white;
  text-decoration: none;   /* remove o sublinhado */  
  display: inline-flex;    /* evita espaço estranho */
  align-items: center;
  margin: 0 4px;
  opacity: 0.8;
  /*transition: transform 0.25s ease, opacity 0.25s ease;*/
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#footer-social a:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.1);
  /* transform: translateY(-3px); */
}

#footer-social svg {
	fill: currentColor;
  display: block;
  width: 24px;
  height: 24px;
}

/* Mobile optimization */
@media (max-width: 768px) {

  #footer-social {
    bottom: 55px;
  }

  #footer-social svg {
    width: 20px;
    height: 20px;
  }

  #footer-social a {
    margin: 0 10px;
  }
}


