/* ===================================================================
   estilo.css — Estilos principais do site
   =================================================================== */

/* -------------------------------------------------
   0. Fonte Roboto (caso queira carregar por @import)
   ------------------------------------------------- */
/*
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
*/

/* -------------------------------------------------
   1. Variáveis de cor e reset básico
   ------------------------------------------------- */
:root {
  --topbar-bg:   #4AA1B1;
  --menubar-bg:  #5FB1C0;
  --topbar-text: #003c5e;
  --menu-text:   #003c5e;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===================================================================
   2. Galeria inicial — duas imagens e divisor
   =================================================================== */
.img-row               { display: flex; width: 100%; align-items: stretch; }
.img-cell              { flex: 1; }
.img-cell img          { width: 100%; height: auto; display: block; }
.img-divider           { width: 4px; background-color: #5FB1C0; margin: 0 2px; }

@media (max-width: 600px) {
  .img-row             { flex-direction: column; }
  .img-divider         { width: 100%; height: 4px; margin: 1rem 0; }
}

/* ===================================================================
   3. Títulos padronizados (Serviços / Benefícios / Depoimentos)
   =================================================================== */
.services-title,
.benefits-title,
.testimonials-title {
  position: relative;
  display: table;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
  font-size: 2.25rem;
  color: #003c5e;
  font-weight: 700;
  padding: 0.5rem 1rem;
  background: rgba(95, 177, 192, 0.1);
  border-radius: 0.5rem;
  text-align: center;
}

.services-title i,
.benefits-title i,
.testimonials-title i {
  margin-right: 0.5rem;
  vertical-align: middle;
  color: #5FB1C0;
}

/* Traços laterais (apenas Services & Benefits) */
.services-title::before,
.services-title::after,
.benefits-title::before,
.benefits-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 3px;
  background: #5FB1C0;
}

.services-title::before,
.benefits-title::before { left: -70px; }

.services-title::after,
.benefits-title::after  { right: -70px; }

/* Remove traços do título de Benefícios */
.benefits-title::before,
.benefits-title::after  { content: none; }

/* Margem superior pedida para “Serviços Atendidos” */
.services-title {
  margin-top: 25px;
  font-size: 1.75rem;
  line-height: 1.1;
  padding: 0.4rem 0.8rem;
}

/* Ícone “Serviços” */
.services-title i { font-size: 1.5rem; }

/* Traços laterais “Serviços” */
.services-title::before,
.services-title::after { width: 35px; height: 2px; }

/* Ajustes exclusivos — Depoimentos usam aspas */
.testimonials-title,
.testimonials-title i { font-size: 2rem; margin-bottom: 3rem; }

.testimonials-title::before,
.testimonials-title::after {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  font-size: 3.2rem;
  color: #5FB1C0;
  line-height: 1;
  width: auto;
  height: auto;
  background: none;
}
.testimonials-title::before { content: "“"; left: -40px; }
.testimonials-title::after  { content: "”"; right: -40px; }
.testimonials-title         { font-style: italic; }

/* ===================================================================
   4. Grid de serviços (4 cards)
   =================================================================== */
.card-row {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  justify-content: center;
  column-gap: 3rem;
  row-gap: 2rem;
  width: 100%;
  margin-top: 2rem;
}
@media (max-width: 992px) { .card-row { grid-template-columns: repeat(2, 260px); } }
@media (max-width: 600px) { .card-row { grid-template-columns: 260px; } }

.card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  text-align: center;
  margin: 20px 0;
}
.card img   { width: 100%; height: auto; display: block; }
.card-title { margin: 0.5rem 0; font-weight: 500; text-transform: uppercase; }
.card-desc  { font-size: 14px; line-height: 1.35; }

/* Botão “Saiba Mais” */
.btn-saiba {
  background: #5FB1C0;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-saiba:hover {
  background: #4AA1B1;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ===================================================================
   5. Pop-up de boas-vindas
   =================================================================== */
.popup-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
}
@keyframes popup-zoom {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.popup-content {
  position: relative;
  background:
    linear-gradient(0deg, rgba(242,242,242,1) 0%, rgba(217,238,245,1) 100%),
    url('../img/fundo_medicina_trabalho.png') no-repeat center/cover;
  background-blend-mode: overlay;
  border: 6px solid #5FB1C0;
  border-radius: 12px;
  max-width: 800px; width: 95%; max-height: 80vh;
  padding: 1.5rem;
  display: flex; align-items: center;
  overflow: auto;
  animation: popup-zoom 0.5s ease-out;
}
@media (max-width: 600px) { .popup-content { flex-direction: column; padding: 1rem; } }

.popup-image         { flex: 1; text-align: center; }
.popup-image img     { width: 100%; height: auto; border-radius: 6px; }
.popup-image .logo-text {
  margin-top: 0.5rem; font-size: 1rem; font-weight: 700; color: #003c5e;
}

.popup-divider {
  align-self: stretch; width: 1px; background: #003c5e;
  margin: 0 1.5rem; box-shadow: 1px 0 3px rgba(0,0,0,0.2);
}
@media (max-width: 600px) { .popup-divider { width: 100%; height: 1px; margin: 1rem 0; } }

.popup-text       { flex: 1; font-size: 1.05rem; color: #003c5e; }
.popup-text h2    { text-align: center; margin-bottom: 1rem; }
.popup-text p     { margin-bottom: 1rem; line-height: 1.4; }

.popup-close {
  position: absolute; top: 0.5rem; right: 0.75rem;
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #333;
}

/* ===================================================================
   6. Benefícios
   =================================================================== */
.benefits {
  position: relative;
  text-align: center;
  margin: 25px 0 0;
  padding: 5rem;
  background: #e8f5e9 url('../img/layer.svg') no-repeat center/cover;
}
.benefits-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
}
@media (max-width: 600px) { .benefits-row { flex-direction: column; gap: 1.5rem; } }

.benefit-card {
  flex: 1 1 200px; max-width: 250px; padding: 1rem;
  border: 2px solid transparent; border-radius: 8px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.benefit-card:hover {
  background:#f1f8f2; border-color:#a5d6a7; box-shadow:0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-8px); z-index:1;
}
.benefit-card img { width:120px;height:120px;object-fit:contain;margin-bottom:0.5rem; }
.benefit-card h3  { font-size:1.1rem;color:#39800a;margin-top:0.5rem; }

.benefits-title {
  position: relative; display: table; margin: 0 auto;
  padding: 0.5rem 1.25rem; transform: translateY(-12px);
  color: #003c5e; font-size: 2rem; font-weight: 700;
}
.benefits-title i { margin-right: 0.55rem; color:#003c5e; font-size:2rem; }

/* ===================================================================
   7. Depoimentos
   =================================================================== */
.testimonials      { margin:25px 0 0; padding-top:0; }
.testimonials blockquote        { font-size:1.1rem;font-style:italic;color:#333;max-width:700px;margin:0 auto 1rem; }
.testimonials .blockquote-footer{ font-size:0.9rem;color:#555; }

.carousel-indicators-custom {
  display:flex;justify-content:center;gap:0.5rem;margin-top:1.5rem;
}
.carousel-indicators-custom button {
  width:12px;height:12px;border-radius:50%;border:none;background:#ccc;opacity:0.7;
}
.carousel-indicators-custom button.active { background:#003c5e;opacity:1; }

/* ===================================================================
   8. Sessão Explicação
   =================================================================== */
.explanation {
  margin:25px 0 0;
  background:#f8f9fa url('../img/layer2.svg') no-repeat center/cover;
}
.explanation-row {
  display:grid;grid-template-columns:2fr 1fr;gap:2rem;align-items:center;justify-items:center;
}
@media (max-width:768px){
  .explanation-row { grid-template-columns:1fr;text-align:center; }
  .explanation-image { margin-bottom:1.5rem; }
}
.explanation-text {
  position:relative;font-size:1.2rem;color:#003c5e;text-align:center;
  margin-left:100px;padding:1rem;
}
.explanation-text h2 { font-weight:700; }
.explanation-text::before,
.explanation-text::after {
  content:"";position:absolute;width:40px;height:40px;border:5px solid #003c5e;
}
.explanation-text::before { top:0; left:0; border-bottom:none; border-right:none; }
.explanation-text::after  { bottom:0; right:0; border-top:none; border-left:none; }
.explanation-text ul      { list-style:none;margin:1rem auto;padding:0;display:inline-block;text-align:left; }
.explanation-text ul li   { margin-bottom:0.5em; }
.explanation-text ul li::before { content:"👉";margin-right:0.5em; }

.explanation-image img { width:50%;height:auto;border-radius:1rem;object-fit:cover;display:block;margin:0 auto; }

/* ===================================================================
   9. Top-bar, Navbar, Dropdown, Painel de cores
   =================================================================== */
/* ---------- Top-bar ---------- */
.bg-info-bar { background:var(--topbar-bg)!important; }

.top-bar {
  font-size:0.9rem;line-height:1.3;padding:0.75rem 1rem;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  color:var(--topbar-text)!important;font-weight:700;
}
.top-bar a, .top-bar i { color:var(--topbar-text)!important;font-weight:700; }
.top-bar a:hover       { opacity:0.8; }

.contact-info   { display:flex;align-items:center;gap:1rem;flex-wrap:wrap; }
.contact-divider{ margin:0 0.5rem; }

.social-block { display:flex;flex-direction:column;align-items:center; }
.social-group { margin-bottom:0.4rem;margin-right:130px; }

@media (max-width:600px){
  .top-bar      { flex-direction:column;gap:0.45rem;text-align:center; }
  .social-group { margin:0 0 0.3rem 0; }
  .contact-info { justify-content:center; }
}
.top-bar.hide { transform:translateY(-100%);opacity:0;pointer-events:none; }

/* ---------- Navbar ---------- */
.bg-clinic            { background:var(--menubar-bg)!important; }
.navbar.bg-clinic     { padding:0;transition:top 0.3s ease; }
.navbar.bg-clinic.scrolled { position:fixed;top:0;width:100%;z-index:1050; }

.logo-menu          { height:90px; }
.navbar-brand       { margin-left:100px; }
@media (max-width:600px){ .navbar-brand{ margin-left:0; } }

.navbar-dark .nav-link {
  color:var(--menu-text)!important;font-weight:700;font-size:1.1rem;
}
.navbar-nav .nav-item { margin:0 10px; }

/* Sublinhado animado */
.navbar-nav .nav-link:not(.dropdown-toggle){
  position:relative;padding-bottom:0.25rem;text-decoration:none!important;
}
.navbar-nav .nav-link:not(.dropdown-toggle)::before {
  content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:currentColor;transition:width 0.3s ease;
}
.navbar-nav .nav-link:not(.dropdown-toggle):hover::before,
.navbar-nav .nav-link:not(.dropdown-toggle):focus::before { width:100%; }
.navbar-nav .nav-link.active::before { width:0!important; }

/* Botão de orçamento */
.btn-quote {
  background:#ff9e0d;border:none;border-radius:30px;color:#fff!important;font-weight:700;
  padding:0.4rem 1.4rem;margin-right:100px;transition:0.25s;
}
.btn-quote:hover, .btn-quote:focus { background:#ffac31; }

/* Dropdown */
.dropdown-menu {
  background:var(--menubar-bg);border:none;padding:0.5rem 0;min-width:220px;
}
.dropdown-item {
  color:var(--menu-text);font-weight:500;display:flex;align-items:center;gap:3px;
}
.dropdown-item .bi { font-size:1.1rem;margin-right:3px; }
.dropdown-item:hover { background:#4AA1B1;color:#fff; }
.dropdown-divider { border-top:1px solid rgba(0,60,94,0.33);margin:0; }

@media (min-width:992px){ .navbar .dropdown:hover>.dropdown-menu{display:block;} }
@media (max-width:600px){ .navbar-nav .nav-item{ margin:5px 0; } }

/* Painel de cores */
/*
  .color-panel {
  position:fixed;right:0;top:50%;transform:translateY(-50%);
  width:160px;background:#fff;padding:1rem 0.75rem;border-radius:8px 0 0 8px;
  box-shadow:0 0 6px rgba(0,0,0,0.25);z-index:9999;font-size:0.8rem;text-align:center;
}
.color-panel h4{ font-size:0.75rem;margin:0.35rem 0; }
.swatch{
  width:22px;height:22px;border-radius:4px;border:1px solid #ccc;
  display:inline-block;margin:2px;cursor:pointer;
}
.btn-reset { margin-top:0.7rem;font-size:0.7rem; }
body.scrolled { padding-top:120px; }
*/

/* ===================================================================
   10. Mapa
   =================================================================== */
.map-section {
  margin:25px 0 0;text-align:center;padding:0 0.5rem;
}
.map-title {
  display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0.65rem;
  font-size:30px;font-weight:700;margin:40px 0 40px 0;line-height:1.15;text-align:center;
}
.map-label   { color:#6c2e6a;text-transform:uppercase; }
.map-address { color:#6d6d6d;font-size:0.55em;font-weight:500; }

.map-container       { width:100%;height:350px;margin:0; }
.map-container iframe{ width:100%;height:100%;border:0;border-radius:8px; }

@media (max-width:600px){
  .map-title   { font-size:28px; }
  .map-address { font-size:0.7em; }
  .map-container{ height:250px; }
}

/* ===================================================================
   11. Nossa equipe
   =================================================================== */
.team-section {
  background:none;text-align:center;margin:25px 0 0;
}
.team-section .section-title {
  position:relative;display:inline-block;font-size:40px;line-height:1;color:#6eb95d;
  font-weight:700;margin:0 auto 1.5rem;
}
.team-section .section-title::before,
.team-section .section-title::after{
  content:"";position:absolute;width:32px;height:32px;border-top:5px solid currentColor;
}
.team-section .section-title::before{
  border-left:5px solid currentColor;top:-12px;left:-24px;
}
.team-section .section-title::after{
  border-right:5px solid currentColor;top:-12px;right:-24px;
}
.team-row{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:2rem;justify-items:center;align-items:start;margin-top:2rem;
}
@media (max-width:600px){ .team-row{ grid-template-columns:1fr 1fr; } }

.team-card{ text-align:center;padding:1rem;position:relative;overflow:hidden; }
.team-card img{
  width:150px;height:150px;object-fit:cover;border-radius:50%;
  border:4px solid #5FB1C0;margin-bottom:1rem;transition:transform 0.35s ease,box-shadow 0.35s ease;
}
.team-card h3{ font-size:1.2rem;color:#003c5e;margin-bottom:0.5rem;font-weight:700; }
.team-card p { font-size:0.95rem;color:#555;margin:0; }

.team-card:hover img{
  transform:scale(1.2);
  box-shadow:0 10px 15px rgba(0,0,0,0.25);
}

/* ===================================================================
   12. Fale Conosco — responsivo
   =================================================================== */
.contact-section{
  margin:25px 0 0;
  background:#eef7fa url('../img/layer3.svg') no-repeat center/cover;
}

/* Wrapper: imagem + formulário lado-a-lado */
.contact-wrapper{
  max-width:1080px;
  margin:0 auto;
  padding:2rem 1rem;
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  align-items:center;        /* verticalmente centralizado */
}

/* Coluna da imagem */
.contact-image{
  flex:0 0 380px;
  max-width:380px;
  text-align:center;
}
.contact-image img{
  width:100%;
  height:auto;
}

/* Conteúdo (título + form) */
.contact-content{
  flex:1 1 480px;
}

/* Título */
.contact-title{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  font-size:2.25rem;
  font-weight:700;
  color:#003c5e;
  margin:0 auto 1.5rem;
  text-align:center;
}
.contact-title i{ color:#5FB1C0; }

/* Grid do formulário */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.25rem;
}

.form-group       { display:flex;flex-direction:column; }
.form-group--full { grid-column:1 / -1; }

#contactForm input,
#contactForm textarea{
  width:100%;
  padding:0.6rem 0.75rem;
  border:2px solid #5FB1C0;
  border-radius:6px;
  font-size:1rem;
}
#contactForm textarea{ resize:vertical;min-height:160px; }

/* Botão */
.contact-btn-wrap{ text-align:center;margin-top:1.75rem; }
.btn-enviar{
  background:#5FB1C0;border:none;color:#fff;font-weight:700;padding:0.6rem 2.5rem;
  border-radius:30px;transition:background 0.25s,transform 0.25s,box-shadow 0.25s;
}
.btn-enviar:hover{
  background:#4AA1B1;
  transform:translateY(-2px);
  box-shadow:0 4px 8px rgba(0,0,0,0.2);
}

/* Breakpoints Fale Conosco */
@media (max-width:991px){
  .contact-image{ flex:0 0 300px; max-width:300px; }
}
@media (max-width:767px){
  .contact-wrapper{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .contact-image{
    flex:0 0 auto;
    max-width:220px;
    margin-bottom:1rem;
  }
}

/* ===================================================================
   13. Formulário de Orçamentos
   =================================================================== */
.quote-hero{
  background:#e0f7fa url('../img/layer2.svg') no-repeat center/cover !important;
  padding:4rem 1rem 3rem !important;
}
.quote-title{
  font-size:2.5rem !important;
  font-weight:700 !important;
  color:#003c5e !important;
}
.quote-card{
  border:0 !important;
  border-radius:1rem !important;
  box-shadow:0 4px 12px rgba(0,0,0,0.15) !important;
  text-align:left !important;
}
.quote-card label{ text-align:left !important; }
.quote-card .card-header{
  background:#5FB1C0 !important;
  color:#fff !important;
  font-weight:700 !important;
  font-size:1.25rem !important;
  border-top-left-radius:1rem !important;
  border-top-right-radius:1rem !important;
}
.quote-card .btn-enviar{
  background:#5FB1C0 !important;
  border:none !important;
  border-radius:30px !important;
  color:#fff !important;
  font-weight:700 !important;
  padding:0.6rem 2.5rem !important;
  transition:background .25s,transform .25s,box-shadow .25s !important;
}
.quote-card .btn-enviar:hover{
  background:#4AA1B1 !important;
  transform:translateY(-2px) !important;
  box-shadow:0 4px 8px rgba(0,0,0,0.2) !important;
}

/* ===================================================================
   14. Rodapé
   =================================================================== */
.footer-top{
  margin-top: 40px;     /* ← novo espaçamento   (ajuste à vontade) */
  background:#f2f3f5;
  padding:3rem 0;
  font-family:'Roboto',Arial,Helvetica,sans-serif;
}
.footer-logo img{ max-width:180px; }
.footer-title{
  font-size:1.35rem;
  font-weight:700;
  color:#1a1a1a;
  margin-bottom:1rem;
}
.footer-list{ list-style:none; padding:0; margin:0; }

/* --- NOVO: seta vermelha antes de cada link ----------------------- */
.footer-list li{
  position:relative;
  padding-left:28px;
  margin-bottom:0.6rem;
}
.footer-list li::before{
  content:"➔";
  position:absolute;
  left:0;
  top:0;
  color:#c62828;          /* mesmo vermelho dos ícones sociais */
  font-weight:700;
}

.footer-list a{
  color:#1a1a1a;
  text-decoration:none;
  transition:color .2s;
}
.footer-list a:hover{ color:#c62828; }
.footer-contact a{ color:#1a1a1a; text-decoration:none; }

.social-icons{
  display:flex;
  gap:0.75rem;
  margin-top:1rem;
}
.social-icons a{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#c62828;
  color:#fff;
  border-radius:50%;
  font-size:1.1rem;
  transition:transform .25s,opacity .25s;
}
.social-icons a:hover{
  transform:translateY(-3px);
  opacity:.85;
}

/* Barra inferior --------------------------------------------------- */
.footer-bottom{
  background:#242226;
  color:#ffffff;
  text-align:center;
  font-size:.95rem;
  font-weight:500;
  padding:1rem 0;
}
.footer-bottom span{
  display:block;
  margin-top:.35rem;
  font-size:.85rem;
  opacity:.8;
}

/* ===================================================================
   15. WhatsApp Flutuante
   =================================================================== */
.whatsapp-float{
  position:fixed;
  bottom:90px;              /* distância do rodapé da janela */
  right:20px;               /* distância da lateral direita  */
  width:60px;
  height:60px;
  background:#25D366 url('../img/whatsapp.svg') no-repeat center/24px;
  border-radius:50%;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .25s;
}
.whatsapp-float:hover{
  transform:translateY(-4px) scale(1.07);
}

/* ===================================================================
   (Fim do arquivo)
   =================================================================== */