/* =================== CSS VARIÁVEIS =================== */
:root {
    --primary-color: #00ABFF;
    --primary-dark: #0077CC;
    --primary-light: #00ABFF;
    --secondary-color: #1B1E22;
    --accent-color: #0077CC;
    --bg-color: #E8E8E8;
    --surface-color: #FFFFFF;
    --text-color: #1B1E22;
    --muted-text: #33303E;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --hover-shadow: rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(90deg, #00ABFF 0%, #0077CC 100%);
    --gradient-hero: linear-gradient(140deg, rgba(27, 30, 34, 0.96) 0%, #1B1E22 38%, #0077CC 70%, #00ABFF 100%);
    --header-height: 96px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.05rem;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Anchor offset so header fixed doesn't cobrir o título */
#home,
#services,
#why,
#contact {
    scroll-margin-top: calc(var(--header-height, 100px) + 20px);
}


/* =================== HEADER =================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-hero);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    transition: padding 0.3s ease;
}

.logo-img {
    height: 48px;
    transition: all 0.3s ease;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

/* CORREÇÃO DO MENU - TEXTO VISÍVEL */
.header .nav a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-left: 0;
}

.header .nav a:not(.nav-btn):hover {
    color: var(--primary-light) !important;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.nav-btn {
    background: var(--gradient-primary) !important;
    color: #FFFFFF !important;
    margin-left: 16px;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 18px rgba(0, 171, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.nav-btn:hover {
    background: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 171, 255, 0.4);
}

/* Header shrink effect */
.header.shrink {
    padding: 0;
    background: linear-gradient(120deg, rgba(27, 30, 34, 0.98) 0%, rgba(12, 47, 74, 0.95) 55%, rgba(0, 171, 255, 0.94) 100%);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.header.shrink .header-container {
    padding: 10px 0;
}

.header.shrink .logo-img {
    height: 40px;
}

/* =================== RESPONSIVE HEADER =================== */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .logo {
        margin-right: 0;
    }

    .nav {
        flex: 0 1 auto;
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .nav-btn {
        margin-left: 0;
    }
}

/* =================== HERO =================== */
.hero {
    position: relative;
    padding: calc(var(--header-height, 100px) + 90px) 0 110px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 219, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}



.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    width: 100%;
}

.hero-text h1 {
    font-size: 2.9rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0 auto;
    padding: 0;
    max-width: 720px;
    text-align: left;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 171, 255, 0.22);
    padding: 12px 14px;
    border-radius: 12px;
    color: #E8E8E8;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.check-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 171, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-btn {
    font-size: 1.1rem !important;
    padding: 16px 32px !important;
    box-shadow: 0 8px 25px rgba(0, 119, 204, 0.4);
    background: var(--gradient-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.hero-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0, 171, 255, 0.5) !important;
}

/* =================== BUTTONS =================== */
/* PADRONIZAÇÃO COMPLETA DOS BOTÕES */
.btn-primary,
.btn-secondary,
.nav-btn,
.hero-btn,
.form-wrapper-principal a[class*="btn"],
button[type="submit"],
input[type="submit"] {
    background: var(--gradient-primary) !important;
    color: #FFFFFF !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    text-align: center !important;
    line-height: 1.5 !important;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho nos botões */
.btn-primary::before,
.btn-secondary::before,
.nav-btn::before,
.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.nav-btn:hover::before,
.hero-btn:hover::before {
    left: 100%;
}

/* Estados hover para todos os botões */
.btn-primary:hover,
.btn-secondary:hover,
.nav-btn:hover,
.hero-btn:hover,
.form-wrapper-principal a[class*="btn"]:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 171, 255, 0.4) !important;
}

/* Estilo específico para botão secundário */
.btn-secondary {
    background: var(--secondary-color) !important;
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3) !important;
}

.btn-secondary:hover {
    background: var(--primary-color) !important;
}

.hero .btn-secondary {
    background: linear-gradient(90deg, #00ABFF 0%, #0077CC 100%) !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18) !important;
}

/* =================== SECTION BASE =================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section.light {
    background: var(--surface-color);
}

/* =================== LEGAL PAGES =================== */
.legal-page {
    background: var(--bg-color);
}

.legal-page .section.light:first-of-type {
    padding-top: calc(var(--header-height) + 110px);
}

.legal-page .section .container {
    background: #fff;
    margin: 40px auto;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    max-width: 1200px;
}

.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.legal-page h2 {
    margin-top: 28px;
    font-size: 1.35rem;
}

.legal-page p,
.legal-page li {
    color: var(--text-color);
    line-height: 1.7;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--muted-text);
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* =================== SERVICES =================== */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--card-shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 171, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--hover-shadow);
}

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

.service-card .icon {
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 171, 255, 0.05);
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background: rgba(0, 171, 255, 0.1);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.service-card p {
    color: var(--muted-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* =================== WHY CHOOSE =================== */
.grid-why {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.why-item {
    background: var(--surface-color);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--card-shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 171, 255, 0.05);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--hover-shadow);
    border-color: rgba(0, 171, 255, 0.2);
}

.why-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.why-item p {
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
    line-height: 1.5;
    font-size: 1.05rem;
}

/* =================== HIGHLIGHTS =================== */
.highlights {
    background: linear-gradient(135deg, #1B1E22 0%, #0077CC 60%, #00ABFF 100%);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 171, 255, 0.26);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
    color: #E8E8E8;
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.highlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 171, 255, 0.18), transparent 32%),
                radial-gradient(circle at 80% 60%, rgba(0, 119, 204, 0.16), transparent 30%);
    pointer-events: none;
}

.highlight-label {
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 700;
}

.highlight-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.highlight-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* =================== CONTACT (Integrado ao site) =================== */
.form-wrapper-principal {
    max-width: 860px;
    margin: 22px auto 0;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-form-title {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* ======== Estilização do iframe TomTicket ======== */
.form-wrapper-principal iframe {
    width: 100% !important;
    min-height: 560px;
    border: 1px solid #ABB4C2;
    border-radius: 10px;
    background: #ffffff;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* =================== FOOTER =================== */
.footer {
    background: linear-gradient(135deg, #1B1E22 0%, #1B1E22 38%, #0077CC 70%, #00ABFF 100%);
    color: #ABB4C2;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 32px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.footer-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin: 0;
    font-size: 1rem;
    color: #ABB4C2;
}

.footer-hours {
    color: #ABB4C2;
    font-size: 0.92rem;
    margin-top: 6px;
}

.footer-email {
    margin-top: 8px !important;
    font-size: 0.95rem !important;
    color: var(--primary-light) !important;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.15px;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(0, 119, 204, 0.45);
    background: linear-gradient(120deg, rgba(0, 119, 204, 0.2) 0%, rgba(0, 171, 255, 0.12) 100%);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.footer-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(120deg, rgba(0, 119, 204, 0.28) 0%, rgba(0, 171, 255, 0.18) 100%);
    color: #FFFFFF;
    font-size: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.footer-links a:hover {
    color: #FFFFFF;
    background: linear-gradient(90deg, #00ABFF 0%, #0077CC 100%);
    border-color: rgba(0, 171, 255, 0.6);
    transform: translateY(-2px);
}

.footer-links a:focus-visible {
    outline: 2px solid #00ABFF;
    outline-offset: 2px;
}

.footer-social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-social-links img {
    width: 24px;
    height: 24px;
    filter: none;
    transition: transform 0.3s ease;
}

.footer-social-links a:hover img {
    transform: scale(1.06);
    opacity: 0.95;
}

/* =================== ANIMATIONS =================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--delay, 0s);
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 12px 0;
        gap: 16px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .header .nav a {
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .nav-btn {
        margin-left: 0;
        margin-top: 8px;
    }

    .hero {
        padding: calc(var(--header-height, 100px) + 70px) 0 90px;
        min-height: 70vh;
    }

    .hero-text {
        max-width: 88%;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-text p {
        font-size: 1.08rem;
    }

    .hero-actions {
        gap: 10px;
    }

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

    .hero-list li {
        justify-content: center;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.08rem;
        margin-bottom: 40px;
    }

    .grid-services,
    .grid-why {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .highlight-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .service-card,
    .why-item {
        padding: 32px 24px;
    }

    .form-wrapper-principal {
        padding: 30px 22px;
        margin: 0 16px;
    }

    .legal-page .section.light:first-of-type {
        padding-top: calc(var(--header-height) + 120px);
    }

    .legal-page .section .container {
        margin: 32px auto;
        padding: 26px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-logo {
        height: 80px;
    }

    .footer {
        padding-bottom: 110px;
    }

    .footer-container {
        gap: 16px;
    }

    /* === FOOTER PREMIUM STRUCTURE (MOBILE) === */
    .footer-logo-container {
        order: 1;
    }

    .footer-info {
        order: 2;
    }

    .footer-social-links {
        order: 3;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    .footer-links {
        order: 4;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    .footer-email {
        order: 5;
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(var(--header-height, 100px) + 80px) 0 90px;
        min-height: auto;
    }

    .hero-text {
        max-width: 90%;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto 24px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-secondary,
    .nav-btn,
    .hero-btn {
        padding: 12px 22px !important;
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }

    #contact .section-title {
        font-size: 1.35rem;
    }

    .form-wrapper-principal {
        padding: 22px 16px;
        margin: 0 10px;
    }

    .contact-form-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    .form-wrapper-principal iframe {
        min-height: 520px;
    }

    .legal-page .section.light:first-of-type {
        padding-top: calc(var(--header-height) + 130px);
    }

    .legal-page .section .container {
        margin: 28px auto;
        padding: 22px;
    }

    .legal-page h1 {
        font-size: 1.8rem;
    }

    .legal-page h2 {
        margin-top: 22px;
        font-size: 1.25rem;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* === FOOTER PREMIUM STRUCTURE (MOBILE) === */
    .footer-logo-container {
        order: 1;
    }

    .footer-info {
        order: 2;
    }

    .footer-social-links {
        order: 3;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    .footer-links {
        order: 4;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    .footer-email {
        order: 5;
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }
}
