/* ===============================
   AZTECH CLONE - STYLE.CSS
   =============================== */

/* ======== VARIÁVEIS PRINCIPAIS ======== */
:root {
  --primary-color: #ff7a00; /* cor principal Prosteel (laranja) */
  --dark: #181818;
  --light: #fff;
  --muted: #ccc;
  --bg: #f8f8f8;
  --radius: 10px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-main: "Montserrat", sans-serif !important;
}

/* ======== RESET BÁSICO ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main) !important;
  color: var(--dark) !important;
  line-height: 1.6 !important;
  background: var(--bg) !important;
  overflow-x: hidden !important;
}

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

ul {
  list-style: none;
}

/* ======== CONTAINERS ======== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ======== HEADER ======== */
/* ======== HEADER COM TRANSIÇÃO SUAVE ======== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  color: var(--light);
  background: #ff7b00d3; /* cor laranja Prosteel remover */
  /*backdrop-filter: blur(6px);*/
  z-index: 1000;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff7b00ed; /* cor laranja Prosteel */
  opacity: 0; /* começa invisível */
  transition: opacity 0.6s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.site-header.scrolled::before {
  opacity: 1; /* aparece suavemente ao rolar */
}

.site-header.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* estrutura base */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
}

.brand-text {
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 1.1rem !important;
}

/* ======== MENU DE NAVEGAÇÃO ======== */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Linha animada ao passar o rato */
/* Linha animada padrão */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--light); /* alterar para primary */
  transition: width 0.3s ease, background 0.3s ease;
}

/* Quando o header estiver com a classe .scrolled, muda a cor da linha */
.site-header.scrolled .main-nav a::after {
  background: var(--light); /* branco */
}

/* E mantém o efeito ao passar o rato */
.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover::after {
  width: 100%;
}
.main-nav a.active.scrolled {
  background: var(--light) !important;
}
/* ======== ESTILO DO LINK ATIVO ======== */
.main-nav a.active {
  color: #fafafa;
  font-weight: 700;
}

.main-nav a.active::after {
  width: 100%;
}

/* extras */
.header-extras {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-extras .lang a {
  color: var(--light);
  transition: var(--transition);
  text-decoration: none;
}

.header-extras .lang .lang-select {
  color: var(--light);
  font-weight: 700;
}

.header-extras .lang a:hover {
  color: var(--light);
  font-weight: 700;
}

/* mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
}

.mobile-menu a {
  color: var(--light);
  padding: 10px 0;
  display: block;
}
/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider img,
.hero-slider video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== HERO SLIDER ===== */
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 3rem;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text .lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  color: #e4e4e4;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 360px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.icon-circle img {
  width: 60%;
  height: auto;
}

.feature-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.feature-info p {
  font-size: 0.85rem;
  color: #ddd;
  margin: 0;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 6rem 0 4rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    margin-top: 3rem;
  }

  .hero-text {
    margin: 0 auto 2.5rem;
  }

  .features {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .feature {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .feature-info h4 {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 90vh;
    padding: 4rem 1.2rem;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
  }

  .hero-text .lead {
    font-size: 0.9rem;
  }

  .features {
    gap: 1rem;
  }

  .feature {
    padding: 1rem;
    max-width: 100%;
  }
}

/* Ícones circulares */
.icon-circle {
  width: 80px;
  height: 80px;
  background: #fafafa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.icon-circle img {
  width: 90%;
  height: auto;
}

.feature:hover .icon-circle {
  transform: scale(1.1);
}

/* ======== MAIN BODY ======== */
.main-body {
  padding: 100px 0 60px;
  color: var(--dark);
}

.main-body h2 {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.intro p {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #555;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}

.two-col h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--primary-color);
}

/* ======== CARDS ======== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.card {
  background: var(--light);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* ======== RODAPÉ ======== */
/* ===== Rodapé Moderno Prosteel ===== */
/* ======= Rodapé ======= */
.site-footer {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #f26b1d 0%, #a64000 100%);
  overflow: hidden;
  padding-top: 60px;
  font-family: "Outfit", sans-serif;
}

/* Overlay artístico opcional */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.15),
    transparent 70%
  );
  z-index: 0;
}

/* Camadas superiores */
.footer-top {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-selo {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.footer-slogan {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  opacity: 0.9;
}

/* Estrutura principal */
.footer-main {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

.footer-col {
  min-width: 240px;
  text-align: center;
}

.footer-col h3 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-col ul li i {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.8);
}

/* Redes Sociais */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #fff;
  color: #f26b1d;
  transform: translateY(-3px);
}

/* Parte inferior */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  z-index: 1;
  position: relative;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
  }
}

/* =====================
   SECÇÃO - QUEM SOMOS
===================== */
.about-section {
  padding: 100px 0 60px;
  background: #f8f8f8;
}
.about-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.about-section p {
  max-width: 850px;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* =====================
   BLOCO O QUE FAZEMOS
===================== */
.what-we-do {
  padding: 80px 0;
}
.what-we-do .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-item {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}
.service-item:hover {
  transform: translateY(-5px);
}
.service-item h4 {
  color: #ff7a00;
  font-weight: 700;
  margin-bottom: 10px;
}

/* =====================
   CERTIFICAÇÕES
===================== */
.certificacoes {
  background: #fafafa;
  padding: 80px 0;
  text-align: center;
}
.cert-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.cert-grid img {
  max-height: 100px;
  transition: transform 0.3s ease;
}
.cert-grid img:hover {
  transform: scale(1.05);
}

/* =====================
   GALERIA
===================== */
.galeria {
  padding: 80px 0;
  background: #f4f4f4;
}
.carousel {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* =====================
   RODAPÉ PROSTEEL
===================== */
.site-footer {
  background: #111;
  color: #ddd;
  padding: 60px 20px 0px 20px;
}
.site-footer a {
  color: #ffa64d;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-logo img {
  max-height: 90px;
}
/* ===== BLOCOS INTRODUTÓRIOS ===== */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin: 80px 0;
  text-align: center;
}

.intro-block {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.intro-block i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.intro-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #222;
}

.intro-block p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Gallery */

.gallery {
  background-image: url(../images/background/6.png);
  background-position: center;
  background-repeat: repeat;
  background-size: contain;
}

.lightgallery a:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

.lg-toolbar .lg-close:after,
.lg-toolbar .lg-download:after,
.lg-outer .lg-toggle-thumb:after,
.lg-next:before,
.lg-prev:after {
  content: "\f00d" !important;
  font-family: "FontAwesome";
  font-size: 25px;
}

.lg-toolbar .lg-download:after {
  content: "\f063" !important;
}

.lg-outer .lg-toggle-thumb:after {
  content: "\f00e" !important;
}

.lg-next:before {
  content: "\f061" !important;
}

.lg-prev:after {
  content: "\f060" !important;
}

.grid-item {
  width: 33%;
}

@media (max-width: 576px) {
  .grid-item {
    width: 100%;
  }
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-header .subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================== */
/* =======  MOBILE FIX ====== */
/* ========================== */

@media (max-width: 991px) {
  .header-inner {
    height: auto;
    padding: 10px 20px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    font-size: 1.8rem;
    color: var(--light);
    background: none;
    border: none;
    cursor: pointer;
  }

  /* menu deslizante moderno */
  .mobile-menu {
    position: fixed;
    top: 65px;
    right: -100%;
    width: 70%;
    height: calc(100% - 65px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 15px;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
  }

  .mobile-menu a:hover {
    color: #ff7a00;
  }

  .lang {
    font-size: 0.9rem;
  }
}
