/*Estilos globais*/

/* Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  font-family: "Archivo", sans-serif;
}

body {
  min-height: 100vh;
  background-color: var(--cor-bege);
}

/* ── Menu ─────────────────────────────────── */

.container-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
  z-index: 10;
}

.marca {
  font-family: "Archivo", sans-serif;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 1rem;
  padding: 3rem;
}

.nav li a {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--cor-preto);
}

.nav li a:hover {
  color: var(--cor-destaque);
}

/* ── Dropdown Blog ────────────────────────── */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--cor-preto);
}

.dropdown-toggle:hover {
  color: var(--cor-destaque);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 220px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.dropdown-menu li {
  margin-bottom: 0.5rem;
}

.dropdown-menu li a {
  font-size: 1.2rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ── Hamburguer (mobile) ──────────────────── */

.hamburger {
  display: none;
}

/* ── Detalhes de linha ────────────────────── */

.line-purple,
.line-orange {
  width: 100%;
  height: 4px;
}

.line-purple {
  background-color: var(--cor-amarelo);
}

.line-orange {
  background-color: var(--cor-laranja);
}

/* ── Header (seção hero) ──────────────────── */

.container-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 3.75rem;
  background-color: var(--cor-azul);
  color: #fff;
}

.titles {
  max-width: 50%;
}

.titles h1 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.titles p {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* ── Botão reutilizável ───────────────────── */

.btn {
  text-align: center;
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--cor-laranja);
  color: #0d0e0d;
  font-size: 2rem;
  font-weight: bold;
  border: 2px solid #0d0e0d;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #0d0e0d;
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  background-color: var(--cor-destaque);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #0d0e0d;
}

.container-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* ── Footer ───────────────────────────────── */

.container-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--cor-azul);
  color: var(--cor-branco);
}

.p-footer,
.lista-footer a {
  display: flex;
  align-items: center;
}

.lista-footer a:hover {
  transform: translate(-1px, -1px);
}

/* ── Responsivo ───────────────────────────── */

@media (max-width: 1250px) {
  .btn {
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }
}

@media (max-width: 1184px) {
  .nav {
    padding: 2rem;
  }

  .nav li a,
  .dropdown-toggle {
    font-size: 1.2rem;
  }

  .titles h1 {
    font-size: 2rem;
  }

  .titles p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

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

@media (max-width: 892px) {
  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cor-bege);
    border-top: 1px solid var(--cor-preto);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: block;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav li a {
    font-size: 1.2rem;
  }

  .container-header {
  padding: 2rem 1.5rem;
  gap: 1.5rem;
  justify-content: space-between; /* era space-around */
}

.container-header img {
  width: 130px;
  height: auto;        
  flex-shrink: 0;
}

.titles {
  max-width: unset;   
  flex: 1;            
  text-align: left;
}

  .titles h1 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .titles p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .container-btn {
    margin-top: 1rem;
  }

  .container-footer {
    font-size: 0.9rem;
  }
}
