* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.5;
}

body {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-loaded {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}

.lang-bar {
  width: 100%;
  text-align: right;
  padding: 8px 20px;
  font-size: 14px;
}

.lang-link {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.lang-link:hover {
  opacity: 0.6;
}

/* ─── LAYOUT BASE ─── */

.page-wrapper {
  margin: 0 56px;
  padding-top: 32px;
  min-height: 100vh;
}

/* ─── HEADER ─── */

.header-bar {
  height: 64px;
  background: #F2F2F2;
  border-radius: 16px;
  width: 100%;
  padding: 0 16px;
  margin-bottom: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-link {
  color: #000;
  font-size: 16px;
  letter-spacing: -0.48px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.logo {
  height: 42px;
  max-width: 220px;
  display: block;
}

.btn-consulta {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 16px;
  background: #329154;
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.48px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-consulta:hover {
  background: #2a7a45;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(50, 145, 84, 0.25);
}

/* ─── HERO ─── */

.hero-video-section {
  width: 100%;
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.hero-video {
  width: 100%;
  height: 536px;
  object-fit: cover;
  display: block;
}

/* ─── INTRO ─── */

.intro-text-section {
  margin-top: 54px;
}

.intro-text-container {
  max-width: 768px;
}

.intro-text {
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -1.2px;
}

/* ─── ESPECIALIDADES ─── */

.especialidades-bar {
  height: 64px;
  background: #329154;
  border-radius: 16px;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.especialidades-text {
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

/* ─── STATS ─── */

.stats-section {
  margin-top: 56px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-card {
  width: 432px;
  height: 264px;
  background: #F2F2F2;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stat-number {
  color: #329154;
  font-size: 100px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: -3px;
  margin-bottom: 8px;
}

.stat-label {
  color: #329154;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: -0.72px;
}

/* ─── AGENDAMENTO ─── */

.agendamento-section {
  width: 100%;
  margin-top: 56px;
}

.agendamento-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.agendamento-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 768px;
}

.agendamento-image {
  width: 100%;
  height: 536px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.agendamento-box {
  width: 544px;
  height: 536px;
  background: #329154;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  flex-shrink: 0;
}

.agendamento-text {
  width: 100%;
  color: #FFF;
}

.agendamento-line1,
.agendamento-arrow {
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -1.2px;
}

.consulta-link {
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.2px;
  color: #F2F2F2;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.consulta-link:hover {
  color: #FFF;
}

/* ─── CONSULTAS INFO ─── */

.consultas-info-section {
  width: 100%;
  margin-top: 56px;
}

.consultas-container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.consultas-text-left {
  width: 656px;
  max-width: 100%;
}

.consultas-text-right {
  width: 544px;
  max-width: 100%;
  margin-left: auto;
}

.consultas-paragraph {
  font-size: 20px;
  line-height: 36px;
  letter-spacing: -0.6px;
}

.highlight-bold {
  color: #329154;
  font-weight: 700;
}

.highlight-title {
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

/* ─── CPI SECTION ─── */

.cpi-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-label {
  margin-top: 32px;
  padding: 8px 16px;
  border-radius: 16px;
  border: 1px solid #329154;
  background: #FFFFFF;
  color: #329154;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.48px;
}

.cpi-title {
  margin-top: 24px;
  margin-bottom: 0;
  color: #000;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: -1.2px;
}

.cpi-subtitle {
  margin-top: 16px;
  width: 464px;
  color: #000;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.72px;
}

.cpi-images {
  margin-top: 56px;
  display: flex;
  gap: 24px;
}

.cpi-images img {
  border-radius: 16px;
  object-fit: cover;
}

.img-left {
  width: 768px;
  height: 536px;
}

.img-right {
  width: 544px;
  height: 536px;
}

.cpi-text-section {
  margin-top: 32px;
}

.cpi-text {
  width: 768px;
  color: #000;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.6px;
}

.icons-bar {
  margin-top: 56px;
  background: #F2F2F2;
  border-radius: 16px;
  height: 264px;
  display: flex;
  align-items: center;
}

.icons-bar-content {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-item img {
  height: 60px;
  margin-bottom: 16px;
}

.icon-item h3 {
  margin: 0 0 12px 0;
  color: #000;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.72px;
}

.icon-item p {
  margin: 0;
  color: #000;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.54px;
}

.cpi-images.reverse {
  flex-direction: row-reverse;
}

/* ─── FOOTER ─── */

.footer {
  height: 160px;
  background-color: #329154;
  border-radius: 16px 16px 0 0;
  margin: 56px;
  position: relative;
  display: flex;
}

.footer-column {
  flex: 1;
}

.footer-column p {
  position: absolute;
  bottom: 24px;
  color: #FFF;
  font-size: 12px;
}

.footer-column.left p {
  left: 24px;
  text-align: left;
}

.footer-column.right p {
  right: 24px;
  text-align: right;
}

.footer-column.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-column.center img {
  width: 100px;
}

/* ────────────────────────────────────────── RESPONSIVE ────────────────────────────────────────── */

@media (max-width: 768px) {

  .page-wrapper {
    margin: 0 16px;
    padding-top: 16px;
  }

  .header-bar {
    height: 56px;
    border-radius: 12px;
    padding: 0 12px;
  }

  .logo-center {
    position: static;
    transform: none;
    pointer-events: auto;
  }

  .logo {
    height: 36px;
  }

  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .btn-consulta {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #F2F2F2;
    border-radius: 16px;
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 200;
  }

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

  .nav-link {
    padding: 12px;
    font-size: 16px;
  }

  .hero-video {
    height: 320px;
  }

  .intro-text {
    font-size: 28px;
    line-height: 36px;
  }

  .especialidades-bar {
    padding: 0 16px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .especialidades-text {
    font-size: 16px;
    white-space: nowrap;
  }

  .especialidades-bar::-webkit-scrollbar {
    display: none;
  }

  .especialidades-bar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .stats-container {
    flex-direction: column;
    gap: 16px;
  }

  .stat-card {
    width: 100%;
    height: 200px;
  }

  .stat-number {
    font-size: 72px;
  }

  .stat-label {
    font-size: 18px;
  }

  .agendamento-container {
    flex-direction: column;
    gap: 24px;
  }

  .agendamento-image {
    height: 320px;
  }

  .agendamento-box {
    width: 100%;
    height: 320px;
    padding: 24px;
    height: 200px;
  }

  .agendamento-line1,
  .consulta-link,
  .agendamento-arrow {
    font-size: 28px;
    line-height: 32px;
  }

  .consultas-container {
    flex-direction: column;
    gap: 24px;
  }

  .consultas-text-left,
  .consultas-text-right {
    width: 100%;
    margin-left: 0;
  }

  .consultas-paragraph {
    font-size: 18px;
    line-height: 30px;
  }

/* ─── FOOTER (MOBILE) ─── */

.footer {
  margin: 32px 16px;
  height: auto;
  padding: 32px 16px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Cada coluna */
.footer-column {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Texto */
.footer-column p {
  position: static;
  text-align: center;
  width: 100%;
  font-size: 12px;
  line-height: 16px;
}

/* ORDEM NO MOBILE */
.footer-column:nth-child(2) {
  order: 1;
}
.footer-column:nth-child(1) {
  order: 2;
}
.footer-column:nth-child(3) {
  order: 3;
}
