:root {
  --azul-noite: #0B2545;
  --azul-profundo: #13315C;
  --azul-medio: #1D4E89;
  --azul-claro: #8DA9C4;
  --azul-gelo: #EEF4F8;
  --amarelo: #F2B94D;
  --texto-claro: #F4F7FA;
  --texto-corpo: #2E3B4E;
  --altura-navbar: 62px;
}

.hero-cta{
    text-align: left;
}

.hiperlink{
    color: #3498db;
}
.hiperlink:hover {
  color: #2980b9;          /* Muda de cor */
  text-decoration: underline; /* Adiciona o sublinhado de volta */
}

a{
  text-decoration: none;
  color: inherit;
}
p{
  text-indent: 10px;
}
* {
  box-sizing: border-box;
}
/* Evita rolagem horizontal no celular */
html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Tinos', 'Times New Roman', Times, serif;
  color: var(--texto-corpo);
  background-color: #e8eff0;
  margin: 0;
  padding-top: var(--altura-navbar);
}

h1, h2, h3, .intro-titulo, .secao-titulo {
  font-family: 'Tinos', 'Times New Roman', Times, serif;
}

/* BOTÕES VOADORES FIXOS--------------------------------------------------------------------------------------------------------------*/

.botoes-flutuantes {
    position: fixed;
    right: 25px;
    bottom: 25px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 9999;
}

.botoes-flutuantes a {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 28px;

    transition: 0.3s;
}

.botao-whatsapp {
    background: #25D366;
}

.botoes-flutuantes a i {
    color: white;
}

.botoes-flutuantes a:hover {
    transform: scale(1.1);
}

/* ===== NAVBAR ===== */
.navbar-custom {
  background-color: var(--azul-noite);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: transform 0.3s ease-in-out;
}

.navbar-escondida {
  transform: translateY(-100%);
}

.navbar-custom .navbar-brand {
  font-family: 'Tinos', 'Times New Roman', Times, serif;
  font-size: 1.25rem;
  color: var(--texto-claro);
}

.navbar-custom .nav-link {
  color: var(--azul-claro);
  margin-left: 0.5rem;
}

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

#agendar {
    background-color: #1d3a61;
    color: white !important;
    border-radius: 6px;
    margin-left: 20px;
}

/* ===== INTRODUÇÃO =========================================================== */
.intro {
  padding: 5rem 0;
  background-color: var(--azul-gelo);
  background-image:
    linear-gradient(rgba(29, 78, 137, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 137, 0.06) 1px, transparent 1px);
  background-size: 100px 100px;
}

.foto-retangular {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
}

.intro-titulo {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--azul-noite);
  margin-bottom: 0.75rem;
}

.intro-subtitulo {
  font-size: 1.15rem;
  color: var(--azul-medio);
  max-width: 28rem;
}

#sobre, #trabalho {
  scroll-margin-top: var(--altura-navbar);
}
#sobre {
  background-color: #8DA9C4;
}
#trabalho {
  background-color: #F4F7FA;
}

/* Celular: foto inicial mais perto da navbar */
@media (max-width: 767.98px) {
  .intro {
    padding-top: 1rem;
  }
}

/* ===== SEÇÕES ===== */
.secao-label {
  display: inline-block;
  color: var(--azul-medio);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.secao-titulo {
  font-weight: 700;
  color: var(--azul-noite);
  margin-bottom: 1.25rem;
}

.texto-corpo {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--texto-corpo);
  max-width: 42rem;
  background-color: var(--azul-gelo);
  padding: 1.25rem 1.2rem;
  border-radius: 8px;
}

.texto-trabalho .texto-corpo {
  max-width: none;
}

@media (min-width: 768px) {
  .py-md-6 { padding-top: 5rem; padding-bottom: 5rem; }
}
/* ===== CREDENCIAIS (texto centralizado em destaque) ===== */
.texto-trabalho .credenciais {
  background-color: transparent;
  padding: 0;
  max-width: 55rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--azul-noite);
}

.credenciais p {
  text-indent: 0;
  margin-bottom: 1rem;
}

.credenciais strong {
  font-weight: 700;
}

/* ===== FOTO CIRCULAR ================================================== */
.foto-circular {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--azul-gelo);
  box-shadow: 0 0 0 2px var(--azul-medio);
}

/* ===== FAIXA DE TÉCNICAS (texto em movimento) ===== */
.faixa-tecnicas {
  background-color: #8da9c49f;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  overflow: hidden;
  padding: 1rem 0;
}

.faixa-trilho {
  display: flex;
  width: max-content;
  animation: faixa-rolar 140s linear infinite;
}

.faixa-conteudo {
  display: flex;
  flex-shrink: 0;
}

.faixa-conteudo span {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--azul-noite);
  white-space: nowrap;
  padding-right: 5rem;
}

@keyframes faixa-rolar {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== MEU TRABALHO ================================================= */
.secao-trabalho {
  background-color: var(--azul-gelo);
  background-image:
    linear-gradient(rgba(29, 78, 137, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 137, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.carrossel-trabalho {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.18);
}

.carrossel-trabalho img {
  height: 420px;
  object-fit: cover;
}
/* ===== CARROSSEL DE PRINTS (rolagem suave) ===== */
.carrossel-prints {
  position: relative;
  background-color: var(--azul-noite);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.18);
}

.prints-trilho {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.prints-trilho img {
  height: 420px;
  width: auto;
  flex: 0 0 auto;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 600px) {
  .prints-btn { display: none; }
}

.prints-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--azul-noite);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
}

.prints-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.prints-prev { left: 20px; }
.prints-next { right: 20px; }

@media (max-width: 576px) {
  .prints-trilho img { height: 360px; }
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid rgba(29, 78, 137, 0.15);
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-numero {
  font-family: 'Tinos', 'Times New Roman', Times, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--azul-noite);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--texto-corpo);
}

.stat-destaque {
  background: var(--azul-noite);
  border-color: var(--azul-noite);
}

/* ===== HOVER DO "AGENDE UMA CONSULTA" ===== */
.stat-link {
  display: block;
  height: 100%;
}

.stat-destaque {
  transition: transform 0.25s ease, background-color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-destaque .stat-label {
  transition: color 0.25s ease;
}

.stat-destaque:hover {
  transform: scale(1.04);
  background-color: var(--azul-medio);
  border-color: var(--azul-medio);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.25);
}

.stat-destaque:hover .stat-label {
  color: var(--amarelo);
}

.stat-destaque .stat-numero {
  color: var(--texto-claro);
}

.stat-destaque .stat-label {
  color: var(--azul-claro);
}

/* ===== PUBLICAÇÕES ===== */
.publicacoes {
  margin-top: 4rem;
}

.publicacao {
  display: flex;
  align-items: stretch;
  background-color: var(--azul-noite);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.15);
}

.publicacao.invertida {
  flex-direction: row-reverse;
}

.publicacao-img {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--azul-profundo);
}

.publicacao-img img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.publicacao-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.5rem;
  color: var(--azul-gelo);
}

.publicacao-texto h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.publicacao-texto p {
  text-indent: 0;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.publicacao-texto a {
  align-self: flex-start;
  color: var(--amarelo);
  font-weight: 700;
  border-bottom: 1px solid var(--amarelo);
}

.publicacao-texto a:hover {
  color: #fff;
  border-color: #fff;
}

/* ===== CARTÃO DO VÍDEO (vídeo à esquerda, texto à direita, sem border radius) ===== */

.publicacao-video .publicacao-img {
  flex: 0 0 52%;
  padding: 0;
  background-color: #000;
}

.publicacao-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* ===== SLIDESHOW (fora da caixa azul, sem border radius) ===== */
.slides-bloco {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.slides-midia {
  flex: 0 0 66%;
}

.slides-midia .carousel {
  aspect-ratio: 16 / 9;
}

.slides-midia .carousel-inner,
.slides-midia .carousel-item {
  height: 100%;
}

.slides-midia .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.slides-midia .carousel-indicators [data-bs-target] {
  background-color: var(--azul-noite);
}

.slides-midia .carousel-control-prev-icon,
.slides-midia .carousel-control-next-icon {
  background-color: rgba(11, 37, 69, 0.65);
  background-size: 50%;
  width: 2.5rem;
  height: 2.5rem;
}

.slides-titulo {
  flex: 1;
}

.slides-titulo h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: var(--azul-noite);
}

@media (max-width: 768px) {
  .publicacao,
  .publicacao.invertida {
    flex-direction: column;
  }
  .publicacao-img {
    flex-basis: auto;
  }
  .publicacao-video .publicacao-img {
    flex: none;
  }
  .publicacao-texto {
    padding: 1.5rem;
  }

  .slides-bloco {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .slides-midia {
    flex: none;
    width: 100%;
  }
}

/* ===== RODAPÉ ===== */
.rodape {
  background: var(--azul-noite);
  color: var(--azul-claro);
  font-size: 0.9rem;
}

.rodape-links a {
  color: var(--azul-claro);
  text-decoration: none;
  margin-left: 1rem;
}

.rodape-links a:first-child {
  margin-left: 0;
}

.rodape-links a:hover {
  color: var(--amarelo);
}


/* ===== VISUALIZAÇÃO DE IMAGEM EM TAMANHO MAIOR (lightbox) ===== */
.prints-trilho img,
.publicacao-img > img,
.slides-midia img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000; /* acima da navbar e do botão do WhatsApp */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(11, 37, 69, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}

.lightbox.aberto {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox.aberto .lightbox-img {
  transform: scale(1);
}

.lightbox-fechar {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-fechar:hover {
  background: rgba(255, 255, 255, 0.3);
}

body.lightbox-aberto {
  overflow: hidden; /* trava a rolagem da página enquanto a imagem está aberta */
}