/* ==========================================================================
   Variáveis Base e Temas de Cor
   ========================================================================== */
:root {
  --main-font: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  
  --brand-cyan: rgb(19, 143, 155);      /* Cor primária utilitária */
  --brand-accent: rgb(13, 148, 136);    /* Accent verde-turquesa */
  --bg-soft: rgb(247, 250, 249);        /* Fundo claro da página */
  --bg-tint: rgb(238, 243, 241);        /* Fundo alternado das secções */
  --white: #ffffff;
  --text-dark: rgb(15, 23, 42);
  --text-gray: rgb(107, 114, 128);
  --border-light: rgb(226, 232, 240);
}

body {
  font-family: var(--main-font);
  background-color: var(--bg-soft);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

.bg-light-tint {
  background-color: var(--bg-tint);
}

/* ==========================================================================
   Cabeçalho de Navegação
   ========================================================================== */
.main-header {
  background-color: rgba(247, 250, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.main-nav .nav-item {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 1.5rem;
  transition: color 0.2s ease;
}

.main-nav .nav-item:hover {
  color: var(--brand-cyan);
  text-decoration: underline;
}

/* ==========================================================================
   Tipografia Estrutural Customizada
   ========================================================================== */
.hero-title {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.25;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.section-title {
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.hero-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-gray);
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-accent);
}

.eyebrow-line {
  display: inline-block;
  height: 1px;
  width: 2.25rem;
  background-color: var(--brand-accent);
}

.small-text {
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* ==========================================================================
   Botões Customizados Nativos
   ========================================================================== */
.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 50rem;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}

.btn-custom.primary {
  background-color: var(--brand-cyan);
  color: var(--white);
}

.btn-custom.primary:hover {
  background-color: rgb(14, 115, 131);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-custom.large {
  padding: 1rem 2.25rem;
  font-weight: 700;
}

.btn-custom.outline {
  background-color: transparent;
  color: var(--brand-cyan);
  border: 1px solid var(--brand-cyan);
  cursor: pointer;
  list-style: none;
}

.btn-custom.outline:hover,
.login-menu[open] > .btn-custom.outline {
  background-color: var(--brand-cyan);
  color: var(--white);
}

/* ==========================================================================
   Caixa de Login (cabeçalho)
   ========================================================================== */
.login-menu {
  position: relative;
}

.login-menu > summary::-webkit-details-marker {
  display: none;
}

.login-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: min(320px, 90vw);
  padding: 1.5rem;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  z-index: 1050;
}

.login-title {
  font-weight: 600;
  font-size: 1.05rem;
}

/* ==========================================================================
   Módulos Visuais e Blocos de Componentes
   ========================================================================== */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }
}

.hero-blur-orb {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  opacity: 0.2;
  filter: blur(25px);
  z-index: 0;
}

.image-wrapper {
  position: relative;
  background-color: var(--white);
  border-radius: 30px;
  padding: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  z-index: 1;
}

.hero-image {
  border-radius: 22px;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  bottom: -1rem;
  left: 2rem;
  background-color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.brand-divider {
  display: inline-block;
  height: 2.5rem;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.12);
}

.logo-small {
  height: 2.2rem;
  width: auto;
}

.alert-box {
  background-color: var(--white);
  border-left: 4px solid var(--brand-cyan);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

/* Grelha de Vantagens (Cards) */
.benefit-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 1.75rem;
  color: var(--brand-accent);
  line-height: 1;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Área do Formulário */
.form-container {
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.form-input {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-light);
  background-color: rgb(249, 250, 251);
  transition: border-color 0.2s, background-color 0.2s;
}

.form-input:focus {
  background-color: var(--white);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(19, 143, 155, 0.12);
}

.area-field {
  min-height: 8rem;
}

.check-input:checked {
  background-color: var(--brand-cyan);
  border-color: var(--brand-cyan);
}

/* Painel de Sucesso */
.status-icon-check {
  width: 4rem;
  height: 4rem;
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--brand-accent);
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.success-headline {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Rodapé */
.legal-item {
  color: var(--text-gray);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-item:hover {
  color: var(--text-dark);
}
