@charset "utf-8";

/* estilo.css */


/* ===============================
   CONTROLES RÃPIDOS
================================ */
:root {
  --flag-bottom-desktop: 120px;
  --flag-bottom-mobile: 160px;

  --flag-width-desktop: 700px;
  --flag-padding: 26px;
}

/* ===============================
   HERO / IMAGEM
================================ */
.hero {
    max-width: 1400px;
    margin: 0 auto 40px;
    color: rgba(118,255,0,1);
}

.hero-image {
  position: relative;
  overflow: hidden;
  
  height: clamp(630px, 70vw, 700px);
}
	.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.hero-image img {
  width: 100%;
  height: 100%;     /* âœ… NUNCA auto */
  object-fit: cover;
  display: block;
}

/* ===============================
   CARD (FLAG1)
================================ */
.hero-flag1 {
    position: absolute;
    top: 148px;
    left: 52px;
    width: 600px;
    max-width: calc(100% - 32px);

    padding: 80px;
    padding-left: 56px; /* compensa a borda */

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);

    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.25);
    border-left: 6px solid #00f700;

    color: #fff;
    line-height: 1.6;
    font-size: 18px;
    overflow: visible;
	z-index: 1;
}

  .hero-phone1 {
  visibility: hidden;
}
.hero-text1 {
  visibility: hidden;
}


/* ===============================
   CARD (FLAG2)
================================ */
.hero-flag2 {
    position: absolute;
    top: 182px;
    left: 82px;
    width: 600px;
    max-width: calc(100% - 32px);

    padding: 70px; 
    padding-left: 50px; /* compensa a borda */

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);

    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.25);
    border-left: 6px solid #00f700;

    color: #fff;
    line-height: 1.6;
    font-size: 18px;

    overflow: visible;
    z-index: 2;
}
	.hero-flag2 {
  max-width: 620px;
}

/* Telefone */
.hero-phone span {
  color: #00f700;
  font-weight: bold;

  /*  Responsivo automático */
  font-size: clamp(24px, 4vw, 35px);
}

/* Texto */
.hero-text {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.4;
}

/* =============================== 
   BOTÃƒO WHATS
================================ */
.btn-whats {
  position: absolute;
  left: 88px;
  bottom: 60px;

  padding: 15px 50px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-align: center;

  border-radius: 10px;
  width: auto;
  max-width: none;

  z-index: 10; /* ðŸ”¥ CORREÃ‡ÃƒO PRINCIPAL */

  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn-whats {
  z-index: 10;
}

/* ===== SOMENTE EFEITO (SEM MOVER) ===== */
.btn-whats:hover,
.btn-whats:active {
  background-color: #ffffff; /* branco */
  color: #25d366;            /* verde */

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);

  outline: none;
  -webkit-tap-highlight-color: transparent;
}
 
@media (max-width: 768px) {

  .hero-image {
    height: 540px;
    position: relative;
  }

  /* CARD 1 */
  .hero-flag1 {
	top: 120px;
    left: 16px;
    right: 16px;    
    bottom: 176px; /*  sobe em relação ao card1 */
    width: auto;
	max-width: 620px;
  }

  /* CARD 2 – SOBE e ALINHA */
  .hero-flag2 {
	top: 120px;
    left: 16px;
    right: 16px;    
    bottom: 176px; /*  sobe em relação ao card1 */
    width: auto;
  }

  /* BOTÃO WHATS */
  .btn-whats {
    left: 50%;
    bottom: 36px;

    width: calc(100% - 32px);
    max-width: 440px;
    padding: 15px;

    transform: translateX(-50%);
    border-radius: 14px;
    font-size: 16px;
  }
}

/* ===== CORREÇÃO MOBILE: volta ao verde após o clique ===== */
.btn-whats:focus {
  background-color: #25d366;
  color: #ffffff;
}

/* ===============================
   TEXTO DE APOIO – GALERIA
================================ */
.galeria-texto {
  max-width: 1400px;
  margin: 20px auto 30px;
  padding: 20px 0px 0px; /* 60px no topo empurra o texto para baixo */
  text-align: center;
}

.galeria-texto h2 {
  margin-bottom: 20px; /* Cria espaço entre o título e as informações */
}

.galeria-descricao {
  margin-bottom: 10px; /* Afasta o WhatsApp do endereço */
  display: block; /* Garante que o espaçamento funcione bem */
}

/* TÍTULO */
.galeria-texto h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
}

/* TEXTO PRINCIPAL */
.galeria-descricao {
  font-size: 17px;
  line-height: 1.6;
  color: #222;
  margin-bottom: 10px;
}

/* DESTAQUE LOCAL */
.galeria-descricao strong {
  font-weight: 600;
  color: #0a8f3c; /* use a cor da sua marca */
}

/* TEXTO COMPLEMENTAR */
.galeria-sub {
  font-size: 16px;
  color: #666;
  margin-top: 6px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .galeria-texto h2 {
    font-size: 24px;
  }

  .galeria-descricao {
    font-size: 15px;
  }

  .galeria-sub {
    font-size: 13px;
  }
}


logo {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.header {
  height: 80px;
  transition: background-color 0.3s ease;
}

.header.scrolled {
  background-color: rgba(0,0,0,0.9);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;                 /* ALTURA FIXA */
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: #111;       /*  só cor */
  box-shadow: 0 2px 10px rgba(0,0,0,.3); /*  não altera tamanho */
}

#contato .galeria-descricao {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  font-size: 15px;
}

.titulo-sucata {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 40px;
}

.subtitulo-sucata {
  text-align: center;
  color: #0a8f3c;
  font-weight: 600;
  margin-bottom: 30px;
}