/* =========================================================================
   VARIABLES & DESIGN TOKENS
   ========================================================================= */
:root {
  /* Colors - Light Theme (Teal/Cyan accents) */
  --clr-primary-900: #0a2b31;
  --clr-primary-800: #134f59;
  --clr-primary-700: #207685;
  --clr-primary-600: #2e8594;
  --clr-primary-500: #418988; /* Main Brand Color */
  --clr-primary-400: #67a9a9;
  --clr-primary-300: #a5c9c9;
  --clr-primary-200: #d0e4e4;
  --clr-primary-100: #e6f1f1;
  --clr-primary-50: #f2fafa;

  --clr-surface: #ffffff;
  --clr-bg: #f9fdfd;
  --clr-bg-alt: #f0f7f7;

  --clr-text-main: #132225;
  --clr-text-muted: #5e6b6c;
  --clr-text-light: #f2fafa;

  /* Dark Theme specifics for Cards */
  --clr-card-bg: #e6f1f1;
  --clr-card-text: #0a2b31;
  --clr-card-text-muted: #0a2b31;
  --clr-card-icon-bg: #ffffff;
  --clr-card-border: #a5c9c9;

  --whatsapp-color: #25d366;
  --whatsapp-dark: #128c7e;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --container-max: 1200px;
  --section-pad: 5rem 1rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:
    0 4px 6px -1px rgba(32, 118, 133, 0.1),
    0 2px 4px -1px rgba(32, 118, 133, 0.06);
  --shadow-md:
    0 10px 15px -3px rgba(32, 118, 133, 0.1),
    0 4px 6px -2px rgba(32, 118, 133, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(32, 118, 133, 0.1),
    0 10px 10px -5px rgba(32, 118, 133, 0.04);
  --shadow-glow: 0 0 20px rgba(65, 137, 136, 0.4);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease-out;
}

/* =========================================================================
   BASE RESET
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-primary-900);
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* =========================================================================
   UTILITIES & COMPONENTS
   ========================================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: var(--section-pad);
}

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

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

.bg-light {
  background-color: var(--clr-bg-alt);
}

/* Typography Classes */
.badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--clr-primary-600);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--clr-primary-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-primary.nav-btn.btn-primary {
  background-color: var(--whatsapp-color);
  box-shadow: none;
}
.btn-primary.nav-btn.btn-primary:hover {
  background-color: var(--whatsapp-dark);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

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

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

.btn-glow {
  box-shadow: var(--shadow-glow);
  background-color: var(--whatsapp-color);
}
.btn-glow:hover {
  background-color: var(--whatsapp-dark);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

/* =========================================================================
   HEADER / NAVBAR
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary-900);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--clr-primary-500);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--clr-primary-600);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for navbar */
  background: url("../imagens/bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 10, 49, 0.85) 0%,
    rgba(32, 81, 133, 0.7) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--clr-primary-100);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* =========================================================================
   SERVICES / BENEFITS
   ========================================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--clr-card-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-card-border);
  transition: all var(--transition-base);
  text-align: center;
  color: var(--clr-card-text);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--clr-primary-400);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--clr-card-icon-bg);
  color: var(--clr-primary-400);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--clr-card-text);
}

.card p {
  color: var(--clr-card-text-muted);
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.experience-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: linear-gradient(
    135deg,
    var(--clr-primary-600) 0%,
    var(--clr-primary-800) 100%
  );
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 4px solid var(--clr-bg-alt);
}

.experience-badge .number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subtitle {
  color: var(--clr-primary-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--clr-text-muted);
}

.features-list {
  list-style: none;
  margin-top: 2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.features-list i {
  color: var(--clr-primary-500);
  font-size: 1.5rem;
}

/* =========================================================================
   LOCATION SECTION
   ========================================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background-color: var(--clr-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-circle {
  width: 48px;
  height: 48px;
  background-color: var(--clr-primary-100);
  color: var(--clr-primary-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.info-card p {
  color: var(--clr-text-muted);
}

.space-photos {
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.photo-grid img {
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

/* =========================================================================
   CTA SECTION
   ========================================================================= */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--clr-primary-800) 0%,
    var(--clr-primary-900) 100%
  );
  color: white;
  padding: 6rem 1rem;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--clr-primary-100);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  background-color: #170a23;
  color: var(--clr-primary-200);
  padding: 4rem 1rem 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.footer-logo span {
  color: var(--clr-primary-400);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 1.125rem;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--clr-primary-400);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  width: 100%;
}

/* =========================================================================
   ANIMATIONS (Intersection Observer classes)
   ========================================================================= */
.fade-in {
  opacity: 0;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 992px) {
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .experience-badge {
    right: 1rem;
    bottom: -1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Can be enhanced with a hamburger menu */
  }

  .nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.35rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-content h2,
  .cta-section h2 {
    font-size: 2rem;
  }
}

/* =========================================================================
   IMAGE MODAL
   ========================================================================= */
.clickable-image {
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.clickable-image:hover {
  transform: scale(1.05);
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
  backdrop-filter: blur(5px);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  animation-name: zoom;
  animation-duration: 0.6s;
  border-radius: var(--radius-md);
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--clr-primary-400);
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  background-color: var(--clr-surface);
}
