/* Modern Reset and Design System */
:root {
  /* Color Palette matching deep blue tones */
  --primary: #0A192F;
  --primary-light: #172A45;
  --secondary: #0077B6;
  --secondary-light: #0096C7;
  --accent: #E0A96D; /* A subtle warm highlight contrast */
  --accent-cta: #00B4D8;
  
  --text-main: #333333;
  --text-muted: #555555;
  --text-light: #F8F9FA;
  
  --bg-main: #FFFFFF;
  --bg-light: #F0F4F8;
  --bg-card: #FFFFFF;

  /* Typography */
  --font-main: 'Outfit', sans-serif;
  
  /* Utils */
  --radius-sm: 8px;
  --radius-md: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  font-size: 16px;
}

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

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

/* Utilities */
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.bg-light { background-color: var(--bg-light); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

h1, h2, h3, h4, strong {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

.btn-text {
  color: var(--secondary);
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.brand-logo {
  max-height: 96px;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-main);
}

.main-nav a:hover {
  color: var(--secondary);
}

.nav-cta svg {
  margin-right: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--primary);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.mobile-menu.active {
  right: 0;
}

.menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 2rem 0;
}

.mobile-nav a {
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* Slight zoom for image */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(0, 119, 182, 0.6) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-text h1 strong {
  color: var(--accent-cta);
}

.hero-text p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.stat-icon {
  margin-bottom: 1rem;
  color: var(--accent-cta);
}

.stat-card strong {
  color: white;
  font-size: 1.25rem;
}

.stat-card span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.highlight {
  color: var(--secondary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* About Layout */
.dual-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.col-image {
  position: relative;
}

.rounded-image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.experience-badge strong {
  color: white;
  font-size: 1.5rem;
}

/* Cards Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
  border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 119, 182, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background-color: var(--secondary);
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-main);
}

.testimonial-card {
  text-align: center;
  position: relative;
  padding-top: 3rem;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--bg-main);
  box-shadow: var(--shadow-sm);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.testimonial-card span {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

/* CTA Banner */
.cta-banner {
  background: var(--primary) url('assets/cta-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 25, 47, 0.85); /* Dark blue overlay */
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

/* Footer */
.site-footer {
  background-color: #050d18;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  max-height: 100px;
  margin-bottom: 1.5rem;
}

.site-footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 10px;
}

.footer-contact svg {
  color: var(--accent-cta);
}

.footer-contact a:hover {
  color: white;
}

address {
  font-style: normal;
  line-height: 1.8;
}

.footer-bottom {
  background-color: #02070e;
  padding: 1.5rem 0;
  font-size: 0.875rem;
}

.back-to-top {
  font-weight: 600;
  color: white;
}

.back-to-top:hover {
  color: var(--secondary);
}

/* LGPD Banner */
.lgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  color: white;
  z-index: 9999;
  padding: 1rem 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  transform: translateY(100%);
  animation: slide-up 0.5s forwards 1s;
}

@keyframes slide-up {
  to { transform: translateY(0); }
}

.lgpd-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.lgpd-text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.lgpd-actions {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .dual-col-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .experience-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -30px;
    width: max-content;
  }

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

@media (max-width: 768px) {
  .main-nav, .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
  }

  .hero-text p {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .lgpd-container {
    flex-direction: column;
    text-align: center;
  }
}
