:root {
    /* Color Palette */
    --primary: #002244;
    --primary-light: #003366;
    --secondary: #FFB400;
    --secondary-hover: #E0A300;
    --accent: #25D366;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Premium Palette Extensions */
    --glass-v2-bg: rgba(255, 255, 255, 0.4);
    --glass-v2-border: rgba(255, 255, 255, 0.6);
    --secondary-glow: rgba(255, 180, 0, 0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background-color: var(--gray-50);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.heading {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Navbar Styles */
.navbar {
    width: 100%;
    padding: 15px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.navbar .logo img {
    height: 50px;
    width: auto;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #FF9F00 100%);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 180, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(255, 180, 0, 0.4), 0 0 15px var(--secondary-glow);
    transform: translateY(-3px) scale(1.02);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-whatsapp {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #1eb954;
    transform: scale(1.05);
}

/* Hero Button Container */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.hero-btns .btn {
    min-width: 220px;
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Animations */
[data-reveal] {
    opacity: 1 !important;
    /* EMERGENCY FIX: FORCE VISIBLE */
    transform: none !important;
    /* transform: translateY(30px); removed */
    /* transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); removed */
}

/* Ensure nothing is hidden by default */
.section,
.container,
.hero-content,
.intro-text,
.methodology-box {
    opacity: 1 !important;
    visibility: visible !important;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

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

.faq-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.4s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gray-600);
}

.faq-answer p {
    padding-bottom: 25px;
    line-height: 1.7;
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.faq-item.active .faq-question {
    color: var(--secondary);
}

.faq-item.active i {
    transform: rotate(180deg);
}

.faq-item i {
    transition: transform 0.3s ease;
}

/* Floating WhatsApp Button (Mobile Only Request) */
.whatsapp-float {
    display: none;
    /* Hidden on desktop by default as per request behavior, or adjusted */
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1eb954;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 0;
    /* Centering fix */
}

/* Show only on mobile/tablet */
@media (max-width: 992px) {
    .whatsapp-float {
        display: flex;
        animation: whatsappPulse 2s infinite;
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Google Review Card Style */
.google-review-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    text-align: left;
    height: 100%;
    position: relative;
}

.google-review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.gr-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
}

.gr-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.gr-info h4 {
    font-size: 0.95rem;
    color: #202124;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
    /* Google font mimic */
}

.gr-date {
    font-size: 0.8rem;
    color: #757575;
    margin-top: 2px;
    display: block;
}

.gr-google-icon {
    margin-left: auto;
    width: 24px;
    height: 24px;
}

.gr-stars {
    color: #fbbc04;
    /* Google Star Yellow */
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.gr-text {
    font-size: 0.95rem;
    color: #4d4d4d;
    line-height: 1.5;
    margin: 0;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* WhatsApp Tooltip (Mobile - Smart Notification) */
.whatsapp-tooltip {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 95px;
    right: 20px;
    left: 20px;
    /* Full width minus margins on small screens if needed, or max-width */
    background: #fff;
    color: #333;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    font-family: var(--font-body);
    text-decoration: none;
    border-left: 5px solid #25D366;
    /* Green accent */
    display: flex;
    align-items: center;
    max-width: 350px;
    margin-left: auto;
    /* Float right behavior */

    /* Animation: Delay 3s */
    opacity: 0;
    transform: translateY(20px);
    animation: tooltipSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 3s forwards;
    cursor: pointer;
}

.wt-icon {
    font-size: 32px;
    color: #25D366;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.wt-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wt-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
    line-height: 1.2;
}

.wt-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

.wt-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    color: #999;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
}

.whatsapp-tooltip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.whatsapp-tooltip::after {
    display: none;
    /* Remove speech bubble arrow */
}

@keyframes tooltipSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .whatsapp-tooltip {
        display: flex;
        /* Flex required for layout */
    }
}

@media (min-width: 993px) {
    .whatsapp-tooltip {
        display: none !important;
    }
}

/* =========================================
   BLOG POST STYLES
   ========================================= */

.blog-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.blog-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.blog-meta {
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--secondary);
}

.blog-container {
    max-width: 1000px;
    margin: -60px auto 100px;
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 300px;
    /* Content + Sidebar */
    gap: 40px;
    padding: 0 20px;
}

.blog-article {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.blog-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.blog-text h2 {
    margin: 40px 0 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.blog-text p {
    margin-bottom: 20px;
}

.blog-quote {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin: 30px 0;
    background: var(--gray-50);
    padding: 30px;
    border-radius: 0 8px 8px 0;
}

.blog-cta-box {
    background: var(--primary);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 34, 68, 0.3);
}

.blog-cta-box h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.blog-cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.author-box {
    display: flex;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Responsividade Blog */
@media (max-width: 850px) {
    .blog-container {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding-top: 40px;
    }

    .blog-hero {
        height: 50vh;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-article {
        padding: 30px 20px;
    }

    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
}