* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f3f3;
  color: #222;
}

a {
  text-decoration: none;
  color: inherit;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
}

/* HEADER */

header {
  background: #6f7483;
  color: #ffffff;
  padding: 15px 25px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 70px;
}

.header-center {
  text-align: center;
  flex: 1;
}

.header-center h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.header-center .address {
  font-size: 11px;
  margin-bottom: 8px;
}

nav {
  font-size: 13px;
  margin-top: 12px;
}

nav span {
  margin: 0 7px;
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s ease;
}

nav span:hover {
  color: #ffd46b;
}

nav span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ffd46b;
  transition: width 0.25s ease;
}

nav span:hover::after {
  width: 100%;
}

/* WHATSAPP BUTTON */

.whatsapp-btn {
  background: #c6a468;
  color: #fff;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.25s ease;
}

.whatsapp-btn:hover {
  background: #d9b97a;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* CONTEÚDO */

.content {
  padding: 15px 20px 30px;
}

.section-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

/* CARDS — PADRONIZAÇÃO TOTAL */

.courses-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.course-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  flex: 1;
  display: block;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.course-card:hover {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  border-color: #c6a468;
}

.course-card:hover img {
  transform: scale(1.03);
  filter: brightness(0.95);
}

/* PARTE DE BAIXO */

.main-below {
  display: flex;
  gap: 12px;
  align-items: center;   /* ALINHA O BLOCO IOD AO CENTRO VERTICALMENTE */
}


.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.iod-block {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  padding: 18px;
  font-size: 13px;
  line-height: 1.4;
}

.iod-block h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.iod-block p {
  text-align: justify;
}


.btn-right {
  text-align: right;
}

.btn-gold {
  background: #c6a468;
  padding: 10px 20px;     /* AUMENTA ALTURA E LARGURA */
  font-size: 14px;        /* TEXTO MAIOR */
  color: #ffffff;
  cursor: pointer;
  border-radius: 3px;
  font-weight: bold;      /* deixa mais visível */
  display: inline-block;  /* garante proporção */
  transition: 0.25s;
}

.btn-gold:hover {
  background: #d9b97a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* CARD LATERAL */

.sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  overflow: hidden;

  align-self: flex-start; /* Se o pai for Flexbox, isso joga para o topo */
  vertical-align: top;    /* Se o layout for em blocos, isso alinha ao topo */
  margin-top: 0;

}

/* BOTTOM COURSES — MESMO LAYOUT DOS CARDS DE CIMA */

.bottom-courses {
  margin-top: 20px; /* só espaçamento */
}

/* RESPONSIVIDADE */

@media (max-width: 960px) {
  .main-below {
    flex-direction: column;   /* empilha texto e card */
    align-items: stretch;     /* cada um ocupa 100% */
  }

  .left-column,
  .sidebar-card {
    width: 100%;
  }

  .courses-row {
    flex-direction: column;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}


/* FOOTER */

footer.footer {
  background: #6f7483;
  color: #ffffff;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  border-top: 3px solid #c6a468;
}

.footer-small {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}

.left-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* CENTRALIZA O BLOCO IOD DENTRO DA COLUNA */
}
