:root {
  --primary: #1a2a3a;
  --accent: #c5a059;
  --light: #f4f4f4;
  --dark: #333;
  --font-sans: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Top scroll progress bar */
#top-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
  z-index: 1500;
  pointer-events: none;
}

.top-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f5dca0, var(--accent));

  scroll-behavior: smooth;
  margin-top: 55px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
}

h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.6px;
}

h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}

/* Header */
header {
  background: rgba(26, 42, 58, 0.85);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  display: flex;
  list-style: none;
}

header ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
}

.btn-nav {
  background: linear-gradient(135deg, #d4a76a 0%, #c5a059 100%);
  border-radius: 6px;
  color: var(--primary) !important;
  padding: 0.6rem 1.2rem !important;
  font-weight: 700 !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}

/* Hero Section */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: -60px;
  padding-top: 60px;
}

.hero h2 {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero span {
  color: var(--accent);
}

.hero-badges {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.badge-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: "Playfair Display", serif;
}

.badge-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 5px;
  font-weight: 500;
}

.btn-main {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 35px;
  background: linear-gradient(135deg, #d4a76a 0%, #c5a059 100%);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.4);
  background: linear-gradient(135deg, #e0b874 0%, #d4a76a 100%);
}

.btn-main:active {
  transform: translateY(-2px);
}

/* Contact CTA (replacement for contact form) */
.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  padding: 28px 34px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(12, 24, 40, 0.06);
  border-left: 6px solid var(--accent);
}

.contact-cta .cta-content {
  max-width: 620px;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.contact-cta p {
  color: #55606a;
  line-height: 1.5;
  margin: 0;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-whatsapp .btn-whatsapp-icon { width: 20px; height: 20px; display:block; }

.btn-whatsapp:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.18);
}

.cta-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #7a8288;
}

@media (max-width: 768px) {
  .contact-cta {
    grid-template-columns: 1fr;
    padding: 22px;
    text-align: center;
  }
  .btn-whatsapp { justify-self: center; }
  .cta-note { text-align: center; }
}

/* Services */
.services {
  padding: 80px 0;
  background: var(--light);
  text-align: center;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 30px;
  border-bottom: 5px solid var(--accent);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
  text-align: center;
}

.testimonials h3 {
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.testimonials h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(380px, 1fr);
  gap: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  scroll-behavior: smooth;
}

.carousel-track {
  display: flex;
  gap: 20px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.1);
  flex: 0 0 100%;
  min-width: 380px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.05), transparent);
  transition: left 0.6s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.testimonial-card:hover::before {
  left: 100%;
}

.stars {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}

.star {
  font-size: 20px;
  color: #d4af37;
  text-shadow: 0 2px 4px rgba(212, 175, 55, 0.2);
  transition: transform 0.2s ease;
}

.star.filled {
  animation: starGlow 0.3s ease;
}

@keyframes starGlow {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #b58d48 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.testimonial-footer strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
}

.testimonial-footer .role {
  font-size: 0.85rem;
  color: #9aa0a6;
  display: block;
  margin-top: 4px;
}

.carousel-btn {
  background: white;
  border: 2px solid var(--accent);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots button.active {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }
  
  .carousel-track {
    min-width: 100%;
  }
  
  .testimonial-card {
    min-width: 100%;
  }
  
  .carousel-btn {
    display: none;
  }
}

/* Contact */
.contact {
  padding: 100px 0;
  text-align: left;
  background: white;
}

.contact h3 {
  text-align: center;
  margin-bottom: 60px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(180deg, rgba(249,249,249,1), rgba(255,255,255,1));
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.06);
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 18px;
  padding: 18px !important;
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.03);
  border-left: 4px solid transparent;
  box-shadow: 0 6px 18px rgba(12, 24, 40, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
  transition: right 0.6s ease;
}

.contact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(26, 42, 58, 0.06);
  transform: translateY(-6px);
}

.contact-card:hover::before {
  right: 100%;
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #eef3f6 0%, #f8f9fa 100%);
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-info .contact-card + .contact-card {
  margin-top: 10px;
}

.contact-info .contact-card-content .contact-subtitle {
  margin-bottom: 6px;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.contact-info .contact-hours {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}

.contact-card-content {
  flex: 1;
}

.contact-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-hours {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-top: 8px;
  font-weight: 500;
  font-style: italic;
}

.address-text {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.8;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--primary);
  text-decoration: underline;
}


form {
  display: flex;
  flex-direction: column;
}

input,
textarea {
  padding: 12px;
  margin-bottom: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.btn-submit {
  background: linear-gradient(135deg, #1a2a3a 0%, #2a3d52 100%);
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(26, 42, 58, 0.25);
  margin-top: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 768px) {
  .about-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-images {
    height: auto;
    margin-bottom: 50px;
  }
  .img-office {
    display: none;
  } /* Esconde foto menor no mobile para limpar o visual */
}

footer {
  background: linear-gradient(135deg, #1a2a3a 0%, #0f1b28 100%);
  color: white;
  padding: 0;
  position: relative;
  overflow: visible;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  position: relative;
  z-index: 2;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-section p strong {
  color: white;
  font-weight: 600;
}

.footer-section a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 160, 89, 0.15);
  border-radius: 50%;
  color: var(--accent);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
}

.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px) scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.footer-bottom p {
  margin: 6px 0;
  line-height: 1.5;
}

.footer-disclaimer {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-style: italic;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.3), transparent);
  margin: 0;
  width: 100%;
}

.footer-info-item {
  margin-bottom: 15px;
}

.footer-info-item:last-child {
  margin-bottom: 0;
}

.footer-info-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.footer-info-item p:first-child {
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.footer-info-item a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.footer-info-item a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.about {
  padding: 100px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 450px;
}

.img-owner {
  width: 80%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 20px 20px 0 var(--accent);
}

.img-office {
  width: 60%;
  height: 250px;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 5px solid white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stats strong {
  font-size: 2rem;
  color: var(--accent);
  display: block;
}

.full-screen {
  min-height: 100vh; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  padding: 80px 0;
}

.about, .services {
  display: flex;
  align-items: center;
  min-height: auto;
  padding-top: 80px;
}

@media (max-width: 768px) {
  .about, .services, .contact {
    padding-top: 60px;
  }
}

.grid-services {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Ajuste fino para telas pequenas (Mobile) */
@media (max-width: 768px) {
  .full-screen {
    height: auto; /* No mobile é melhor deixar o scroll fluir se o texto for longo */
    padding: 100px 0;
  }
}

.logo-img {
  height: 120px; 
  width: auto;  
  display: block;
  transition: 0.3s;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px; /* Espaço entre a logo e o nome */
}

.logo-text {
  font-size: 1.5rem;
  color: white;
  font-family: 'Playfair Display', serif;
}

/* Efeito ao scroll - aumenta opacidade */
#navbar.scrolled {
  background: rgba(26, 42, 58, 0.95);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

#navbar.scrolled .logo-img {
  height: 45px;
}

#navbar.scrolled .logo-text {
  font-size: 1rem;
}



/* Garante que o container alinhe a logo e o menu verticalmente */
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Animações para as seções */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

section {
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

section.scroll-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Transições suaves para elementos */
a, button, input, textarea {
  transition: all 0.3s ease;
}

/* Efeito de click nas seções */
body.section-clicked {
  animation: pageFlash 0.3s ease-out;
}

@keyframes pageFlash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.95;
  }
  100% {
    opacity: 1;
  }
}

/* Transição para links de navegação */
header ul li a {
  position: relative;
  overflow: hidden;
}

header ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

header ul li a:hover::after {
  width: 100%;
}

/* Botão flutuante WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 999;
  animation: slideInUp 0.5s ease-out;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: scale(1.15);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media query para o botão em dispositivos menores */
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* Efeitos de hover nos cards */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Efeito nos botões */
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 42, 58, 0.35);
  background: linear-gradient(135deg, #2a3d52 0%, #3a4d62 100%);
}

.btn-nav:hover {
  background: linear-gradient(135deg, #e0b874 0%, #d4a76a 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
}

/* Links com transição */
header ul li a:hover {
  color: var(--accent);
  transition: color 0.3s ease;
}

/* Menu Hamburguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
  width: 44px;
  height: 36px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menu Responsivo */
.nav-menu {
  display: flex;
}

.nav-menu ul {
  display: flex;
}

/* CSS para mobile */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 95%;
    padding: 0 10px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact h3 {
    margin-bottom: 40px;
  }


  .contact-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 15px !important;
  }

  .contact-card-icon {
    width: 60px;
    height: 60px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 0 20px;
  }

  header {
    padding: 0.5rem 0;
  }

  header .container {
    padding: 0 1rem;
    gap: 10px;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    top: 60px;
    width: 100%;
    height: auto;
    background: var(--primary);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-menu ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
  }

  .nav-menu ul li:last-child {
    border-bottom: none;
  }

  .nav-menu ul li a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    color: white;
  }

  .nav-menu ul li a.btn-nav {
    background: var(--accent);
    color: var(--primary) !important;
    border-radius: 0;
    text-align: center;
    padding: 15px 20px;
    margin: 10px 0;
    border-bottom: none;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-img {
    height: 45px;
  }

  #navbar.scrolled .logo-img {
    height: 45px;
  }

  .hero h2 {
    font-size: 2rem;
  }

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

  .hero-badges {
    flex-direction: column;
    gap: 15px;
  }

  .btn-main {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

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

  .about-images {
    height: auto;
    margin-bottom: 30px;
  }

  .img-office {
    display: none;
  }

  .about-text h3 {
    font-size: 1.8rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Carrossel de Serviços ── */
.services-subtitle {
  color: #666;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 0;
}

.services-carousel-wrap {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
}

.services-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.srv-card {
  background: white;
  border-radius: 10px;
  border-bottom: 5px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.srv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Slot de imagem */
.srv-img-slot {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #dce4ec 0%, #c8d5e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.srv-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.srv-img-label {
  font-size: 0.78rem;
  color: #8a9aaa;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Corpo do card */
.srv-card-body {
  padding: 24px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.srv-card-body h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.srv-card-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.srv-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.srv-topics li {
  font-size: 0.83rem;
  color: #444;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.srv-topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Responsivo */
@media (max-width: 768px) {
  .services-carousel-wrap .carousel-btn {
    display: none;
  }

  .srv-card {
    min-width: 85vw;
  }
}

/* ── Serviços ── */
.services-subtitle {
  color: #666;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 0;
}

.services-carousel-wrap {
  margin-top: 40px;
}

.services-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.srv-card {
  background: white;
  border-radius: 10px;
  border-bottom: 5px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.srv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.srv-img-slot {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #dce4ec 0%, #c8d5e0 100%);
  overflow: hidden;
}

.srv-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.srv-card-body {
  padding: 24px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.srv-card-body h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.srv-card-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.srv-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.srv-topics li {
  font-size: 0.83rem;
  color: #444;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.srv-topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Mobile: vira carrossel ── */
@media (max-width: 768px) {
  .services-carousel-wrap {
    overflow: hidden;
    position: relative;
  }

  .services-track {
    display: flex;
    grid-template-columns: unset;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }

  .services-track::-webkit-scrollbar {
    display: none;
  }

  .srv-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
  }
}