/* =====================================================
   RESET
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


.botaoabaixo {
    text-align: center;
    margin-bottom: 20px;;
}


/* =====================================================
   VARIÁVEIS
===================================================== */
:root {
    --primary: #005BAB;
    --primary-dark: #004a8c;
    --accent: #6CD32F;
    --dark: #0f172a;
    --light: #f5f7fa;
    --gray: #64748b;
}

/* =====================================================
   HEADER
===================================================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Centralização Flexbox no container do logo */
.logo a {
    display: flex;
    align-items: center; /* Alinha o ícone e o texto verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    text-decoration: none;
    gap: 10px; /* Espaço entre a imagem e o texto */
}

.logo a img{
    width: 80px;
    height: auto;
}

/* Estilização do texto */
.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary)
}

/* Cor específica para o D */
.logo-text .green {
    color: var(--accent)
}

/* Garante que o menu inteiro também esteja centralizado se for o caso */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

/* =====================================================
   HERO TECH
===================================================== */
.page-hero, .hero {
    position: relative;
    overflow: hidden;
    padding: 130px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 40%, #eaf4ff 100%);
}

.hero-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,91,171,0.15), transparent 70%);
    top: -200px;
    right: -200px;
}

.hero h1, .page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, #005BAB, #6CD32F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p, .hero-sub {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--gray);
    font-size: 18px;
    opacity: 0.9;
}

.hero-tech .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s infinite ease-in-out;
}



@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
}


.circle.one {
    width: 200px;
    height: 200px;
    background: var(--primary);
    bottom: 10%;
    left: 10%;
}

.circle.two {
    width: 120px;
    height: 120px;
    background: var(--accent);
    top: 20%;
    right: 15%;
}

.circle.three {
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    bottom: 20%;
    right: 30%;
}

.triangle.one {
    position: absolute;
    width: 150px; 
    height: 150px;  
    background: var(--accent); 
    opacity: 0.2;
    z-index: 1;
    
    clip-path: polygon(0 0, 0 100%, 100% 100%);

    transform: rotate(135deg); 
    
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.triangle.two {
    position: absolute;
    width: 50px; 
    height: 50px;  
    background: var(--accent); 
    opacity: 0.2;
    z-index: 1;
    
    clip-path: polygon(0 0, 0 100%, 100% 100%);

    transform: rotate(135deg); 
    
    top: 20%;
    right: 40%;
    animation: float 6s ease-in-out infinite;
}


@keyframes float {
    0%,100% { transform: translateY(0) rotate(-135deg); }
    50% { transform: translateY(-20px) rotate(-130deg); }
}



/* =====================================================
   BOTÕES
===================================================== */

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    align-items:center;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}


.btn-cta {
    display: inline-block;
    padding: 18px 40px;
    background: var(--accent);
    color: #fff;
    font-size: 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
}

/* Ajuste para mobile */
@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   SEÇÕES
===================================================== */
.section {
    padding: 100px 0;
}

.section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.bg-light {
    background: var(--light);
}

.bg-soft {
    background: #f1f5f9;
}

.bg-dark {
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.bg-dark p {
    margin-bottom: 30px;
}

/* =====================================================
   LISTA CHECK
===================================================== */
.list-check {
    max-width: 600px;
    margin: auto;
    list-style: none;
}

.list-check li {
    margin-bottom: 15px;
    padding-left: 28px;
    position: relative;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* =====================================================
   CARDS GLASS
===================================================== */
.cards, .grid-3 {
    display: grid;
    gap: 40px;
}

.cards {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.75);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.card:hover, .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.card h3, .feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}


.link-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--accent); /* Use a mesma cor de destaque do seu site */
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.link-arrow::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* Efeito de hover: a seta "anda" para a frente */
.link-arrow:hover {
    color: var(--primary-dark); /* Uma variação um pouco mais escura no hover */
    padding-left: 5px; /* O texto dá uma leve deslocada para a direita */
}

.link-arrow:hover::after {
    transform: translateX(5px);
}



/* =====================================================
   PROCESSO GRID
===================================================== */
.process, .process-section {
    display: grid;
    gap: 18px;
    margin-top: 40px;
}

.process div {
    padding: 18px 22px;
    border-radius: 14px;
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 500;
    transition: 0.3s ease;
}

.process div:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 91, 171, 0.15);
}

/* =====================================================
   FORMULÁRIO DE CONTATO
===================================================== */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(0,91,171,0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Mensagens de sucesso/erro */
.success-message {
    background: #e6f9f0;
    color: #1a7f4f;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message {
    background: #ffeaea;
    color: #b91c1c;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background: #0f172a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.footer ul li {
    margin-bottom: 6px;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.footer a:hover {
    color: #38bdf8;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* =====================================================
   MENU MOBILE PREMIUM
===================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 3000;
    width: 30px;
    height: 22px;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.4s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 10px; }

.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1500;
}

.mobile-overlay.active { opacity: 1; pointer-events: all; }

.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 85vw;
    max-width: 380px;
    height: 100vh;
    background: #ffffff;
    padding: 90px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: right 0.4s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,0.25);
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.active { right: 0; }

.mobile-menu a { text-decoration: none; font-size: 18px; color: var(--dark); font-weight: 500; }

.mobile-menu .btn-nav { text-align: center; margin-top: 10px; }

.close-menu { position: absolute; top: 25px; right: 25px; font-size: 24px; cursor: pointer; color: var(--primary); }

body.dark .mobile-menu { background: #0f172a; }
body.dark .mobile-menu a { color: #f1f5f9; }
body.dark .close-menu { color: var(--accent); }

/* =====================================================
   DARK MODE
===================================================== */
body.dark {
    background: #0f172a;
    color: #f1f5f9;
}

body.dark .header { background: rgba(15,23,42,0.9); }

body.dark .hero h1, body.dark .page-hero h1 {
    background: linear-gradient(90deg, #4DA3FF, #8DFF57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(108, 211, 47, 0.25);
}

body.dark .card, body.dark .feature-card {
    background: rgba(30,41,59,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

body.dark .footer { background: #020617; }

body.dark .process-section, body.dark .process { background: radial-gradient(circle at top right, #0f172a, #050a18); }
body.dark .process div {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e2e8f0;
}

body.dark .process div:hover {
    box-shadow: 0 10px 30px rgba(108, 211, 47, 0.15);
}

body.dark .title-gradient {
    background: linear-gradient(90deg, #4DA3FF, #8DFF57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 18px rgba(108, 211, 47, 0.25);
}

.title-gradient.center {
    text-align: center;
    display: block;
}


/* =====================================================
   GRID E RESPONSIVO
===================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }

.feature-card, .card-highlight { padding: 25px; border-radius: 16px; transition: 0.3s; }
.card-highlight { background: linear-gradient(135deg, #005BAB, #6CD32F); color: #fff; }

.process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center; 
}

.process4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center; 
}

.process > div {
    padding: 20px;
    background: #f9f9f9; 
    border-radius: 10px;
    border: 1px solid #eee;
}

.cta-final { padding: 80px 0; text-align: center; }
.btn-primary.large { padding: 16px 32px; font-size: 1.1rem; }

.mt-40 { margin-top: 40px; }
.center { text-align: center; }

/* RESPONSIVO */
@media(max-width: 992px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
    .cards, .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .process4 { grid-template-columns: repeat(1, 1fr); }
    .hero h1 { font-size: 32px; }
}

@media(max-width: 600px) {
    .process { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}