:root {
    --primary: #7D2F26;
    --primary-light: #9a4038;
    --primary-dark: #5a2118;
    --accent: #D4AF37;
    --accent-dark: #B8941F;
    --accent-light: #E8C968;
    --text-dark: #2C1810;
    --text-light: #6B5B50;
    --bg-light: #FBF9F6;
    --bg-white: #FFFFFF;
    --border: #E8DED3;
    --success: #10B981;
    --shadow-sm: 0 1px 3px rgba(125, 47, 38, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(125, 47, 38, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(125, 47, 38, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(125, 47, 38, 0.25);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }

/* Navbar Premium */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 222, 211, 0.8);
    padding: 1.25rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(125, 47, 38, 0.08);
}

.navbar-brand-custom {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    display: flex;
    
    gap: 0.5rem;
}

.nav-link-custom {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9375rem;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link-custom:hover::after {
    width: 60%;
}

/* Buttons Premium */
.btn-premium {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(125, 47, 38, 0.3);
}

.btn-primary-premium:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(125, 47, 38, 0.4);
    color: var(--bg-white);
}

.btn-accent-premium {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

.btn-accent-premium:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    color: var(--primary-dark);
}

.btn-outline-premium {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-premium:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
    transform: translateY(-2px);
    color: var(--bg-white);
}

/* Hero Ultra Premium */
.hero-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, rgba(125, 47, 38, 0.85) 0%, rgba(93, 35, 29, 0.90) 50%, rgba(125, 47, 38, 0.85) 100%),
        url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 8rem;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(232, 201, 104, 0.08) 0%, transparent 60%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: 1;
}

.hero-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridFlow 20s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes gridFlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    background: rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    filter: blur(2px);
    animation: particleFloat 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 70%;
    left: 60%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 17s;
}

.particle:nth-child(6) {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 20%;
    animation-delay: 5s;
    animation-duration: 19s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translate(100px, -100px) scale(1.5);
        opacity: 0.8;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translate(200px, -200px) scale(1);
        opacity: 0;
    }
}

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

.hero-premium > .container {
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
}

.hero-title-highlight {
    color: var(--accent-light);
    display: block;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 650px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-value-props {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.0625rem;
    font-weight: 500;
}

.value-prop i {
    color: var(--accent-light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-icon {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    animation: scrollBounce 2s ease-in-out infinite;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Services Premium */
.services-premium {
    padding: 8rem 0;
    background: var(--bg-light);
    position: relative;
}

.section-header-premium {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title-premium {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.8;
}

.service-card-premium {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.service-card-premium:hover::before {
    transform: scaleX(1);
}

.service-icon-premium {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-icon-premium::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-premium:hover .service-icon-premium::after {
    opacity: 0.2;
}

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

.service-title-premium {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description-premium {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* Features Premium */
.features-premium {
    padding: 8rem 0;
    background: var(--bg-white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 991px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Testimonials Premium */
.testimonials-premium {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.testimonial-card-premium {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card-premium::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card-premium:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.stars-premium {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #D4AF37;
}

.testimonial-text-premium {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author-premium {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-premium {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.0625rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* Articles Premium */
.articles-premium {
    padding: 8rem 0;
    background: var(--bg-light);
}

.article-card-premium {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.article-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card-premium:hover .article-image img {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.article-meta i {
    font-size: 1rem;
    color: var(--accent);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.article-reading-time {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.article-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.article-link i {
    transition: transform 0.3s ease;
}

.article-link:hover i {
    transform: translateX(4px);
}

/* CTA Premium */
.cta-premium {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Footer Premium */
.footer-premium {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 6rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--accent);
    font-size: 1.125rem;
}

.social-links-premium {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    color: var(--bg-white);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-premium {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }
    
    .services-premium,
    .features-premium,
    .testimonials-premium,
    .articles-premium,
    .cta-premium {
        padding: 5rem 0;
    }
    
    .section-header-premium {
        margin-bottom: 3rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
    
    .service-card-premium,
    .testimonial-card-premium {
        padding: 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-title {
        font-size: 1.25rem;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.75rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

        /* Estilos Específicos para o Hero com Vídeo */
        .hero-video-wrapper {
            position: relative;
            width: 100%;
            height: 100vh;
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            color: var(--bg-white);
        }

        /* O Vídeo de Fundo */
        .video-background {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            z-index: 0;
            object-fit: cover;
        }

        /* Overlay para escurecer o vídeo e destacar o texto */
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            /* Degradê elegante usando as cores da marca com transparência */
            background: linear-gradient(
                135deg, 
                rgba(44, 24, 16, 0.85) 0%,   /* --text-dark com opacidade */
                rgba(125, 47, 38, 0.75) 100% /* --primary com opacidade */
            );
        }

        /* Padrão de Grid sutil sobre o vídeo (opcional, dá textura) */
        .video-texture {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            background-image: 
                linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 3; /* Acima do vídeo e overlays */
        }

        /* Ajustes finos no texto para vídeo */
        .hero-title-video {
            text-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }
        
        .hero-subtitle-video {
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            font-size: 1.25rem;
            opacity: 0.95;
            max-width: 700px;
        }

        /* Scroll Indicator específico */
        .scroll-down-btn {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            color: var(--bg-white);
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            opacity: 0.8;
            transition: opacity 0.3s;
        }
        
        .scroll-down-btn:hover {
            opacity: 1;
            color: var(--accent);
        }

        .mouse-icon {
            width: 30px;
            height: 50px;
            border: 2px solid currentColor;
            border-radius: 20px;
            position: relative;
        }

        .mouse-wheel {
            width: 4px;
            height: 8px;
            background: currentColor;
            border-radius: 2px;
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            animation: scrollWheel 2s infinite;
        }

        @keyframes scrollWheel {
            0% { top: 8px; opacity: 1; }
            100% { top: 25px; opacity: 0; }
        }

        /* Navbar transparente inicial */
        .navbar-transparent {
            background: transparent !important;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: none;
        }
        
        .navbar-transparent .nav-link-custom {
            color: rgba(255,255,255,0.9);
        }
        
        .navbar-transparent .nav-link-custom:hover,
        .navbar-transparent .nav-link-custom.active {
            color: var(--accent);
        }

        /* Quando rolar, volta ao padrão do style2.css via JS */
        .navbar-scrolled {
            background: rgba(255, 255, 255, 0.95) !important;
            border-bottom: 1px solid rgba(232, 222, 211, 0.8);
            backdrop-filter: blur(20px);
        }
        
        /* Ajuste responsivo para vídeo mobile */
        @media (max-width: 768px) {
            .video-background {
                /* Em mobile, as vezes é melhor uma imagem estática ou garantir que o vídeo funcione */
                /* object-position: center; */
            }
            .hero-title {
                font-size: 2.5rem;
            }
        }


        /* 
=================================================================
ESTILOS ADICIONAIS PARA PÁGINAS DO BLOG
Adicione este código ao final do seu main.css existente
=================================================================
*/

/* Page Header para Blog e Páginas Internas */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 51, 102, 0.8) 100%);
    z-index: 2;
}

.page-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.custom-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.custom-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.custom-breadcrumb a:hover {
    opacity: 0.7;
}

.custom-breadcrumb span {
    margin: 0 0.5rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Botões de Filtro */
.btn-outline-dark-premium {
    border: 2px solid var(--border, #e0e0e0);
    color: var(--text, #333);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-dark-premium:hover {
    background: var(--primary, #0066cc);
    color: white;
    border-color: var(--primary, #0066cc);
}

/* Ajuste do tempo de leitura no card */
.article-reading-time {
    margin-left: 1rem;
    color: var(--text-light, #6c757d);
}

/* Paginação customizada */
.pagination .page-item.disabled .page-link {
    color: var(--text-light, #999);
    border-color: var(--border, #e0e0e0);
    background-color: transparent;
}

/* Animação de fade-in para cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card-premium {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.article-card-premium:nth-child(1) { animation-delay: 0.1s; }
.article-card-premium:nth-child(2) { animation-delay: 0.2s; }
.article-card-premium:nth-child(3) { animation-delay: 0.3s; }
.article-card-premium:nth-child(4) { animation-delay: 0.4s; }
.article-card-premium:nth-child(5) { animation-delay: 0.5s; }
.article-card-premium:nth-child(6) { animation-delay: 0.6s; }

/* Responsivo */
@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

/* Estado vazio (sem posts) */
.text-center.py-5 i {
    opacity: 0.3;
}

/* ============================================
   SKIP TO CONTENT - ACESSIBILIDADE
   ============================================ */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100000;
}

.skip-to-content:focus {
    top: 0;
}

/* ============================================
   NAVBAR LAYOUT - DESKTOP CENTRALIZADO
   ============================================ */
@media (min-width: 992px) {
    .navbar-custom .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
        align-items: center;
    }
    
    .navbar-center-menu {
        justify-content: center;
    }
    
    .navbar-cta {
        justify-self: end;
    }
}

/* ============================================
   HAMBURGER MENU PREMIUM
   ============================================ */
.navbar-toggler-premium {
    border: none;
    background: transparent;
    padding: 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler-premium:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
    outline: none;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Animação quando aberto */
.navbar-toggler-premium[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler-premium[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler-premium[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   MENU MOBILE COM FUNDO SÓLIDO
   ============================================ */
@media (max-width: 991.98px) {
    .navbar-mobile-menu {
        position: fixed;
        top: 85px; /* Altura do navbar */
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(125, 47, 38, 0.1);
        max-height: calc(100vh - 85px);
        overflow-y: auto;
    }
    
    .mobile-menu-container {
        padding: 2rem 1.5rem;
        background: var(--bg-white);
    }
    
    .navbar-mobile-menu .navbar-nav {
        gap: 0;
    }
    
    .navbar-mobile-menu .nav-link {
        padding: 1rem 0 !important;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark);
        border-bottom: 1px solid var(--border);
        transition: all 0.3s ease;
    }
    
    .navbar-mobile-menu .nav-link:hover,
    .navbar-mobile-menu .nav-link:focus {
        color: var(--primary);
        padding-left: 0.5rem !important;
    }
    
    .navbar-mobile-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    /* CTA Mobile */
    .navbar-cta-mobile {
        padding-top: 1.5rem;
        border-top: 2px solid var(--border);
        margin-top: 1.5rem;
    }
}

/* ============================================
   LOGO OTIMIZAÇÃO
   ============================================ */
.navbar-brand img {
    max-height: 70px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled .navbar-brand img {
    max-height: 60px;
}

/* ============================================
   NAVBAR SCROLLED STATE
   ============================================ */
.navbar-custom {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-color, box-shadow, padding;
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(125, 47, 38, 0.1);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.navbar-custom.navbar-transparent {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   PERFORMANCE - REDUZIR REPAINTS
   ============================================ */
.navbar-nav {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ============================================
   MOBILE SCROLL LOCK
   ============================================ */
body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 992px) {
    body.mobile-menu-open {
        overflow: auto;
    }
}
