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

:root {
  --bg-deep: #06091A;
  --bg-card: #0A1126; /* Slightly darker for better contrast */
  --bg-section: #0B132B;
  --navy: #112145;
  --navy-light: #1A3A6B;
  --gold: #D4AF37; /* More premium metallic gold */
  --gold-light: #F3E5AB;
  --gold-dim: rgba(212, 175, 55, 0.1);
  --gold-border: rgba(212, 175, 55, 0.25);
  --text-main: #F8FAFC;
  --text-sub: #94A3B8;
  --text-muted: #475569;
  --glass: rgba(6, 9, 26, 0.85); /* Darker glass for better readability */
  --radius: 12px; /* Slightly sharper corners look more corporate */
  --shadow: 0 10px 40px rgba(0,0,0,0.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── PARTICLES BACKGROUND ─── */
#particles {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 105px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
#navbar.scrolled {
  background: rgba(6, 9, 26, 0.98);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-logo img { height: 85px; transition: height 0.3s; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -6px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
  transform-origin: right;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: #000 !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
  display: flex; align-items: center; gap: 8px;
}
.nav-cta i { font-size: 1.1rem; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  position: relative; z-index: 1;
  display: flex; align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(17,33,69,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    var(--bg-deep);
}
.hero-text { animation: fadeInLeft 0.9s ease forwards; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); } 50% { opacity: 0.5; box-shadow: 0 0 0 4px rgba(212, 175, 55, 0); } }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 600; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: #000;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s;
}
.btn-primary i { font-size: 1.3rem; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4); }

.btn-secondary {
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
  background: rgba(255,255,255,0.02);
}
.btn-secondary:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold-light); }

.hero-image { position: relative; display: flex; justify-content: center; animation: fadeInRight 0.9s ease forwards; }
.hero-photo-wrap {
  position: relative;
  width: 100%; max-width: 450px;
}
/* Efeito premium de moldura animada atrás da foto */
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px 20px 50% 50%;
  background: linear-gradient(45deg, var(--gold), transparent, var(--navy-light), transparent);
  background-size: 200% 200%;
  animation: gradient-rotate 8s ease infinite;
  opacity: 0.4;
}
@keyframes gradient-rotate { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.hero-photo-wrap img {
  width: 100%;
  display: block;
  position: relative; z-index: 1;
  border-radius: 16px 16px 50% 50%;
  background: var(--bg-card);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
}
.hero-stats {
  position: absolute; bottom: 15%; left: -30px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 2;
}
.stat-pill {
  background: rgba(6, 9, 26, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  animation: slideInLeft 0.6s ease forwards;
  opacity: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.stat-pill:nth-child(2) { animation-delay: 0.2s; }
.stat-pill:nth-child(3) { animation-delay: 0.4s; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.stat-label { font-size: 0.75rem; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }

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

/* ─── SECTIONS COMMON ─── */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 120px 5%; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-sub);
  max-width: 600px; line-height: 1.7; font-weight: 300;
}
.divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

/* ─── SOBRE ─── */
#sobre { background: var(--bg-section); border-top: 1px solid rgba(255,255,255,0.02); }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem; align-items: center;
}
.sobre-img-wrap { position: relative; }
.sobre-img-wrap img, .sobre-img-wrap video {
  width: 100%; border-radius: var(--radius);
  background: var(--bg-deep);
  box-shadow: var(--shadow);
  position: relative; z-index: 2;
  object-fit: cover;
}
.sobre-img-frame {
  position: absolute; inset: -15px 15px 15px -15px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  z-index: 1;
}
.sobre-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.metric-card {
  border-top: 1px solid var(--gold-border);
  padding-top: 1rem;
}
.metric-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 400;
  color: var(--gold); display: block; line-height: 1; margin-bottom: 0.5rem;
}
.metric-label { font-size: 0.75rem; color: var(--text-sub); text-transform: uppercase; letter-spacing: 0.05em; }
.sobre-text p { color: var(--text-sub); line-height: 1.8; margin-bottom: 1.2rem; font-weight: 300; }

/* ─── SERVIÇOS ─── */
#servicos { background: var(--bg-deep); }
.servicos-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.servicos-header-video video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.05);
  background: var(--bg-section);
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 4rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  cursor: default;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover {
  background: rgba(11, 19, 43, 0.8);
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  font-size: 2.5rem; margin-bottom: 1.5rem; display: block;
  color: var(--gold);
  transition: transform 0.4s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) translateY(-5px); }
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--text-main); margin-bottom: 1rem; line-height: 1.2;
}
.service-desc { font-size: 0.9rem; color: var(--text-sub); line-height: 1.7; font-weight: 300; }

/* ─── TRILHA ─── */
#trilha { background: var(--bg-section); border-top: 1px solid rgba(255,255,255,0.02); }
.trilha-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 5rem;
  position: relative;
}
/* Linha conectora no Desktop */
.trilha-steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 16.66%; right: 16.66%;
  height: 1px;
  background: rgba(255,255,255,0.05);
  z-index: 0;
}
.trilha-steps::after {
  content: '';
  position: absolute;
  top: 30px; left: 16.66%; width: 0;
  height: 1px;
  background: var(--gold);
  z-index: 0;
  transition: width 1.5s ease;
}
.trilha-steps.animate-line::after { width: 66.66%; }

.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s ease;
  position: relative; z-index: 1;
}
.step.visible { opacity: 1; transform: translateY(0); }
.step:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3) { transition-delay: 0.4s; }
.step:nth-child(4) { transition-delay: 0.6s; }
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-weight: 400; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px var(--bg-section);
  transition: all 0.3s ease;
}
.step:hover .step-num { background: var(--gold); color: #000; border-color: var(--gold); }
.step-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--gold-light); }
.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 500;
  color: var(--text-main); margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.85rem; color: var(--text-sub); line-height: 1.7; font-weight: 300; }

/* ─── DIFERENCIAIS ─── */
#diferenciais { background: var(--bg-deep); }
.diff-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2.5rem; margin-top: 4rem;
}
.diff-card {
  padding: 3rem 2rem;
  text-align: center;
  border-left: 1px solid var(--gold-border);
  background: linear-gradient(90deg, rgba(255,255,255,0.01), transparent);
  transition: all 0.3s ease;
}
.diff-card:hover { background: linear-gradient(90deg, rgba(212, 175, 55, 0.05), transparent); }
.diff-icon { font-size: 3rem; margin-bottom: 1.5rem; color: var(--gold); display: inline-block; }
.diff-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400;
  color: var(--text-main); margin-bottom: 1rem;
}
.diff-desc { font-size: 0.95rem; color: var(--text-sub); line-height: 1.7; font-weight: 300; }

/* ─── DEPOIMENTOS (Google Carousel) ─── */
#depoimentos { background: var(--bg-section); border-top: 1px solid rgba(255,255,255,0.02); overflow: hidden; }

.swiper-container-wrap {
  margin-top: 4rem;
  position: relative;
  padding: 0 50px; /* Space for buttons */
}

.swiper {
  width: 100%;
  padding-bottom: 50px !important; /* Space for pagination */
  overflow: visible !important; /* Allow cards shadow to be visible */
}

.swiper-slide {
  height: auto;
  display: flex;
}

.dep-card {
  background: var(--bg-deep);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dep-card.google-review {
  border-left: 4px solid #4285F4; /* Google Blue */
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.google-icon {
  width: 16px;
  height: 16px;
}

.dep-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.dep-quote {
  font-size: 4rem; color: var(--gold-dim);
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: 'Cormorant Garamond', serif; line-height: 1;
}

.dep-text {
  font-size: 0.95rem; color: var(--text-sub);
  line-height: 1.7; font-weight: 300; margin-bottom: 2rem;
  position: relative; z-index: 1; font-style: italic;
}

.dep-author {
  display: flex; align-items: center; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
}

.dep-author-avatar {
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--navy-light); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1.2rem;
  flex-shrink: 0;
}

.dep-author-info h4 { font-size: 0.95rem; color: var(--text-main); font-weight: 500; margin-bottom: 4px; }
.dep-author-info .stars { font-size: 0.75rem; color: var(--gold); display: flex; gap: 2px; }

/* Swiper Nav Buttons Customization */
.swiper-button-next, .swiper-button-prev {
  color: var(--gold) !important;
  transform: scale(0.6);
  transition: all 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  color: var(--gold-light) !important;
  transform: scale(0.7);
}
.swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  opacity: 1;
}

@media (max-width: 768px) {
  .swiper-container-wrap { padding: 0; }
  .swiper-button-next, .swiper-button-prev { display: none; }
}

/* ─── CTA FINAL ─── */
#cta {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-section) 100%);
  border-top: 1px solid rgba(255,255,255,0.02);
  text-align: center;
}
#cta .section-title { font-size: clamp(2.5rem, 5vw, 4rem); }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 3.5rem; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(37,211,102,0.2);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(37,211,102,0.4); }
.btn-email {
  border: 1px solid var(--gold-border);
  color: var(--text-main);
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s;
  background: rgba(255,255,255,0.03);
}
.btn-email:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); }

/* ─── FOOTER ─── */
footer {
  background: #040612;
  border-top: 1px solid rgba(255,255,255,0.02);
  padding: 5rem 8% 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 6rem;
  max-width: 1200px; margin: 0 auto;
}
footer img { height: 95px; margin-bottom: 1.5rem; opacity: 0.9; }
footer p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; max-width: 350px; }
.footer-contact { margin-top: 2rem; font-size: 0.95rem; color: var(--text-sub); line-height: 2; }
.footer-contact i { color: var(--gold); margin-right: 8px; font-size: 1.2rem; vertical-align: middle; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--text-main);
  margin-bottom: 1.5rem;
}
.footer-col a { 
  display: flex; align-items: center; gap: 10px;
  color: var(--text-sub); font-size: 0.9rem; text-decoration: none; margin-bottom: 1rem; transition: color 0.3s; 
}
.footer-col a i { font-size: 1.2rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center; padding-top: 3rem; margin-top: 3rem;
  font-size: 0.8rem; color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Estilo para o link discreto do Google */
.google-link-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.google-link-wrap a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.google-link-wrap a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  transform: translateY(-2px);
}

.google-link-wrap img {
  height: 18px;
  width: auto;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ─── RESPONSIVE MOBILE-FIRST ─── */
@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: repeat(2,1fr); }
  .dep-grid { grid-template-columns: repeat(2,1fr); }
  .trilha-steps { grid-template-columns: repeat(2,1fr); gap: 3rem; }
  .trilha-steps::before, .trilha-steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 768px) {
  /* Tweak paddings for mobile */
  .section-inner { padding: 80px 6%; }
  
  /* Hero adjustments */
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 100px; padding-bottom: 60px; gap: 2rem; }
  .hero-image { order: -1; margin-bottom: 1rem; }
  .hero-photo-wrap { max-width: 300px; margin: 0 auto; }
  .hero-sub { margin: 0 auto 2rem; font-size: 1rem; }
  .hero-buttons { justify-content: center; flex-direction: column; width: 100%; gap: 1rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { display: none; /* Hide floating stats on very small screens to avoid clutter */ }
  
  /* Grid conversions */
  .sobre-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .sobre-img-wrap { max-width: 320px; margin: 0 auto; }
  .sobre-metrics { grid-template-columns: 1fr; gap: 2rem; }
  .metric-card { border-top: none; border-left: 1px solid var(--gold-border); padding-top: 0; padding-left: 1rem; text-align: left;}
  
  .servicos-header { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .servicos-header .divider { margin: 1.5rem auto; }
  .servicos-header .section-sub { margin: 0 auto; }
  
  .servicos-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-card { padding: 2rem 1.5rem; text-align: center; }
  .service-icon { margin: 0 auto 1rem; }
  
  .diff-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .diff-card { border-left: none; border-top: 1px solid var(--gold-border); padding: 2rem 1rem; }
  
  .dep-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  
  .trilha-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons a { width: 100%; justify-content: center; }
  
  /* Footer Mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  footer p { margin: 0 auto; }
  .footer-col a { justify-content: center; }
  
  /* Mobile Menu */
  .nav-links { 
    display: none; flex-direction: column; position: absolute; 
    top: 100%; left: 0; right: 0; background: rgba(6, 9, 26, 0.98); 
    padding: 2rem 5%; gap: 1.5rem; border-bottom: 1px solid var(--gold-border); 
    text-align: center;
  }
  .nav-links.open { display: flex; animation: slideDown 0.3s ease; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; } /* Hide top nav CTA on mobile to save space */
}
