:root {
    --verde: #257D4B;
    --verde-claro: rgba(37, 125, 75, 0.1);
    --verde-hover: #1e6340;
    --branco: #ffffff;
    --cinza: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header e Navbar */
.telefone-header {
    background-color: var(--verde);
    padding: 8px 0;
    font-size: 0.9rem;
}

.telefone-header a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.telefone-header a:hover {
    opacity: 0.8;
    color: white;
}

.telefone-header .mx-2 {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .telefone-header {
        font-size: 0.75rem;
        padding: 6px 0;
    }
    
    .telefone-header .row {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
        margin: 0;
    }
    
    .telefone-header .col-md-6 {
        text-align: center;
        margin: 0;
        padding: 0 2px;
        flex: 0 0 auto;
        width: auto;
    }
    
    .telefone-header .text-end {
        text-align: center !important;
    }
    
    .telefone-header a {
        white-space: nowrap;
        padding: 0 2px;
    }
    
    .telefone-header .mx-2 {
        margin: 0 3px !important;
        font-size: 0.7rem;
    }
    
    .telefone-header i {
        font-size: 0.7rem;
    }
}

.navbar {
    background-color: var(--branco) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 100px;
    width: 220px;
}

.nav-link {
    color: var(--verde) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--verde-hover) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--branco);
}

/* Hero Section específica para a página index */
.hero-section.index-hero {
    min-height: 85vh;
}

/* Hero Section específica para a página Quem Somos */
.hero-section.quem-somos-hero {
    background: url('imagens/img-01.jpeg') no-repeat center center;
    background-size: cover;
    min-height: 60vh;
}

.hero-section.quem-somos-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/imagens/img-04.jpeg');
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 0;
}

.hero-section.quem-somos-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-section.quem-somos-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Section específica para a página Exames */
.hero-section.exames-hero {
    background: url('imagens/exames-live-02.jpeg') no-repeat center center;
    background-size: cover;
    min-height: 60vh;
}

.video-hero {
    position: relative;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh; /* Altura padrão para todas as páginas em mobile */
    }
    
    .hero-section.index-hero {
        min-height: 85vh; /* Altura maior apenas para a página index em mobile */
    }
    
    .hero-section.quem-somos-hero,
    .hero-section.exames-hero {
        min-height: 60vh; /* Altura padrão para quem-somos e exames em mobile */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
}

/* Hero Section - Com Imagem (Contato) */
.hero-section.image-hero {
    background: url('imagens/entrada.jpeg') no-repeat center 20%;
    background-size: cover;
}

/* Hero Section - Específica para Quem Somos */
.hero-section.quem-somos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-section.image-hero::before,
.hero-section.quem-somos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

/* Seções */
section {
    padding: 80px 0;
}

section:first-of-type {
    padding-top: 120px;
}

.sobre-card {
    background: var(--cinza);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    padding: 3rem;
    margin-bottom: 2rem;
}

.section-title {
    color: var(--verde);
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--verde);
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Cards e Seções */
.card-servico {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card-servico:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-servico .card-img-top {
    height: 350px;
    object-fit: cover;
}

.card-servico .card-body {
    padding: 25px;
}

.card-servico .card-title {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-servico .card-text {
    color: #495057;
    margin-bottom: 20px;
}

.card-servico ul {
    margin-bottom: 25px;
}

.card-servico ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #495057;
}

.card-servico ul li i {
    color: #28a745;
}

.card-servico .btn-verde {
    padding: 10px 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.contato-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
    max-width: 100%;
}

.contato-card h5 {
    margin-bottom: 1.5rem;
    color: var(--verde);
}

.contato-card p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}

.contato-card p i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
    color: var(--verde);
}

/* Cards dos Responsáveis */
.card-servico .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-servico h3 {
    color: var(--verde);
    font-weight: 600;
}

.card-servico hr {
    border-color: var(--verde-claro);
    opacity: 0.5;
}

.card-servico .text-muted {
    color: var(--verde) !important;
    font-weight: 500;
}

.card-servico ul li {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Estilo para as fotos dos responsáveis */
.card-responsavel {
    text-align: center;
    padding: 2rem;
    padding-top: 3rem;
}

.foto-responsavel {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.foto-responsavel::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.2));
    z-index: -1;
}

.foto-responsavel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.foto-responsavel:hover img {
    transform: scale(1.02);
}

.card-responsavel .card-title {
    margin-bottom: 1rem;
}

.card-responsavel .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Botões */
.btn-verde {
    background-color: var(--verde);
    color: var(--branco);
    padding: 10px 25px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.btn-verde:hover {
    background-color: var(--verde-hover);
    color: var(--branco);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--branco);
    padding: 12px 30px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--branco);
}

/* Estilos para a seção de Resultados */
.resultados-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.resultados-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #e9ecef;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.resultados-section .container {
    position: relative;
    z-index: 2;
}

.resultados-section .col-md-6:last-child {
    position: relative;
}

.resultados-section .img-container {
    position: relative;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-20px);
}

.resultados-section .img-container img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.resultados-section .img-container:hover img {
    transform: scale(1.02);
}

.resultados-section .section-title {
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.resultados-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #28a745;
}

.resultados-section .lead {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 25px;
}

.resultados-section ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #495057;
}

.resultados-section .btn-verde {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mapa */
.mapa {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    width: 100%;
    min-height: 300px;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--verde);
    color: var(--branco);
    padding: 50px 0 20px;
}

.social-icon {
    color: var(--branco);
    font-size: 24px;
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

/* Utilitários */
.text-verde {
    color: var(--verde) !important;
}

.bg-verde {
    background-color: var(--verde) !important;
}

.bg-verde-claro {
    background-color: var(--verde-claro);
    position: relative;
}

.bg-verde-claro:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--verde-claro), transparent);
}

.bg-verde-claro .card-servico {
    background: var(--branco);
    border: 1px solid rgba(37, 125, 75, 0.1);
}

.bg-verde-claro .card-servico:hover {
    border-color: var(--verde);
}

.bg-verde-claro .fa-3x {
    transition: transform 0.3s ease;
}

.bg-verde-claro .card-servico:hover .fa-3x {
    transform: scale(1.1);
}

/* Estilos para a seção de contato */
.contato-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.contato-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.contato-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.contato-card h5 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #28a745;
  display: inline-block;
}

.contato-card .card-text {
  color: #495057;
  font-size: 1.1rem;
  line-height: 1.8;
}

.contato-card .card-text a {
  color: #28a745;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  margin: 5px 0;
}

.contato-card .card-text a:hover {
  color: #218838;
}

/* Estilos para o formulário */
.formulario-contato {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.formulario-contato h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #28a745;
  display: inline-block;
}

.formulario-contato .form-label {
  color: #495057;
  font-weight: 500;
  margin-bottom: 8px;
}

.formulario-contato .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.formulario-contato .form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.formulario-contato textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.formulario-contato .btn-verde {
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.formulario-contato .btn-verde:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

/* Estilos para o mapa */
.mapa-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: 20px;
}

.mapa {
  width: 100%;
  height: 300px;
  border: none;
}

@media (max-width: 768px) {
  .contato-card {
    margin-bottom: 30px;
  }
  
  .formulario-contato {
    padding: 25px;
  }
  
  .formulario-contato h2 {
    font-size: 1.7rem;
  }
  
  .card-servico .card-img-top {
    height: 180px;
  }
  
  .card-servico .card-body {
    padding: 20px;
  }
  
  .card-servico .card-title {
    font-size: 1.2rem;
  }
  
  .card-servico ul li {
    font-size: 0.95rem;
  }
}

.card-contato p {
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.card-contato p i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
  /* Ajustes gerais */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  /* Cards de Exames */
  .card-servico {
    margin-bottom: 1.5rem;
  }

  .card-servico img {
    height: 200px;
  }

  /* Seção de Resultados */
  .resultados-section {
    padding: 3rem 0;
  }

  .resultados-section .img-container {
    margin-top: 2rem;
  }

  /* Cards de Contato */
  .contato-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .contato-card p {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    text-align: center;
  }

  .footer .col-md-4 {
    margin-bottom: 2rem;
  }

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

  .social-icon {
    margin: 0 0.5rem;
  }

  /* Telefone Header */
  .telefone-header {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .telefone-header .row {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
    margin: 0;
  }

  .telefone-header .col-md-6 {
    text-align: center;
    margin: 0;
    padding: 0 2px;
    flex: 0 0 auto;
    width: auto;
  }

  .telefone-header .text-end {
    text-align: center !important;
  }

  .telefone-header a {
    white-space: nowrap;
    padding: 0 2px;
  }

  .telefone-header .mx-2 {
    margin: 0 3px !important;
    font-size: 0.7rem;
  }

  .telefone-header i {
    font-size: 0.7rem;
  }

  /* Navbar */
  .navbar-brand img {
    max-width: 180px;
  }

  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }

  /* Botões */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  /* Ajustes para telas muito pequenas */
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .card-servico img {
    height: 180px;
  }

  .contato-card {
    padding: 1.25rem;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

.footer a {
    color: var(--branco);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
}

/* Força a cor branca em links de telefone no footer para iOS */
.footer a[href^="tel:"] {
    color: var(--branco) !important;
    -webkit-text-fill-color: var(--branco) !important;
    text-decoration: none !important;
}

.footer a[href^="tel:"]:hover {
    opacity: 0.8;
}

/* Resultado de Exames Section */
.resultado-exames-section {
    background-color: var(--branco);
    padding: 5rem 0;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Classe para controlar a visibilidade em mobile */
.resultado-exames-section.hidden-mobile {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.resultado-exames-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--verde-claro), transparent);
}

.resultado-exames-section .section-title {
    color: var(--verde);
    margin-bottom: 1.5rem;
}

.resultado-exames-section .lead {
    color: var(--verde-escuro);
    margin-bottom: 2rem;
    font-weight: 500;
}

.acesso-card {
    background: var(--branco);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(40, 167, 69, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.acesso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--verde-claro);
}

.acesso-card i {
    font-size: 2.5rem;
    color: var(--verde);
    margin-bottom: 1rem;
}

.acesso-card h3 {
    color: var(--verde);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.acesso-card p {
    color: var(--preto);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.acesso-card .btn-verde {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.acesso-card .btn-verde:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

@media (max-width: 768px) {
    .resultado-exames-section {
        padding: 3rem 0;
    }
    
    .resultado-exames-section.hidden-mobile {
        display: none;
    }
    
    .resultado-exames-section.visible-mobile {
        display: block;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .acesso-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .acesso-card i {
        font-size: 2rem;
    }
    
    .acesso-card h3 {
        font-size: 1.25rem;
    }
    
    .acesso-card .btn-verde {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
} 