/* ================================
   ORAL CLÍNICA - HOMEPAGE STYLES
   Hero Section + Convênios
   ================================ */

/* ================================
   0. BANNER ACESSO RÁPIDO AOS EXAMES
   ================================ */

.acesso-exames-banner {
  background: linear-gradient(135deg, #D4AF37 0%, #B8962E 100%);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

/* Efeito de brilho sutil */
.acesso-exames-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

.acesso-exames-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.acesso-exames-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}

.acesso-exames-icon {
  width: 40px;
  height: 40px;
  fill: white;
  flex-shrink: 0;
}

.acesso-exames-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acesso-exames-label {
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.acesso-exames-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.btn-acessar-exames {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--color-secondary);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-acessar-exames svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.btn-acessar-exames:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-acessar-exames:hover svg {
  transform: translate(2px, -2px);
}

.btn-acessar-exames:active {
  transform: translateY(0);
}

/* Mobile - Stack vertical */
@media (max-width: 767px) {
  .acesso-exames-banner {
    padding: 16px 0;
  }

  .acesso-exames-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .acesso-exames-text {
    flex-direction: column;
    gap: 12px;
  }

  .acesso-exames-icon {
    width: 36px;
    height: 36px;
  }

  .acesso-exames-label {
    font-size: 16px;
  }

  .acesso-exames-subtitle {
    font-size: 13px;
  }

  .btn-acessar-exames {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 14px 20px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .acesso-exames-icon {
    width: 36px;
    height: 36px;
  }

  .acesso-exames-label {
    font-size: 17px;
  }

  .btn-acessar-exames {
    font-size: 15px;
    padding: 10px 20px;
  }
}

/* ================================
   1. HERO SECTION
   ================================ */

.hero-section {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .hero-section {
    min-height: 500px;
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: 60px 0 40px 0;
  }
}

/* Layout Grid - 2 Colunas */
.hero-content {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 60px;
  align-items: center;
}

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

/* Texto do Hero */
.hero-text {
  max-width: 100%;
}

@media (max-width: 1023px) {
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ================================
   2. HERO TITLE (H1)
   ================================ */

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-neutral-dark);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--color-primary);
  position: relative;
}

/* Opcional: Sublinhado decorativo */
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  opacity: 0.3;
}

@media (max-width: 1023px) {
  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
}

/* ================================
   3. HERO SUBTITLE
   ================================ */

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-neutral-medium);
  margin-bottom: 32px;
  max-width: 600px;
}

@media (max-width: 1023px) {
  .hero-subtitle {
    max-width: 100%;
  }
}

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

/* ================================
   4. HERO CTA BUTTONS
   ================================ */

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

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

/* Botões específicos do Hero */
.hero-btn-primary,
.hero-btn-secondary {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.hero-btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.hero-btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.hero-btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }
}

/* ================================
   5. HERO IMAGE
   ================================ */

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* Placeholder para quando não há imagem */
.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 600;
}

@media (max-width: 1023px) {
  .hero-image,
  .hero-image-placeholder {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .hero-image,
  .hero-image-placeholder {
    border-radius: 8px;
    height: 300px;
  }
}

/* ================================
   6. CONVÊNIOS SECTION
   ================================ */

.convenios-section {
  padding: 60px 0;
  background: var(--color-white);
}

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

/* ================================
   7. SECTION TITLE E SUBTITLE
   ================================ */

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

.section-subtitle {
  font-size: 18px;
  color: var(--color-neutral-medium);
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }
}

/* ================================
   8. CONVÊNIOS GRID
   ================================ */

.convenios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
}

@media (max-width: 1023px) {
  .convenios-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .convenios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ================================
   9. CONVÊNIO LOGO INDIVIDUAL
   ================================ */

.convenio-logo {
  width: 100%;
  max-width: 180px;/*180*/
  height: 80px;/*80*/
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  cursor: default;
}

.convenio-logo img {
  max-width: 150%;
  max-height: 150%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Hover Effect - Desktop */
@media (min-width: 768px) {
  .convenio-logo:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
  }

  .convenio-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }
}

/* Mobile - Logos sempre coloridos */
@media (max-width: 767px) {
  .convenio-logo {
    max-width: 150px;
    height: 70px;
    padding: 12px;
  }

  .convenio-logo img {
    filter: grayscale(0%);
    opacity: 0.9;
  }
}

/* ================================
   10. ANIMAÇÕES EXTRAS
   ================================ */

/* Fade in ao carregar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-image-wrapper {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ================================
   11. BADGES/TRUST INDICATORS (OPCIONAL)
   ================================ */

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  align-items: center;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-neutral-medium);
  font-size: 14px;
}

.hero-badge svg,
.hero-badge .icon {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
}

@media (max-width: 767px) {
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ================================
   12. AJUSTES RESPONSIVOS FINAIS
   ================================ */

/* Tablet - Ajuste fino */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-cta {
    justify-content: center;
  }
}

/* Desktop grande */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 22px;
  }
}

/* ================================
   13. SEÇÃO EXAMES
   ================================ */

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

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

/* Grid de Exames */
.exames-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

/* Card de Exame */
.exame-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.exame-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
}

.exame-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

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

.exame-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-medium);
  margin-bottom: 20px;
  flex-grow: 1;
}

.exame-link {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.exame-link:hover {
  gap: 8px;
}

@media (max-width: 767px) {
  .exame-card {
    padding: 28px 20px;
  }

  .exame-icon {
    width: 56px;
    height: 56px;
  }

  .exame-title {
    font-size: 18px;
  }
}

/* ================================
   14. SEÇÃO DIFERENCIAIS
   ================================ */

.diferenciais-section {
  padding: 80px 0;
  background: var(--color-white);
}

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

/* Grid de Diferenciais */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 48px;
}

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

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

/* Card de Diferencial */
.diferencial-card {
  text-align: center;
  padding: 24px;
}

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

.diferencial-card:hover .diferencial-icon {
  transform: scale(1.1);
}

.diferencial-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-white);
}

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

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

@media (max-width: 767px) {
  .diferencial-icon {
    width: 72px;
    height: 72px;
  }

  .diferencial-icon svg {
    width: 36px;
    height: 36px;
  }

  .diferencial-title {
    font-size: 18px;
  }
}

/* ================================
   15. SEÇÃO NOSSAS UNIDADES
   ================================ */

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

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

/* Grid de Unidades */
.unidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

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

/* Card de Unidade */
.unidade-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.unidade-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.unidade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.unidade-card:hover .unidade-image img {
  transform: scale(1.05);
}

.unidade-content {
  padding: 32px 24px;
}

.unidade-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.unidade-title::before {
  content: "📍";
  font-size: 28px;
}

.unidade-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--color-primary);
  margin-top: 2px;
}

.info-item span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-medium);
}

.unidade-btn {
  width: 100%;
  text-align: center;
  display: block;
  padding: 12px 24px;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .unidade-image {
    height: 200px;
  }

  .unidade-content {
    padding: 24px 20px;
  }

  .unidade-title {
    font-size: 22px;
  }
}

/* ================================
   16. SEÇÃO DENTISTA PARCEIRO
   ================================ */

.dentista-cta-section {
  padding: 100px 0;
  background-image: linear-gradient(rgba(55, 65, 81, 0.9), rgba(212, 175, 55, 0.85)),
                    url('/images/dentista-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  position: relative;
}

@media (max-width: 767px) {
  .dentista-cta-section {
    padding: 60px 20px;
    background-attachment: scroll;
  }
}

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

.dentista-cta-title {
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dentista-cta-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: white;
  margin-bottom: 32px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dentista-cta-btn {
  padding: 16px 48px;
  font-size: 18px;
  background: white;
  color: var(--color-primary);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

  .dentista-cta-subtitle {
    font-size: 18px;
  }

  .dentista-cta-btn {
    width: 100%;
    padding: 16px 32px;
  }
}

/* ================================
   17. SEÇÃO CTA FINAL
   ================================ */

.cta-final-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  text-align: center;
}

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

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

.cta-final-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.btn-cta-primary,
.btn-cta-secondary {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-primary {
  background: white;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

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

  .cta-final-subtitle {
    font-size: 16px;
  }

  .cta-final-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}
