/* ================================
   ORAL CLÍNICA - DENTISTA PARCEIRO CSS
   Página B2B para Dentistas
   ================================ */

/* ================================
   1. HERO IMPACTANTE
   ================================ */

.dentista-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: linear-gradient(rgba(55, 65, 81, 0.85), rgba(212, 175, 55, 0.85)),
                    url('../imagens/dentista-hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */

  position: relative;
  padding: 80px 20px;
}

@media (max-width: 767px) {
  .dentista-hero {
    min-height: 500px;
    background-attachment: scroll; /* Desabilitar parallax em mobile */
    padding: 60px 20px;
  }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.dentista-hero .hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .dentista-hero .hero-title {
    font-size: 32px;
  }
}

.dentista-hero .hero-subtitle {
  font-size: 22px;
  line-height: 1.5;
  color: white;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .dentista-hero .hero-subtitle {
    font-size: 18px;
  }
}

.btn-hero {
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 600;
  background: white;
  color: var(--color-primary);
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-hero:hover {
  background: var(--color-neutral-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .btn-hero {
    width: 100%;
    max-width: 300px;
  }
}

/* ================================
   2. PROPOSTA DE VALOR
   ================================ */

.proposta-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

@media (max-width: 767px) {
  .proposta-section {
    padding: 60px 0;
  }
}

.proposta-texto {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-neutral-medium);
}

.proposta-texto p {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .proposta-texto {
    font-size: 16px;
    text-align: left;
  }
}

/* ================================
   3. VANTAGENS DA PARCERIA
   ================================ */

.vantagens-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

@media (max-width: 767px) {
  .vantagens-section {
    padding: 60px 0;
  }
}

.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 1023px) {
  .vantagens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .vantagens-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.vantagem-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.vantagem-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.vantagem-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.vantagem-icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.vantagem-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-neutral-dark);
  margin-bottom: 12px;
  margin-top: 0;
}

.vantagem-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-medium);
  margin: 0;
}

/* ================================
   4. COMO FUNCIONA (PROCESSO)
   ================================ */

.processo-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

@media (max-width: 767px) {
  .processo-section {
    padding: 60px 0;
  }
}

.processo-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
  position: relative;
}

@media (max-width: 1023px) {
  .processo-container {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
}

.processo-passo {
  flex: 1;
  text-align: center;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  position: relative;
}

@media (max-width: 1023px) {
  .processo-passo {
    margin-bottom: 40px;
  }
}

.passo-numero {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
}

.passo-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-neutral-dark);
  margin-bottom: 12px;
  margin-top: 0;
}

.passo-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-medium);
  margin: 0;
}

/* Setas entre passos - Desktop */
@media (min-width: 1024px) {
  .processo-passo::after {
    content: '→';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--color-primary);
    font-weight: 700;
  }

  .processo-passo:last-child::after {
    display: none;
  }
}

/* Setas para baixo - Mobile/Tablet */
@media (max-width: 1023px) {
  .processo-passo::after {
    content: '↓';
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--color-primary);
    font-weight: 700;
  }

  .processo-passo:last-child::after {
    display: none;
  }
}

/* ================================
   5. PORTAL iDOC
   ================================ */

.portal-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  text-align: center;
}

@media (max-width: 767px) {
  .portal-section {
    padding: 60px 0;
  }
}

.portal-content {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

@media (max-width: 1023px) {
  .portal-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.portal-recursos-wrapper {
  text-align: left;
}

@media (max-width: 1023px) {
  .portal-recursos-wrapper {
    order: 1;
  }
}

.portal-recursos {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.portal-recursos li {
  padding: 12px 0 12px 36px;
  position: relative;
  font-size: 16px;
  color: var(--color-neutral-dark);
  line-height: 1.6;
}

.portal-recursos li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}

.btn-portal {
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 767px) {
  .btn-portal {
    width: 100%;
    justify-content: center;
  }
}

.portal-imagem-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .portal-imagem-wrapper {
    order: 2;
  }
}

.portal-imagem-placeholder {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.portal-imagem-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================
   6. CTA FINAL
   ================================ */

.cta-parceria-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  text-align: center;
  scroll-margin-top: 80px; /* Para compensar header fixo */
}

@media (max-width: 767px) {
  .cta-parceria-section {
    padding: 60px 20px;
  }
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .cta-title {
    font-size: 28px;
  }
}

.cta-subtitle {
  font-size: 18px;
  color: white;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
}

.btn-cta {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-cta .btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-cta-primary {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.btn-cta-primary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid white;
}

.btn-cta-secondary:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .btn-cta {
    width: 100%;
    min-width: auto;
  }
}

/* ================================
   7. SMOOTH SCROLL
   ================================ */

html {
  scroll-behavior: smooth;
}

/* ================================
   8. SECTION TITLES GLOBAL
   ================================ */

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin-bottom: 16px;
  text-align: center;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 28px;
  }
}

/* ================================
   9. ACESSIBILIDADE
   ================================ */

.btn-hero:focus-visible,
.btn-portal:focus-visible,
.btn-cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.vantagem-card:focus-within,
.processo-passo:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ================================
   10. UTILITÁRIOS ESPECÍFICOS
   ================================ */

.dentista-hero *,
.proposta-section *,
.vantagens-section *,
.processo-section *,
.portal-section *,
.cta-parceria-section * {
  box-sizing: border-box;
}

/* Garantir contraste adequado */
.dentista-hero .hero-title,
.dentista-hero .hero-subtitle {
  color: white;
}

/* ================================
   11. ANIMAÇÕES ADICIONAIS
   ================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vantagem-card,
.processo-passo {
  animation: fadeInUp 0.6s ease-out;
}

/* ================================
   12. HOVER STATES ADICIONAIS
   ================================ */

.portal-recursos li:hover::before {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.passo-numero {
  transition: all 0.3s ease;
}

.processo-passo:hover .passo-numero {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}
