/* ================================
   ESTILOS GERAIS
================================ */
/* Layout base */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #f5f5f5);
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 120px; /* altura do topo fixo */
}

/* ================================
   TOPO FIXO
================================ */
.topo {
  background: linear-gradient(to right, #012169, #003399);
  padding: 15px 10px;
  border-bottom: 2px solid #fedd00;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ================================
   LOGO E MENU
================================ */
.container_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.container_logo img {
  width: 26px;
  height: 26px;
}

.container_logo p {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
}

.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 10px 0;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.25rem;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #fedd00;
}

/* ================================
   SEÇÃO PRINCIPAL
================================ */
.main-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin: 20px;
  gap: 10%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-text {
  flex: 1;
  max-width: 60%;
}

.portfolio-text h1 {
  font-size: 36px;
  color: #012169;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.portfolio-text p {
  font-size: 18px;
  color: #454545;
  line-height: 1.6;
}

/* ================================
   IMAGEM
================================ */
.portfolio-image {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: flex-end;
}

.portfolio-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-image img:hover {
  transform: scale(1.05);
}

/* ================================
   BOTÕES DE AÇÃO
================================ */
.cta-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}

.cta-buttons button{
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  background-color: #fedd00;
  color: #012169;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-buttons button:hover {
  background-color: #012169;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* ================================
   FORMULÁRIO
================================ */
.container-formulario {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px;
}

.container-formulario h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #012169;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

form button[type="submit"] {
  background-color: #fedd00;
  color: #012169;
  font-size: 18px;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #012169;
  color: #fff;
}

/* ================================
   RODAPÉ
================================ */
footer {
  background: linear-gradient(to right, #012169, #003399);
  color: #f5f5f5;
  text-align: center;
  padding: 20px;
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer a {
  color: #fedd00;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ================================
   RESPONSIVIDADE
================================ */
@media only screen and (max-width: 600px) {
  main {
    padding-top: 140px;
  }

  .container_logo {
    flex-direction: column;
    text-align: center;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }

  .main-section {
    flex-direction: column;
    text-align: center;
    padding: 20px 12px;
    gap: 20px;
  }

  .portfolio-text {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .portfolio-text h1 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .portfolio-text p {
    font-size: 14.5px;
    line-height: 1.4;
    margin: 5px 0;
  }

  .portfolio-image {
    max-width: 90%;
    justify-content: center;
    margin: 0;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .cta-buttons button {
    font-size: 16px;
    padding: 10px;
  }
}

/* ================================
   DEPOIMENTOS
================================ */
.depoimentos-section {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: center;
}

.depoimentos-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #012169;
}

.depoimentos-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.depoimento {
  background: #f9f9f9;
  border-left: 6px solid #fedd00;
  border-radius: 10px;
  padding: 20px;
  width: 320px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  display: none; /* controlado via JS */
}

.depoimento img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 0 0 4px #00973920;
}

.depoimento p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
  font-style: italic;
  line-height: 1.5;
}

.depoimento span {
  font-size: 0.85rem;
  color: #555;
}