:root {
  --bs-principal: #D83135;
  --bs-secundaria: #222222; 
  --bs-background: #E0F2F1;
  --bs-hover: #c0c0c0;
  --bs-back-profissional: #ffffffb6;
  --bs-vinho:#4f0e1e;
}

html {
  scroll-behavior: smooth;
}


body {
  background-color: var(--bs-background);
  margin: 0;
  overflow-x: hidden;
}

/* =========================
   Navbar
   ========================= */
.navbar {
  font-weight: 600; /* letras mais grossas */
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  border-width: 75dvw;
  transition: all 0.3s ease;
  text-shadow: #000 1px 1px 2px;
}

/* Navbar transparente */
.navbar-transparent {
  background-color: transparent !important;
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

/* Navbar sólida ao rolar */
.navbar-scrolled {
  background-color: var(--bs-secundaria) !important;
  border-bottom: 2px solid var(--bs-hover);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Navbar brand */
.navbar-brand {
  color: white;
}

/* Links do menu */
.navbar .nav-link {
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
}

/* Nav links normais (Home, Sobre, etc.) */
.navbar .nav-link.active {
  color: var(--bs-hover);
}

/* Cor dos links */
.navbar-transparent .nav-link {
  color: white;
}
.navbar-scrolled .nav-link {
  color: white;
}

/* Hover, focus e ativo */
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--bs-hover);
}

/* Dropdown */
.dropdown-menu {
  background-color: var(--bs-principal);
  border: none;
}

/* Estado padrão */
.dropdown-menu .dropdown-item {
  color: white;
}

/* Hover / focus */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: var(--bs-principal);
  color: var(--bs-hover); /* verde */
}

/* Dropdown - item atual */
.dropdown-menu .dropdown-item.active {
  background-color: var(--bs-principal);
  color: var(--bs-hover);
  font-weight: 600;
}




/* Toggler */
.navbar-toggler {
  border-color: white;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler:hover,
.navbar-toggler:focus {
  border-color: var(--bs-hover);
}

/* =========================
   Hero
   ========================= */
.hero {
  width: 100dvw;
  height: 50dvh;
  color: white;
  background: linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.45)
    ),
    url("../../assets/imagens/imagem-site-livro.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* =========================
   Seção 3 áreas
   ========================= */
.features {
  padding: 80px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.features img {
  max-width: 80px;
  margin-bottom: 15px;
}

/* =========================
   Seção Profissionais
   ========================= */

.profissionais {
  background: linear-gradient(180deg, #dbdbdb 0%, #f4f4f4 100%);
}

/* Área geral do carousel */
#perfilCarousel {
  max-width: 900px;
  margin: 0 auto;
}

/* Nome */
#perfilCarousel h3 {
  font-size: 1.6rem;
  margin-top: 1rem;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--bs-secundaria);
}

/* Texto descritivo */
#perfilCarousel p.mx-auto {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 700px;
}

/* Link Lattes */
#perfilCarousel p.mx-auto a {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--bs-secundaria);
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
  transition: all 0.3s ease;
  text-align: center;
}

#perfilCarousel p.mx-auto a:hover {
  color: var(--bs-secundaria);
  text-decoration: underline;
}

/* Ajuste da foto */
.perfil-foto {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.perfil-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Instagram e links gerais do perfil */
#perfilCarousel .text-muted a,
#perfilCarousel .instagram a {
  color: var(--bs-hover);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

#perfilCarousel .text-muted a:hover,
#perfilCarousel .instagram a:hover {
  color: var(--bs-secundaria);
  text-decoration: underline;
}

/* Botão Lattes centralizado */
#perfilCarousel .btn-lattes {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  background-color: var(--bs-principal); /* cor inicial */
  color: #fff;              /* texto branco */
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

#perfilCarousel .btn-lattes:hover {
  background-color: var(--bs-secundaria); /* azul bootstrap no hover */
  color: #fff;
  text-decoration: none;
}


/* Controles mais suaves */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0.4);
}

/* =========================
   Seção Livro
   ========================= */
#livro h2 {
  font-size: 2rem;
  color: var(--bs-secundaria);
}

#livro h5 {
  font-size: 1.2rem;
  color: #555555;
}

#livro p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

/* Botões */
#livro .btn-success {
  background-color: var(--bs-secundaria);
  border: none;
  transition: background-color 0.3s ease;
}

#livro .btn-success:hover {
  background-color: var(--bs-principal);
}

#livro .btn-outline-primary {
  border-color: var(--bs-secundaria);
  color: var(--bs-secundaria);
  transition: all 0.3s ease;
}

#livro .btn-outline-primary:hover {
  background-color: var(--bs-secundaria);
  color: #fff;
}

/* Imagem rotacionada nos cantos */
#livro .rotate-img {
  width: 500px; /* ajuste conforme necessário */
  height: auto; 
  transform: rotate(0deg);
  z-index: 0;
}

/* Section precisa ser referência */
#livro {
  background-color: var(--bs-background);
  position: relative;
  overflow: hidden; /* evita a imagem vazar */
}

/* Imagem decorativa do topo */
#livro .rotate-img.top {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-40%, -50%) rotate(0deg); /* ajusta posição + ângulo */
  width: 900px; /* ajuste conforme necessário */
  height: auto;
  z-index: 0; /* fica atrás */
  pointer-events: none; /* não interfere em cliques */
}

/* Conteúdo sempre acima */
#livro .container,
#livro .row {
  position: relative;
  z-index: 2;
}

/* Imagem decorativa do bottom */
#livro .rotate-img.bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(40%, 50%) rotate(0deg); /* ajusta posição + ângulo */
  width: 900px; /* ajuste conforme necessário */
  height: auto;
  z-index: 0; /* fica atrás */
  pointer-events: none; /* não interfere em cliques */
}

/* =========================
   Accordion + Tabs
   ========================= */

   #info-accordion {
  background-color: #dff3f1;
}

/* Tabs desktop */
#info-accordion {
  background-color: var(--bs-background);
}

#info-accordion .nav-tabs .nav-link {
  color: #555;
  font-weight: 500;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
}

/* Highlight da aba quando ativa */
#info-accordion .nav-tabs .nav-link.active {
  color: var(--bs-principal);
  border-bottom: 3px solid var(--bs-principal);
}

/* Accordion */
#info-accordion .accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  background-color: transparent;
}

#info-accordion .accordion-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border-radius: 10px;
}

/* =========================
   Seção Contato
   ========================= */
.contato-section {
  background-color: var(--bs-secundaria);
}

.contato-section h2,
.contato-section p,
.contato-info,
.contato-info i,
.contato-info a {
  color: #fff;
}

.contato-info a {
  text-decoration: none;
  transition: color 0.3s;
}

.contato-info a:hover {
  color: var(--bs-hover);
}

/* =========================
   Footer
   ========================= */
.footer-section {
  background-color: var(--bs-secundaria);
  position: relative;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 75%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%);
}

.footer-section p {
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
}
.footer-section a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.footer-section a:hover {
  color: var(--bs-hover);
}


/* =========================
   Seção decorativa
   ========================= */

.bg-section {
      height: 120px; /* ajuste como quiser */
      background-image: url('../../assets/imagens/decor-line.png');
      background-size: cover;
      background-position: center;
      box-shadow:
        inset 0 20px 20px -20px rgba(0, 0, 0, 0.6),
        inset 0 -20px 20px -20px rgba(0, 0, 0, 0.6);
    }
    .bg-section h3 {
      color: #fff;
      background-color: var(--bs-secundaria);
      font-weight: 600;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
      max-width: 500px;
      padding: 10px 5px;
    }

.list-no-bg .list-group-item {
    background-color: transparent;
    border: none;
    padding-left: 0; /* opcional: remove recuo do Bootstrap */
  }

  .profissional-card a {
  text-decoration: none; /* remove a linha do link */
  color: #6c757d;        /* mantém a cor cinza */
  transition: color 0.3s;
}

.profissional-card a:hover {
  color: var(--bs-principal); /* muda a cor ao passar o mouse */
}

.btn-lattes {
  background-color: var(--bs-back-profissional);
  color: #fff;
  border: var(--bs-secundaria) 2px solid;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  transition: 0.3s;
  text-decoration: none;
  font-weight: 500;
}

.btn-lattes:hover {
  background-color: var(--bs-hover);
  color: var(--bs-secundaria);
}


.text-secundaria {
  color: var(--bs-secundaria);
}

.service-section {
  position: relative;
}

.descanso-section,
.descanso-vinho {
  position: relative;
  overflow: hidden;
}

h3, h4 {
  letter-spacing: 0.5px;
}

p, li {
  line-height: 1.7;
}

.small {
  font-size: 0.9rem;
}

.vinho {
  background-color: var(--bs-vinho);
  color: #fff;
}

.bg-white {
  background-color: #fff;
}

.divider-vinho,
.divider-branco {
  display: inline-block;
  width: 60px;
  height: 3px;
  border-radius: 3px;
}

.divider-vinho {
  background-color: var(--bs-principal);
}

.divider-branco {
  background-color: #ffffff;
}

.linha-vinho {
  display: inline-block;
  width: 30px;
  height: 3px;
  background-color: var(--bs-principal);
  vertical-align: middle;
}

.service-section img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-vinho {
  background-color: var(--bs-principal);
  color: #fff;
  border-radius: 30px;
  padding: 10px 26px;
  transition: all 0.3s ease;
}

.btn-vinho:hover {
  background-color: #b7282c;
  color: #fff;
}

ul {
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 6px;
}

.descanso-vinho {
  background-color: var(--bs-vinho);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Texto */
.descanso-vinho h4 {
  color: #fff;
  letter-spacing: 0.5px;
}

.descanso-vinho p {
  color: rgba(255, 255, 255, 0.75);
}

/* Divisor */
.descanso-vinho .divider-branco {
  display: inline-block;
  width: 60px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
}

/* Imagem decorativa */
.descanso-vinho img {
  max-height: 120px;
  opacity: 0.75;
  filter: brightness(1.1) contrast(1.05);
}

/* Detalhe decorativo sutil no fundo */
.descanso-vinho::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.bg-secundaria {
  background-color: var(--bs-secundaria);
  color: #ffffff;
}

/* Título */
.bg-secundaria h3 {
  color: #ffffff;
}

/* Linha decorativa */
.bg-secundaria .linha-vinho {
  background-color: var(--bs-vinho);
}

/* Lista */
.bg-secundaria ul li {
  color: rgba(255, 255, 255, 0.85);
}

/* Ajuste de espaçamento da lista */
.bg-secundaria ul {
  padding-left: 1.2rem;
}

/* Imagem */
.bg-secundaria img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Texto secundário, se existir */
.bg-secundaria p {
  color: rgba(255, 255, 255, 0.75);
}






/* =========================
   Responsividade
   ========================= */
@media screen and (max-width: 768px) {
  .hero {
    height: 200px;
    padding: 0 15px;
  }
  .hero h1,
  .hero p {
  display: none;
}

p.mx-auto{
  display: none;
}
p.mb-4{
  display: none;
}

  .navbar-transparent {
  background-color: var(--bs-secundaria) !important;
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

  #perfilCarousel h3 {
    font-size: 1.4rem;
  }

  #perfilCarousel p.mx-auto {
    font-size: 0.95rem;
    line-height: 1.65;
    padding: 0 1rem;
  }

  #perfilCarousel .instagram a,
  #perfilCarousel .text-muted a {
    font-size: 0.9rem;
  }

  #perfilCarousel .btn-lattes {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
  }

    #livro .rotate-img {
    width: 60px;
    height: 60px;
  }

  #info-accordion .accordion-button {
    font-weight: 600;
  }

  #info-accordion .accordion-button:not(.collapsed) {
    background-color: #e6f2f0;
    color: var(--bs-principal);
  }

   #info-accordion .accordion-body {
    display: block;
  }

  .service-header {
    text-align: center;
  }

  .linha-vinho {
    display: none;
  }

  .descanso-section img,
  .descanso-vinho img {
    margin-bottom: 1rem;
  }

    .descanso-vinho {
    text-align: center;
  }

}