
:root {
  --branco:#ffffff; 
  --preto:#111111; 
  --azul:#1f4fd8; 
  --laranja:#f28c28;
  --cinza-claro:#f8f9fa;
  --cinza:#e9ecef;
  --texto:#333333;
}

*{margin:0;padding:0;box-sizing:border-box}

body{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:var(--branco);
  color:var(--texto);
  line-height:1.6;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

/* Header */
header{
  background:var(--preto);
  color:var(--branco);
  padding:1rem 0;
  position:fixed;
  width:100%;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.logo{
  display:flex;
  align-items:center;
  gap:1rem;
}

.logo-img{
  height:50px;
  width:auto;
  object-fit:contain;
}

.logo strong{
  font-size:1.5rem;
  color:var(--branco);
}

.nav-links a{
  color:var(--branco);
  margin-left:2rem;
  text-decoration:none;
  font-weight:500;
  transition:color 0.3s ease;
}

.nav-links a:hover{
  color:var(--laranja);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle{
  display:none;
  flex-direction:column;
  cursor:pointer;
  padding:5px;
}

.mobile-menu-toggle span{
  width:25px;
  height:3px;
  background:var(--branco);
  margin:2px 0;
  transition:0.3s;
  border-radius:2px;
}

.mobile-menu-toggle.active span:nth-child(1){
  transform:rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2){
  opacity:0;
}

.mobile-menu-toggle.active span:nth-child(3){
  transform:rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
main{
  margin-top:140px;
}

/* Hero Section */
.hero{
  background:linear-gradient(135deg, var(--azul), #2a5fdb);
  color:var(--branco);
  padding:1.5rem 0;
  display:flex;
  align-items:center;
}

.hero-content{
  flex:1;
  padding-right:3rem;
}

.hero h1{
  font-size:3rem;
  margin-bottom:1.5rem;
  color:var(--branco);
  font-weight:700;
}

.hero p{
  font-size:1.3rem;
  margin-bottom:2rem;
  opacity:0.9;
}

.hero-graphic{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
}

.graphic-element{
  width:300px;
  height:300px;
  border-radius:20px;
  position:relative;
  box-shadow:0 20px 40px rgba(242,140,40,0.3);
  overflow:hidden;
}

.graphic-img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
}

.graphic-element:after{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  border:3px solid rgba(255,255,255,0.3);
  border-radius:15px;
  animation: pulse 2s infinite;
}

@keyframes pulse{
  0%{transform:scale(1); opacity:1;}
  50%{transform:scale(1.05); opacity:0.7;}
  100%{transform:scale(1); opacity:1;}
}

/* Buttons */
.cta{
  display:inline-block;
  background:var(--laranja);
  color:var(--preto);
  padding:1rem 2rem;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:all 0.3s ease;
  border:none;
  cursor:pointer;
}

.cta:hover{
  background:#e67e00;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(242,140,40,0.3);
}

.cta.secondary{
  background:transparent;
  color:var(--branco);
  border:2px solid var(--branco);
}

.cta.secondary:hover{
  background:var(--branco);
  color:var(--azul);
}

/* Emergency Banner */
.emergency-banner{
  background:#d60000;
  color:var(--branco);
  padding:0.75rem 0;
  text-align:center;
  animation: emergency-pulse 2s infinite;
}

.emergency-banner h2{
  font-size:2rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
  margin:0;
}

@keyframes emergency-pulse{
  0%{background:#d60000;}
  50%{background:#ff0000;}
  100%{background:#d60000;}
}

/* Info Section */
.info-section{
  padding:5rem 0;
  background:var(--cinza-claro);
}

.info-section h2{
  text-align:center;
  font-size:2.5rem;
  margin-bottom:3rem;
  color:var(--azul);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:2rem;
}

.card{
  background:var(--branco);
  padding:2.5rem;
  border-radius:15px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  text-align:center;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.card h3{
  color:var(--azul);
  margin-bottom:1rem;
  font-size:1.5rem;
}

/* Stats Section */
.stats{
  padding:5rem 0;
  background:var(--preto);
  color:var(--branco);
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:3rem;
  text-align:center;
}

.stat-item h3{
  font-size:3rem;
  color:var(--laranja);
  margin-bottom:1rem;
  font-weight:700;
}

.stat-item p{
  font-size:1.1rem;
  opacity:0.9;
}

/* Manifesto Section */
.manifesto{
  padding:5rem 0;
  background:var(--cinza-claro);
  text-align:center;
}

.manifesto h2{
  font-size:2.5rem;
  margin-bottom:2rem;
  color:var(--azul);
}

.manifesto p{
  font-size:1.3rem;
  max-width:800px;
  margin:0 auto 2rem;
  line-height:1.8;
  font-style:italic;
}

/* Footer */
footer{
  background:var(--preto);
  color:var(--branco);
  padding:2rem 0;
}

footer .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.footer-links a{
  color:var(--branco);
  margin-left:2rem;
  text-decoration:none;
  transition:color 0.3s ease;
}

.footer-links a:hover{
  color:var(--laranja);
}

/* Responsive Design */
@media(max-width:768px){
  .container{
    padding:0 15px;
  }
  
  /* Header */
  header{
    padding:0.5rem 0;
  }
  
  nav{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:0 15px;
  }
  
  .logo{
    flex-direction:column;
    text-align:center;
    gap:0.3rem;
  }
  
  .logo-img{
    height:30px;
  }
  
  .logo strong{
    font-size:1rem;
  }
  
  .nav-links{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:var(--preto);
    flex-direction:column;
    padding:1rem;
    gap:0;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
  }
  
  .nav-links.active{
    display:flex;
  }
  
  .nav-links a{
    margin:0;
    font-size:0.9rem;
    padding:0.8rem 1rem;
    border-bottom:1px solid rgba(255,255,255,0.1);
    text-align:center;
  }
  
  .nav-links a:last-child{
    border-bottom:none;
  }
  
  .mobile-menu-toggle{
    display:flex;
    position:relative;
    z-index:1001;
  }
  
  /* Main */
  main{
    margin-top:150px;
  }
  
  /* Hero */
  .hero{
    flex-direction:column;
    text-align:center;
    padding:1rem 0;
  }
  
  .hero-content{
    padding-right:0;
    margin-bottom:1rem;
  }
  
  .hero h1{
    font-size:1.5rem;
    line-height:1.2;
  }
  
  .hero p{
    font-size:0.9rem;
  }
  
  .hero-graphic{
    margin-top:0.5rem;
  }
  
  .graphic-element{
    width:120px;
    height:120px;
  }
  
  .graphic-img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
  }
  
  /* Emergency Banner */
  .emergency-banner{
    padding:0.5rem 0;
  }
  
  .emergency-banner h2{
    font-size:1rem;
    letter-spacing:0.5px;
  }
  
  /* Info Section */
  .info-section{
    padding:2rem 0;
  }
  
  .info-section h2{
    font-size:1.5rem;
  }
  
  .grid{
    grid-template-columns:1fr;
    gap:1rem;
  }
  
  .card{
    padding:1rem;
  }
  
  .card h3{
    font-size:1.1rem;
  }
  
  /* Stats */
  .stats{
    padding:2rem 0;
  }
  
  .stats-grid{
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  
  .stat-item h3{
    font-size:2rem;
  }
  
  .stat-item p{
    font-size:0.9rem;
  }
  
  /* Manifesto */
  .manifesto{
    padding:2rem 0;
  }
  
  .manifesto h2{
    font-size:1.5rem;
  }
  
  .manifesto p{
    font-size:0.9rem;
    padding:0 0.5rem;
  }
  
  /* Footer */
  footer{
    padding:1rem 0;
  }
  
  footer .container{
    flex-direction:column;
    text-align:center;
    gap:0.5rem;
  }
  
  .footer-links{
    margin-top:0.5rem;
  }
  
  .footer-links a{
    margin:0 0.3rem;
    font-size:0.8rem;
  }
  
  /* Buttons */
  .cta{
    padding:0.6rem 1rem;
    font-size:0.8rem;
  }
  
  /* Gallery */
  .gallery-grid{
    grid-template-columns:1fr;
    gap:1rem;
  }
  
  .gallery-item img{
    height:120px;
  }
  
  .call-to-action{
    padding:1.5rem 0.5rem;
  }
  
  .call-to-action h2{
    font-size:1.2rem;
  }
  
  .call-to-action p{
    font-size:0.9rem;
  }
}

/* Page Header Styles */
.page-header{
  text-align:center;
  padding:3rem 0;
}

.page-header h1{
  font-size:2.5rem;
  margin-bottom:1rem;
  color:var(--azul);
}

.page-intro{
  font-size:1.2rem;
  max-width:800px;
  margin:0 auto;
  opacity:0.8;
}

/* Project Content Styles */
.project-content{
  padding:3rem 0;
}

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

.partners h2{
  color:var(--azul);
  margin-bottom:2rem;
  font-size:2rem;
}

.partner-list p{
  margin-bottom:1rem;
  font-size:1.1rem;
}

/* Guide Content Styles */
.guide-content{
  padding:3rem 0;
}

.download-section{
  text-align:center;
  margin-top:3rem;
  padding:2rem;
  background:var(--cinza);
  border-radius:15px;
}

.download-section h2{
  color:var(--azul);
  margin-bottom:1rem;
}

/* Help Page Styles */
.emergency-help{
  margin:2rem 0;
}

.alerta h3{
  color:#d60000;
  margin-bottom:1rem;
}

.emergency-text{
  text-align:center;
  font-size:1.2rem;
  font-weight:600;
  margin:1rem 0;
}

.support-sections{
  margin:3rem 0;
}

.support-sections ul{
  list-style:none;
  padding:0;
}

.support-sections li{
  margin-bottom:0.8rem;
  padding-left:1.5rem;
  position:relative;
}

.support-sections li:before{
  content:"→";
  position:absolute;
  left:0;
  color:var(--laranja);
  font-weight:bold;
}

.message-section{
  margin:3rem 0;
}

.mensagem h3{
  color:var(--azul);
  margin-bottom:1rem;
}

/* Gallery Styles */
.gallery-content{
  padding:3rem 0;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:2rem;
  margin-bottom:3rem;
}

.gallery-item{
  background:var(--branco);
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.gallery-item img,
.gallery-item .placeholder-image{
  width:100%;
  height:200px;
  object-fit:cover;
}

.placeholder-image{
  background:linear-gradient(135deg, var(--azul), #2a5fdb);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.placeholder-image:before{
  content:"📸";
  font-size:60px;
  opacity:0.8;
}

.placeholder-image:after{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  background:repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.05) 10px,
    rgba(255,255,255,0.05) 20px
  );
}

.gallery-item h3{
  padding:1rem 1.5rem 0.5rem;
  color:var(--azul);
  margin:0;
}

.gallery-item p{
  padding:0 1.5rem 1.5rem;
  margin:0;
  color:var(--texto);
  opacity:0.8;
}

.call-to-action{
  text-align:center;
  padding:3rem;
  background:var(--cinza-claro);
  border-radius:15px;
}

.call-to-action h2{
  color:var(--azul);
  margin-bottom:1rem;
}

.call-to-action p{
  margin-bottom:2rem;
  font-size:1.1rem;
}

/* Additional utility styles */
.alerta{
  background:#ffecec;
  border-left:6px solid #d60000;
  padding:1.5rem;
  font-weight:bold;
  border-radius:8px;
  margin:1rem 0;
}

.mensagem{
  background:#e8f0ff;
  border-left:6px solid var(--azul);
  padding:1.5rem;
  font-style:italic;
  border-radius:8px;
  margin:1rem 0;
}

/* Android specific fixes */
@media(max-width:480px) and (max-height:800px){
  .hero-graphic{
    margin-top:0.3rem;
  }
  
  .graphic-element{
    width:100px;
    height:100px;
  }
  
  .hero{
    padding:0.5rem 0;
  }
  
  main{
    margin-top:130px;
  }
}

/* Tablets */
@media(min-width:769px) and (max-width:1024px){
  .container{
    padding:0 20px;
  }
  
  .hero h1{
    font-size:2.2rem;
  }
  
  .hero p{
    font-size:1.1rem;
  }
  
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
  
  .stats-grid{
    grid-template-columns:repeat(2,1fr);
  }
  
  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Small phones */
@media(max-width:480px){
  .hero h1{
    font-size:1.5rem;
  }
  
  .hero p{
    font-size:0.9rem;
  }
  
  .emergency-banner h2{
    font-size:1.1rem;
  }
  
  .card{
    padding:1rem;
  }
  
  .graphic-element{
    width:150px;
    height:150px;
  }
  
  .graphic-img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
  }
}

@media(min-width:769px){
  .grid{
    grid-template-columns:repeat(3,1fr);
  }
}
