/* ==========================================================================
   VARIAVEIS E PALETA DE CORES (Inspirada na Logotipo Gold / Dark Tech)
   ========================================================================== */
:root {
  --primary-gold: #d4af37;
  --primary-gold-light: #f3e5ab;
  --primary-gold-dark: #aa820a;
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);

  --dark-bg: #0b0f17;
  --dark-card: rgba(18, 24, 38, 0.75);
  --dark-border: rgba(212, 175, 55, 0.2);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
  overflow: visible !important;
}

.section {
  padding: 6rem 0;
  position: relative;
  overflow: visible !important;
}

.sobre-section {
  overflow: visible !important;
}

.servicos-section {
  overflow: visible !important;
}

.sobre-image-wrapper {
  overflow: hidden;
}

/* ==========================================================================
   EFEITOS MODERNOS (Glassmorphism, Glow, Badges)
   ========================================================================== */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.glow-effect {
  box-shadow: 0 0 25px var(--gold-glow);
}

.glow-border {
  border: 1px solid var(--dark-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-tag {
  color: var(--primary-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Padronização dos Títulos em Capitalização Natural */
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-transform: none; /* Garante fala natural */
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
}

.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ==========================================================================
   BOTÕES PREMIUM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.btn-outline-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold-light);
  border-radius: 20px;
  background: transparent;
}

.btn-outline-sm:hover {
  background: var(--primary-gold);
  color: var(--text-dark);
}

.btn-block {
  width: 100%;
}

.btn-xl {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   CABEÇALHO / HEADER FIXO
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.7rem 0;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1f5f9;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 140px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-bg-desktop, .hero-bg-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 135%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.hero-bg-desktop {
  background-position: center right;
  display: block;
  visibility: visible;
}

.hero-bg-mobile {
  display: none;
  visibility: hidden;
  background-position: center center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 600px 400px at 15% 40%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0.08) 60%, transparent 85%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Texto ajustado totalmente ao canto esquerdo sem cobrir o modelo */
.hero-content {
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  width: 100%;
  padding-right: 1rem;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: none;
  letter-spacing: -0.03em;
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 3px 6px rgba(0, 0, 0, 0.65),
    0 6px 12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212, 175, 55, 0.25),
    0 0 40px rgba(212, 175, 55, 0.15);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.18));
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #f5f8fc;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary-gold-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 7px;
  background-color: var(--primary-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

/* ==========================================================================
   SEÇÃO SOBRE NÓS
   ========================================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-image-wrapper {
  position: relative;
}

.sobre-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 1.2rem 1.8rem;
  text-align: center;
  border: 1px solid var(--primary-gold);
}

.exp-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-gold);
}

.exp-text {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
}

.sobre-description {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.cards-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.highlight-card {
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   SEÇÃO NOSSO ESCRITÓRIO
   ========================================================================== */
.escritorio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.escritorio-image-wrapper {
  position: relative;
}

.location-pill {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: #fff;
  font-size: 0.95rem;
}

.location-pill i {
  color: var(--primary-gold);
}

.escritorio-img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.escritorio-content {
  max-width: 100%;
}

.escritorio-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.03rem;
}

.escritorio-card {
  margin-top: 2rem;
  padding: 1.8rem 1.8rem 1.6rem;
  display: grid;
  gap: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.escritorio-card-text h3 {
  font-size: 1.05rem;
  color: var(--primary-gold);
  margin-bottom: 0.6rem;
}

.escritorio-card-text p {
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .escritorio-grid {
    grid-template-columns: 1fr;
  }

  .location-pill {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 576px) {
  .escritorio-description {
    font-size: 1rem;
  }
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
}

.highlight-icon {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

.highlight-info h3 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.highlight-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEÇÃO SERVIÇOS (Filtros e Flip Cards)
   ========================================================================== */
.servicos-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-gold);
  color: var(--text-dark);
  border-color: var(--primary-gold);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-auto-rows: minmax(280px, auto);
  align-items: start;
  overflow: visible;
}

.servicos-section {
  overflow-x: hidden;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  min-width: 0;
  min-height: 280px;
  perspective: 1000px;
  overflow: hidden;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  text-align: left;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
}

.flip-card-front {
  border: 1px solid var(--glass-border);
}

.flip-card:hover .flip-card-front {
  border-color: var(--primary-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-icon {
  font-size: 2.2rem;
  color: var(--primary-gold);
}

.category-badge {
  font-size: 0.75rem;
  color: var(--primary-gold-light);
  text-transform: uppercase;
  font-weight: 700;
}

.service-title {
  font-size: 1.2rem;
  color: #fff;
  margin: 0.3rem 0;
}

.service-short {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.flip-hint {
  font-size: 0.75rem;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid var(--primary-gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.back-title {
  font-size: 1.1rem;
  color: var(--primary-gold-light);
}

.back-desc {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

.servicos-footer-cta {
  margin-top: 4rem;
  background: rgba(212, 175, 55, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px dashed var(--primary-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

/* ==========================================================================
   SEÇÃO DIFERENCIAIS (Timeline)
   ========================================================================== */
.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary-gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(even) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(odd) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--gold-glow);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: -22.5px;
}

.timeline-item:nth-child(odd) .timeline-dot {
  left: -22.5px;
}

.timeline-content {
  padding: 1.8rem;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
}

.timeline-content h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEÇÃO CONTATO
   ========================================================================== */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contato-form-wrapper {
  padding: 2.5rem;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.contato-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-card {
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.4rem;
  color: var(--primary-gold);
}

.info-text h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.info-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.map-container {
  padding: 0.5rem;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
  background: #06090f;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-links h4, .footer-socials h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  background: var(--primary-gold);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   ANIMAÇÕES DE SCROLL REVEAL E FLUTUAÇÃO
   ========================================================================== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.reveal-up { transform: translate3d(0, 40px, 0); }
.reveal-left { transform: translate3d(-40px, 0, 0); }
.reveal-right { transform: translate3d(40px, 0, 0); }

.reveal-active {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}

.floating-anim {
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   CLASSES RESPONSIVAS (OCULTAR EM MOBILE)
   ========================================================================== */
.hidden-mobile {
  display: block;
}

/* ==========================================================================
   HERO MOBILE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 40px;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .hero-section .hero-bg-desktop {
    display: none !important;
    visibility: hidden !important;
  }

  .hero-section .hero-bg-mobile {
    display: block !important;
    visibility: visible !important;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    height: 135%;
    z-index: 1;
  }

  .hero-container {
    padding: 0 0.75rem;
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: none !important;
  }

  .hidden-mobile {
    display: none !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 1rem;
  }

  .btn-hero {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-trust-metrics {
    display: none;
  }

  /* Otimização de imagens para mobile */
  .sobre-image-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .sobre-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    display: block;
  }

  .escritorio-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
}

/* ==========================================================================
   RESPONSIVIDADE (TABLETS & LAYOUT)
   ========================================================================== */
@media (max-width: 992px) {
  .hidden-mobile {
    display: none !important;
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .sobre-grid, .contato-grid, .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .experience-badge {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 1rem;
  }

  .timeline-wrapper {
    padding: 2rem 0;
  }

  .timeline-line { 
    left: 20px;
    width: 2px;
  }

  .timeline-item {
    width: 100% !important;
    padding-left: 70px !important;
    padding-right: 0 !important;
    text-align: left !important;
    left: 0 !important;
    margin-bottom: 2rem;
  }

  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    left: 0 !important;
    padding-right: 0 !important;
  }

  .timeline-item:nth-child(even) .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot {
    right: auto !important;
    left: -22.5px !important;
    top: 5px;
  }

  .timeline-dot { 
    position: absolute;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(11, 15, 23, 0.98);
    backdrop-filter: blur(20px);
    padding: 6rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  }

  .nav-menu.active { right: 0; }
  .nav-list { flex-direction: column; gap: 1.5rem; }
  .hamburger { display: flex; z-index: 1001; }

  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .btn-header { display: none; }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }

  body {
    overflow-x: hidden;
  }

  /* Garantir que imagem mobile apareça */
  .hero-section .hero-bg-desktop {
    display: none !important;
    visibility: hidden !important;
  }

  .hero-section .hero-bg-mobile {
    display: block !important;
    visibility: visible !important;
  }

  .hero-section {
    align-items: flex-end;
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .container {
    padding: 0 0.75rem;
    overflow-x: hidden;
  }

  .hero-container {
    padding: 0 0.75rem;
    overflow-x: hidden;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .hero-title { 
    font-size: 2rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    word-break: break-word;
  }

  .hero-subtitle { 
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    word-break: break-word;
    display: none !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn-hero {
    width: 100%;
    padding: 0.75rem 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
  }

  .hero-trust-metrics {
    display: none;
  }

  .sobre-section {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 1.5rem;
    min-width: 0;
  }

  .sobre-content,
  .sobre-image-wrapper,
  .escritorio-content,
  .escritorio-image-wrapper {
    min-width: 0;
    width: 100%;
  }

  .sobre-content {
    margin-bottom: 1.5rem;
  }

  .sobre-image-wrapper {
    grid-row: 2;
    overflow: hidden;
  }

  .sobre-description,
  .escritorio-description,
  .service-short,
  .back-desc {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    transform: none;
    margin: 0;
    display: inline-flex;
    width: auto;
  }

  .escritorio-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .escritorio-content {
    grid-row: 1;
  }

  .escritorio-image-wrapper {
    grid-row: 2;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .section-subtitle {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .form-row, .cards-highlights-grid, .info-cards-container {
    grid-template-columns: 1fr;
  }

  .servicos-grid { 
    grid-template-columns: 1fr;
  }

  .service-title {
    font-size: 1.35rem;
  }

  .service-short {
    font-size: 1rem;
  }

  .category-badge {
    font-size: 0.85rem;
  }

  .flip-hint {
    font-size: 0.85rem;
  }

  .back-title {
    font-size: 1.25rem;
  }

  .back-desc {
    font-size: 0.95rem;
  }

  .sobre-img {
    width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: top center;
  }

  .sobre-image-wrapper {
    order: 2;
  }

  .sobre-content {
    order: 1;
  }

  .experience-badge {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    margin-top: 1.5rem;
    margin-left: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: fit-content;
    padding: 1rem 1.4rem;
  }

  .experience-badge .exp-number {
    order: 1;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    line-height: 1;
  }

  .experience-badge .exp-text {
    order: 2;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .escritorio-img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
  }

  .highlight-card {
    padding: 1rem;
  }

  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  .btn-xl {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .section-tag {
    font-size: 0.7rem;
  }

  .trust-item {
    font-size: 0.85rem;
  }

  .section {
    padding: 2.5rem 0;
  }
}