/* Estilos globais */
:root {
  --accent: #E94298;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

header {
  background: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: var(--accent);
}

.logo .tagline {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: -5px;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

/* Hero section */
/* Utiliza um gradiente de duas cores para criar um fundo moderno e evita imagens reais */
#hero {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  position: relative;
  color: #fff;
  padding: 200px 20px 200px;
  text-align: left;
  margin-top: 80px; /* altura do header */
  overflow: hidden;
}

/* Pequenos efeitos decorativos no fundo do hero, usando formas semi-transparentes */
#hero::before, #hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(60px);
  z-index: 0;
}
#hero::before {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}
#hero::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
}

/* Garante que o conteúdo do hero aparece acima das formas decorativas */
#hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: 10%;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.btn {
  background: #fff;
  color: var(--accent);
  padding: 14px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: rgba(255,255,255,0.9);
}

/* Botão secundário para segunda acção no hero */
.btn.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  margin-left: 10px;
}

.btn.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

/* About section */
#about h2,
#services h2,
#contact h2 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
}

#about p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Services section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

/* Imagem dentro do cartão de serviço */
.service-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  margin-top: 0;
  color: var(--accent);
}

/* Contact section */
#contact p {
  text-align: center;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer p {
  margin: 0;
}

/* Novos estilos para secção de testemunhos */
#testimonials {
  background: #fafafa;
}
#testimonials .container {
  padding-top: 60px;
  padding-bottom: 60px;
}
#testimonials h2 {
  color: var(--accent);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.testimonial-item {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.testimonial-item .quote {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}
.testimonial-item .author {
  font-weight: 600;
  color: var(--accent);
  text-align: right;
  margin: 0;
}

/* Estilos para a newsletter */
#newsletter {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
}
.newsletter-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}
.newsletter-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}
.newsletter-container p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #f9f9f9;
}
.newsletter-container form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.newsletter-container input[type="email"] {
  padding: 12px 15px;
  border: none;
  border-radius: 25px;
  flex: 1 1 250px;
  max-width: 300px;
  font-size: 1rem;
  color: #333;
}
.newsletter-container button {
  padding: 12px 35px;
  border: none;
  border-radius: 25px;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.newsletter-container button:hover {
  background: rgba(255,255,255,0.9);
}
.newsletter-success {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}

/* Estilos para o novo footer */
footer {
  background: #1e1e1e;
  color: #ccc;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 40px 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col h4 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-col p {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
}
.footer-bottom {
  background: #111;
  padding: 15px 0;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* Secção de vantagens/diferenciais */
#advantages {
  background: #f8f8f8;
}
#advantages .container {
  padding-top: 60px;
  padding-bottom: 60px;
}
#advantages h2 {
  color: var(--accent);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.advantage-item {
  background: #fff;
  border-top: 4px solid var(--accent);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.advantage-item:hover {
  transform: translateY(-5px);
}
.advantage-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}
.advantage-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 1.2rem;
}
.advantage-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  nav ul li {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .logo-text {
    font-size: 1.8rem;
  }
  #hero {
    padding: 120px 20px 80px;
  }
  #hero h1 {
    font-size: 2rem;
  }
  #hero p {
    font-size: 1rem;
  }
}