/*
Theme Name: Clavon
Description: Tema WordPress idêntico ao site original Clavon Cloud Solutions
Version: 2.1.0
Author: Clavon Team
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    padding-top: 50px !important; /* Reduzido de 80px para 50px */
    margin: 0 !important;
}

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

/* HEADER FIXO - SEMPRE NO TOPO */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo à esquerda, menu à direita */
    padding: 0.5rem 0; /* Reduzido de 1rem para 0.5rem */
    min-height: 50px; /* Reduzido de 70px para 50px */
}

/* Logo Clavon à esquerda */
.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-logo:hover {
    color: #3730a3;
}

/* Menu Principal - Links simples à direita */
.primary-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-link {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #374151; /* Cor cinza normal */
    padding: 0.5rem 1rem;
}

.menu-link:hover {
    color: #4f46e5;
}

/* Apenas o último botão tem fundo azul */
.contact-button {
    background: #4f46e5 !important;
    color: white !important;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem !important;
}

.contact-button:hover {
    background: #3730a3 !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* HERO SECTION - IDÊNTICA AO ORIGINAL */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-top: 2rem; /* Espaço adicional para as estatísticas */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./assets/images/hero-cloud-original.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

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

/* Estatísticas no topo */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number{
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important; /* usa a cor do 'color' */
  color: #fbbf24 !important;
}


.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Título principal */
.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botões de ação */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Trust badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    opacity: 0.8;
}

.badge-item {
    text-align: center;
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 0.875rem;
}

/* PROBLEMS SECTION */
.problems-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mckinsey-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.highlight {
    color: #dc2626;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(-5px);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.problem-description {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SERVICES SECTION */
.services-section {
    padding: 5rem 0;
    background: white;
}

.services-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.services-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(-5px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Imagens específicas dos serviços */
.service-aws {
    background-image: url('./assets/images/cloud-services.jpg');
}

.service-devops {
    background-image: url('./assets/images/devops-illustration.jpg');
}

.service-finops {
    background-image: url('./assets/images/cloud-services.jpg');
}

.service-ai {
    background-image: url('./assets/images/ai-solutions.jpg');
}

.service-modernization {
    background-image: url('./assets/images/devops-illustration.jpg');
}

.service-security {
    background-image: url('./assets/images/cloud-services.jpg');
}

.service-content {
    padding: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-benefits {
    margin-bottom: 1.5rem;
}

.benefits-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.25rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.service-cta {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-cta:hover {
    color: #3730a3;
}

/* CASES SECTION */
.cases-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.cases-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cases-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.case-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.case-company {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.case-industry {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.case-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Testimonials */
.testimonials-section {
    margin-top: 4rem;
}

.testimonials-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.testimonial-company {
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.875rem;
}

/* FAQ SECTION */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.faq-question:hover {
    color: #4f46e5;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #4f46e5;
}

.faq-answer {
    padding: 0 0 1.5rem 0;
    color: #6b7280;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.faq-answer.hidden {
    display: none;
}

.faq-cta {
    text-align: center;
}

.faq-cta-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
}

/* CONTACT SECTION */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
    color: white;
}

.contact-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background: #fbbf24;
    color: #1f2937;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-item {
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .primary-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}



/* GARANTIR QUE HEADER FIQUE SEMPRE FIXO */
html {
    scroll-behavior: smooth;
}

#masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
}

/* Garantir que o conteúdo não fique atrás do header */
#page {
    position: relative;
}

.site-content {
    position: relative;
    z-index: 1;
}

/* Scroll suave para links do menu */
.menu-link {
    scroll-behavior: smooth;
}

/* Ajuste para seções com âncoras */
section[id] {
    scroll-margin-top: 50px; /* Reduzido de 80px para 50px */
}

.hero-section {
    scroll-margin-top: 0;
}

