/* ===== VARIABLES ===== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-warning: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ANTI-BOT SECURITY ===== */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.honeypot-field:focus {
    outline: none !important;
}

.form-security-info {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.form-security-info i {
    color: #28a745;
    margin-right: 0.25rem;
}

.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.form-loading::before {
    content: 'Enviando...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    color: #0d6efd;
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
#mainNav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

#mainNav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-medium);
}

.navbar-brand {
    transition: var(--transition);
}

/* Logo estilizado AE7 */
.ae7-logo {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    text-decoration: none;
    position: relative;
    letter-spacing: -1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.ae7-logo .ae {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 50%, var(--warning-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.ae7-logo .seven {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

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

.ae7-logo:hover .ae {
    background: linear-gradient(135deg, #ffd700 0%, #ffffff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.ae7-logo:hover .seven {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 50%, var(--warning-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Logo no footer */
footer .ae7-logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}

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

/* Responsivo */
@media (max-width: 768px) {
    .ae7-logo {
        font-size: 1.8rem;
    }
    
    footer .ae7-logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .ae7-logo {
        font-size: 1.6rem;
    }
    
    footer .ae7-logo {
        font-size: 1.3rem;
    }
}

.nav-link {
    color: var(--white-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-warning {
    background: var(--warning-color);
    border: none;
    color: var(--dark-color);
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== FLOATING CARDS ===== */
.hero-image {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--white-color);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
}

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

.service-card .card-text {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}



.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ===== STATS CARDS ===== */
.stat-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.stat-number {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--warning-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--warning-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    color: var(--white-color);
}

.contact-form .form-select option {
    background: var(--dark-color);
    color: var(--white-color);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 3px solid var(--warning-color);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--warning-color), transparent);
    opacity: 0.6;
}

footer h5 {
    color: var(--warning-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--warning-color);
    border-radius: 1px;
}

footer p {
    color: #ffffff !important;
    line-height: 1.6;
}

footer ul li {
    color: #ffffff;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

footer ul li i {
    color: var(--warning-color);
    width: 16px;
    text-align: center;
}

footer ul li a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

footer ul li a:hover {
    color: var(--warning-color) !important;
    transform: translateX(5px);
}

footer ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--warning-color);
    transition: width 0.3s ease;
}

footer ul li a:hover::before {
    width: 100%;
}

footer hr {
    border-color: rgba(255, 193, 7, 0.3);
    margin: 2rem 0;
}

footer .text-muted {
    color: #cccccc !important;
}

footer .text-muted a {
    color: #cccccc !important;
    transition: all 0.3s ease;
}

footer .text-muted a:hover {
    color: var(--warning-color) !important;
}

footer .ae7-logo {
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

footer .ae7-logo:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }
    
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    footer ul li a:hover {
        transform: translateX(0);
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    footer hr {
        margin: 1.5rem 0;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 2rem 0;
    }
    
    footer h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    footer ul li {
        font-size: 0.9rem;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        animation: none;
    }
    
    .hero-image {
        height: auto;
        margin-top: 2rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

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

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

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

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLOBAL CASE BUTTONS FIX ===== */
/* Garantir que os botões "Ver Site" sejam sempre funcionais */
.case-overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 5 !important;
}

.case-overlay .btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
}

.case-overlay .btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-custom {
    box-shadow: var(--shadow-medium);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* ===== LOADING ANIMATION ===== */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: var(--transition);
}

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

/* ===== SECTION SPACING ===== */
section {
    padding: 5rem 0;
}

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

/* ===== PÁGINA "POR QUE TER UM SITE" ===== */

/* Breadcrumb styling */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--warning-color) !important;
}

/* Motivo content styling */
.motivo-content {
    position: relative;
    padding: 2rem;
}

.motivo-number {
    position: absolute;
    top: -10px;
    left: 0;
    background: var(--gradient-primary);
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-medium);
}

.motivo-content h3 {
    margin-top: 1rem;
    color: var(--dark-color);
}

.motivo-image {
    padding: 2rem;
}

.image-placeholder {
    height: 300px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

/* Comparison cards */
.comparison-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.comparison-card.negative .card-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: var(--white-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 1.5rem;
}

.comparison-card.positive .card-header {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    color: var(--white-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 1.5rem;
}

.comparison-card .card-body {
    padding: 2rem;
}

.comparison-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.comparison-card ul li:last-child {
    border-bottom: none;
}

/* FAQ Accordion styling */
.accordion-item {
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.accordion-button {
    background: var(--white-color);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background: var(--light-color);
    color: var(--secondary-color);
    line-height: 1.8;
}

/* Stat icon styling for the page */
.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    background: var(--gradient-warning);
}

/* Responsive adjustments for the page */
@media (max-width: 768px) {
    .motivo-content {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .motivo-number {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 1rem;
    }
    
    .image-placeholder {
        height: 200px;
    }
    
    .comparison-card {
        margin-bottom: 2rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* ===== CASES SECTION ===== */
.cases-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cases-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23cases-pattern)"/></svg>');
    pointer-events: none;
}

.cases-section .section-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.cases-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.case-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--warning-color) 0%, #ffd700 50%, var(--warning-color) 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 2;
}

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

.case-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    border-color: var(--warning-color);
}

.case-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(45deg, #f0f0f0 0%, #e0e0e0 100%);
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.case-card:hover .case-image::before {
    opacity: 1;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.case-card:hover .case-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.1) contrast(1.2);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-overlay .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.case-card:hover .case-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

.case-content {
    padding: 2rem;
    position: relative;
}

.case-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.case-card:hover .case-title {
    color: var(--warning-color);
}

.case-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.5s ease 0.2s;
    transform-origin: left;
}

.case-card:hover .case-title::after {
    transform: scaleX(1);
}

.case-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.case-card:hover .case-description {
    color: #555;
}

.case-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.keyword-tag {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 100%);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.keyword-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.keyword-tag:hover::before {
    left: 100%;
}

.keyword-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: #000;
}

.case-results {
    border-top: 2px solid #f0f0f0;
    padding-top: 1.5rem;
    position: relative;
}

.case-results::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--warning-color) 0%, #ffd700 100%);
    transition: width 0.5s ease;
}

.case-card:hover .case-results::before {
    width: 100px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.case-card:hover .result-item {
    color: var(--warning-color);
}

.result-item i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.case-card:hover .result-item i {
    transform: scale(1.2);
}

.cases-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 25px;
    color: #333;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.cases-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffc107" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffc107" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffc107" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffc107" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffc107" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    pointer-events: none;
}

.cases-cta h3 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cases-cta .lead {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #666;
}

.cases-cta .btn {
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cases-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cases-cta .btn:hover::before {
    left: 100%;
}

.cases-cta .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Floating animation for case cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.case-card {
    animation: float 6s ease-in-out infinite;
}

.case-card:nth-child(2) {
    animation-delay: 1s;
}

.case-card:nth-child(3) {
    animation-delay: 2s;
}

.case-card:nth-child(4) {
    animation-delay: 3s;
}

.case-card:nth-child(5) {
    animation-delay: 4s;
}

.case-card:nth-child(6) {
    animation-delay: 5s;
}

.case-card:nth-child(7) {
    animation-delay: 6s;
}

/* Pulse animation for result icons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.result-item i {
    animation: pulse 2s ease-in-out infinite;
}

/* Shimmer effect for keyword tags */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.keyword-tag {
    background: linear-gradient(90deg, var(--warning-color) 0%, #ffd700 50%, var(--warning-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Responsive styles for cases section */
@media (max-width: 768px) {
    .cases-section {
        padding: 3rem 0;
    }
    
    .cases-section .section-title {
        font-size: 2.5rem;
    }
    
    .case-image {
        height: 220px;
    }
    
    .case-content {
        padding: 1.5rem;
    }
    
    .case-title {
        font-size: 1.5rem;
    }
    
    .cases-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .cases-cta h3 {
        font-size: 1.8rem;
    }
    
    .keyword-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Reduce floating animation on mobile */
    .case-card {
        animation: float 8s ease-in-out infinite;
    }
}

@media (max-width: 576px) {
    .cases-section .section-title {
        font-size: 2rem;
    }
    
    .cases-section .lead {
        font-size: 1rem;
    }
    
    .case-image {
        height: 200px;
    }
    
    .case-title {
        font-size: 1.3rem;
    }
    
    .case-content {
        padding: 1.25rem;
    }
    
    .cases-cta {
        padding: 2rem 1rem;
    }
    
    .cases-cta h3 {
        font-size: 1.5rem;
    }
    
    .cases-cta .lead {
        font-size: 1.1rem;
    }
    
    .cases-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .cases-cta .btn:last-child {
        margin-bottom: 0;
    }
    
    .keyword-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
    
    /* Disable floating animation on small screens */
    .case-card {
        animation: none;
    }
    
    /* Reduce shimmer animation */
    .keyword-tag {
        animation: shimmer 4s ease-in-out infinite;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .case-card {
        animation: none;
    }
    
    .keyword-tag {
        animation: none;
    }
    
    .result-item i {
        animation: none;
    }
    
    .case-card:hover {
        transform: none;
    }
    
    .keyword-tag:hover {
        transform: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .case-card {
        background: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .case-title {
        color: #ffffff;
    }
    
    .case-description {
        color: #cccccc;
    }
    
    .result-item {
        color: #ffffff;
    }
    
    .cases-cta {
        background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 40, 0.9) 100%);
        color: #ffffff;
    }
} 

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: whatsapp-bounce 2s infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.whatsapp-float a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.whatsapp-float a:hover::before {
    left: 100%;
}

.whatsapp-float a:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 28px;
    color: white;
    z-index: 1;
    position: relative;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float .tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.9);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .whatsapp-float .tooltip {
        display: none;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .whatsapp-float .tooltip {
        background: rgba(255, 255, 255, 0.9);
        color: #000;
    }
    
    .whatsapp-float .tooltip::after {
        border-left-color: rgba(255, 255, 255, 0.9);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
    
    .whatsapp-float a:hover {
        transform: scale(1.05);
    }
    
    .whatsapp-float a::before {
        display: none;
    }
} 

/* ===== MOBILE OPTIMIZATIONS ===== */
/* Melhorias específicas para dispositivos móveis */

@media (max-width: 768px) {
    /* Navegação mobile */
    .navbar-nav {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0 !important;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-toggler {
        border: 2px solid var(--warning-color);
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 90vh;
        padding: 6rem 0 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Botões mobile */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Cards flutuantes mobile */
    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        animation: none;
        transform: none;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image {
        height: auto;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    /* Seção de serviços mobile */
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    /* Seção sobre mobile */
    .stats-container {
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Seção de cases mobile */
    .case-card {
        margin-bottom: 2rem;
    }
    
    .case-image {
        height: 200px;
    }
    
    .case-content {
        padding: 1.25rem;
    }
    
    .case-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .case-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .keyword-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .cases-cta {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .cases-cta h3 {
        font-size: 1.6rem;
    }
    
    .cases-cta .lead {
        font-size: 1rem;
    }
    
    /* Seção de contato mobile */
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Footer mobile */
    footer {
        text-align: center;
        padding: 2rem 0;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    footer h5 {
        margin-bottom: 1rem;
    }
    
    footer ul li {
        margin-bottom: 0.75rem;
    }
    
    /* Espaçamentos gerais mobile */
    section {
        padding: 3rem 0;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    
    /* Container mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Grid mobile */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col-lg-4,
    .col-lg-6,
    .col-md-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    /* Ajustes para telas muito pequenas */
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    /* Navegação mobile compacta */
    .navbar-nav {
        padding: 0.75rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    /* Cards mais compactos */
    .service-card .card-body {
        padding: 1.25rem;
    }
    
    .case-content {
        padding: 1rem;
    }
    
    .case-title {
        font-size: 1.2rem;
    }
    
    .case-description {
        font-size: 0.85rem;
    }
    
    .keyword-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Stats mais compactos */
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Contato mais compacto */
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    /* CTA mais compacto */
    .cases-cta {
        padding: 1.5rem 1rem;
    }
    
    .cases-cta h3 {
        font-size: 1.4rem;
    }
    
    .cases-cta .lead {
        font-size: 0.9rem;
    }
    
    .cases-cta .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Container mais compacto */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Grid mais compacto */
    .row {
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }
    
    .col-lg-4,
    .col-lg-6,
    .col-md-6 {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
    
    /* Espaçamentos mais compactos */
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mb-3 {
        margin-bottom: 0.75rem !important;
    }
}

/* Melhorias de acessibilidade mobile */
@media (max-width: 768px) {
    /* Aumentar área de toque */
    .nav-link,
    .btn,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Melhorar contraste */
    .text-white-50 {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Melhorar legibilidade */
    .lead {
        line-height: 1.6;
    }
    
    /* Melhorar espaçamento de texto */
    p {
        line-height: 1.7;
    }
    
    /* Melhorar navegação por toque */
    .navbar-toggler {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Melhorar formulários */
    .form-control,
    .form-select {
        min-height: 44px;
    }
    
    /* Melhorar botões de ação */
    .whatsapp-float a {
        min-width: 50px;
        min-height: 50px;
    }
}

/* Otimizações de performance mobile */
@media (max-width: 768px) {
    /* Reduzir animações em mobile */
    .floating-card {
        animation: none;
    }
    
    .case-card {
        animation: none;
    }
    
    .keyword-tag {
        animation: none;
    }
    
    /* Reduzir sombras em mobile */
    .service-card,
    .case-card,
    .stat-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Otimizar transições */
    .btn,
    .nav-link,
    .social-link {
        transition: all 0.2s ease;
    }
    
    /* Reduzir efeitos hover em mobile */
    .service-card:hover,
    .case-card:hover,
    .stat-card:hover {
        transform: none;
    }
}

/* Suporte para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-image {
        display: none;
    }
}

/* Melhorias para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .case-image {
        height: 240px;
    }
    
    .cases-cta {
        padding: 3rem 2rem;
    }
    
    .cases-cta h3 {
        font-size: 1.8rem;
    }
} 

/* ===== FINAL MOBILE ENHANCEMENTS ===== */
/* Melhorias finais para garantir excelente experiência mobile */

/* Prevenir zoom em inputs iOS */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Melhorar contraste em mobile */
    .text-white-50 {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .text-muted {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Melhorar legibilidade de texto */
    p, .lead {
        line-height: 1.8;
        font-size: 0.95rem;
    }
    
    /* Otimizar espaçamentos para touch */
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Melhorar navegação mobile */
    .navbar-nav .nav-link {
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Melhorar cards para touch */
    .service-card,
    .case-card,
    .stat-card {
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .service-card:active,
    .case-card:active,
    .stat-card:active {
        transform: scale(0.98);
    }
    
    /* Melhorar formulários para mobile */
    .form-control,
    .form-select {
        min-height: 48px;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .form-control:focus,
    .form-select:focus {
        border-color: var(--warning-color);
        box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    }
    
    /* Melhorar WhatsApp button para mobile */
    .whatsapp-float a {
        min-width: 56px;
        min-height: 56px;
        font-size: 24px;
    }
    
    /* Melhorar social links para mobile */
    .social-link {
        min-width: 48px;
        min-height: 48px;
        font-size: 1.2rem;
    }
    
    /* Melhorar keyword tags para mobile */
    .keyword-tag {
        min-height: 36px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        font-weight: 600;
        border-radius: 18px;
    }
    
    /* Melhorar hero section para mobile */
    .hero-section {
        padding: 6rem 0 2rem 0;
        min-height: 85vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* Melhorar cases section para mobile */
    .case-image {
        height: 220px;
    }
    
    .case-content {
        padding: 1.5rem;
    }
    
    .case-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .case-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Corrigir overlay dos cases para mobile */
    .case-overlay {
        opacity: 1 !important;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    }
    
    .case-overlay .btn {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    
    /* Melhorar CTA para mobile */
    .cases-cta {
        padding: 2.5rem 1.5rem;
        margin-top: 2rem;
    }
    
    .cases-cta h3 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .cases-cta .lead {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .cases-cta .btn {
        width: 100%;
        margin-bottom: 1rem;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Melhorar footer para mobile */
    footer {
        padding: 2.5rem 0;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2.5rem;
    }
    
    footer h5 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    footer ul li {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    
    /* Melhorar stats para mobile */
    .stat-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .stat-label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    /* Melhorar serviços para mobile */
    .service-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .service-card .card-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Melhorar contato para mobile */
    .contact-info {
        margin-bottom: 2.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .contact-info h6 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 576px) {
    .hero-section {
        padding: 5rem 0 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.9rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .case-image {
        height: 200px;
    }
    
    .case-content {
        padding: 1.25rem;
    }
    
    .case-title {
        font-size: 1.3rem;
    }
    
    .case-description {
        font-size: 0.9rem;
    }
    
    /* Corrigir overlay dos cases para telas pequenas */
    .case-overlay {
        opacity: 1 !important;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    }
    
    .case-overlay .btn {
        transform: translateY(0) !important;
        opacity: 1 !important;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .keyword-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cases-cta {
        padding: 2rem 1rem;
    }
    
    .cases-cta h3 {
        font-size: 1.5rem;
    }
    
    .cases-cta .lead {
        font-size: 1rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem 1.25rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-card .card-title {
        font-size: 1.2rem;
    }
    
    .service-card .card-text {
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 1.5rem 1.25rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Melhorias de acessibilidade para mobile */
@media (max-width: 768px) {
    /* Aumentar contraste para melhor legibilidade */
    .text-white-50 {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    .text-muted {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    
    /* Melhorar foco visual */
    .btn:focus,
    .nav-link:focus,
    .form-control:focus,
    .form-select:focus {
        outline: 2px solid var(--warning-color);
        outline-offset: 2px;
    }
    
    /* Melhorar navegação por teclado */
    .btn:focus-visible,
    .nav-link:focus-visible {
        outline: 2px solid var(--warning-color);
        outline-offset: 2px;
    }
    
    /* Melhorar contraste de botões */
    .btn-warning {
        background: #ffc107;
        color: #000;
        font-weight: 600;
    }
    
    .btn-warning:hover {
        background: #e0a800;
        color: #000;
    }
    
    /* Melhorar contraste de links */
    .nav-link {
        color: #ffffff !important;
        font-weight: 500;
    }
    
    .nav-link:hover {
        color: var(--warning-color) !important;
    }
    
    /* Melhorar contraste de texto */
    .case-title {
        color: #333333;
    }
    
    .case-description {
        color: #555555;
    }
    
    .service-card .card-title {
        color: #333333;
    }
    
    .service-card .card-text {
        color: #555555;
    }
}

/* Otimizações de performance para mobile */
@media (max-width: 768px) {
    /* Reduzir animações complexas */
    .floating-card,
    .case-card,
    .keyword-tag {
        animation: none;
        transition: all 0.2s ease;
    }
    
    /* Reduzir sombras para melhor performance */
    .service-card,
    .case-card,
    .stat-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Otimizar transições */
    .btn,
    .nav-link,
    .social-link {
        transition: all 0.2s ease;
    }
    
    /* Reduzir efeitos hover em mobile */
    .service-card:hover,
    .case-card:hover,
    .stat-card:hover {
        transform: none;
    }
    
    /* Otimizar scroll */
    html {
        scroll-behavior: auto;
    }
    
    /* Garantir que botões dos cases funcionem em mobile */
    .case-overlay {
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 5 !important;
    }
    
    .case-overlay .btn {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        z-index: 10 !important;
        position: relative !important;
    }
    
    /* Melhorar contraste do overlay para mobile */
    .case-overlay {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    }
}

/* Suporte para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
        padding: 4rem 0 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-image {
        display: none;
    }
    
    .cases-cta {
        padding: 1.5rem 1rem;
    }
    
    .cases-cta h3 {
        font-size: 1.4rem;
    }
    
    .cases-cta .lead {
        font-size: 0.9rem;
    }
}

/* Melhorias para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .case-image {
        height: 240px;
    }
    
    .cases-cta {
        padding: 3rem 2rem;
    }
    
    .cases-cta h3 {
        font-size: 1.8rem;
    }
    
    .service-card .card-body {
        padding: 2.5rem 2rem;
    }
    
    .stat-card {
        padding: 2.5rem 2rem;
    }
}

/* Melhorias de acessibilidade para usuários com necessidades especiais */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .case-card,
    .keyword-tag,
    .btn,
    .nav-link,
    .social-link {
        animation: none;
        transition: none;
    }
    
    .service-card:hover,
    .case-card:hover,
    .stat-card:hover {
        transform: none;
    }
}

/* Correção para dispositivos que não suportam hover */
@media (hover: none) and (pointer: coarse) {
    .case-overlay {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .case-overlay .btn {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    .case-card:hover .case-overlay {
        opacity: 1 !important;
    }
    
    .case-card:hover .case-overlay .btn {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Suporte para modo escuro em mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .case-card {
        background: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .case-title {
        color: #ffffff;
    }
    
    .case-description {
        color: #cccccc;
    }
    
    .service-card {
        background: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .service-card .card-title {
        color: #ffffff;
    }
    
    .service-card .card-text {
        color: #cccccc;
    }
    
    .stat-card {
        background: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .cases-cta {
        background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 40, 0.9) 100%);
        color: #ffffff;
    }
} 