/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body {
  background: #f4f8fb;
  color: #1a2b42;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIÁVEIS ===== */
:root {
  --azul-escuro: #0a2540;
  --azul-medio: #1e5f8c;
  --azul-claro: #4fc3f7;
  --azul-gelo: #e3f4fc;
  --branco: #ffffff;
  --cinza: #6c7a89;
  --laranja: #ff7a00;
  --sombra: 0 10px 30px rgba(10, 37, 64, 0.12);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: all .3s ease;
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; max-width: 1200px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.6rem; font-weight: 800; color: var(--azul-escuro);
}
.logo i { color: var(--azul-claro); font-size: 2rem; }
.logo span { color: var(--azul-claro); }

nav ul { display: flex; gap: 30px; }
nav ul li a {
  font-weight: 500; color: var(--azul-escuro);
  transition: color .3s; position: relative;
}
nav ul li a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px; background: var(--azul-claro);
  transition: width .3s;
}
nav ul li a:hover { color: var(--azul-claro); }
nav ul li a:hover::after { width: 100%; }

.menu-toggle { display: none; font-size: 1.6rem; cursor: pointer; color: var(--azul-escuro); background: none; border: none; }
header.scrolled { box-shadow: 0 5px 20px rgba(0,0,0,0.15); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(10,37,64,0.92), rgba(30,95,140,0.92)),
              linear-gradient(135deg, #0a2540, #1e5f8c);
  display: flex; align-items: center; color: var(--branco);
  padding: 100px 0 50px;
}
.hero-content { max-width: 700px; animation: fadeInUp 1s ease; }
.hero .badge {
  display: inline-block; background: rgba(79,195,247,0.2);
  border: 1px solid var(--azul-claro); color: var(--azul-claro);
  padding: 6px 16px; border-radius: 30px; font-size: .85rem;
  margin-bottom: 20px; font-weight: 500;
}
.hero h1 {
  font-size: 3.2rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2;
}
.hero h1 span { color: var(--azul-claro); }
.hero p { font-size: 1.15rem; margin-bottom: 35px; opacity: .95; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.btn {
  padding: 14px 30px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; cursor: pointer; border: none;
  transition: all .3s; display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary { background: var(--azul-claro); color: var(--azul-escuro); }
.btn-primary:hover { background: var(--branco); transform: translateY(-3px); box-shadow: var(--sombra); }
.btn-outline { background: transparent; color: var(--branco); border: 2px solid var(--branco); }
.btn-outline:hover { background: var(--branco); color: var(--azul-escuro); }
.btn-whats { background: #25d366; color: #fff; }
.btn-whats:hover { background: #1ebe5a; transform: translateY(-3px); }

/* ===== SEÇÕES ===== */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title small {
  color: var(--azul-claro); font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; font-size: .9rem;
}
.section-title h2 {
  font-size: 2.5rem; color: var(--azul-escuro); margin-top: 10px; font-weight: 700;
}
.section-title .linha {
  width: 60px; height: 4px; background: var(--azul-claro);
  margin: 15px auto; border-radius: 2px;
}

/* ===== SOBRE / HISTÓRIA ===== */
.sobre { background: var(--branco); }
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.sobre-img {
  position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--sombra);
}
.sobre-img img { width: 100%; height: 450px; object-fit: cover; }
.sobre-img::after {
  content: '+22 ANOS'; position: absolute; bottom: 20px; right: 20px;
  background: var(--azul-claro); color: var(--azul-escuro);
  padding: 10px 20px; border-radius: 50px; font-weight: 700;
}
.sobre h3 { color: var(--azul-escuro); font-size: 2rem; margin-bottom: 20px; }
.sobre p { color: var(--cinza); margin-bottom: 15px; font-size: 1.02rem; }

/* ===== CONTADORES ===== */
.stats {
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
  color: var(--branco); padding: 60px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item i { font-size: 2.5rem; color: var(--azul-claro); margin-bottom: 10px; }
.stat-item h3 { font-size: 2.8rem; font-weight: 800; margin-bottom: 5px; }
.stat-item p { font-size: 1rem; opacity: .9; }

/* ===== SERVIÇOS ===== */
.servicos { background: var(--azul-gelo); }
.servicos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.servico-card {
  background: var(--branco); border-radius: 20px; overflow: hidden;
  box-shadow: var(--sombra); transition: all .4s;
}
.servico-card:hover { transform: translateY(-10px); }
.servico-card .img { height: 220px; overflow: hidden; }
.servico-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.servico-card:hover .img img { transform: scale(1.1); }
.servico-card .info { padding: 25px; }
.servico-card .info i {
  font-size: 2rem; color: var(--azul-claro); margin-bottom: 15px;
}
.servico-card h4 { color: var(--azul-escuro); font-size: 1.4rem; margin-bottom: 10px; }
.servico-card p { color: var(--cinza); font-size: .95rem; }

/* ===== MARCAS ===== */
.marcas { background: var(--branco); padding: 50px 0; }
.marcas h3 { text-align: center; color: var(--cinza); font-weight: 500; margin-bottom: 30px; }
.marcas-list {
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 30px; opacity: .8;
}
.marcas-list span {
  font-size: 1.6rem; font-weight: 700; color: var(--azul-escuro);
  transition: all .3s;
}
.marcas-list span:hover { color: var(--azul-claro); transform: scale(1.1); }

/* ===== COMPARATIVO ===== */
.comparativo { background: var(--azul-gelo); }
.comparativo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.produto-card {
  background: var(--branco); border-radius: 20px; padding: 30px;
  text-align: center; box-shadow: var(--sombra); transition: all .4s;
  position: relative;
}
.produto-card.destaque { border: 3px solid var(--azul-claro); transform: scale(1.05); }
.produto-card.destaque::before {
  content: '🏆 MAIS VENDIDO'; position: absolute; top: 20px; right: -40px;
  background: var(--laranja); color: #fff; padding: 5px 50px;
  transform: rotate(35deg); font-size: .75rem; font-weight: 700;
}
.produto-card img {
  width: 100%; height: 220px; object-fit: contain; margin-bottom: 20px;
  border-radius: 12px;
}
.produto-card h4 { color: var(--azul-escuro); font-size: 1.3rem; margin-bottom: 10px; }
.produto-card .preco {
  font-size: 1.8rem; color: var(--azul-claro); font-weight: 700; margin: 15px 0;
}
.produto-card ul { text-align: left; margin: 20px 0; }
.produto-card ul li {
  padding: 8px 0; border-bottom: 1px dashed #ddd; color: var(--cinza);
  font-size: .92rem;
}
.produto-card ul li i { color: #25d366; margin-right: 8px; }

/* ===== DICAS ===== */
.dicas { background: var(--branco); }
.dicas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.dica-card {
  display: flex; gap: 20px; padding: 25px; background: var(--azul-gelo);
  border-radius: 15px; border-left: 4px solid var(--azul-claro);
  transition: all .3s;
}
.dica-card:hover { transform: translateX(5px); }
.dica-card .icon {
  min-width: 60px; height: 60px; border-radius: 50%;
  background: var(--azul-claro); color: var(--branco);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.dica-card h4 { color: var(--azul-escuro); margin-bottom: 8px; }
.dica-card p { color: var(--cinza); font-size: .93rem; }

/* ===== DEPOIMENTOS ===== */
.depoimentos { background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio)); color: var(--branco); }
.depoimentos .section-title h2 { color: var(--branco); }
.depo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.depo-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15);
}
.depo-card .stars { color: #ffc107; margin-bottom: 15px; }
.depo-card p { font-style: italic; margin-bottom: 20px; opacity: .95; }
.depo-card .autor { display: flex; align-items: center; gap: 12px; }
.depo-card .autor img {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
}
.depo-card .autor strong { display: block; }
.depo-card .autor small { opacity: .7; }

/* ===== ORÇAMENTO ===== */
.orcamento { background: var(--azul-gelo); }
.form-card {
  max-width: 700px; margin: 0 auto; background: var(--branco);
  padding: 50px; border-radius: 20px; box-shadow: var(--sombra);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--azul-escuro); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid #e0e6ed;
  border-radius: 10px; font-size: 1rem; font-family: inherit;
  transition: border-color .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--azul-claro);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-feedback {
  padding: 15px 20px; border-radius: 10px; margin-top: 20px;
  font-weight: 500; text-align: center; display: none;
}
.form-feedback.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-feedback.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.btn:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }

/* ===== FAQ ===== */
.faq { background: var(--branco); }
.faq-item {
  background: var(--azul-gelo); margin-bottom: 15px; border-radius: 12px;
  overflow: hidden; transition: all .3s;
}
.faq-question {
  padding: 20px 25px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--azul-escuro);
}
.faq-question:focus-visible {
  outline: 2px solid var(--azul-claro); outline-offset: -2px; border-radius: 12px;
}
.faq-question i { transition: transform .3s; color: var(--azul-claro); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
  padding: 0 25px; color: var(--cinza);
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 25px 20px; }

/* ===== FOOTER ===== */
footer {
  background: var(--azul-escuro); color: var(--branco); padding: 60px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { margin-bottom: 20px; color: var(--azul-claro); font-size: 1.1rem; }
.footer-col p, .footer-col a { color: #b8c5d6; font-size: .95rem; line-height: 2; display: block; }
.footer-col a:hover { color: var(--azul-claro); padding-left: 5px; transition: all .3s; }
.footer-col .social { display: flex; gap: 12px; margin-top: 15px; }
.footer-col .social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  padding: 0;
}
.footer-col .social a:hover { background: var(--azul-claro); color: var(--azul-escuro); padding-left: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  text-align: center; color: #8aa0b8; font-size: .9rem;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whats-float {
  position: fixed; bottom: 25px; right: 25px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 20px rgba(37,211,102,0.5);
  z-index: 999; cursor: pointer; animation: pulse 2s infinite;
  transition: transform .3s;
}
.whats-float:hover { transform: scale(1.1); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.2rem; }
  .sobre-grid, .servicos-grid, .comparativo-grid, .depo-grid, .dicas-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .produto-card.destaque { transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 20px; }

  nav ul {
    display: none; position: absolute; top: 70px; left: 0; width: 100%;
    background: #fff; flex-direction: column; padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  nav ul.active { display: flex; }
  .menu-toggle { display: block; }
}
