/* ===================================
   RESET E VARIÁVEIS
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais - Tema Preto e Amarelo */
    --primary: #FFD700;
    --primary-dark: #FFC300;
    --primary-light: #FFE55C;
    --secondary: #1A1A1A;
    --success: #FFD700;
    --warning: #FFC107;
    --danger: #FF4444;
    
    /* Cores Neutras */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F8F9FA;
    --gray-100: #E9ECEF;
    --gray-200: #DEE2E6;
    --gray-300: #CED4DA;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #2D2D2D;
    --gray-800: #1A1A1A;
    --gray-900: #0D0D0D;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFC300 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   BASE
   =================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-300);
    background-color: var(--gray-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   TIPOGRAFIA
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===================================
   BOTÕES
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--gray-900);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--gray-900);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
}

/* ===================================
   BADGES
   =================================== */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(13, 110, 253, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

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

/* ===================================
   TOP BAR
   =================================== */
.top-bar {
    background: var(--gradient-primary);
    color: var(--gray-900);
    padding: 0.5rem 0;
    font-weight: 600;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-bar-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.25rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.top-bar-content::-webkit-scrollbar {
    display: none;
}

.top-bar-content span {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--black);
    opacity: 0.9;
}

.top-bar-content .hide-on-mobile {
    display: inline;
}

.top-bar-content .hide-on-small {
    display: inline;
}

.top-bar-content a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--black);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.phone-link {
    background: var(--black) !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    padding: 0.5rem 1.25rem !important;
}

.whatsapp-link {
    background: #25D366 !important;
    color: white !important;
    font-weight: 700 !important;
}

.whatsapp-link svg {
    color: white !important;
}

.top-bar-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.top-bar-content a svg {
    animation: ring 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Responsividade */
@media (max-width: 992px) {
    .top-bar-content {
        justify-content: flex-start;
        padding: 0.5rem 0.5rem;
    }
    
    .top-bar-content span {
        font-size: 0.85rem;
    }
    
    .top-bar-content a {
        font-size: 0.9rem;
        padding: 0.4rem 0.9rem;
    }
    
    .hide-on-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0.4rem 0;
    }
    
    .top-bar-content {
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .top-bar-content span {
        font-size: 0.8rem;
    }
    
    .top-bar-content a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .phone-link, .whatsapp-link {
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 0.5rem 0;
    }
    
    .top-bar-content {
        gap: 0.5rem;
        padding: 0.25rem 0.5rem;
    }
    
    .top-bar-content span {
        font-size: 0.75rem;
    }
    
    .top-bar-content a {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    
    .phone-link, .whatsapp-link {
        padding: 0.5rem 0.8rem !important;
    }
    
    .hide-on-small {
        display: none !important;
    }
    
    .top-bar-content a span.text-hideable {
        display: none;
    }
}

/* Ajuste para o conteúdo não ficar atrás da barra fixa */
body {
    padding-top: 50px;
}

@media (min-width: 576px) {
    body {
        padding-top: 0;
    }
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: var(--gray-900);
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--white);
}

.logo svg {
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gray-900);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    padding: 5rem 0;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--primary);
}

/* ===================================
   SECTION HEADER
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .highlight {
    color: var(--primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: 5rem 0;
    background: var(--gray-800);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--gray-900);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-700);
}

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

.service-card.featured {
    border: 2px solid var(--primary);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-900);
    background: var(--primary);
    border-radius: var(--radius);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.5rem;
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */
.why-choose {
    padding: 5rem 0;
    background: var(--gray-900);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-700);
}

.benefit-card:hover {
    background: var(--gray-700);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-700);
}

.benefit-icon svg {
    color: var(--primary);
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
    color: var(--white);
}

.benefit-card p {
    color: var(--gray-300);
    font-size: 0.95rem;
}

/* ===================================
   COVERAGE SECTION
   =================================== */
.coverage {
    padding: 5rem 0;
    background: var(--gray-800);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.coverage-text h2 {
    margin-bottom: 1rem;
}

.coverage-text p {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.coverage-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-700);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.coverage-item svg {
    color: var(--success);
    flex-shrink: 0;
}

.coverage-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.coverage-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px dashed var(--primary);
}

.image-placeholder svg {
    color: var(--primary);
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

/* ===================================
   CONTACT FORM SECTION
   =================================== */
.contact-form {
    padding: 5rem 0;
    background: var(--gray-900);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--gray-800);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-700);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-300);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-200);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--white);
    background: var(--gray-700);
    border: 2px solid var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-300);
    margin-top: 1rem;
}

.form-note a {
    font-weight: 600;
    color: var(--primary);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--black);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--gray-800);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: var(--primary);
}

.footer-tech {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-seo {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services,
    .why-choose,
    .coverage,
    .contact-form {
        padding: 3rem 0;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .coverage-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coverage-items {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .header-phone span {
        display: none;
    }
    
    .logo-text {
        display: none;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .service-card,
    .benefit-card {
        padding: 1.5rem;
    }
}
