@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap');

:root {
  --estacio-blue: #00557a;
  --estacio-pink: #ee325d;
  --estacio-light-blue: #c2ecff;
  --text-dark: #121212;
  --text-light: #424242;
  --background-gray: #f5f5f5;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.08);
}

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

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: 84px;
  padding-bottom: 100px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--estacio-blue);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1rem;
  text-align: center;
}

p,
li {
  color: var(--text-light);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

a {
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(44px, 7vw, 72px) 0;
}

.section-gray {
  background-color: var(--background-gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--estacio-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #003d59;
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.main-header {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 114px;
  height: auto;
  display: block;
}

.menu-toggle {
  display: none;
}

.main-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.35rem;
}

.main-nav-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav-list a:hover {
  color: var(--estacio-pink);
}

.submenu {
  position: relative;
}

.submenu-itens {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background-color: var(--white);
  list-style: none;
  padding: 0.85rem 1rem;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

.submenu:hover > .submenu-itens {
  display: block;
}

.submenu-itens li + li {
  margin-top: 0.45rem;
}

.submenu-itens a {
  white-space: nowrap;
}

.hero-section {
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: clamp(56px, 9vw, 88px) 0;
  text-align: center;
}

.hero-text-container {
  background-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  padding: clamp(20px, 4vw, 32px);
  border-radius: 20px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.hero-text-container h1 {
  color: var(--white);
  margin: 0 0 0.9rem;
}

.hero-text-container p {
  color: var(--white);
}

.breadcrumb {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: var(--white);
}

.hero-summary {
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  max-width: 72ch;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.15rem 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.models-grid,
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.model-card,
.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.model-card h3,
.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.model-card p,
.info-card p,
.info-card li,
.model-card a {
  font-size: 0.98rem;
}

.about-course {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.about-course-content,
.about-course-image {
  min-width: 0;
}

.about-course-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.rich-text p,
.rich-text li {
  margin-bottom: 0.9rem;
}

.rich-text ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.faq-container {
  max-width: 860px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.2rem 2rem 1.2rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 1rem;
  font-size: 1.4rem;
  color: var(--estacio-blue);
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-content {
  padding: 0 0 1.4rem;
}

.main-footer {
  background-color: var(--estacio-blue);
  color: var(--white);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li a,
.footer-column a {
  color: #c2d4ff;
  text-decoration: none;
  line-height: 2;
  font-size: 0.9rem;
}

.footer-column address {
  font-style: normal;
  line-height: 1.8;
  color: #c2d4ff;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #00405c;
  font-size: 0.9rem;
  color: #c2d4ff;
}

.whatsapp-button {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.08);
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
}

@media (max-width: 992px) {
  body {
    padding-top: 78px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }

  .hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 10px;
  }

  .main-nav-list {
    position: fixed;
    top: 78px;
    right: -100%;
    width: min(86vw, 340px);
    height: calc(100vh - 78px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    gap: 0;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .main-nav-list.is-open {
    right: 0;
  }

  .main-nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav-list a {
    display: block;
    padding: 0.95rem 0;
  }

  .submenu-itens {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }

  .about-course {
    grid-template-columns: 1fr;
  }

  .about-course-image {
    order: -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 74px;
    padding-bottom: 90px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .main-header {
    padding: 12px 0;
  }

  .main-header .container {
    gap: 12px;
  }

  .logo {
    width: 94px;
  }

  .main-nav-list {
    top: 74px;
    width: 100%;
    max-width: none;
    height: calc(100vh - 74px);
    padding: 1rem;
  }

  .hero-section {
    padding: 46px 0;
  }

  .hero-text-container {
    border-radius: 16px;
  }

  .hero-badges {
    gap: 0.55rem;
  }

  .badge {
    width: 100%;
  }

  .models-grid,
  .profile-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .model-card,
  .info-card {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .faq-item summary {
    font-size: 1rem;
    padding-right: 1.8rem;
  }

  .whatsapp-button {
    width: 56px;
    height: 56px;
    right: 18px;
    bottom: 18px;
  }
}
