/* ==========================================================================
   Guadalupe Sistemas - Design System Refinado & Humano
   ========================================================================== */

/* --- Variáveis de Cor e Tipografia --- */
:root {
    /* Paleta de Cores - Suavizada e Elegante */
    --primary: #103B5C; /* Azul Guadalupe */
    --primary-light: #1c5b8b;
    --secondary: #0A2236; /* Azul profundo */
    --accent: #D9A441; /* Dourado solar discreto */
    --accent-hover: #e3b65d;
    --bg-light: #F7F3EC; /* Marfim - fundo suave */
    --white: #FFFFFF;
    
    /* Textos */
    --text-dark: #1F2933; /* Grafite escuro para alta legibilidade */
    --text-muted: #4e6174; /* Cinza azulado para textos secundários */
    
    /* Elementos */
    --support: #2E6F64; /* Verde jade */
    --border-color: rgba(31, 41, 51, 0.08); /* Borda bem suave */
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Tipografia */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Sombras & Transições (Soft & Elegant) */
    --shadow-sm: 0 4px 15px rgba(16, 59, 92, 0.04);
    --shadow-md: 0 10px 30px rgba(16, 59, 92, 0.08);
    --shadow-lg: 0 20px 40px rgba(16, 59, 92, 0.12);
    --shadow-accent: 0 8px 25px rgba(217, 164, 65, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Reset e Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7; /* Mais respiro visual */
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

ul {
    list-style: none;
}

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

/* --- Utilitários de Respiro Visual --- */
.container {
    width: 100%;
    max-width: 1100px; /* Um pouco mais estreito para manter a elegância do texto */
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7rem 0; /* Mais espaço em branco entre as seções */
}

/* Classes Utilitárias do novo design */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white) !important; }
.text-white-muted { color: rgba(255, 255, 255, 0.8); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-text-muted { color: var(--text-muted); }
.text-dark { color: var(--text-dark); }

.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-index-1 { z-index: 1; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.p-0 { padding: 0; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.pt-3 { padding-top: 1rem; }
.pt-5 { padding-top: 3rem; }
.pb-3 { padding-bottom: 1rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.w-100 { width: 100%; }
.max-w-600 { max-width: 600px; }
.max-w-700 { max-width: 700px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 3rem; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-col-span-2 { grid-column: span 2; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 16px; }
.rounded-organic { border-radius: 16px; }
.rounded-circle { border-radius: 50%; }
.rounded-pill { border-radius: 50px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.hover-shadow-md:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.border { border: 1px solid var(--border-color); }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }

.font-weight-400 { font-weight: 400; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.uppercase { text-transform: uppercase; }
.letter-spacing-1 { letter-spacing: 1px; }
.line-height-1-4 { line-height: 1.4; }
.line-height-1-6 { line-height: 1.6; }

.opacity-80 { opacity: 0.8; }
.transition { transition: var(--transition); }
.cursor-pointer { cursor: pointer; }
.list-unstyled { list-style: none; }

.hover-text-primary:hover { color: var(--primary); }
.hover-text-accent:hover { color: var(--accent); }
.hover-border-primary:hover { border-color: var(--primary); }
.focus-bg-white:focus { background-color: var(--white); border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(16, 59, 92, 0.1); }

/* --- Botões (Acolhedores) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 8px; /* Mais curvo */
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 59, 92, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 59, 92, 0.2);
}

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

.btn-outline-primary:hover {
    background-color: rgba(16, 59, 92, 0.05);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--secondary);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 164, 65, 0.3);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px; /* Formato pílula = mais acolhedor */
}

/* --- Títulos e Tags de Seção (Suaves) --- */
.section-tag-subtle {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(217, 164, 65, 0.15); /* Dourado muito suave */
    color: #9A7023; /* Dourado escurecido para leitura */
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tag-light {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* --- Navbar (Clean) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i { font-size: 1.3rem; }
.logo span { font-weight: 400; opacity: 0.9; }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section (Acolhedora) --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

/* Forma orgânica suave no fundo em vez de brilho cyber */
.hero-organic-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: var(--bg-light);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    animation: fadeUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-ctas-center {
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* --- Floating Elements --- */
.floating-elements-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Não bloqueia cliques no texto ou botões */
    z-index: 0;
}

.floating-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(16, 59, 92, 0.08); /* Sombra elegante */
    font-size: 1.6rem;
    opacity: 0.9;
    border: 1px solid rgba(16, 59, 92, 0.03);
}

/* Posicionamentos e Animações Específicas */
.float-1 { top: 15%; left: 10%; color: #61DAFB; animation: floatAnim 6s ease-in-out infinite; } /* React */
.float-2 { top: 18%; right: 12%; color: var(--accent); font-size: 1.2rem; width: 45px; height: 45px; animation: floatAnim 5s ease-in-out infinite 1s; } /* Estrela Guadalupe */
.float-3 { top: 55%; left: 5%; color: #339933; animation: floatAnim 7s ease-in-out infinite 2s; } /* Node */
.float-4 { bottom: 25%; right: 8%; color: var(--accent); font-size: 1.1rem; width: 40px; height: 40px; animation: floatAnim 4.5s ease-in-out infinite 0.5s; } /* Estrela Guadalupe */
.float-5 { top: 60%; right: 15%; color: #3776AB; animation: floatAnim 6.5s ease-in-out infinite 1.5s; } /* Python */
.float-6 { bottom: 15%; left: 20%; color: var(--primary); animation: floatAnim 5.5s ease-in-out infinite 0.8s; } /* Code */

@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(8deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* --- Dores (Cards Limpos) --- */
.dores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.dor-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.dor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(16, 59, 92, 0.15);
}

.dor-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(16, 59, 92, 0.05);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.dor-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.dor-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.solucao-box {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--accent); /* Destaque sutil */
}

/* --- Sobre a Empresa --- */
.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-desc p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.sobre-image-container {
    position: relative;
}

.sobre-image {
    position: relative;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.experience-badge i { font-size: 2.2rem; }
.experience-badge .number {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.2;
}
.experience-badge .text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Serviços (Benefícios Clientes) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card-clean {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card-clean:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 59, 92, 0.1);
}

.service-icon-clean {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 12px; /* Orgânico mas estruturado */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card-clean h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.service-card-clean p { color: var(--text-muted); font-size: 0.95rem; }

.service-list-clean li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.service-list-clean i { margin-top: 0.2rem; font-size: 0.8rem; }

/* --- Diferenciais (Clean) --- */
.diff-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.diff-card-clean {
    text-align: center;
    padding: 1.5rem;
}

.diff-icon-wrapper-clean {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%; /* Suave */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
}

.diff-card-clean h4 { font-size: 1.2rem; margin-bottom: 1rem; }
.diff-card-clean p { font-size: 0.95rem; }

/* --- Processo (Acolhedor) --- */
.process-steps-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.step-line-clean {
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.step-item-clean {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number-clean {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px var(--white);
    border: 2px solid var(--primary);
}

.step-item-clean h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-item-clean p { font-size: 0.9rem; }

/* --- Portfólio (Benefícios e Soluções) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    background-color: rgba(217, 164, 65, 0.1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* --- Tecnologias (Discreta) --- */
.tech-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.tech-group h5 { opacity: 0.8; }
.tech-list span { font-size: 0.95rem; font-weight: 500; }

/* --- Orçamento (Sem fricção) --- */
.orcamento-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-icon-subtle {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
}

/* Form inputs clean */
.form-control-clean {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.custom-radio-clean { position: relative; }
.custom-radio-clean input { position: absolute; opacity: 0; cursor: pointer; }
.custom-radio-clean input:checked ~ span {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Responsividade --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .sobre-container, .orcamento-container { gap: 2rem; }
    .process-steps-clean { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .step-line-clean { display: none; }
    .diff-grid-clean { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-links-col ul, .contact-info { align-items: center; }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    .section-title { font-size: 1.8rem; }
    
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    
    .navbar.menu-open { background-color: var(--white); }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    
    .hero-title { font-size: 2.2rem; }
    .sobre-container, .orcamento-container { grid-template-columns: 1fr; }
    
    .custom-radio-group-clean { grid-template-columns: 1fr; }
    .grid-col-span-2 { grid-column: auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .diff-grid-clean, .process-steps-clean { grid-template-columns: 1fr; }
}

/* --- Animações --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Estilos da Página de Blog (Artigo)
   ========================================================================== */

/* Container de Leitura (Mais estreito para leitura ideal) */
.article-container {
    max-width: 850px;
    margin: 0 auto;
}

/* Header do Artigo */
.article-title {
    font-size: 2.8rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.article-subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
}

/* Meta info e Avatar */
.author-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Índice (Table of Contents) */
.table-of-contents {
    border-color: var(--border-color);
}
.toc-list li {
    margin-bottom: 0.8rem;
}
.toc-list a {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}
.toc-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Formatação do Conteúdo do Artigo */
.article-content {
    font-size: 1.1rem;
    color: #334155; /* Texto um pouco mais escuro para leitura longa */
}
.article-content p {
    margin-bottom: 1.8rem;
}
.article-content h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}
.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.article-ul {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}
.article-ul li {
    margin-bottom: 0.5rem;
    position: relative;
}
.article-ul li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Citações e Banners dentro do texto */
.article-quote {
    font-size: 1.25rem;
    border-left: 4px solid var(--accent);
}
.border-left-accent {
    border-left: 4px solid var(--accent);
}

/* Botões de Compartilhamento */
.share-btn {
    font-size: 1.2rem;
    transition: var(--transition);
}
.share-btn:hover {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* Bio do Autor */
.author-bio {
    border-color: var(--border-color);
}

/* Responsividade específica do blog */
@media (max-width: 768px) {
    .article-title { font-size: 2.2rem; }
    .article-subtitle { font-size: 1.15rem; }
    .article-content { font-size: 1.05rem; }
}
