/* ============================
   DESIGN SYSTEM - Studio Edilene Souza
   ============================ */

:root {
  --bg: #0a0a0a;
  --bg-alt: rgba(255, 255, 255, 0.03);
  --fg: #f0ebe3;
  --fg-muted: #8a7e70;
  --card: #141414;
  --border: #2a2318;
  --gold: #c49a3c;
  --gold-light: #d4b76a;
  --gold-dark: #8a6b1f;
  --gradient-gold: linear-gradient(135deg, #8a6b1f, #c49a3c, #d4b76a);
  --shadow-gold: 0 4px 30px rgba(196, 154, 60, 0.15);
  --radius: 1rem;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* UTILITIES */
.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-gold);
  color: var(--bg);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-gold.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

.btn-gold.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(196, 154, 60, 0.3);
  color: var(--gold);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s;
}

.btn-outline:hover {
  background: rgba(196, 154, 60, 0.1);
}

/* HEADER */
.header {
  /* background: url(img/principal/fdsaf.jpeg); */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* background: rgba(10,10,10,0.8); */
  /* backdrop-filter: blur(12px); */
  /* border-bottom: 1px solid var(--border); */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.header-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  /* object-fit: cover; */
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.3s;
}

.header-nav a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  /* width: 24px; height: 2px;
  background: var(--fg);
  transition: 0.3s; */
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu.active {
  display: flex;
}

/* HERO */
.hero {
  background: url(img/principal/fundo-principal.png) no-repeat center;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to right, var(--bg), rgba(10, 10, 10, 0.687), rgba(10, 10, 10, 0.292)); */
}

.hero-content {
  position: relative;
  right: 10%;
  max-width: 640px;
  padding: 8rem 0 4rem;
}

.hero-content img {
  width: 100px;
  position: relative;
  top: -30px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

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

/* SECTIONS */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2,
.about-content h2,
.contact-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.5s, border-color 0.5s;
}

.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.service-icon svg {
  width: 36px;
  height: 36px;
  stroke: #c084fc;
  transition: 0.3s;
}

.service-card:hover svg {
  stroke: #a855f7;
  transform: scale(1.1);
}

.service-card:hover {
  box-shadow: var(--shadow-gold);
  border-color: rgba(196, 154, 60, 0.3);
}

.service-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--gold);
}

.service-card p {
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  position: relative;
}

.about-image-glow {
  position: absolute;
  inset: -1rem;
  background: var(--gradient-gold);
  border-radius: 1.5rem;
  opacity: 0.2;
  filter: blur(30px);
}

.about-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
}

.about-content h2 {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: var(--border);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* RESULTS */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.result-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
}

.result-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.result-item:hover img {
  transform: scale(1.1);
}

.result-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.result-item:hover .result-overlay {
  opacity: 1;
}

.result-overlay span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial-card .stars {
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--fg-muted);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.testimonial-card strong {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* CONTACT */
.contact-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-content h2 {
  margin-top: 0.75rem;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(196, 154, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-item h3 {
  font-family: var(--font-heading);
  font-weight: 600;
}

.contact-item p {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand span {
  font-family: var(--font-heading);
}

.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.footer p {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

.footer-social {
  color: var(--fg-muted);
  transition: color 0.3s;
}

.footer-social:hover {
  color: var(--gold);
}


.desenvolvedor {
  margin: 0 auto;
  text-align: center;
}

/* ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .hero {
    background: url(img/principal/fundo-principal-responsivo.png) no-repeat center;
    background-size: cover;
    position: relative;
    min-height: 100vh;
  }


  .hero-content {
    position: relative;
    top: -150px;
    right: 0;
    text-align: center;
    max-width: 640px;
    padding: 8rem 0 4rem;
  }

  .hero-content img {
    margin: 0 auto;
  }

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

  .btn-gold, .btn-outline {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.60rem;
    font-weight: 600;
  }

  /* .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(196, 154, 60, 0.3);
    color: var(--gold);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s;
  } */

  .header-nav {
    display: none;
  }

  .header .btn-gold.btn-sm {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  /* .hero-content {
    padding: 7rem 0 3rem;
  } */

  .hero-badge {
    /* display: flex; */
    justify-content: center;
  }

  .hero-buttons {
    /* flex-direction: column; */
  }

  .hero-buttons a {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .about-content h2,
  .contact-content h2 {
    font-size: 2rem;
  }

  .about-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}