/* --- CONFIGURAÇÕES GERAIS E CORES --- */
:root {
  /* Paleta de Cores */
  --gold: #c5a059; /* Ouro Envelhecido */
  --gold-dark: #a08040; /* Ouro mais escuro para hover */
  --dark: #1a1a1a; /* Preto suave */
  --gray: #f4f4f4; /* Cinza muito claro para fundos */
  --white: #ffffff;
  --text: #333333;

  --border-radius: 4px; /* Cantos levemente arredondados, mais sério */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--white);
  color: var(--text);
  /* line-height: 1.6; */
  transition: opacity 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* --- SISTEMA DE IDIOMAS (Display Logic) --- */
/* Por padrão, esconde inglês */
[lang="en"] .lang-en {
  display: none;
}
[lang="pt"] .lang-pt {
  display: block;
}

/* Quando body tem atributo data-lang="en" */
body[data-lang="en"] .lang-pt {
  display: none !important;
}
body[data-lang="en"] .lang-en {
  display: block !important;
}

/* --- HEADER --- */
header {
  background-color: var(--white);
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.logo {
  width: 70%;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo > img {
  width: 200px;
  margin: auto 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Esconde todos os idiomas por padrão */
.lang-pt,
.lang-en {
  display: none;
}

.lang-pt > img,
.lang-en > img {
  width: 40px;
  height: 30px;
  opacity: 0.4;
  padding: 2px 1px 0 1px;
  margin: 0;
}

/* Exibe somente português quando data-lang="pt" */
body[data-lang="pt"] .lang-pt {
  display: inline;
}

/* Exibe somente inglês quando data-lang="en" */
body[data-lang="en"] .lang-en {
  display: inline;
}

.lang-switch {
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s;
  padding: 5px;
}

.lang-switch:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-header {
  background-color: var(--dark);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-header:hover {
  background-color: var(--gold);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(imagem/hero.png);
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 300; /* Mais elegante */
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero strong {
  font-weight: 700;
  color: var(--gold);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--gold);
  transition: all 0.3s;
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--white);
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

main {
  line-height: 1.6;
}

/* --- DIVISÃO B2B E RECRUITMENT --- */
.split-section {
  display: flex;
  flex-wrap: wrap;
}

.split-block {
  flex: 1;
  min-width: 300px;
  padding: 5rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b2b-block {
  background-color: var(--white);
  color: var(--dark);
}

.recruitment-block {
  background-color: var(--dark);
  color: var(--white);
}

.block-label {
  color: var(--gold);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.split-block h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.split-block p {
  margin-bottom: 2rem;
  max-width: 500px;
  opacity: 0.8;
}

.feature-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li::before {
  content: "•";
  color: var(--gold);
  font-size: 1.5rem;
}

.split-block:nth-child(1) > a {
  color: var(--gold);
  font-weight: bold;
}

.split-block:nth-child(2) > a {
  display: inline-block;
  text-align: center;
  border: none;
}

/* --- SERVICES GRID --- */
.services-section {
  background-color: var(--gray);
  padding: 5rem 5%;
  text-align: center;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  text-align: left;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-5px);
}

.card > img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card p {
  font-size: 0.95rem;
  color: #666;
}

.card > p:nth-last-of-type(1) {
  font-weight: 600;
  margin-top: 0.6rem;
}

.card > a {
  display: inline-block;
  margin-top: 0.6rem;
  background-color: var(--dark);
  border-radius: 5px;
  width: 100%;

  color: white;
  font-size: 18px;
  padding: 5px 0;
  text-indent: 20px;
}

/* --- FOOTER --- */
footer {
  background-color: #111;
  color: #888;
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid #333;

  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto auto;
  justify-content: space-between;
  grid-template-areas:
    "logo links"
    "content links"
    "copyright copyright";
  gap: 15px 30px;
}

footer > p {
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer-logo {
  margin-bottom: 20px;
  border-radius: 5px;
  grid-area: logo;
  align-self: start;
}

.footer-logo > img {
  width: 220px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  grid-area: content;
}

.t-p {
  grid-area: links;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.t-p a {
  margin-bottom: 5px;
  text-decoration: none;
}

.t-p a:hover{
    color: var(--white);
    transition: 0.8s;
}

.t-p > p{
    margin-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.212);
}

.copyright {
  grid-area: copyright;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #555;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .split-section {
    flex-direction: column;
  }
  header {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }
  .header-controls {
    width: 100%;
    justify-content: space-between;
  }

  footer{
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
  }
}

/* ----------- Termos ------------ */

.termos {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.termos > h1 {
  text-align: center;
  margin: 40px 0 60px 0;
}

.termos > h2 {
  font-weight: 200;
  margin: 30px 0 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.103);
}

.termos > p {
  text-indent: 25px;
}

.termos > ul {
  margin-left: 20px;
}

.termos > ul > li {
  margin-left: 10px;
  list-style: square;
}

.list-in {
  margin-left: 20px;
  list-style: square;
}
