/* =====================================================
   AGDN FARMA - CSS COMPLETO FINAL 2026
   PT / EN + Botão Idioma + Menu + Todas as Páginas
===================================================== */

/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --orange:#ff6600;
  --orange-dark:#cc5200;
  --orange-light:#fff4ec;
  --white:#ffffff;
  --black:#111111;
  --text:#333333;
  --gray:#666666;
  --gray-light:#f8f8f8;
  --border:#ececec;
  --shadow-sm:0 6px 14px rgba(0,0,0,.06);
  --shadow-md:0 12px 28px rgba(0,0,0,.10);
  --shadow-lg:0 20px 45px rgba(0,0,0,.14);
  --radius:18px;
  --transition:all .3s ease;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#fff;
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

ul{
  list-style:none;
}

button,input,textarea{
  font:inherit;
}

/* CONTAINER */
.container{
  width:min(1200px, calc(100% - 40px));
  margin:auto;
}

/* =====================================================
   LOADER
===================================================== */
#loader{
  position:fixed;
  inset:0;
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  color:#fff;
}

.loader-box{
  width:min(360px,90%);
  text-align:center;
  padding:30px;
}

.spinner{
  width:72px;
  height:72px;
  border:5px solid rgba(255,255,255,.22);
  border-top:5px solid #fff;
  border-radius:50%;
  margin:0 auto 18px;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg);}
}

.progress-bar{
  width:100%;
  height:10px;
  background:rgba(255,255,255,.2);
  border-radius:999px;
  overflow:hidden;
  margin-top:18px;
}

.progress-fill{
  width:0%;
  height:100%;
  background:#fff;
  transition:width .2s linear;
}

/* =====================================================
   HEADER
===================================================== */
header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,102,0,.96);
  backdrop-filter:blur(8px);
  box-shadow:var(--shadow-sm);
}

nav{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.logo img{
  height:64px;
  transition:var(--transition);
}

.logo img:hover{
  transform:scale(1.05);
}

/* MENU */
.menu{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.menu li{
  display:flex;
}

.menu a{
  color:#fff;
  font-weight:700;
  padding:11px 15px;
  border-radius:10px;
  transition:var(--transition);
}

.menu a:hover,
.menu a.active{
  background:rgba(255,255,255,.18);
}

.toggle{
  display:none;
  font-size:30px;
  color:#fff;
  cursor:pointer;
  user-select:none;
}

/* =====================================================
   BOTÃO IDIOMA
===================================================== */
.language-dropdown{
  position:relative;
}

.language-btn{
  border:none;
  background:#fff;
  color:var(--orange);
  padding:10px 14px;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
}

.language-btn:hover{
  transform:translateY(-2px);
}

.language-menu{
  position:absolute;
  top:54px;
  right:0;
  min-width:190px;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  display:none;
}

.language-menu.show{
  display:block;
}

.language-menu a{
  display:block;
  padding:12px 14px;
  font-weight:600;
  color:#333;
}

.language-menu a:hover{
  background:var(--orange-light);
  color:var(--orange);
}

/* =====================================================
   HERO
===================================================== */
.hero{
  min-height:95vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
  color:#fff;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("img/galeria4.jpeg") center/cover no-repeat;
}

.animated-bg{
  animation:bgZoom 12s ease-in-out infinite alternate;
}

@keyframes bgZoom{
  from{background-size:100%;}
  to{background-size:110%;}
}

.hero-content{
  max-width:920px;
  position:relative;
  z-index:2;
}

.hero h1{
  font-size:clamp(34px,6vw,64px);
  line-height:1.08;
  margin-bottom:18px;
}

.hero p{
  font-size:clamp(17px,2vw,22px);
  margin-bottom:30px;
}

/* particles */
.particles::before,
.particles::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,#ffffff50 2px,transparent 2px);
  background-size:60px 60px;
  animation:particlesMove 20s linear infinite;
}

.particles::after{
  opacity:.45;
  animation-duration:30s;
}

@keyframes particlesMove{
  from{transform:translateY(0);}
  to{transform:translateY(-120px);}
}

/* =====================================================
   BOTÕES
===================================================== */
.hero-buttons,
.sobre-cta{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  padding:14px 28px;
  border-radius:12px;
  font-weight:800;
  transition:var(--transition);
  box-shadow:var(--shadow-md);
}

.btn-primary{
  background:var(--orange);
  color:#fff;
}

.btn-primary:hover{
  background:#e65c00;
  transform:translateY(-2px);
}

.btn-outline{
  border:2px solid #fff;
  color:#fff;
}

.btn-outline:hover{
  background:#fff;
  color:var(--orange);
}

.btn-outline-dark{
  border:2px solid var(--orange);
  color:var(--orange);
  background:#fff;
}

.btn-outline-dark:hover{
  background:var(--orange);
  color:#fff;
}

/* =====================================================
   SEÇÕES
===================================================== */
section{
  padding:85px 0;
}

.page{
  min-height:70vh;
}

.section-title{
  text-align:center;
  font-size:clamp(28px,4vw,44px);
  color:var(--orange);
  font-weight:800;
  margin-bottom:14px;
}

.section-subtitle{
  max-width:950px;
  margin:0 auto 24px;
  text-align:center;
  color:var(--gray);
  font-size:17px;
}

.top-space{
  margin-top:35px;
}

/* =====================================================
   CARDS
===================================================== */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

.card{
  background:#fff;
  padding:28px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-lg);
}

.card h3{
  color:var(--orange);
  margin-bottom:12px;
  font-size:22px;
}

/* =====================================================
   SOBRE
===================================================== */
.sobre-page{
  background:linear-gradient(to bottom,#fff,var(--orange-light));
}

.premium-card{
  border-top:4px solid var(--orange);
}

.vmv-section,
.destaques{
  margin-top:60px;
}

/* =====================================================
   STATS
===================================================== */
.stats{
  background:var(--orange-light);
}

.stat-box{
  text-align:center;
}

.stat-box h3{
  font-size:42px;
  color:var(--orange);
}

/* =====================================================
   GALERIA
===================================================== */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}

.gallery img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:16px;
  transition:var(--transition);
}

.gallery img:hover{
  transform:scale(1.03);
}

/* SLIDER */
.slider{
  position:relative;
  max-width:1000px;
  margin:auto;
  overflow:hidden;
  border-radius:20px;
  box-shadow:var(--shadow-lg);
}

.slides{
  position:relative;
  height:560px;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform:scale(1.05);
  transition:all .8s ease;
}

.slide.active{
  opacity:1;
  transform:scale(1);
  z-index:2;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.caption{
  position:absolute;
  left:20px;
  bottom:20px;
  background:rgba(0,0,0,.55);
  color:#fff;
  padding:12px 18px;
  border-radius:10px;
  font-weight:700;
}

.nav-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:none;
  border-radius:50%;
  background:rgba(255,102,0,.92);
  color:#fff;
  font-size:26px;
  cursor:pointer;
  z-index:10;
}

.prev{left:15px;}
.next{right:15px;}

.dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:20px;
}

.dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#ddd;
  cursor:pointer;
}

.dot.active{
  background:var(--orange);
  transform:scale(1.2);
}

/* =====================================================
   CONTACTO
===================================================== */
.contact-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.contact-info{
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  color:#fff;
  padding:35px;
  border-radius:20px;
}

.contact-form{
  background:#fff;
  padding:30px;
  border-radius:20px;
  box-shadow:var(--shadow-sm);
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:14px;
  margin-bottom:15px;
  border:1px solid #ddd;
  border-radius:12px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--orange);
}

/* =====================================================
   FOOTER
===================================================== */
footer{
  background:var(--orange-dark);
  color:#fff;
  text-align:center;
  padding:22px;
  margin-top:20px;
}

/* =====================================================
   WHATSAPP
===================================================== */
.whatsapp{
  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:28px;
  z-index:999;
  box-shadow:var(--shadow-lg);
}

/* =====================================================
   ANIMAÇÕES
===================================================== */
.fade-up{
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp .8s forwards;
}

.delay{animation-delay:.3s;}
.delay2{animation-delay:.6s;}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media(max-width:992px){
  .contact-wrap{
    grid-template-columns:1fr;
  }
}

@media(max-width:768px){

  .toggle{
    display:block;
  }

  nav{
    position:relative;
  }

  .menu{
    display:none;
    flex-direction:column;
    position:absolute;
    top:82px;
    right:0;
    width:240px;
    padding:18px;
    background:var(--orange);
    border-radius:14px;
    box-shadow:var(--shadow-lg);
  }

  .menu.active{
    display:flex;
  }

  .menu a{
    width:100%;
  }

  .language-dropdown{
    width:100%;
  }

  .language-btn{
    width:100%;
  }

  .language-menu{
    width:100%;
    left:0;
    right:auto;
  }

  .hero h1{
    font-size:38px;
  }

  .hero p{
    font-size:18px;
  }

  .slides{
    height:360px;
  }

  section{
    padding:70px 0;
  }
}

@media(max-width:480px){

  .container{
    width:min(1200px, calc(100% - 24px));
  }

  .hero-buttons,
  .sobre-cta{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .logo img{
    height:54px;
  }

  .contact-info,
  .contact-form{
    padding:22px;
  }
}