/* Importando a fonte glastone-regular */
@font-face {
  font-family: 'glastone-regular';
  src: url('fonts/glastone-regular.woff2') format('woff2'),
    url('fonts/glastone-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

a.btn.btn-primary {
  background-color: #005c91;
  border-color: #005c91;
}

a.btn.btn-primary:hover {
  background-color: #002f4a;
  border-color: #002f4a;
}

:root {
  --primary-color: #002f4a;
  --secondary-color: #FFD700;
  --light-gray: #F8F9FA;
  --dark-gray: #002f4a;
  --white: #ffffff;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-gray);
  background-color: var(--light-gray);
  padding-top: 80px;
  /* Espaço para navbar fixa */
}

/* Navbar */
.navbar {
  background-color: var(--white);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.fixed-top {
  padding: 5px 0;
}

.navbar-brand img {
  height: 80px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--dark-gray);
  margin: 0 5px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  background: url('Imagens/IMG_DRA.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero a.btn {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero a.btn:hover {
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator a {
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Cards Modernos na Seção Tipos de Tratamento */
.modern-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  padding: 15px;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Classes para alinhamento dos títulos conforme o posicionamento do card */
.modern-card-title-left {
  text-align: left;
}

.modern-card-title-right {
  text-align: right;
}

/* As classes abaixo definem o alinhamento dos textos internos dos cards.
   Note que foram utilizadas as classes já existentes para os parágrafos. */
.modern-card-text-right {
  text-align: left;
}

.modern-card-text-left {
  text-align: right;
}

/* Imagens dos cards */
.modern-card-img-left img,
.modern-card-img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-card-img-left img {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.modern-card-img-right img {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Padronizando o espaçamento interno das colunas de imagem */
.modern-card-img-left {
  padding-left: 15px;
}

.modern-card-img-right {
  padding-right: 15px;
}

.modern-card-body {
  padding: 1.5rem 1rem;
  text-align: left;
}

.modern-card-body h5 {
  margin-bottom: 1rem;
}

.modern-card-body p {
  margin-bottom: 1rem;
}

/* Seção Terapia - Carousel */
#terapia .carousel .feature-box {
  padding: 20px;
  text-align: center;
}

#terapia .carousel .feature-box .icon {
  margin-bottom: 15px;
}

#terapia .carousel .feature-box h5 {
  font-size: 1.3rem;
  margin-top: 15px;
  font-weight: 600;
}

#terapia .carousel .feature-box p {
  font-size: 0.95rem;
  margin-top: 10px;
  color: var(--dark-gray);
}

.carousel-control-prev {
  left: -110px;
}

.carousel-control-next {
  right: -110px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%, 100%;
  background-repeat: no-repeat;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23002f4a' viewBox='0 0 8 8'%3E%3Cpath d='M4.854 1.646a.5.5 0 0 0-.708 0L1.5 4.293l2.646 2.647a.5.5 0 0 0 .708-.708L2.707 4.5l2.147-2.146a.5.5 0 0 0 0-.708z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23002f4a' viewBox='0 0 8 8'%3E%3Cpath d='M3.146 1.646a.5.5 0 0 1 .708 0L6.5 4.293 3.854 6.94a.5.5 0 1 1-.708-.708L5.293 4.5 3.146 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  background-color: var(--secondary-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left::after {
  right: -10px;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background-color: #005c91;
  color: #fff;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content h4,
.timeline-content p {
  color: #fff;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .timeline {
    padding: 20px 0;
  }

  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding: 20px 20px 20px 60px;
    margin-bottom: 20px;
    left: 0 !important;
    text-align: left !important;
  }

  .timeline-item::after {
    left: 20px;
    top: 20px;
  }
}

/* Seção Sobre Mim */
#sobre {
  position: relative;
  background: url('Imagens/IMG_6884-2.jpg') center 30%/cover no-repeat;
  padding: 80px 0;
  color: var(--dark-gray);
}

#sobre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

#sobre .container {
  position: relative;
  z-index: 2;
}

#sobre .about-img-wrapper {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

#sobre .about-img-wrapper:hover {
  transform: scale(1.05);
}

#sobre .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sobre h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

#sobre p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
  line-height: 1.8;
  text-align: center;
}

.sobre-bloco {
  margin: 20px 0;
  text-align: justify;
}

.section-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 30px auto;
  width: 80%;
}

.session-title {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 30px 0 20px;
  text-align: center;
}

.session-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

/* Seção Contato */
.contact-form .form-control {
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

#contato {
  background-color: #F8F9FA;
}

.contact-form .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: none;
}

.contact-form button {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.contact-info h5 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #f0f4f8;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.social-links a {
  color: var(--secondary-color);
  margin: 0 5px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--white);
}

.section-header h2 {
  font-family: 'Merriweather', serif;
  color: var(--primary-color);
  padding-bottom: 5px;
}

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

section:nth-of-type(even) {
  background-color: rgba(255, 215, 0, 0.1);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .navbar-brand img {
    height: 40px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* Seção Tipos de Tratamento – Inspirada no layout de "Serviços Prestados", adaptada ao seu design */

.tratamento-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.tratamento-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-family: 'Merriweather', serif;
}

/* Keyframes para a animação de fade in up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Itens (Cards) */
/* Seção Tipos de Tratamento – Inspirada no layout de "Serviços Prestados", adaptada ao seu design */

.tratamento-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.tratamento-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-family: 'Merriweather', serif;
}

/* Keyframes para a animação de fade in up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Itens (Cards) */
.tratamento-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

/* Inverter a ordem dos elementos nos itens pares */
.tratamento-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* Bloco de texto */
.tratamento-texto {
  flex: 1;
  padding: 20px;
}

.tratamento-texto h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.tratamento-texto p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Bloco de imagem */
.tratamento-imagem {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tratamento-imagem img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Bloco de CTA */
.tratamento-cta {
  text-align: center;
  margin-top: 40px;
}

.tratamento-cta .cta-text {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.tratamento-cta .cta-btn {
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 50px;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .tratamento-item {
    flex-direction: column;
    padding: 15px;
    margin-bottom: 30px;
  }

  .tratamento-texto {
    padding: 10px;
    text-align: center;
  }

  .tratamento-texto h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    /* ou 'bold' */
  }


  .tratamento-texto p {
    font-size: 0.95rem;
  }

  /* Removendo as imagens no modo mobile */
  .tratamento-imagem {
    display: none;
  }

  /* Centralizando o CTA */
  .tratamento-cta {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .btn-attention {
    border-radius: 50px;
    background-color: var(--secondary-color);
    /* cor que chama atenção */
    color: var(--primary-color);
    font-weight: bold;
    padding: 12px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-attention:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  }
}