@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700;800;900&family=Barlow:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:   #29A8AB;
  --orange: #F5821F;
  --purple: #3B4F8C;
  --dark:   #10151f;
  --dark2:  #1e2330;
  --white:  #FFFFFF;
  --light:  #F2F2F0;
  --mid:    #888888;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: transparent;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: var(--dark);
  border-bottom-color: rgba(255,255,255,0.06);
}
nav.light-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.logo-wrap { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo-img { height: 42px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: #fff; letter-spacing: 0.06em; text-transform: uppercase;
}
nav.light-nav .logo-text-main { color: var(--dark); }
.logo-text-sub {
  font-size: 0.56rem; font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.18em; text-transform: uppercase;
}
nav.light-nav .logo-text-sub { color: var(--mid); }

.nav-links { display: flex; gap: 0.2rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  transition: color 0.2s;
}
nav.light-nav .nav-links a { color: var(--dark); }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 0.45rem 1.4rem !important;
  margin-left: 0.6rem;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange) !important; color: #fff !important; }

/* ---- Dropdown "Participa" — desktop only ---- */
.has-dropdown { position: relative; }
/* Arrow only on desktop */
@media (min-width: 901px) {
  .has-dropdown > a::after { content: '▾'; margin-left: 0.4em; font-size: 0.7em; opacity: 0.65; display: inline-block; }
}
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 250px; padding: 0.5rem;
  list-style: none;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
  display: block; padding: 0.65rem 0.9rem;
  color: rgba(255,255,255,0.68);
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.01em; text-transform: none;
}
.dropdown-menu a:hover { color: var(--teal); background: rgba(255,255,255,0.04); }
.dropdown-menu .sub-label {
  display: block; margin-top: 2px;
  font-size: 0.68rem; font-weight: 400;
  color: rgba(255,255,255,0.32);
}
nav.light-nav .dropdown-menu { background: #fff; border-color: var(--border-light); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
nav.light-nav .dropdown-menu a { color: rgba(0,0,0,0.62); }
nav.light-nav .dropdown-menu a:hover { background: var(--light); color: var(--dark); }
nav.light-nav .dropdown-menu .sub-label { color: rgba(0,0,0,0.32); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
nav.light-nav .hamburger span { background: var(--dark); }

/* ===================== FOOTER ===================== */
footer { background: var(--dark); color: var(--white); }

.footer-top {
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo-wrap {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1.4rem; text-decoration: none;
}
.footer-logo-img { height: 42px; width: auto; }
.footer-brand-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: #fff; text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-brand-sub {
  font-size: 0.56rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.88rem; line-height: 1.85;
  color: rgba(255,255,255,0.4); font-weight: 300;
  max-width: 240px; margin-bottom: 1.6rem;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.65rem; font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.4rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  text-decoration: none; color: rgba(255,255,255,0.45);
  font-size: 0.9rem; font-weight: 400;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }
.footer-contact p {
  font-size: 0.88rem; color: rgba(255,255,255,0.45);
  font-weight: 300; line-height: 1.85;
}

.footer-bottom {
  padding: 1.4rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.22);
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(255,255,255,0.22); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal); }
.footer-bottom-links { display: flex; gap: 2rem; }

/* ===================== SECTION BACKGROUNDS ===================== */
.dark-section { background: var(--dark); color: var(--white); }
.dark2-section { background: var(--dark2); color: var(--white); }
.white-section { background: var(--white); color: var(--dark); }
.light-section { background: var(--light); color: var(--dark); }
.teal-section { background: var(--teal); color: var(--white); }

/* ===================== SPACING ===================== */
.section-pad { padding: 6rem 3rem; }
.section-pad-sm { padding: 4rem 3rem; }

/* ===================== TYPOGRAPHY ===================== */
.display-xl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display-lg {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display-md {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.display-sm {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}
.eyebrow.orange { color: var(--orange); }

.body-text {
  font-family: 'Barlow', sans-serif;
  font-size: 1.02rem; line-height: 1.85;
  color: rgba(0,0,0,0.58); font-weight: 400;
}
.body-text.light { color: rgba(255,255,255,0.55); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: none;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--orange); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--teal); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: #fff; color: var(--dark); }
.btn-outline-teal { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--teal); }

/* ===================== DIVIDERS ===================== */
.teal-bar { width: 44px; height: 3px; background: var(--teal); margin-bottom: 1.5rem; }
.teal-bar.center { margin-left: auto; margin-right: auto; }
.gradient-bar { width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--orange), var(--purple)); }

/* ===================== PAGE HEADER (inner pages) ===================== */
.page-header {
  min-height: 58vh;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.28) 70%);
}
.page-header-content { position: relative; z-index: 2; padding: 4rem 3rem 4.5rem; }
.page-header-content .eyebrow { margin-bottom: 0.6rem; }
.page-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900; color: #fff;
  text-transform: uppercase;
  line-height: 0.92; margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.page-header p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  font-weight: 400; max-width: 520px; line-height: 1.7;
}

/* ===================== TWO COL ===================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; }
.fill-img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; display: block; }

/* ===================== FADE IN ===================== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; height: 60px; }
  .page-header { min-height: 46vh; padding-top: 60px; }
  .page-header-content { padding: 3rem 1.5rem 3.5rem; }

  /* --- Menu mobile --- */
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--dark2);
    padding: 1rem 0 2rem;
    overflow-y: auto;
    gap: 0; z-index: 299;
    border-top: 2px solid var(--teal);
  }
  .nav-links.open { display: flex; }

  /* links normais — sempre brancos no menu mobile */
  .nav-links > li > a {
    display: block;
    padding: 1rem 1.8rem;
    font-size: 1.1rem; font-weight: 700;
    color: rgba(255,255,255,0.78) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
  }
  .nav-links > li > a:hover,
  .nav-links > li > a.active { color: var(--teal) !important; background: rgba(255,255,255,0.03); }

  /* botão OFERTA — alinhado à esquerda, largura automática */
  .nav-links > li > a.nav-cta {
    display: inline-block;
    margin: 1.2rem 1.8rem 0.4rem;
    padding: 0.7rem 2rem;
    background: var(--teal) !important;
    color: #fff !important;
    border-bottom: none;
    font-size: 0.85rem;
  }

  /* Remover completamente seta e comportamento dropdown em mobile */
  .has-dropdown > a::before { display: none !important; }
  .has-dropdown > a::after  { display: none !important; }
  .has-dropdown > a {
    display: block !important;
    justify-content: unset !important;
  }

  /* Esconder completamente o dropdown em mobile */
  .has-dropdown .dropdown-menu {
    display: none !important;
  }

  .hamburger { display: flex; }
  .section-pad { padding: 4rem 1.5rem; }
  .section-pad-sm { padding: 3rem 1.5rem; }
  .two-col { grid-template-columns: 1fr; }
  .fill-img { min-height: 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .footer-bottom { padding: 1.2rem 1.5rem; flex-direction: column; gap: 0.7rem; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}