:root {
    --primary: #007bbd; 
    --primary-dark: #0a1931;
    --secondary: #1a1a1a; 
    --accent: #25D366; 
    --accent-hover: #1EBE55;
    --light: #F8FAFC;
    --white: #ffffff;
    --text: #333333;
    --text-light: #64748B;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

.cft-badge {
    font-size: 0.75rem;
    background: var(--light);
    padding: 6px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 160px 5% 120px;
    background: linear-gradient(135deg, rgba(0,74,173,0.9) 0%, rgba(0,45,107,0.9) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* NOVO: Imagem ou Vídeo de fundo no Hero */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    z-index: 0;
}

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

.hero h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Buttons */
.cta-button {
    background: var(--accent);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.3);
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: var(--accent-hover);
    box-shadow: 0 12px 30px rgba(0, 200, 83, 0.4);
}

.cta-button.outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.cta-button.outline:hover {
    background: rgba(0,74,173,0.05);
    transform: translateY(-3px);
}

.cta-button.outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
    box-shadow: none;
}

.cta-button.outline-white:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Brands Bar */
.brands {
    background: var(--white);
    padding: 40px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.brands img {
    height: 40px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brands img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Fallback text se não tiver imagem das marcas */
.brands span {
    font-weight: 800;
    color: #cbd5e1;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.brands span:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Services Grid */
.services {
    padding: 140px 5%;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary);
}

.card-content {
    padding: 30px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0,74,173,0.03) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(0,74,173,0.1);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(0,74,173,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 700;
}

.card p {
    color: var(--text-light);
}

/* Video Section */
.video-section {
    padding: 80px 5%;
    background: var(--white);
    text-align: center;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    display: block;
}

/* PMOC Section */
.pmoc {
    background: linear-gradient(135deg, var(--secondary) 0%, #050a14 100%);
    color: var(--white);
    padding: 120px 5%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.pmoc-image-container {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pmoc-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pmoc::after {
    content: '';
    position: absolute;
    right: -10%; top: -20%; width: 50%; height: 140%;
    background: radial-gradient(circle, rgba(0,74,173,0.4) 0%, transparent 70%);
    pointer-events: none;
}

.pmoc-content {
    flex: 1;
    min-width: 300px;
    z-index: 2;
}

.pmoc-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.pmoc-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.8;
}

.pmoc-badge {
    display: inline-block;
    background: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,74,173,0.4);
}

/* Confidence Section */
.confidence {
    padding: 140px 5%;
    background: linear-gradient(to bottom, var(--white), var(--light));
}

.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    padding: 50px 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    flex: 1;
    min-width: 280px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    width: 65px;
    height: 65px;
    background: rgba(37, 211, 102, 0.1); /* Accent green bg */
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0,74,173,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.stat-item:hover .stat-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.stat-item h4 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 5% 30px;
}

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

.footer-grid h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.cities ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cities li {
    font-size: 0.95rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cities li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.2rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,200,83,0.6); }
    70% { box-shadow: 0 0 0 20px rgba(0,200,83,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,200,83,0); }
}

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .whatsapp-float, header { display: none !important; }
    body { margin: 0; }
    .hero { padding: 40px 5% !important; }
}

@media (max-width: 992px) {
    nav { display: none; }
    .header-left { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hero h1 { font-size: 2.8rem; }
    .pmoc-image-container { display: none; } /* Esconde imagem no mobile para focar no texto */
}

@media (max-width: 768px) {
    .hero { padding: 120px 5% 80px; }
    .hero h1 { font-size: 2.2rem; }
    .pmoc { text-align: center; }
    .pmoc::after { display: none; }
    .pmoc-content { display: flex; flex-direction: column; align-items: center; }
    .stat-item { width: 100%; }
}
