/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  color: #f9f9f9;
  background-color: #000000;
  line-height: 1.38;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --bg-dark: #000000;
  --bg-darker: #000000;
  --text-light: #f9f9f9;
  --text-dark: #1c1c1c;
  --text-muted: #878888;
  --accent-green: rgba(40, 201, 96, 1);
  --accent-green-light: rgba(20, 226, 20, 1);
  --overlay-dark: rgba(0, 0, 0, 0.3);
  --white-translucent: rgba(255, 255, 255, 0.2);
  --divider: rgba(255, 255, 255, 0.2);
  --font-primary: 'Inter', Arial, sans-serif;
  --header-height: 64px;
  --container-max: 1400px;
  --section-padding: 48px;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 0 48px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__nav a {
  font-family: var(--font-primary);
  font-size: 16pxpt;
  font-weight: 400;
  color: var(--text-light);
  padding: 16px 14px 10px 14px;
  line-height: 28px;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.header__nav a:hover {
  color: rgba(249, 249, 249, 0.82);
}

.header__nav a.active {
  font-weight: 700;
  border-bottom: none;
  position: relative;
}

.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 4px;
  background-color: var(--text-light);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 9999;
  position: relative;
}

.hamburger svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-light);
  pointer-events: none;
}

.hamburger .line {
  fill: none;
  stroke-width: 2;
  transition: all 0.3s ease;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 1100;
  padding-top: 80px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  font-family: var(--font-primary);
  font-size: 14pt;
  font-weight: 400;
  color: var(--text-light);
  padding: 16px 32px;
  transition: background-color 0.2s ease;
}

.mobile-nav a.active {
  font-weight: 700;
}

.mobile-nav a:hover {
  background-color: rgba(249, 249, 249, 0.12);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding) 0;
}

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--overlay-dark);
  z-index: 1;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 32px 72px 32px;
  color: var(--text-light);
}

.hero__content>* {
  max-width: 55%;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: 34pt;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-light);
}

.hero__text {
  font-size: 14pt;
  line-height: 1.75em;
  margin-bottom: 14px;
  color: var(--text-light);
}

.hero__text strong {
  font-weight: 700;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 12pt;
  font-weight: 400;
  padding: 10px 50px;
  border-radius: 0;
  /* Padronizado: Quadrado */
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  line-height: 1.38;
  margin-top: 16px;
  text-transform: none;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.btn:active {
  transform: translateY(1px);
}

.btn--green {
  background-color: var(--accent-green);
  color: #000000;
}

.btn--green-light {
  background-color: var(--accent-green-light);
  color: #000000;

}

.btn--outline {
  background-color: #ffffff;
  color: #000000;
  border: none;
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

/* Hero outline button stretches wider */
.hero .btn--outline {
  display: block;
  max-width: 520px;
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 125px;
  align-items: top;
}

.two-col__img {
  width: 100%;
  overflow: hidden;
}

.two-col__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.two-col__content {
  padding: 32px 40px;
}

/* ===== SECTION TITLES ===== */
.section__title {
  font-family: var(--font-primary);
  font-size: 34pt;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-light);
}

.section__subtitle {
  font-family: var(--font-primary);
  font-size: 18pt;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 14px;
  color: var(--text-light);
}

.section__text {
  font-size: 14pt;
  line-height: 1.75em;
  margin-bottom: 14px;
  color: var(--text-light);
}

.section__text strong {
  font-weight: 700;
}

/* ===== LISTS ===== */
.feature-list {
  list-style-type: square;
  padding-left: 20px;
  margin-bottom: 16px;
}

.feature-list li {
  font-size: 14pt;
  line-height: 1.75em;
  padding: 4px 0;
  color: var(--text-light);
}

.feature-list--spaced li {
  line-height: 1.6;
  padding: 6px 0;
}

.feature-list li strong {
  font-weight: 700;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.card {
  text-align: center;
  padding: 0;
}

.card__img {
  margin: 0 auto 12px;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__title {
  font-family: var(--font-primary);
  font-size: 13pt;
  font-weight: 400;
  padding: 16px 12px;
  line-height: 1.3;
  color: var(--text-light);
}

/* ===== DIVIDER ===== */
.divider {
  height: 2px;
  background-color: var(--divider);
  margin: 8px 0;
}

/* ===== PARALLAX SPACER ===== */
.parallax-spacer {
  height: 355px;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
}

.parallax-spacer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.15);
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  padding: 56px 0;
  margin-top: 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--overlay-dark);
  z-index: 0;
}

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

/* ===== MAP ===== */
.map-section {
  width: 100%;
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}

.footer {
  background-color: #000000;
  padding: 60px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 240px;
  align-items: flex-start;
}

.footer__col {
  text-align: center;
}

.footer__col:first-child {
  text-align: center;
}

.footer__col:last-child {
  display: flex;
  align-content: flex-start;
  justify-content: flex-end;
  text-align: center;
}

.footer__title {
  font-family: var(--font-primary);
  font-size: 14pt;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.38;
}

.footer__text {
  font-family: var(--font-primary);
  font-size: 11pt;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.75em;
}

.footer__text a {
  color: #ffffff;
  transition: opacity 0.2s;
}

.footer__text a:hover {
  opacity: 0.8;
}

.footer__logo {
  height: 50px;
  width: auto;
}

.footer__socials {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  justify-content: center;
}

.footer__socials a {
  color: #ffffff;
  transition: opacity 0.2s;
  opacity: 0.7;
}

.footer__socials a:hover {
  opacity: 1;
}

.footer__socials svg {
  width: 28px;
  height: 28px;
}

/* ===== COPYRIGHT BAR ===== */
.copyright {
  background-color: #000000;
  text-align: center;
  padding: 12px 16px;
}

.copyright p {
  font-family: var(--font-primary);
  font-size: 10pt;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
}

/* ===== SPACER HELPERS ===== */
.spacer-28 {
  height: 28px;
}

.mt-0 {
  margin-top: 0;
}

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

/* ===== RESPONSIVE ===== */

/* Tablet: 768px - 1279px */
@media only screen and (max-width: 1279px) {
  .hero {
    min-height: 340px;
  }

  .section__title {
    font-size: 28pt;
  }

  .hero__title {
    font-size: 30pt;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small tablet: 480px - 767px */
@media only screen and (max-width: 767px) {
  :root {
    --section-padding: 40px;
  }

  .container {
    padding: 0 24px;
  }

  .hero__content {
    padding: 80px 24px 40px 24px;
  }

  .hero__content>* {
    max-width: 100%;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col__content {
    padding: 32px 24px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .header__nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .section__title {
    font-size: 24pt;
  }

  .hero__title {
    font-size: 25pt;
  }

  .section__text,
  .hero__text,
  .feature-list li {
    font-size: 12pt;
  }

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

  .footer__bottom {
    justify-content: center;
  }
}

/* Mobile: max 479px */
@media only screen and (max-width: 479px) {
  :root {
    --section-padding: 32px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 250px;
  }

  .hero__content {
    padding: 72px 16px 32px 16px;
  }

  .hero__title {
    font-size: 20pt;
  }

  .section__title {
    font-size: 20pt;
  }

  .section__subtitle {
    font-size: 13pt;
  }

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

  .two-col__content {
    padding: 24px 16px;
  }

  .section__text,
  .hero__text,
  .feature-list li {
    font-size: 11pt;
  }

  .section__subtitle {
    font-size: 14pt;
  }

  .btn {
    font-size: 11pt;
    padding: 8px 20px;
  }

  .map-section iframe {
    height: 300px;
  }
}

/* Parallax fallback for iOS/mobile */
@supports (-webkit-touch-callout: none) {

  .hero__bg,
  .parallax-spacer,
  .cta-section {
    background-attachment: scroll;
  }
}

@media (hover: none) and (pointer: coarse) {

  .hero__bg,
  .parallax-spacer,
  .cta-section {
    background-attachment: scroll;
  }
}

/* ===== RESPONSIVE CONSOLIDADO (Mobile & Tablet) ===== */

/* Tablet & Mobile (Geral) */
@media only screen and (max-width: 767px) {
  :root {
    --section-padding: 60px;
  }

  .container {
    padding: 0 32px;
  }

  /* Hero Adjustments */
  .hero {
    height: auto;
    min-height: 80vh;
    padding: 100px 0 60px;
  }

  .hero__content {
    padding: 0 32px;
    text-align: left;
  }

  .hero__content>* {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .hero__title {
    font-size: 26pt;
    line-height: 1.1;
  }

  .hero__text {
    font-size: 13pt;
    line-height: 1.75em;
  }

  .hero .btn--outline {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  /* Structural General Cleanup */
  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .two-col__img {
    order: -1;
    /* Mantém a imagem no topo no mobile */
    margin-bottom: 20px;
  }

  .two-col__empty {
    display: none;
  }

  .two-col__content {
    padding: 0;
  }

  /* Cards Cleanup */
  .cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--divider);
  }

  .card:last-child {
    border-bottom: none;
  }

  .card__img {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
  }

  .card__title {
    font-size: 14pt;
    padding: 0;
  }

  /* Typography & Spacing */
  .section__title {
    font-size: 22pt;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .section__text {
    font-size: 12pt;
    line-height: 1.75em;
  }

  .feature-list li {
    font-size: 12pt;
    margin-bottom: 8px;
    line-height: 1.75em;
  }

  /* Header & Menu */
  .header .container {
    padding: 0 24px;
  }

  .header__logo img {
    height: 32px;
  }

  /* Footer Cleanup */
  .footer {
    padding: 60px 0 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .footer__title {
    font-size: 14pt;
    margin-bottom: 16px;
  }

  .footer__text {
    font-size: 12pt;
    margin-bottom: 10px;
    line-height: 1.75em;
  }

  .footer__bottom {
    justify-content: center;
    margin-top: 60px;
  }

  /* Fix for spacers */
  .spacer-28 {
    height: 32px;
  }
}

/* Smartphone Pequeno */
@media only screen and (max-width: 479px) {
  .container {
    padding: 0 24px;
  }

  .hero__content {
    padding: 0 24px;
  }

  .hero__title {
    font-size: 22pt;
  }

  .section__title {
    font-size: 20pt;
  }

  .section__subtitle {
    font-size: 14pt;
  }

  .btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 13pt;
  }
}