/* Cores e Variáveis */
:root {
  --primary: #00995d; /* Verde Unimed */
  --primary-light: #e6f5ed;
  --secondary: #2c4964; /* Azul Escuro Unimed */
  --white: #ffffff;
  --gray: #f1f7fd;
}

body { font-family: "Open Sans", sans-serif; color: #444444; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: #007a4d; }
h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif; }

/* --- CORREÇÃO DE ESPAÇAMENTO --- */
section {
  padding: 80px 0;
  overflow: hidden;
}

/* Top Bar */
#topbar { background: #fff; height: 40px; font-size: 14px; transition: all 0.5s; z-index: 996; border-bottom: 1px solid #eee; }
#topbar .contact-info i { font-style: normal; color: var(--primary); }
#topbar .contact-info i a, #topbar .contact-info i span { padding-left: 5px; color: #444; }

/* Header */
#header { background: #fff; transition: all 0.5s; z-index: 997; padding: 15px 0; top: 40px; box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1); }
.logo h1 { font-size: 26px; margin: 0; padding: 0; line-height: 1; font-weight: 700; letter-spacing: 1px; }

/* Navbar */
.navbar ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
.navbar li { position: relative; }
.navbar a, .navbar a:focus { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 10px 30px; font-size: 14px; color: #2c4964; white-space: nowrap; transition: 0.3s; }
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a { color: var(--primary); }
.appointment-btn { margin-left: 25px; background: var(--primary); color: #fff; border-radius: 50px; padding: 8px 25px; white-space: nowrap; transition: 0.3s; font-size: 14px; display: inline-block; }
.appointment-btn:hover { background: #007a4d; color: #fff; }
.mobile-nav-toggle { color: #2c4964; font-size: 28px; cursor: pointer; display: none; line-height: 0; transition: 0.5s; }

/* Hero Section (BANNER) */
#hero {
    width: 100%;
    height: 90vh;
    /* Caminho relativo: sai da pasta css (..) entra na img */
    background: url("../img/banner.jpg") top center;
    background-size: cover;
    position: relative;
    margin-top: 80px;
    padding: 0;
}

/* Overlay do Hero - Levemente branco para garantir leitura do texto escuro */
#hero:before {
    content: "";
    background: rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero .container { position: relative; }

/* Textos do Banner - Azul Escuro conforme referência */
#hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #2c4964; /* Azul Escuro */
    font-family: "Poppins", sans-serif;
}

#hero h2 {
    color: #2c4964; /* Azul Escuro */
    margin: 10px 0 0 0;
    font-size: 24px;
}

/* Botão do Banner - Verde */
#hero .btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 35px;
    border-radius: 50px;
    transition: 0.5s;
    margin-top: 30px;
    border: 2px solid var(--primary);
    color: #fff;
    background: var(--primary);
}

#hero .btn-get-started:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    background-color: #fff;
}

/* Why Us */
.why-us .content { padding: 30px; background: var(--primary); border-radius: 4px; color: #fff; }
.why-us .content h3 { font-weight: 700; font-size: 34px; margin-bottom: 30px; }
.why-us .content .more-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 30px 8px 30px;
    color: #fff;
    border-radius: 50px;
    transition: all ease-in-out 0.4s;
    margin-top: 20px; /* Adicionado para espaçamento */
}
.why-us .content .more-btn:hover {
    background: rgba(255, 255, 255, 0.3); /* Levemente mais escuro no hover */
}
.why-us .icon-boxes .icon-box { text-align: center; border-radius: 10px; background: #fff; box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); padding: 40px 30px; width: 100%; transition: 0.3s; }
.why-us .icon-boxes .icon-box i { font-size: 40px; color: var(--primary); margin-bottom: 30px; }
.why-us .icon-boxes .icon-box h4 { font-size: 20px; font-weight: 700; margin: 0 0 30px 0; color: #2c4964; }
.icon-box-link { display: block; height: 100%; color: inherit; text-decoration: none; } /* Adicionado text-decoration: none; */
.icon-box-link:hover { text-decoration: none; } /* Garante que o hover não sublinhe */


/* About */
.about { background: #fff; }
.about .icon-boxes h3 { font-size: 28px; font-weight: 700; color: #2c4964; margin-bottom: 15px; }
.about .icon-box { margin-top: 40px; }
.about .icon-box .icon { float: left; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 2px solid var(--primary-light); border-radius: 50px; transition: 0.5s; }
.about .icon-box .icon i { color: var(--primary); font-size: 32px; }
.about .icon-box:hover .icon { background: var(--primary); border-color: var(--primary); }
.about .icon-box:hover .icon i { color: #fff; }
.about .icon-box .title { margin-left: 85px; font-weight: 700; margin-bottom: 10px; font-size: 18px; }
.about .icon-box .description { margin-left: 85px; line-height: 24px; font-size: 14px; }

/* Counts */
.counts { background: var(--gray); }
.counts .count-box { padding: 30px 30px 25px 30px; width: 100%; position: relative; text-align: center; background: #fff; border-radius: 4px; }
.counts .count-box i { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); font-size: 20px; background: var(--primary); padding: 12px; color: #fff; border-radius: 50px; }
.counts .count-box span { font-size: 36px; display: block; font-weight: 600; color: #082744; }

/* Services */
.services .section-title { text-align: center; padding-bottom: 30px; }
.services .section-title h2 { font-size: 32px; font-weight: bold; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 20px; position: relative; color: #2c4964; }
.services .icon-box {
    text-align: center;
    border: 1px solid #d5e1ed;
    padding: 80px 20px;
    transition: all ease-in-out 0.3s;
    background: #fff;
    display: flex; /* Adicionado para flexbox */
    flex-direction: column; /* Organiza itens em coluna */
    justify-content: space-between; /* Empurra o botão para baixo */
    align-items: center; /* Centraliza o conteúdo */
}
.services .icon-box .icon { margin: 0 auto; width: 64px; height: 64px; background: var(--primary); border-radius: 5px; transition: all .3s ease-out 0s; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transform-style: preserve-3d; }
.services .icon-box .icon i { color: #fff; font-size: 28px; }
.services .icon-box:hover { background: var(--primary); border-color: var(--primary); }
.services .icon-box:hover .icon { background: #fff; }
.services .icon-box:hover .icon i { color: var(--primary); }
.services .icon-box:hover h4 a, .services .icon-box:hover p { color: #fff; }
.services .icon-box h4 { font-weight: 700; margin-bottom: 15px; font-size: 24px; }

/* Estilo para o botão do WhatsApp */
.botao-whatsapp {
    display: inline-block;
    background-color: #25D366; /* Cor verde do WhatsApp */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px; /* Espaçamento acima do botão */
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Evita quebra de linha no texto do botão */
}

.botao-whatsapp:hover {
    background-color: #1DA851; /* Cor mais escura ao passar o mouse */
    color: white; /* Garante que a cor do texto permaneça branca */
}


/* Footer */
#footer { background: #f1f7fd; padding: 0 0 30px 0; color: #444444; font-size: 14px; }
#footer .copyright { text-align: center; padding-top: 30px; }
#footer .credits { padding-top: 10px; text-align: center; font-size: 13px; color: #444444; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 1px 1px 2px #888; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.whatsapp-float:hover { background-color: #128c7e; color: #fff; }

/* Mobile */
@media (max-width: 991px) {
  #topbar { display: none; }
  #header { top: 0; }
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; position: absolute; top: 55px; right: 15px; bottom: 15px; left: 15px; padding: 10px 0; background-color: #fff; overflow-y: auto; transition: 0.3s; border-radius: 10px; box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); flex-direction: column; align-items: flex-start; }
  .navbar ul.active { display: flex; }
  .navbar li { width: 100%; }
  .navbar a { padding: 12px 20px; }
}
