/* Theme: headings Exo 2 #2f334b | body Open Sans 14px | button #63c3d1 / #1c1c1c */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-heading: 'Exo 2', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --color-heading: #2f334b;
  --color-body: #2f334b;
  --color-button-bg: #63c3d1;
  --color-button-text: #2f334b;
  --body-font-size: 16px;
  --body-title-font-size: 18px;
  --body-line-height: 1.25;
  --paragraph-spacing: 12px;
}

/* Titles and headings */
h1, h2, h3, h4, h5, h6,
.title, .heading {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
}

/* Body text */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  color: var(--color-body);
  text-align: left;
}

p {
  margin: 0 0 var(--paragraph-spacing) 0;
  text-align: left;
}

p:last-child {
  margin-bottom: 0;
}

hr {
  border: 0;
  border-top: 2px solid #ddd;
  margin: 2rem 0;
}

/* Buttons */
.btn,
button,
[type="submit"],
input[type="button"],
input[type="submit"] {
  font-family: var(--font-body);
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  border: none;
  padding: 0.5em 1em;
  font-size: var(--body-font-size);
  cursor: pointer;
  border-radius: 4px;
}

.btn:hover,
button:hover,
[type="submit"]:hover {
  filter: brightness(0.95);
}

a {
  color: var(--color-button-bg);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nav-brand:hover {
  text-decoration: none;
}

/* Site nav: transparent on top, black on scroll */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.is-scrolled {
  background-color: #272a3f;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

.nav-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-title {
  white-space: nowrap;
  font-size: var(--body-title-font-size);
}

/* Hero with background image */
.hero {
  position: relative;
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 2rem 0 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #1a1f3a url('../header.png') center / cover no-repeat;
  z-index: 0;
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Page layout */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.sections-half {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.sections-half > section {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .nav-logo {
    height: 24px;
  }

  .sections-half {
    flex-direction: column;
  }
}

.office-addresses > section {
  text-align: center;
}

.office-addresses > section h2,
.office-addresses > section p,
.office-addresses > section a {
  text-align: center;
}

.office-addresses > section ul {
  list-style: none;
  padding-left: 0;
  display: inline-block;
  text-align: left;
}

section {
  margin-bottom: 2rem;
}

section h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

section h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
}

ul, ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}

ul ul, ol ul {
  margin: 0.25rem 0 0.5rem;
  list-style-type: circle;
}

li {
  margin-bottom: 0.35rem;
}

.vaga-title {
  margin: 0 0 1.5rem;
  font-size: 34px;
}

.vagas-disponiveis {
  margin: 2rem auto;
}

.vagas-list {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
}

.vagas-list li {
  margin-bottom: 0.5rem;
}

.video-embed {
  margin: 2rem 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.video-embed iframe {
  width: 100%;
  max-width: 563px;
  height: auto;
  aspect-ratio: 563 / 381;
  vertical-align: top;
}

.not-found-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(47, 51, 75, 0.06);
  border: 1px solid rgba(47, 51, 75, 0.12);
  border-radius: 12px;
}

.not-found-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.not-found-actions {
  margin-top: 1.5rem;
}

.apply-wrap {
  margin: 2rem 0 0;
  padding: 2rem 1.5rem;
  background: rgba(99, 195, 209, 0.1);
  border: 1px solid rgba(99, 195, 209, 0.3);
  border-radius: 8px;
  text-align: center;
}

.btn-apply {
  display: inline-block;
  padding: 0.75em 3em;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Consent banner (LGPD) */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(47, 51, 75, 0.97);
  color: #fff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.consent-banner-text {
  flex: 1 1 280px;
  margin: 0;
  font-size: var(--body-font-size);
  line-height: 1.4;
}

.consent-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.consent-btn {
  padding: 0.5em 1em;
}

.consent-btn-deny {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.consent-btn-deny:hover {
  background: rgba(255, 255, 255, 0.1);
  filter: none;
}

@media (max-width: 600px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  .consent-banner-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: var(--body-font-size);
    line-height: 1.25;
  }
  .consent-banner-actions {
    flex: 0 0 auto;
    justify-content: center;
    gap: 0.4rem;
  }
  .consent-btn {
    padding: 0.35em 0.6em;
  }
}
