@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --gold: #c9a84c;
  --gold-light: #dfc373;
  --gold-dark: #a68a3e;
  --dark: #0a0a0f;
  --dark-2: #12121a;
  --dark-3: #1a1a25;
  --dark-4: #22222f;
  --text: #e8e6e1;
  --text-muted: #9a9890;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 0;
  transition: background .4s, padding .4s, box-shadow .4s;
}
.navbar.scrolled {
  background: rgba(10,10,15,.95);
  backdrop-filter: blur(12px);
  padding: .8rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.navbar .container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar .logo {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); text-decoration: none; letter-spacing: 1px;
}
.navbar .logo span { color: var(--text); font-weight: 400; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: .85rem;
  font-weight: 500; letter-spacing: .5px; text-transform: uppercase;
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold); color: var(--dark); border: none;
  padding: .7rem 1.6rem; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
  transition: all .3s; text-decoration: none;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-2px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  transition: all .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-start;
  padding-top: 5.7rem; padding-bottom: 5rem;
}
.hero-grid {
  display: flex; align-items: flex-start; justify-content: center; gap: 4rem; width: 100%;
}
.hero-side-banner {
  width: 600px; height: 650px; flex-shrink: 0;
  position: relative; border-radius: 8px; overflow: hidden;
  margin-top: 0;
  align-self: flex-start;
}
.hero-side-banner img {
  width: 100%; height: 100%; object-fit: contain;
}
.hero-side-banner::after {
  content: ''; position: absolute; bottom: -2px; left: -2px; right: -2px; height: 50%;
  background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  width: 100%;
}
.hero-content { flex: 1; max-width: 600px; text-align: center; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border: 1px solid rgba(201,168,76,.3);
  font-size: .75rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 2rem;
  animation: fadeInUp .8s ease;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem;
  animation: fadeInUp .8s ease .2s both;
}
.hero h1 .highlight { color: var(--gold); }
.hero p {
  font-size: 1.1rem; color: var(--text-muted); max-width: 500px;
  margin-bottom: 2.5rem;
  animation: fadeInUp .8s ease .4s both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp .8s ease .6s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--dark);
  padding: 1rem 2rem; font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--text);
  padding: 1rem 2rem; font-size: .85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  text-decoration: none; transition: all .3s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex !important;
  gap: 3rem !important;
  margin-top: 4rem !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  animation: fadeInUp .8s ease .8s both;
  justify-content: center !important;
  flex-wrap: wrap !important;
  text-align: center !important;
  width: 100% !important;
  align-items: center !important;
}
.stat-item h3 {
  font-family: var(--font-heading); font-size: 2rem; color: var(--gold); font-weight: 700;
}
.stat-item p { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
  display: inline-block; font-size: .75rem; text-transform: uppercase;
  letter-spacing: 3px; color: var(--gold); margin-bottom: 1rem;
  position: relative; padding: 0 2rem;
}
.section-label::before, .section-label::after {
  content: ''; position: absolute; top: 50%;
  width: 20px; height: 1px; background: var(--gold-dark);
}
.section-label::before { left: -10px; }
.section-label::after { right: -10px; }
.section-header h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; margin-bottom: 1rem;
}
.section-header p { color: var(--text-muted); max-width: 550px; margin: 0 auto; }

/* ===== AREAS ===== */
.areas { background: var(--dark-2); }
.areas-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.area-card {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,.05);
  padding: 2.5rem 2rem; transition: all .4s; position: relative;
  overflow: hidden;
}
.area-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.area-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,.2); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
  font-size: 2rem; margin-bottom: 1.2rem; display: block;
}
.area-card h3 {
  font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: .8rem;
}
.area-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-image {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid var(--gold); margin: 1rem;
  pointer-events: none;
}
.about-text h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem; line-height: 1.2;
}
.about-text h2 .highlight { color: var(--gold); }
.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; }
.about-list {
  list-style: none; margin: 2rem 0;
}
.about-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .6rem 0; font-size: .95rem;
}
.about-list li::before {
  content: '✦'; color: var(--gold); font-size: .7rem; margin-top: 5px; flex-shrink: 0;
}

/* ===== TEAM ===== */
.team { background: var(--dark-2); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,.05);
  overflow: hidden; transition: all .4s; position: relative;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,.2); }
.team-photo {
  aspect-ratio: 3/4; overflow: hidden; position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%; background: linear-gradient(transparent, var(--dark-3));
}
.team-info { padding: 1.5rem; text-align: center; margin-top: -2rem; position: relative; z-index: 1; }
.team-info h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: .3rem; }
.team-info .role { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.team-info p { font-size: .85rem; color: var(--text-muted); margin-top: .8rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.05);
  padding: 2.5rem; position: relative;
}
.testimonial-card::before {
  content: '"'; font-family: var(--font-heading); font-size: 5rem;
  color: var(--gold); opacity: .2; position: absolute; top: .5rem; left: 1.5rem; line-height: 1;
}
.testimonial-card p {
  font-style: italic; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author .initials {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--dark); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.testimonial-author .name { font-weight: 600; font-size: .9rem; }
.testimonial-author .case { font-size: .8rem; color: var(--text-muted); }
.stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 2px; }

/* ===== CTA / CONTACT ===== */
.contact { background: var(--dark-2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-info h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem; line-height: 1.2;
}
.contact-info h2 .highlight { color: var(--gold); }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-details li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-details .icon {
  width: 44px; height: 44px; background: rgba(201,168,76,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem; flex-shrink: 0;
}
.contact-details .label { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.contact-details .value { font-size: .95rem; margin-top: .2rem; }
.contact-details a { color: var(--text); text-decoration: none; }

.contact-form {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,.05);
  padding: 3rem;
}
.contact-form h3 {
  font-family: var(--font-heading); font-size: 1.4rem;
  margin-bottom: .5rem;
}
.contact-form > p { font-size: .85rem; color: var(--text-muted); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: .8rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: .5rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .9rem 1rem; background: var(--dark-4);
  border: 1px solid rgba(255,255,255,.08); color: var(--text);
  font-family: var(--font-body); font-size: .9rem;
  transition: border-color .3s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--dark-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%; padding: 1rem; background: var(--gold); color: var(--dark);
  border: none; font-family: var(--font-body); font-size: .85rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  cursor: pointer; transition: all .3s; margin-top: .5rem;
}
.btn-submit:hover { background: var(--gold-light); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-note { font-size: .75rem; color: var(--text-muted); margin-top: 1rem; text-align: center; }

/* ===== FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--dark);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.faq-question:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.faq-question.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--gold);
}

.faq-question.active svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-more .btn-secondary {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-question {
    padding: 1.2rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Footer */
.footer {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.05);
  padding: 3rem 0 1.5rem;
}
.footer .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.05);
  flex-wrap: wrap; gap: 1rem;
}
.footer .logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--gold); text-decoration: none; }
.footer .logo span { color: var(--text); font-weight: 400; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .85rem; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center; padding-top: 1.5rem;
  font-size: .8rem; color: var(--text-muted);
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--dark-3); border: 1px solid var(--gold);
  padding: 1.2rem 2rem; color: var(--text);
  transform: translateY(120%); transition: transform .4s;
  max-width: 380px; box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.toast.show { transform: translateY(0); }
.toast h4 { color: var(--gold); font-size: .9rem; margin-bottom: .3rem; }
.toast p { font-size: .85rem; color: var(--text-muted); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: .4; }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== WHATSAPP WIDGET ===== */
.wa-widget-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; }
.wa-widget-window { 
  background: #fff; width: 320px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-bottom: 20px; overflow: hidden; transform-origin: bottom right; transform: scale(0);
  opacity: 0; transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity .3s; pointer-events: none;
}
.wa-widget-window.active { transform: scale(1); opacity: 1; pointer-events: auto; }
.wa-header { background: #128C7E; color: white; padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.wa-body { padding: 1.2rem; }
.wa-option {
  display: block; background: #f0f2f5; padding: 12px 16px; border-radius: 8px; color: #333; text-decoration: none;
  font-size: 0.9rem; margin-bottom: 0.5rem; transition: background .2s; font-weight: 500;
}
.wa-option:hover { background: #dcf8c6; }
.whatsapp-float {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .3s; animation: fadeInUp .6s ease 1s both;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== ÍCONES SVG ===== */
svg {
  color: var(--gold) !important;
  stroke: var(--gold) !important;
}

a:hover svg {
  color: var(--dark) !important;
  stroke: var(--dark) !important;
}

/* Ícones específicos */
.contact-info svg, .contact-section svg, .footer svg, .hero svg {
  color: var(--gold) !important;
  stroke: var(--gold) !important;
}

.contact-info a:hover svg, .footer a:hover svg {
  color: var(--dark) !important;
  stroke: var(--dark) !important;
}

/* Ícones das áreas */
.areas-grid .icon svg {
  color: var(--gold) !important;
  stroke: var(--gold) !important;
}

.areas-grid:hover .icon svg {
  color: var(--dark) !important;
  stroke: var(--dark) !important;
}

/* Ícones da equipe */
.team-grid .icon svg {
  color: var(--gold) !important;
  stroke: var(--gold) !important;
}

.team-grid:hover .icon svg {
  color: var(--dark) !important;
  stroke: var(--dark) !important;
}

/* Ícones dos depoimentos */
.depoimentos-grid .icon svg {
  color: var(--gold) !important;
  stroke: var(--gold) !important;
}

.depoimentos-grid:hover .icon svg {
  color: var(--dark) !important;
  stroke: var(--dark) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-grid { flex-direction: column; text-align: center; gap: 2rem; padding-top: 2rem; }
  .hero-content { max-width: 100%; }
  .hero-side-banner { width: 100%; max-width: 500px; height: 400px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image { max-height: 350px; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,15,.98); padding: 2rem;
    border-top: 1px solid rgba(255,255,255,.05);
    z-index: 1001;
  }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* =========================================
   DEV MODAL (TM SISTEMAS)
========================================= */
.dev-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.dev-modal-overlay.active { opacity: 1; pointer-events: auto; }
.dev-modal {
  background: var(--dark-2); width: 90%; max-width: 400px;
  border-radius: 8px; padding: 2.5rem 2rem; position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateY(20px); transition: transform .3s;
}
.dev-modal-overlay.active .dev-modal { transform: translateY(0); }
.dev-modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none; color: white; font-size: 1.8rem;
  cursor: pointer; opacity: 0.5; transition: opacity .3s; padding: 0; line-height: 1;
}
.dev-modal-close:hover { opacity: 1; color: var(--gold); }
