/* DeeBox - Paleta baseada no logo */
:root {
  --bg-dark: #1B333C;
  --bg-dark-alt: #152A32;
  --text-gold: #D2C09C;
  --text-gold-light: #E5DCC5;
  --accent-sandy: #C9AC7F;
  --accent-brown: #AF946C;
  --accent-outline: #7A6644;
  --btn-dark: #333333;
  --gray-muted: #A0A0A0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-gold);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 51, 60, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 102, 68, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  text-decoration: none;
  color: var(--text-gold);
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-accent {
  color: var(--accent-sandy);
}

.tagline {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-gold);
  opacity: 0.9;
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-gold);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-sandy);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--text-gold);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--text-gold);
}

.nav-toggle::before { top: 10px; }
.nav-toggle::after { bottom: 10px; }

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
}

.hero-content {
  max-width: 700px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-gold-light);
  margin-bottom: 1rem;
}

.hero h1 strong {
  color: var(--accent-sandy);
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gold);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-text {
  color: var(--text-gold);
  opacity: 0.95;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-sandy);
  color: var(--bg-dark);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-brown);
  color: var(--text-gold-light);
}

/* Sections */
.section {
  padding: 4rem 0;
  border-top: 1px solid rgba(122, 102, 68, 0.2);
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-gold-light);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-gold);
  opacity: 0.95;
}

.about p,
.why-list {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-gold);
}

.why-list {
  list-style: none;
}

.why-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-gold);
}

.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--accent-sandy);
  border-radius: 50%;
}

.why-list strong {
  color: var(--accent-sandy);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: rgba(21, 42, 50, 0.6);
  border: 1px solid rgba(122, 102, 68, 0.4);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: var(--accent-sandy);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-sandy);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-gold);
  font-size: 0.95rem;
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.client-item {
  background: rgba(21, 42, 50, 0.5);
  border: 1px solid rgba(122, 102, 68, 0.3);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-gold);
  opacity: 0.9;
}

/* Contact */
.contact p {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-gold);
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-card {
  background: rgba(21, 42, 50, 0.6);
  border: 1px solid rgba(122, 102, 68, 0.4);
  border-radius: 8px;
  padding: 1.5rem 2.5rem;
  min-width: 200px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, background 0.2s;
}

.contact-card:hover {
  border-color: var(--accent-sandy);
  background: rgba(21, 42, 50, 0.8);
}

.contact-card-whatsapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.contact-card-whatsapp p {
  text-align: center;
  margin: 0;
}

.whatsapp-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #25D366;
}

.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-sandy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.contact-card p {
  margin: 0;
  text-align: left;
}

/* Footer */
.footer {
  padding: 2rem 1.5rem;
  background: var(--bg-dark-alt);
  border-top: 1px solid rgba(122, 102, 68, 0.3);
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
  color: var(--text-gold);
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--accent-sandy);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--accent-outline);
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-content h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.modal-content p {
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background: var(--bg-dark-alt);
    flex-direction: column;
    padding: 4rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s;
    border-left: 1px solid var(--accent-outline);
  }

  .nav-links.active {
    right: 0;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }
}
