/* M7 Consultoria - Estilo M7 Personalizado */
:root {
  --primary: #6366f1;
  --primary-dark: #4338ca;
  --primary-light: #8b5cf6;
  --secondary: #f8faff;
  --accent: #a855f7;
  --text: #1e1b4b;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow: rgba(99, 102, 241, 0.15);
  --shadow-light: rgba(99, 102, 241, 0.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: var(--secondary);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow-light);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 40px;
  height: 40px;
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
nav a:hover {
  color: var(--primary);
}
nav a:hover::after {
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* HERO FLEX */
#hero {
  background: linear-gradient(
      135deg,
      rgba(99, 102, 241, 0.9) 0%,
      rgba(168, 85, 247, 0.8) 100%
    ),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 140px 0 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(67, 56, 202, 0.2);
  z-index: 1;
}
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 800px;
}
#hero h1 {
  font-size: 3.2rem;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
#hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(45deg, #25d366, #20c358);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
  background: linear-gradient(45deg, #20c358, #1db651);
}
.whatsapp-btn .icon-whatsapp {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(45deg, #25d366, #20c358);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}
.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}
@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
}
/* SOBRE CARDS */
.sobre-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.sobre-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow-light);
  padding: 50px 35px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 102, 204, 0.2);
  position: relative;
  overflow: hidden;
}
.sobre-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.sobre-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow);
}
.sobre-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 600;
}
.sobre-card p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}
/* PRODUTOS GRID */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.produto {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow-light);
  padding: 45px 35px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 153, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.produto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
}
.produto:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow);
}
.produto h3 {
  color: var(--accent);
  margin-bottom: 18px;
  font-size: 1.35rem;
  font-weight: 600;
}
.produto p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}
.btn {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px var(--shadow);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px var(--shadow);
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
}
section {
  padding: 80px 0;
}
section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  position: relative;
}
section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
/* DEPOIMENTOS GRID */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.depoimento {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow-light);
  padding: 45px 35px;
  text-align: center;
  font-style: italic;
  color: var(--text);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 102, 204, 0.2);
  position: relative;
  overflow: hidden;
}
.depoimento::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  font-family: Georgia, serif;
}
.depoimento:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px var(--shadow);
}
.depoimento p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.depoimento span {
  display: block;
  margin-top: 20px;
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.servico {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow-light);
  padding: 45px 35px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 102, 204, 0.2);
  position: relative;
  overflow: hidden;
}
.servico::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
.servico:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow);
}
.servico h3 {
  color: var(--accent);
  margin-bottom: 18px;
  font-size: 1.35rem;
  font-weight: 600;
}
.servico p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}
#contato {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    rgba(0, 102, 204, 0.05) 100%
  );
}
#contato form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
#contato input,
#contato textarea {
  padding: 18px 24px;
  border: 2px solid rgba(0, 102, 204, 0.1);
  border-radius: 15px;
  font-size: 1.05rem;
  resize: none;
  background: var(--white);
  color: var(--text);
  transition: all 0.3s ease;
  font-family: inherit;
}
#contato input:focus,
#contato textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
#contato textarea {
  min-height: 120px;
}
#formMsg {
  margin-top: 15px;
  font-size: 1.05rem;
  color: var(--primary);
  text-align: center;
  font-weight: 500;
}
footer {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  color: var(--white);
  padding: 50px 0 20px 0;
  margin-top: 60px;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-info {
  min-width: 250px;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.8;
}
.footer-info strong {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 10px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-social a {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.footer-copy {
  flex: 1 1 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
}
@media (max-width: 1024px) {
  .hero-flex {
    gap: 40px;
  }
  #hero h1 {
    font-size: 2.8rem;
  }
  .sobre-cards,
  .produtos-grid,
  .servicos-grid,
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}
@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }
  nav ul {
    gap: 25px;
  }
  nav a {
    font-size: 0.9rem;
  }
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  #hero {
    padding: 120px 0 60px 0;
    min-height: auto;
  }
  #hero h1 {
    font-size: 2.2rem;
  }
  #hero p {
    font-size: 1.1rem;
  }
  .sobre-cards,
  .produtos-grid,
  .servicos-grid,
  .depoimentos-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  .footer-copy {
    text-align: center;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}
