/* === Variáveis CSS (Identidade Visual) === */
:root {
  --color-dark-blue: #0b1b2f;
  --color-medium-blue: #2563eb;
  --color-white: #ffffff;
  --color-gold: #fcb408;
  --color-orange: #fe4800;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe55;
  --color-instagram: #e1306c;
  --color-email: #60a5fa;

  /* --glass: rgba(255, 255, 255, 0.12); */
  --glass: radial-gradient(
    circle at 20%,
    rgb(255, 255, 255) 0%,
    rgba(255, 255, 255, 0.25) 77%,
    transparent 100%
  );
  --glass-border: rgba(255, 255, 255, 0.18);

  --bg-light: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75));
  --bg-dark: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75));
  --text-dark: #1e293b;
  --text-muted: #64748b;

  --border-radius: 12px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* === Reset e Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;

  background: var(--bg-light), url(assets/logo.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* === Tipografia === */
h1,
h2,
h3 {
  color: var(--color-dark-blue);
  line-height: 1.2;
}
h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-padding {
  padding: 6rem 5%;
}
.bg-gray {
  background: rgba(128, 128, 128, 0.2);
}

.card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

/* === Botões === */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #e06513;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark-blue);
}

/* === Navegação === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark-blue);
}

.logo img {
  width: 60px;
  height: 60px;
}

nav ul {
  display: flex;
  gap: 2rem;
}
nav a {
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
}
nav a:hover {
  color: var(--color-medium-blue);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark-blue);
}

/* === Hero Section === */
#hero {
  padding: 10rem 5% 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.hero-content {
  flex: 1;
}
.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  position: relative;
  height: 50%;
}
.hero-image img {
  box-shadow: var(--shadow-md);
}

/* === Benefícios === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-top: 4px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-medium-blue);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--color-medium-blue);
  background: var(--bg-light);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* === Serviços === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--color-orange);
  margin-bottom: 1.5rem;
}

/* === Antes e Depois === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.8);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* === Processo === */
#processo {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg-light);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 22%;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border: 4px solid var(--color-medium-blue);
  color: var(--color-medium-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}

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

.testimonial-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.client-name {
  font-weight: 700;
  color: var(--color-dark-blue);
  margin-top: 1rem;
}

/* === CTA === */
#cta {
  background: var(--color-dark-blue);
  color: var(--color-white);
  text-align: center;
  padding: 6rem 5%;
}

#cta h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
#cta p {
  color: #94a3b8;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

/* === Rodapé === */
footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 4rem 5% 2rem;
}

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

.footer-col h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.footer-col p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: #94a3b8;
  transition: var(--transition);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-col a:hover {
  color: var(--color-medium-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Botão Flutuante WhatsApp === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--color-whatsapp-hover);
  color: var(--color-white);
}

/* === Animações (Scroll Reveal) === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsividade === */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .timeline {
    flex-direction: column;
    gap: 2rem;
  }
  .timeline::before {
    display: none;
  }
  .step {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    display: none;
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 2rem;
  }
}
