/* ==================================
   VARIÁVEIS E RESET GLOBAL
================================== */
:root {
    /* Cores Principais em HEX */
    --cor-principal: #12223d;
    --cor-secundaria: #be904a;
    
    /* Cores Principais em RGB */
    --cor-principal-rgb: 18, 34, 61;
    --cor-secundaria-rgb: 190, 144, 74;
    
    /* Dourado (Mescla) e Backgrounds */
    --cor-dourado-gradiente: linear-gradient(135deg, #be904a 0%, #e6c07b 100%);
    --bg-overlay: linear-gradient(135deg, rgba(18, 34, 61, 0.92) 0%, rgba(190, 144, 74, 0.7) 100%);
    --cor-fundo-claro: #f8f9fa;
    --cor-texto: #333333;
    
    /* Fontes */
    --fonte-principal: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem suave nativa */
}
::-webkit-scrollbar {
  width: 10px; 
}

/* Fundo da barra (trilho) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Fundo da barra (trilho) */
::-webkit-scrollbar-track {
  background: var(--cor-secundaria); 
}

::-webkit-scrollbar-thumb {
  background: var(--cor-principal) ;
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(); 
}


body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.bg-light { background-color: var(--cor-fundo-claro); }
.text-gold { color: var(--cor-secundaria); }
.section-padding { padding: 5rem 0; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

/* Títulos */
h1, h2, h3, h4, h5 {
    color: var(--cor-principal);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* Linha sofisticada que remete a curvas embaixo de títulos */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--cor-dourado-gradiente);
    border-radius: 5px;
}
.text-left .section-title::after {
    left: 0;
    transform: none;
}


/* ==================================
   BOTÕES E HOVERS SOFISTICADOS
================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 7px 7px 0px 7px; /* Bordas arredondadas modernas */
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--cor-dourado-gradiente);
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--cor-secundaria-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--cor-secundaria-rgb), 0.5);
    background: var(--cor-principal);
    color: var(--cor-secundaria);
}

.btn-outline {
    background: transparent;
    color: var(--cor-principal);
    border: 2px solid var(--cor-principal);
}

.btn-outline:hover {
    background: var(--cor-principal);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}


/* ==================================
   CABEÇALHO E MENU
================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    padding: 20px 0;
    background: transparent;
}

header.scrolled {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 50px;
}

.menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #fff; /* Fica branco no banner escuro */
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

header.scrolled .menu a {
    color: var(--cor-principal);
}

/* Efeito Hover do Menu: Barrinha desliza */
.menu a.nav-link:not(.btn-menu)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cor-secundaria);
    transition: width 0.3s ease-in-out;
}

.menu a.nav-link:not(.btn-menu):hover::after {
    width: 100%;
}

.btn-menu {
    background: var(--cor-dourado-gradiente);
    padding: 30px 24px;
    border-radius: 5px;
    color: #fff !important;
}

.btn-menu:hover {
    box-shadow: 0 5px 15px rgba(var(--cor-secundaria-rgb), 0.4);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--cor-secundaria);
    cursor: pointer;
}


/* ==================================
   BANNER PRINCIPAL (HERO)
================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../img/img_02_.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    color: #fff;
}

.hero-text h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text h2 {
    color: var(--cor-secundaria);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-calendarbox {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}

.calendar-art {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(190, 144, 74, 0.3);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-top-right-radius: 60px; /* Brincando com curvas p/ lembrar coração */
    border-bottom-left-radius: 60px;
}

.calendar-icon {
    font-size: 4rem;
    color: var(--cor-secundaria);
    margin-bottom: 20px;
}


/* ==================================
   SOBRE
================================== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(var(--cor-principal-rgb), 0.15);
}

.destaque-crm {
    color: var(--cor-secundaria);
    font-size: 1rem;
    margin: 15px 0;
}

.curriculo-oculto {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
}

.curriculo-oculto.show {
    max-height: 1000px; /* Valor alto para expandir */
    opacity: 1;
    margin-top: 15px;
}


/* ==================================
   SERVIÇOS
================================== */
.servicos-desc {
    max-width: 800px;
    margin: 15px auto 0;
    font-size: 1.1rem;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.servico-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s;
    border-bottom: 4px solid var(--cor-secundaria);
}

.servico-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--cor-dourado-gradiente);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.servico-card .subtitle {
    color: var(--cor-secundaria);
    font-weight: 500;
    margin-bottom: 15px;
}

.lista-servicos {
    list-style: none;
    margin-top: 20px;
}

.lista-servicos li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}


/* ==================================
   ATENDIMENTOS
================================== */
.atendimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.atendimento-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--cor-principal);
}

.atendimento-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.atendimento-item h4 i {
    color: var(--cor-secundaria);
}

.atendimento-item ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.9rem;
}


/* ==================================
   PLANOS
================================== */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.plano-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.plano-card:hover {
    transform: scale(1.02);
}

.plano-card.destaque {
    border: 2px solid var(--cor-secundaria);
    transform: scale(1.05);
}

.plano-card.destaque:hover {
    transform: scale(1.07);
}

.plano-header {
    background: var(--cor-principal);
    color: #fff;
    padding: 40px 20px;
}

.plano-card.destaque .plano-header {
    background: var(--cor-dourado-gradiente);
}

.plano-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.plano-header h4{
    color: #ffffff;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 10px;
}

.preco {
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 15px;
}

.preco span {
    font-size: 1rem;
    font-weight: 400;
}

.plano-body {
    padding: 30px;
}

.plano-body ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plano-body ul li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}


/* ==================================
   DEPOIMENTOS
================================== */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--cor-secundaria);
}

.estrelas {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.texto-dep {
    font-style: italic;
    margin-bottom: 20px;
}


/* ==================================
   FAQ (Accordion)
================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-pergunta {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--cor-principal);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.faq-pergunta::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.4s ease;
    color: var(--cor-secundaria);
}

.faq-pergunta.active {
    color: var(--cor-secundaria);
}

.faq-pergunta.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    background: #fafafa;
}

.faq-resposta p {
    padding: 0 20px 20px;
    margin: 0;
}


/* ==================================
   CONTATO
================================== */
.contato-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contato-box {
    background: #fff;
    padding: 30px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--cor-texto);
    transition: transform 0.3s;
}

.contato-box:hover {
    transform: translateY(-5px);
}

.contato-box i {
    font-size: 2.5rem;
    color: var(--cor-secundaria);
    margin-bottom: 15px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.btn-whatsapp-large:hover {
    background: #1ebc59;
    transform: translateY(-3px);
}

.redes-sociais-contato a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--cor-principal);
    color: #fff;
    line-height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: background 0.3s;
}
.redes-sociais-contato a:hover {
    background: var(--cor-secundaria);
}


/* ==================================
   FOOTER
================================== */
.footer {
    background: var(--cor-principal);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
}

.footer-col h4 {
    color: var(--cor-secundaria);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--cor-secundaria);
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--cor-secundaria);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: var(--cor-secundaria);
    text-decoration: none;
}


/* ==================================
   BOTÃO WHATSAPP FIXO
================================== */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 999;
}

.wpp-text {
    background: #fff;
    color: var(--cor-texto);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.whatsapp-fixed:hover .wpp-text {
    opacity: 1;
    transform: translateY(0);
}

.wpp-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.whatsapp-fixed:hover .wpp-icon {
    transform: scale(1.1);
}


/* ==================================
   ANIMAÇÕES SCROLL REVEAL
================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ==================================
   RESPONSIVIDADE (MOBILE)
================================== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    
    .sobre-grid { grid-template-columns: 1fr;   }
    .section-title h2 {text-align: center;}
    .destaque-crm p{ align-items: center;}
    .section-title::after { left: 50%; transform: translateX(-50%); }
    
    .plano-card.destaque { transform: none; }
    .plano-card.destaque:hover { transform: scale(1.02); }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-out;
    }

    .menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .menu a { color: var(--cor-principal); }
    
    header { background: #fff; }
    .logo img { height: 50px; }
    header .menu-toggle { color: var(--cor-principal); }
    
    .hero-calendarbox { display: none; } /* Ocultar arte lateral no mobile para focar na médica */
}