/* =====================================================
   TCHOCALEX PHARMA - STYLE.CSS COMPLETO ATUALIZADO
   Versão Final | PT + EN | Galeria + Lightbox + Responsive
===================================================== */

:root{
  --verde:#00843d;
  --verde-hover:#00a651;
  --verde-escuro:#003d1f;
  --branco:#ffffff;
  --texto:#222222;
  --claro:#f5f7fa;
  --cinza:#eef2f5;
  --borda:#dddddd;
  --sombra:0 8px 20px rgba(0,0,0,.08);
  --radius:12px;
}

/* ================= RESET ================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:var(--claro);
  color:var(--texto);
  line-height:1.6;
}

img,
video{
  max-width:100%;
  display:block;
  height:auto;
}

a{
  text-decoration:none;
  color:inherit;
}

/* ================= HEADER ================= */

.topo{
  background:var(--branco);
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  position:sticky;
  top:0;
  z-index:999;
}

.header-flex{
  max-width:1300px;
  margin:auto;
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:15px;
}

.marca-link{
  color:inherit;
}

.marca{
  display:flex;
  align-items:center;
  gap:15px;
}

.logo{
  width:65px;
  height:65px;
  object-fit:contain;
  border-radius:10px;
}

.empresa-nome h2{
  font-size:28px;
  color:var(--verde);
  font-weight:800;
}

.empresa-nome span{
  font-size:14px;
  color:#555;
  letter-spacing:.8px;
}

/* ================= MENU ================= */

nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

nav a{
  padding:10px 15px;
  border-radius:8px;
  font-weight:700;
  color:var(--verde);
  transition:.3s;
}

nav a:hover,
nav a.ativo{
  background:var(--verde);
  color:#fff;
}

/* ================= HERO HOME ================= */

.hero{
  min-height:92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
  color:#fff;

  background:
  linear-gradient(rgba(0,80,40,.65),rgba(0,80,40,.65)),
  url("imagens/parte exterior deposito.JPEG") center/cover fixed no-repeat;

  animation:fundoMove 18s ease-in-out infinite alternate;
}

@keyframes fundoMove{
  0%{background-position:center top;}
  100%{background-position:center bottom;}
}

.hero-content{
  max-width:850px;
}

.hero h1{
  font-size:54px;
  margin-bottom:18px;
  font-weight:800;
}

.hero p{
  font-size:20px;
  margin-bottom:28px;
}

/* ================= HERO INTERNA ================= */

.hero-pequeno{
  padding:80px 20px;
  text-align:center;
  color:#fff;

  background:
  linear-gradient(rgba(0,90,45,.85),rgba(0,90,45,.85)),
  url("imagens/armazem_02.JPEG") center/cover no-repeat;
}

.hero-pequeno h1{
  font-size:42px;
  margin-bottom:10px;
}

.hero-pequeno p{
  font-size:18px;
}

/* ================= BOTÕES ================= */

.btn{
  display:inline-block;
  padding:14px 28px;
  background:var(--verde-hover);
  color:#fff;
  border-radius:8px;
  font-weight:bold;
  transition:.3s;
}

.btn:hover{
  background:var(--verde-escuro);
  transform:translateY(-2px);
}

/* ================= CONTEÚDO ================= */

.section{
  max-width:1300px;
  margin:auto;
  padding:60px 20px;
}

.section h1,
.section h2,
.section h3{
  color:var(--verde);
  margin-bottom:18px;
}

.section p{
  font-size:18px;
  margin-bottom:16px;
}

.cinza{
  background:var(--cinza);
}

/* ================= CARDS ================= */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-top:25px;
}

.card{
  background:#fff;
  padding:25px;
  border-radius:var(--radius);
  box-shadow:var(--sombra);
  transition:.3s;
}

.card:hover{
  transform:translateY(-5px);
}

.card h3{
  color:var(--verde);
  margin-bottom:10px;
  font-size:22px;
}

/* ================= GALERIA ================= */

.galeria-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-top:25px;
}

.galeria-grid img,
.galeria-grid video{
  width:100%;
  height:230px;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 4px 15px rgba(0,0,0,.12);
  cursor:pointer;
  transition:.4s;
  background:#000;
}

.galeria-grid img:hover,
.galeria-grid video:hover{
  transform:scale(1.03);
  box-shadow:0 8px 25px rgba(0,0,0,.18);
}

/* ================= LIGHTBOX ================= */

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.92);
  justify-content:center;
  align-items:center;
  padding:30px;
}

.lightbox.ativo{
  display:flex;
}

.lightbox img{
  max-width:95%;
  max-height:95vh;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
  animation:zoomIn .25s ease;
}

@keyframes zoomIn{
  from{
    opacity:0;
    transform:scale(.92);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

.fechar-lightbox{
  position:absolute;
  top:18px;
  right:25px;
  color:#fff;
  font-size:40px;
  font-weight:bold;
  cursor:pointer;
}

/* Navegação */

.lightbox-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:55px;
  height:55px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.15);
  color:#fff;
  font-size:32px;
  cursor:pointer;
  transition:.3s;
}

.lightbox-btn:hover{
  background:rgba(255,255,255,.28);
}

.lightbox-prev{
  left:20px;
}

.lightbox-next{
  right:20px;
}

/* ================= LICENÇAS ================= */

.licencas-lado{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:25px;
  margin-top:25px;
}

.licenca-box{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:var(--sombra);
  text-align:center;
}

.licenca-box h3{
  margin-bottom:15px;
  color:var(--verde);
}

.licenca-box img{
  width:100%;
  max-height:500px;
  object-fit:contain;
  border-radius:10px;
  border:1px solid var(--borda);
}

/* ================= PARCEIROS ================= */

.img-parceiro{
  width:100%;
  max-width:800px;
  margin:25px auto;
  border-radius:12px;
  box-shadow:0 5px 18px rgba(0,0,0,.15);
}

/* ================= MAPA ================= */

.mapa-box{
  margin-top:30px;
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:var(--sombra);
  text-align:center;
}

.mapa-box iframe{
  width:100%;
  height:420px;
  border:0;
  border-radius:12px;
  margin:20px 0;
}

/* ================= FOOTER ================= */

footer{
  background:var(--verde-escuro);
  color:#fff;
  text-align:center;
  padding:35px 20px;
  margin-top:40px;
}

footer p{
  margin:8px 0;
  font-size:16px;
}

/* ================= WHATSAPP ================= */

.whatsapp-fixo{
  position:fixed;
  right:20px;
  bottom:20px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  z-index:999;
  box-shadow:0 5px 18px rgba(0,0,0,.25);
  transition:.3s;
}

.whatsapp-fixo:hover{
  transform:scale(1.08);
}

/* ================= RESPONSIVO ================= */

@media(max-width:992px){

  .hero h1{
    font-size:42px;
  }

  .hero p{
    font-size:18px;
  }

  .empresa-nome h2{
    font-size:24px;
  }

  nav{
    justify-content:center;
    width:100%;
  }
}

@media(max-width:768px){

  .header-flex{
    flex-direction:column;
    text-align:center;
  }

  .hero{
    min-height:75vh;
    background-attachment:scroll;
  }

  .hero h1{
    font-size:34px;
  }

  .hero-pequeno h1{
    font-size:30px;
  }

  .section h2{
    font-size:28px;
  }

  .section p{
    font-size:16px;
  }

  .galeria-grid{
    grid-template-columns:1fr;
  }

  .galeria-grid img,
  .galeria-grid video{
    height:220px;
  }

  .logo{
    width:55px;
    height:55px;
  }

  .lightbox-btn{
    width:46px;
    height:46px;
    font-size:26px;
  }

  .mapa-box iframe{
    height:300px;
  }
}

@media(max-width:480px){

  nav a{
    padding:8px 10px;
    font-size:14px;
  }

  .hero h1{
    font-size:28px;
  }

  .btn{
    width:100%;
    text-align:center;
    padding:12px 20px;
  }

  .card{
    padding:20px;
  }
}