/* 
  HBEM Câmbio e Turismo - CSS Style Sheet
  Design System: Premium Dark & Gold Glassmorphism
*/

:root {
  --bg-darker: #060913;
  --bg-dark: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.65);
  --bg-glass: rgba(15, 23, 42, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(245, 158, 11, 0.3);
  
  --primary: #d97706; /* Ouro Escuro */
  --primary-light: #f59e0b; /* Ouro Claro */
  --primary-glow: rgba(217, 119, 6, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --success: #10b981;
  --danger: #ef4444;
  
  --font-main: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Utility Layouts */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.bg-dark-gradient {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.bg-dark-darker {
  background-color: var(--bg-darker);
}

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

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--primary-light);
}

.w-100 {
  width: 100%;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

/* Typography & Headers */
.section-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-light);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  margin-top: 16px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.title-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.paragraph {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
  font-weight: 300;
}

.paragraph-highlight {
  font-size: 1.1rem;
  font-weight: 500;
  border-left: 3px solid var(--primary-light);
  padding-left: 15px;
  margin: 25px 0;
  color: var(--text-primary);
}

/* Glassmorphism Background Glow Effect */
.bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.bg-glow.bottom {
  top: auto;
  bottom: -10%;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #b45309 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

/* Header & Navigation Styling */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-normal);
}

.main-header.scrolled {
  background-color: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
  height: 65px;
}

.header-logo {
  height: 48px;
  width: auto;
  transition: var(--transition-normal);
}

.main-header.scrolled .header-logo {
  height: 38px;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.admin-btn {
  background-color: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 6px;
  padding: 6px 14px !important;
  color: var(--primary-light) !important;
}

.admin-btn:hover {
  background-color: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}

/* Mobile Menu Toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Active Mobile Navigation styling */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-dark);
    border-left: 1px solid var(--border-glass);
    padding: 100px 30px 30px 30px;
    transition: var(--transition-slow);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.slide.active {
  opacity: 0.35;
  transform: scale(1.05); /* This starts the Ken burns */
  animation: kenburns 8s linear infinite;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, var(--bg-darker) 90%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-card {
  max-width: 650px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 576px) {
  .hero-card {
    padding: 24px;
  }
}

.hero-logo {
  height: 100px;
  width: auto;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* About Gallery Carousel Styles */
.about-gallery {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
}

.gallery-carousel {
  position: relative;
  width: 100%;
  height: 520px; /* Aumentado de 400px para 520px */
}

@media (max-width: 576px) {
  .gallery-carousel {
    height: 360px; /* Aumentado de 280px para 360px */
  }
}

.carousel-track-container {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.carousel-slide.current-slide {
  opacity: 1;
  pointer-events: auto;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-image.contain {
  object-fit: contain;
  background-color: rgba(6, 9, 19, 0.4);
  padding: 15px;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  padding: 30px 20px 20px 20px;
  font-size: 1.1rem;
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-glass);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.carousel-btn-prev {
  left: 15px;
}

.carousel-btn-next {
  right: 15px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 15px;
  right: 20px;
  z-index: 10;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-indicator.current-indicator {
  background-color: var(--primary-light);
  width: 24px;
  border-radius: 5px;
}

/* Cotações (Rates Section) Layout Grid */
.rates-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  z-index: 1;
  position: relative;
}

@media (max-width: 992px) {
  .rates-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Rates Table Styling */
.rates-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.rates-card-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.rates-card-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.update-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  background-color: rgba(255,255,255,0.03);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.rates-table-scroll {
  overflow-x: auto;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.rates-table th, .rates-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-glass);
}

.rates-table th {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rates-table tbody tr {
  transition: var(--transition-fast);
}

.rates-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.currency-cell {
  display: flex;
  align-items: center;
  gap: 15px;
}

.flag-img {
  width: 34px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.currency-info {
  display: flex;
  flex-direction: column;
}

.currency-name {
  font-weight: 600;
  color: var(--text-primary);
}

.currency-code {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rate-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: monospace;
}

.text-center {
  text-align: center;
}

.btn-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-action:hover {
  background-color: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.rates-card-footer {
  padding: 16px 24px;
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Skeleton Loading styles */
.skeleton-row td {
  padding: 20px;
}

.skeleton-bar {
  height: 20px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Calculator Card Styling */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.calc-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Radio Button Toggle Switch */
.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

.toggle-group input[type="radio"] {
  display: none;
}

.toggle-btn {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.toggle-group input[type="radio"]:checked + .toggle-btn {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Form inputs & Select dropdowns styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.select-wrapper, .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.select-wrapper select, .input-wrapper input {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.select-wrapper select:focus, .input-wrapper input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.select-arrow {
  position: absolute;
  right: 16px;
  pointer-events: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.currency-prefix {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-weight: 600;
  pointer-events: none;
}

.input-wrapper input {
  padding-left: 45px;
}

.calc-rate-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 8px;
  border-radius: 6px;
}

.calc-result-box {
  background-color: rgba(217, 119, 6, 0.04);
  border: 1px solid rgba(217, 119, 6, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
}

/* Nossos Serviços Card Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.12);
}

.service-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217,119,6,0.1) 0%, rgba(217,119,6,0.02) 100%);
  border: 1px solid rgba(217, 119, 6, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, var(--primary) 0%, rgba(217,119,6,0.2) 100%);
  border-color: var(--primary-light);
}

.service-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Partners Badge section */
.partners-section {
  text-align: center;
  padding: 45px 0 0 0;
  border-top: 1px solid var(--border-glass);
}

.partners-section h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 30px 50px;
  border-radius: 12px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.partner-logo {
  height: 75px;
  width: auto;
  opacity: 0.95;
  transition: all var(--transition-fast);
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Contato Section Details */
.contact-info {
  z-index: 1;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.contact-item:hover .icon {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.contact-item .details h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-item .details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-item .details a:hover {
  color: var(--primary-light);
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.map-wrapper {
  width: 100%;
  height: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%); /* Dark map theme */
}

/* Footer styling */
.footer {
  background-color: #03050c;
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
}

.footer-top p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cnpj-text {
  margin-top: 5px;
}

/* Floating Whatsapp button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3), 0 0 15px rgba(37,211,102,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition-normal);
  animation: heartbeat 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #22c35e;
}

@keyframes heartbeat {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 75px;
  background-color: #1e293b;
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
  right: 70px;
}

/* Scroll Animation System (Intersection Observer Classes) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-y {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--order) * 0.15s), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--order) * 0.15s);
}

.scroll-reveal.active,
.scroll-reveal-left.active,
.scroll-reveal-right.active,
.scroll-reveal-y.active {
  opacity: 1;
  transform: translate(0);
}

/* ==========================================
   MOBILE SPECIFIC OPTIMIZATIONS
   ========================================== */

/* Reduzir espaçamentos de seções em telas menores */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-section {
    height: auto;
    min-height: 520px;
    padding: 100px 0 60px 0;
  }
  
  .hero-card {
    padding: 30px 20px;
    margin: 0 auto;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

/* Otimização da Tabela de Cotações e Títulos para celulares */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.65rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 0.95rem;
  }

  /* Ajustes da tabela de cotações para não cortar e caber em telas estreitas */
  .rates-table th, 
  .rates-table td {
    padding: 12px 10px; /* Reduz o padding para ganhar espaço horizontal */
  }

  .rates-table th {
    font-size: 0.75rem;
  }

  .currency-cell {
    gap: 8px; /* Reduz espaço entre bandeira e textos */
  }

  .flag-img {
    width: 28px;
    height: 20px;
  }

  .currency-name {
    display: none; /* Esconde o nome longo ("Dólar Americano") para caber em celulares */
  }

  .currency-code {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary); /* Destaca o código (ex: USD) já que o nome sumiu */
  }

  .rate-value {
    font-size: 0.95rem;
  }

  .btn-action {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  /* Ajuste no formulário do simulador */
  .calc-card {
    padding: 20px 15px;
  }
  
  .result-value {
    font-size: 1.6rem;
  }

  /* Ajustes dos Parceiros para caber em telas estreitas */
  .partners-logos {
    padding: 20px 25px; /* Reduzido de 30px 50px */
    gap: 30px; /* Reduzido de 60px */
  }

  .partner-logo {
    height: 48px; /* Reduzido de 75px para não transbordar na largura */
  }
}
