/* ===== VARIABLES ===== */
:root {
    --primary-color: #C4A676;
    --secondary-color: #293c38;
    --dark-color: #293c38;
    --light-color: #F7FAFC;
    --white: #FFFFFF;
    --gray-100: #F7FAFC;
    --gray-200: #e8f0ec;
    --gray-300: #d1dcd7;
    --gray-400: #a8b5b0;
    --gray-500: #7a9284;
    --gray-600: #293c38;
    --gray-700: #293c38;
    --gray-800: #293c38;
    --gray-900: #293c38;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: 0; /* Garantir que não há padding extra */
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth transitions for better UX */
*,
*::before,
*::after {
    transition: color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), 
                background-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), 
                border-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Disable transitions during page load for better performance */
.loading-screen * {
    transition: none !important;
}

/* Prevent cards from showing before animation */
body:not(.loaded) .contact-card,
body:not(.loaded) .service-card {
    opacity: 0 !important;
    transform: translateY(50px) !important;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

.text-accent {
    color: var(--primary-color);
}

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
    z-index: 1000;
    min-height: 70px;
    margin: 0;
    border-radius: 0;
}

/* Floating navbar effect when scrolled - mantém a mesma cor */
.navbar.scrolled {
    margin: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .container {
    max-width: calc(100% - 2rem);
}

.navbar-brand {
    display: flex;
    align-items: center;
    max-width: 200px;
}

.navbar-brand img {
    transition: all 0.3s ease;
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: var(--gray-300) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

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

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== CUSTOM NAVBAR TOGGLER ===== */
.custom-toggler {
    border: none;
    padding: 4px 8px;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
}

.custom-toggler:focus {
    box-shadow: none;
    outline: none;
}

.custom-toggler .navbar-toggler-icon {
    background: none;
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.toggler-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gray-300);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-origin: center;
}

.custom-toggler:hover .toggler-line {
    background: var(--primary-color);
}

/* Animation when menu is open */
.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 500;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8976A, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--gray-300);
    color: var(--gray-300);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Compensar altura da navbar fixa */
}

/* Removido o ::before que estava clareando a seção */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.floating-cards-carousel {
    position: relative;
    width: 100%;
    max-width: 780px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    width: 780px;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    animation: none;
}

.floating-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 3;
}

.floating-card.next {
    opacity: 0.7;
    transform: translateY(-120px) scale(0.9);
    z-index: 2;
}

.floating-card.prev {
    opacity: 0.7;
    transform: translateY(120px) scale(0.9);
    z-index: 2;
}

.floating-card .icon-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--white);
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.floating-card.active .icon-container {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(196, 166, 118, 0.4);
}

.floating-card .content {
    flex: 1;
}

.floating-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.floating-card p {
    color: var(--gray-200);
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.5;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    margin-top: 2rem;
}

.carousel-indicators {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.carousel-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(196, 166, 118, 0.4);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(196, 166, 118, 0.6);
}

.indicator:hover:not(.active) {
    border-color: var(--primary-color);
    background: rgba(196, 166, 118, 0.3);
    transform: scale(1.2);
}

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

.floating-card.active {
    animation: floatActive 4s ease-in-out infinite;
}

@keyframes floatActive {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-5px) scale(1); 
        opacity: 1;
    }
}

/* Animações específicas para cards next e prev */
.floating-card.next {
    animation: none;
}

.floating-card.prev {
    animation: none;
}

@keyframes floatNext {
    0%, 100% { 
        transform: translateY(-120px) scale(0.9); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-130px) scale(0.9); 
        opacity: 0.7;
    }
}

@keyframes floatPrev {
    0%, 100% { 
        transform: translateY(120px) scale(0.9); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(110px) scale(0.9); 
        opacity: 0.7;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator a {
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== SECTIONS ===== */
.sobre-section {
    background: linear-gradient(135deg, #f0f4f2 0%, #f5f8f6 100%);
}

.cobertura-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
}

.cobertura-section .section-title,
.cobertura-section .section-subtitle,
.cobertura-section .section-text,
.cobertura-section h3,
.cobertura-section p {
    color: var(--white) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cobertura-section .section-title {
    font-weight: 800 !important;
}

.cobertura-section .section-subtitle {
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.cobertura-section .coverage-text h3 {
    color: var(--white) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.cobertura-section .coverage-text p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cobertura-section .section-tag {
    background: var(--primary-color);
    color: var(--white);
}

.servicos-section {
    background: linear-gradient(135deg, #e8f0ec 0%, #f0f4f2 100%);
}

.contato-section {
    background: linear-gradient(135deg, #d1dcd7 0%, #e0e8e3 100%);
}

.section-header {
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== STATS ===== */
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray-700);
    font-weight: 500;
    margin: 0;
}

/* ===== COBERTURA SECTION ===== */
.coverage-content {
    padding: 2rem 0;
}

.coverage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.coverage-item:last-child {
    margin-bottom: 0;
}

.coverage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.coverage-icon.special {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
    box-shadow: 0 0 20px rgba(196, 166, 118, 0.3);
}

.coverage-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.coverage-text h3 {
    color: var(--dark-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.coverage-text p {
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
}

/* Override for dark background in cobertura section */
.cobertura-section .coverage-text h3 {
    color: var(--white) !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.cobertura-section .coverage-text p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.coverage-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.brazil-illustration {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.brazil-svg {
    width: 350px;
    height: 350px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.sc-highlight {
    filter: drop-shadow(0 0 10px rgba(196, 166, 118, 0.6));
}

.map-highlight {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.pulse-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.sc-label {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
}

.state-name {
    background: rgba(196, 166, 118, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.state-subtitle {
    background: rgba(41, 60, 56, 0.95);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coverage-stats {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.stat-circle {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-circle:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-circle.special {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
    color: var(--white);
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.stat-circle.special .stat-number {
    color: var(--white);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.stat-circle.special .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Better contrast for coverage stats in dark section */
.cobertura-section .stat-number {
    color: var(--dark-color);
    font-weight: 800;
}

.cobertura-section .stat-label {
    color: var(--gray-600);
    font-weight: 600;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes pulse-ring {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(2);
        opacity: 0;
    }
}

/* ===== ABOUT IMAGE ===== */
.about-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #D4B896);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

/* ===== CONTACT CARDS ===== */
.contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: transform 0.3s ease;
}

.contact-card.whatsapp::before {
    background: linear-gradient(90deg, var(--primary-color), #D4B896);
}

.contact-card.email::before {
    background: linear-gradient(90deg, var(--primary-color), #D4B896);
}

.contact-card.instagram::before {
    background: linear-gradient(90deg, var(--primary-color), #D4B896);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

.contact-card .contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-card.whatsapp .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
}

.contact-card.email .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
}

.contact-card.instagram .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card .contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--gray-700);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    color: var(--white);
}

.whatsapp-btn {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #D4B896, var(--primary-color));
    transform: translateY(-2px);
    color: var(--white);
}

.email-btn {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
}

.email-btn:hover {
    background: linear-gradient(135deg, #D4B896, var(--primary-color));
    transform: translateY(-2px);
    color: var(--white);
}

.instagram-btn {
    background: linear-gradient(135deg, var(--primary-color), #D4B896);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #D4B896, var(--primary-color));
    transform: translateY(-2px);
    color: var(--white);
}

.contact-detail {
    display: block;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-cta {
    background: linear-gradient(135deg, var(--gray-900), var(--secondary-color));
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact-cta h3,
.contact-cta p {
    color: var(--white);
}

.contact-cta h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer p {
    color: var(--gray-400);
    margin: 0;
}

.footer-logo {
    max-height: 30px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .carousel-controls {
        gap: 6rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .stats-row {
        justify-content: center;
        gap: 2.5rem;
        flex-wrap: wrap;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 3rem;
        height: 450px;
    }
    
    .floating-cards-carousel {
        max-width: 600px;
        height: 380px;
    }
    
    .floating-card {
        padding: 2rem 2.5rem;
        width: 580px;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .floating-card .icon-container {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .floating-card i {
        font-size: 2rem;
    }
    
    .floating-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .floating-card p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .contact-card {
        padding: 2.5rem 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-cta {
        padding: 2.5rem 2rem;
    }
    
    .brazil-illustration {
        max-width: 450px;
        height: 400px;
        margin: 0 auto;
    }
    
    .brazil-svg {
        width: 300px;
        height: 300px;
    }
    
    .coverage-stats {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-circle {
        width: 70px;
        height: 70px;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .coverage-item {
        margin-bottom: 2rem;
    }
    
    .coverage-icon {
        width: 60px;
        height: 60px;
    }
    
    .coverage-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    /* Typography improvements */
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .carousel-controls {
        gap: 4.5rem;
    }
    
    /* Enhanced backgrounds for mobile */
    .service-card,
    .contact-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
    }
    
    /* Enhanced text contrast for mobile in cobertura section */
    .cobertura-section .section-title,
    .cobertura-section .section-subtitle,
    .cobertura-section .coverage-text h3,
    .cobertura-section .coverage-text p {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
        font-weight: 600 !important;
    }
    
    .cobertura-section .section-title {
        font-weight: 900 !important;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .section-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Stats improvements */
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .stat-item {
        text-align: center;
        min-width: 120px;
    }
    
    .stat-item h3 {
        font-size: 2.2rem;
    }
    
    /* Button improvements */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Navigation improvements */
    .navbar {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .navbar-brand {
        max-width: 150px;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding-top: 70px;
    }
    
    /* Floating navbar responsive for tablets */
    .navbar.scrolled {
        margin: 0.75rem;
        border-radius: 12px;
    }
    
    /* Social links */
    .social-links {
        justify-content: center;
        margin-top: 1rem;
        gap: 1.5rem;
    }
    
    /* Brazil illustration */
    .brazil-illustration {
        width: 100%;
        height: 350px;
        margin: 2rem auto;
        border-radius: 15px;
    }
    
    .brazil-svg {
        width: 250px;
        height: 250px;
    }
    
    .sc-label {
        top: 1rem;
        right: 1rem;
    }
    
    .state-name {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .state-subtitle {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .coverage-stats {
        position: static;
        margin-top: 2rem;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-circle {
        width: 60px;
        height: 60px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    /* Coverage items */
    .coverage-item {
        margin-bottom: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .coverage-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .coverage-icon i {
        font-size: 1.5rem;
    }
    
    .coverage-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .coverage-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Contact cards */
    .contact-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
        border-radius: 15px;
    }
    
    .contact-card .contact-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .contact-card .contact-icon i {
        font-size: 1.75rem;
    }
    
    .contact-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .contact-cta {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .contact-cta h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Service cards */
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
        border-radius: 15px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 1.75rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Section spacing */
    .py-5 {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .section-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Footer responsive for tablets */
    .footer-logo {
        max-height: 28px;
    }
    
    .footer {
        padding: 2rem 0;
    }
}

@media (max-width: 575.98px) {
    /* Extra small screens - phones */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .carousel-controls {
        gap: 3rem;
        flex-direction: column;
    }
    
    .carousel-indicators {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .section-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Contact cards */
    .contact-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-card .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .contact-card .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .contact-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .contact-cta {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .contact-cta h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-cta p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Service cards */
    .service-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Floating cards carousel */
    .floating-cards-carousel {
        max-width: 100%;
        height: 350px;
        padding: 0 1rem;
    }
    
    .floating-card {
        padding: 1.5rem 1.5rem;
        width: calc(100% - 2rem);
        max-width: 400px;
        gap: 1rem;
        border-radius: 15px;
    }
    
    .floating-card .icon-container {
        width: 50px;
        height: 50px;
    }
    
    .floating-card i {
        font-size: 1.5rem;
    }
    
    .floating-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .floating-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.4rem 0;
        min-height: 50px;
    }
    
    .navbar-brand {
        max-width: 120px;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    /* Floating navbar responsive for mobile */
    .navbar.scrolled {
        margin: 0.5rem;
        border-radius: 10px;
    }
    
    /* Stats */
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    /* Coverage */
    .coverage-icon {
        width: 50px;
        height: 50px;
    }
    
    .coverage-icon i {
        font-size: 1.25rem;
    }
    
    .coverage-text h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .coverage-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Brazil illustration */
    .brazil-illustration {
        height: 300px;
        margin: 1.5rem auto;
    }
    
    .brazil-svg {
        width: 200px;
        height: 200px;
    }
    
    .stat-circle {
        width: 50px;
        height: 50px;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Section spacing */
    .py-5 {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Social links */
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
    
    /* Footer responsive */
    .footer-logo {
        max-height: 25px;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Cards animated states */
.contact-card.slide-in-left,
.contact-card.slide-in-right,
.contact-card.fade-in-up,
.service-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-logo {
    margin-bottom: 2rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo img {
    max-height: 350px;
    width: auto;
    filter: brightness(1.1);
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 70px;
    height: 70px;
    top: 5px;
    left: 5px;
    border-top-color: rgba(196, 166, 118, 0.7);
    animation-duration: 2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 50px;
    height: 50px;
    top: 15px;
    left: 15px;
    border-top-color: rgba(196, 166, 118, 0.4);
    animation-duration: 2.5s;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
    animation: textPulse 2s ease-in-out infinite;
}

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes textPulse {
    0%, 100% { 
        opacity: 0.6;
    }
    50% { 
        opacity: 1;
    }
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.py-5 { padding: 3rem 0; }

.min-vh-100 { min-height: 100vh; }

/* ===== ACCESSIBILITY & FOCUS STYLES ===== */
/* Improved focus styles for better keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(196, 166, 118, 0.3);
}

/* Remove outline for mouse users but keep for keyboard users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* External link indicator */
a[href^="http"]:not([href*="bittencourt-previdencia.com.br"])::after,
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 0.2em;
}

/* Focus styles for navigation links */
.nav-link:focus {
    background-color: rgba(196, 166, 118, 0.1);
    border-radius: 4px;
}

/* Focus styles for buttons */
.btn:focus {
    box-shadow: 0 0 0 3px rgba(196, 166, 118, 0.3);
}

/* Focus styles for carousel indicators */
.carousel-indicators .indicator:focus {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(196, 166, 118, 0.5);
}

/* Focus styles for contact buttons */
.contact-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(196, 166, 118, 0.3);
}

/* Focus styles for social links */
.social-link:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(196, 166, 118, 0.3);
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* ===== READING PROGRESS ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(196, 166, 118, 0.5);
}

.loading-screen ~ .reading-progress {
    opacity: 0;
}

body.loaded .reading-progress {
    opacity: 1;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #8B6914;
        --gray-700: #000000;
        --gray-600: #293c38;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
