/* =========================================
   ESTILOS GERAIS E COMPONENTES AVANCIA
========================================= */

* {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #ffffff;
}

.primary-blue { color: #3A61A7; }
.bg-primary-blue { background-color: #3A61A7; }

/* Botões e Interações */
.cta-green { background-color: #3A61A7; }
.cta-green:hover { background-color: #2D4A7E; }

.cta-button {
    background-color: #3A61A7;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #2D4A7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 97, 167, 0.3);
}

/* Sections e Layout */
.hero-section {
    background: linear-gradient(135deg, #F5F8FC 0%, #E8F2F9 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Cards e Ícones */
.card-shadow { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }
.card-hover { transition: all 0.3s ease; }
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}
.icon-circle-blue { background-color: #E8F2F9; color: #3A61A7; }
.icon-circle-green { background-color: #E8F2F9; color: #6BBEEF; }

.benefit-icon { font-size: 48px; margin-bottom: 20px; }

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3A61A7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Accordion (FAQ) */
.accordion-container {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}
.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-button {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background-color: #ffffff;
    border: none;
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.5;
}
.accordion-button:hover {
    background-color: #f8fafc;
}
.accordion-button.active {
    color: #1e293b;
}
.accordion-icon {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    min-width: 16px;
    text-align: center;
    user-select: none;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    background-color: #ffffff;
}
.accordion-content.active {
    max-height: 500px;
    padding: 0 24px 20px 52px;
}


/* Avaliações (Google Reviews) */
.star-rating { color: #FFD700; font-size: 16px; letter-spacing: 2px; }
.review-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
}
.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3A61A7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

/* HEADER GLOBAL */
.main-header {
    transition: all 0.3s ease;
}
.main-header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries (Responsividade) */
@media (max-width: 768px) {
    .section-title { font-size: 32px; }
    .hero-section { min-height: 400px; }
}

/* BANNER DE CONSENTIMENTO DE COOKIES (LGPD) */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(58, 97, 167, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cookie-consent-banner {
        left: auto;
        right: 40px;
        bottom: 40px;
        width: 480px;
    }
}

.cookie-consent-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-btn-accept {
    background-color: #3A61A7;
    color: white;
    transition: all 0.2s ease;
}

.cookie-btn-accept:hover {
    background-color: #2D4A7E;
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background-color: #f1f5f9;
    color: #475569;
    transition: all 0.2s ease;
}

.cookie-btn-decline:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* Link para gerenciar cookies no footer */
.manage-cookies-link {
    cursor: pointer;
}
.manage-cookies-link:hover {
    text-decoration: underline;
}

/* REDESENHO DA HOME COM BASE NOS PRINTS */

.hero-section-redesign {
    background-image: url('../img/Perfil-Gui.jpg');
    background-size: cover;
    background-position: center right;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-section-redesign {
        background-position: 75% center;
        min-height: 550px;
    }
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-overlay-dark {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 100%);
    }
}

.hero-content-container {
    position: relative;
    z-index: 2;
}

/* Botão Verde de WhatsApp no Hero */
.cta-button-green {
    background-color: #25D366; /* Verde WhatsApp */
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-button-green:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Badges nos cards de procedimentos */
.badge-procedure {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #6BBEEF;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* =========================================
   SLIDER ANTES/DEPOIS (COMPARAÇÃO 50/50)
========================================= */
.before-after-slider {
    position: relative;
    user-select: none;
    overflow: hidden;
}

.before-after-slider .before-image {
    transition: clip-path 0.05s ease-out;
}

.before-after-slider .slider-line {
    transition: left 0.05s ease-out;
}

.before-after-slider .slider-button {
    transition: left 0.05s ease-out, transform 0.2s ease;
}

.before-after-slider:hover .slider-button {
    transform: scale(1.1);
}

.before-after-slider .slider-input {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    outline: none;
}

.before-after-slider .slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 300px;
    cursor: ew-resize;
    background: transparent;
}

.before-after-slider .slider-input::-moz-range-thumb {
    width: 40px;
    height: 300px;
    cursor: ew-resize;
    background: transparent;
    border: none;
}





