/**
 * Dr. Luiz Gueiros - Main Stylesheet
 *
 * @package Dr_Luiz_Gueiros
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --cream: #F7F6F2;
    --navy: #003D4C;
    --gold: #C8A254;
    --sage: #7A918D;
    --dark: #2E2E2E;
    --light-gray: #D9D9D9;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', sans-serif;
}

/* Increased font sizes for condensed font */
body {
    font-size: 18px;
}

p, span, li, a, label, input, textarea, select {
    font-size: 1.1em;
}

.btn-primary, button, .nav-link {
    font-size: 1.1em;
}

.overflow-y-visible {
    overflow-y: visible !important;
}

.logo-container a {
    display: block;
    position: relative;
    z-index: 1002;
}

.logo-container .logo-image {
    position: relative;
    z-index: 1003;
}

/* ==========================================================================
   Gradients & Effects
   ========================================================================== */
.hero-gradient {
    background: linear-gradient(135deg, var(--navy) 0%, #005266 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, #d4b166 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Card Hover Effects
   ========================================================================== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 61, 76, 0.15);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #d4b166 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 162, 84, 0.3);
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title-hero {
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title-left {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title-left::after, .section-title-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title-hero::after {
    bottom: -8px;
}

/* ==========================================================================
   Parallax Section
   ========================================================================== */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statPulse {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-stat {
    animation: statPulse 0.8s ease-out forwards;
    opacity: 0;
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 280px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    font-size: 18px;
    font-weight: 500;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 61, 76, 0.6), rgba(200, 162, 84, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gallery-item .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 32px;
    color: #003D4C;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Material Symbols Outlined';
    font-weight: 200;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 246, 242, 0.9));
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 61, 76, 0.06);
    border: 1px solid rgba(200, 162, 84, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 61, 76, 0.12);
    transform: translateY(-2px);
    border-color: rgba(200, 162, 84, 0.3);
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 21px;
    color: var(--navy);
    transition: color 0.3s ease;
    line-height: 1.6;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--dark);
    padding-top: 0;
    font-size: 19px;
    line-height: 1.9;
}

.faq-item.active {
    background: linear-gradient(135deg, #FFFFFF, #F7F6F2);
    box-shadow: 0 8px 35px rgba(200, 162, 84, 0.15);
    border-color: rgba(200, 162, 84, 0.4);
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-top: 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--navy);
}

.faq-icon {
    transition: all 0.3s ease;
    color: var(--gold);
    font-size: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}

/* ==========================================================================
   Testimonial Cards
   ========================================================================== */
.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 61, 76, 0.08);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 80px;
    color: var(--gold);
    opacity: 0.2;
    font-family: 'Quicksand', sans-serif;
    line-height: 1;
}

/* ==========================================================================
   Form Inputs
   ========================================================================== */
.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    color: var(--dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 162, 84, 0.1);
}

/* ==========================================================================
   Advantage Icons
   ========================================================================== */
.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold), #d4b166);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   Footer Social Icons
   ========================================================================== */
footer a.group:hover .w-12 {
    background: rgba(255, 255, 255, 1.0) !important;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    background: rgba(247, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    max-width: 100%;
    overflow-x: clip;
}

.logo-container {
    position: absolute;
    top: 0;
    left: 6rem;
    z-index: 1001;
}

.logo-container a {
    display: block;
}

.logo-image {
    width: 160px;
    height: auto;
    object-fit: contain;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.nav-link {
    color: var(--navy);
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--gold);
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #003D4C 0%, #005266 100%);
    backdrop-filter: blur(30px);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
    z-index: 100000;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
}

#mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}

html.menu-open,
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
}

#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 99999;
}

#mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

#mobile-menu .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

#mobile-menu .menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

#mobile-menu .menu-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

#mobile-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
    border-radius: 16px;
    font-weight: 600;
    font-size: 19px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: white;
}

#mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), #d4b166);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

#mobile-menu a:hover::before,
#mobile-menu a:active::before {
    transform: scaleY(1);
}

#mobile-menu a:hover,
#mobile-menu a:active {
    background: rgba(200, 162, 84, 0.15);
    transform: translateX(8px);
    padding-left: 2rem;
}

.mobile-menu-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu-contact {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-contact:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.mobile-menu-contact i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 14px;
}

/* ==========================================================================
   Mobile Menu Button (Hamburger)
   ========================================================================== */
.mobile-menu-btn {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.mobile-menu-btn.open .hamburger {
    background: transparent;
}

.mobile-menu-btn.open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--gold);
}

.mobile-menu-btn.open .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    background: var(--gold);
}

/* Estilos para o conteúdo da política de privacidade */
.privacy-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.privacy-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--dark);
    opacity: 0.9;
}

.privacy-content ul,
.privacy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.9;
}

.privacy-content ul li {
    list-style-type: disc;
}

.privacy-content ol li {
    list-style-type: decimal;
}

.privacy-content a {
    color: var(--navy);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: var(--gold);
}

.privacy-content strong,
.privacy-content b {
    font-weight: 600;
    color: var(--navy);
}

.privacy-content blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--dark);
    opacity: 0.85;
}

.privacy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.privacy-content table th,
.privacy-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 61, 76, 0.2);
    text-align: left;
}

.privacy-content table th {
    background: var(--navy);
    color: white;
    font-weight: 600;
}

.privacy-content table tr:nth-child(even) {
    background: rgba(0, 61, 76, 0.05);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 768px) {
    .logo-container {
        left: 1.5rem;
    }

    .logo-image {
        width: 110px;
        height: auto;
        border-radius: 0 0 12px 12px;
    }

    .gallery-item {
        height: 220px;
    }

    #sobre {
        padding-bottom: 30px !important;
        padding-top: 0 !important;
    }

    #servicos, #depoimentos, #galeria, #vantagens {
        padding-bottom: 60px !important; 
        padding-top: 60px !important;   
    }

    #vantagens {
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 97%) !important;
        padding-bottom: 175px !important;
    }

    #vantagens + #faq, #cta-final {
        padding-bottom: 60px !important; 
        padding-top: 0 !important;
    }

    #contato {
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 97%) !important;
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }

    #contato .p-email {
        font-size: 19px !important;
    }
}
