/* ========== RESET BÁSICO ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #ecf0f1;
  background: #2c3e50; /* fundo geral azul escuro suave */
}

/* ========== HEADER TRANSPARENTE SOBRE A CAPA ========== */
header {
  position: absolute; inset: 0 auto auto 0;
  width: 100%;
  padding: 15px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: transparent;
  z-index: 1000;
}
header .logo { font-size: 1.5rem; font-weight: bold; color: #fff; }
.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a {
  color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color .3s;
}
.nav-links a:hover { color: #f39c12; }

/* ========== CAPA (HERO) ========== */
.hero {
  background: url('fotos/hero.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: flex-start;
  padding-left: 60px; text-align: left;
}
.hero h1 { font-size: 3rem; text-shadow: 2px 2px 4px rgba(0,0,0,.7); max-width: 700px; }
.hero p  { font-size: 1.2rem; margin: 20px 0; max-width: 520px; }
.cta-button {
  display: inline-block; background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: #fff; padding: 12px 25px; text-decoration: none; border-radius: 30px;
  font-weight: bold; font-size: 1rem; transition: transform .3s, box-shadow .3s;
  box-shadow: 0 6px 18px rgba(231,76,60,.25);
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(231,76,60,.35); }

/* ========== TÍTULO DE SEÇÃO ========== */
.section-title {
  text-align: center; font-size: 2rem; margin-bottom: 28px; color: #ecf0f1;
}

/* ========== SERVIÇOS ========== */
.services { padding: 60px 20px; background: #2c3e50; color: #ecf0f1; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.service-card {
  background: #34495e; color: #ecf0f1;
  border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,.30);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,.35); }
.service-image {
  height: 200px; background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; cursor: pointer;
}
.service-image::after {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s ease;
}
.service-image:hover::after { background: rgba(0,0,0,.2); }
.service-content { padding: 18px 18px 20px; }

/* ========== ANTES & DEPOIS ========== */
.before-after { padding: 60px 20px; background: #2c3e50; color: #ecf0f1; }
.comparison { display: flex; flex-wrap: wrap; gap: 20px; }
.comparison-item { flex: 1; min-width: 280px; }
.comparison-item h4 { margin-bottom: 10px; color: #ecf0f1; }
.comparison-image {
  height: 300px; background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: 12px; position: relative; cursor: pointer;
}
.comparison-image::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s; border-radius: inherit; }
.comparison-image:hover::after { background: rgba(0,0,0,.2); }

/* ========== DEPOIMENTOS (TESTIMONIALS) ========== */
.testimonials { padding: 60px 20px; background: #2c3e50; color: #ecf0f1; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
}
.testimonial {
  background: #34495e; border-radius: 12px; padding: 18px;
  box-shadow: 0 5px 15px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 10px;
}
.testimonial p { font-style: italic; color: #e0e6ea; line-height: 1.55; }
.testimonial h4 { color: #cfd8dc; font-weight: 700; margin-top: 6px; }

/* ========== GALERIA ========== */
.gallery { padding: 60px 20px; background: #2c3e50; color: #ecf0f1; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px;
}
.gallery-item {
  height: 200px; background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: 10px; transition: transform .25s ease, box-shadow .25s ease; position: relative; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s ease; border-radius: inherit; }
.gallery-item:hover::after { background: rgba(0,0,0,.18); }

/* ========== CONTATO ========== */
.contact {
  padding: 60px 20px; background: linear-gradient(135deg, #1a252f, #2c3e50);
  color: #fff; text-align: center;
}
.contact form { max-width: 520px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 6px; color: #ecf0f1; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px; border-radius: 8px; border: none; outline: none;
  background: rgba(255,255,255,0.95); color: #2c3e50; font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  box-shadow: 0 0 0 3px rgba(52,152,219,.35);
}
.submit-btn {
  display: inline-block; background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: #fff; padding: 12px 26px; border: none; border-radius: 30px; font-weight: 700; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 6px 18px rgba(231,76,60,.25);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(231,76,60,.35); }

/* ========== RODAPÉ ========== */
footer { background: #1a252f; color: #fff; text-align: center; padding: 22px; }

/* ========== MODAL / LIGHTBOX (com setas) ========== */
.modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.85);
  justify-content: center; align-items: center;
  padding: 20px;
}
.modal-content {
  max-width: 92%; max-height: 92%;
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.close, .prev, .next {
  position: absolute; color: #fff; font-weight: bold; cursor: pointer; user-select: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.close { top: 16px; right: 26px; font-size: 40px; }
.prev, .next {
  top: 50%; transform: translateY(-50%);
  font-size: 46px; padding: 8px 14px; background: rgba(0,0,0,.35); border-radius: 10px;
}
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover, .next:hover, .close:hover { opacity: .9; }

/* ========== COMMENTS (NOVA SEÇÃO) ========== */
.comments { padding: 60px 20px; background: #2c3e50; color: #ecf0f1; }
.comments .section-title { margin-bottom: 20px; }
.comments-subtitle { margin: 28px 0 12px; color: #ecf0f1; text-align: left; }

.comment-form { max-width: 680px; margin: 0 auto; background: #34495e; padding: 18px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.comment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form .form-group { margin-bottom: 12px; }
.comment-form label { display: block; margin-bottom: 6px; color: #ecf0f1; }
.comment-form input, .comment-form textarea, .comment-form select {
  width: 100%; padding: 12px; border-radius: 8px; border: none; outline: none; background: rgba(255,255,255,.95); color: #2c3e50;
}
.comment-form textarea { resize: vertical; min-height: 100px; }

/* Stars */
.stars { display: inline-flex; gap: 6px; }
.star {
  font-size: 22px; line-height: 1; background: rgba(0,0,0,.25); border: none; border-radius: 6px;
  color: #bdc3c7; cursor: pointer; padding: 6px 8px; transition: transform .15s, background .15s, color .15s;
}
.star:hover { transform: translateY(-1px); }
.star.active { color: #f1c40f; background: rgba(0,0,0,.35); }

/* List */
.comments-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.comment-card { background: #34495e; border-radius: 12px; padding: 14px; box-shadow: 0 5px 15px rgba(0,0,0,.25); }
.comment-card .c-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.comment-card .c-name { font-weight: 700; color: #ecf0f1; }
.comment-card .c-meta { font-size: .85rem; color: #cfd8dc; }
.comment-card .c-stars { color: #f1c40f; margin-bottom: 8px; }
.comment-card .c-text { color: #e0e6ea; line-height: 1.5; }

/* ========== RESPONSIVO (MOBILE) ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 0 20px; justify-content: center; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero p  { font-size: 1rem; }
  .service-image { height: 180px; }
  .comparison-image { height: 240px; }
  .gallery-item { height: 180px; }
  .close { font-size: 36px; right: 18px; top: 12px; }
  .prev, .next { font-size: 38px; }
  .comment-form .form-row { grid-template-columns: 1fr; }
}