/*
Theme Name: Tracefy Chatbot
Description: Tema WordPress moderno para Tracefy - plataforma de criação de chatbots inteligentes. Design responsivo com gradientes elegantes e foco em conversão.
Author: Tracefy
Version: 1.0
Text Domain: tracefy
*/

:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(217, 69%, 15%);
    --primary: hsl(217, 69%, 27%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(217, 20%, 95%);
    --secondary-foreground: hsl(217, 69%, 15%);
    --muted: hsl(217, 20%, 95%);
    --muted-foreground: hsl(217, 25%, 45%);
    --accent: hsl(138, 100%, 83%);
    --accent-foreground: hsl(217, 69%, 15%);
    --border: hsl(217, 20%, 90%);
    --gradient-hero: linear-gradient(135deg, hsl(217, 69%, 27%), hsl(217, 50%, 35%));
    --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%), hsl(217, 20%, 98%));
    --shadow-elegant: 0 10px 30px -10px hsl(217, 69%, 27%, 0.15);
    --shadow-card: 0 4px 20px -4px hsl(217, 30%, 20%, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
	padding-top: 110px; /* mesmo valor da altura do header */

}

/* Layout */
.container {
    max-width: 100%;
    margin: 0;
    padding: 0 80px;
}

/* Header */
.header {
    background: hsla(0, 0%, 100%, 0.9); /* 90% opaco = 10% transparência */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: fixed;   /* fixo no topo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;     /* fica acima do conteúdo */
}

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

.logo {
    height: 80px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    list-style: none;         /* remove bolinhas */
    margin: 0;
    padding: 0;
    display: flex;            /* deixa itens lado a lado */
    gap: 20px;                /* espaçamento entre eles */
    align-items: center;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    text-decoration: none;
    color: #0d3b66;          /* azul elegante */
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: hsl(217, 69%, 22%);
}

.btn-accent {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    background: hsl(138, 100%, 78%);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 80px 0;
    color: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero .accent-text {
    color: var(--accent);
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cards */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-elegant);
}

.card-content {
    padding: 32px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background);
}

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

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: hsl(217, 69%, 27%, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* Section Headings */
.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
}

.section-title .primary-text {
    color: var(--primary);
}

.section-title p {
    font-size: 20px;
    color: var(--muted-foreground);
    max-width: 768px;
    margin: 0 auto;
}

/* Benefits Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
    background: var(--secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 1152px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsl(217, 69%, 27%, 0.1);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 48px 0;
}

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

.footer-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-link {
    color: hsla(0, 0%, 100%, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
    margin-bottom: 8px;
}

.footer-link:visited {
    color: hsla(0, 0%, 100%, 0.8) !important; /* mesma cor do link normal */
}

.footer-link:hover {
    color: white !important;
}

.footer-widget a {
    color: hsla(0, 0%, 100%, 0.8) !important;
    text-decoration: none !important;
}

.footer-widget a:visited {
    color: hsla(0, 0%, 100%, 0.8) !important;
}

.footer-widget a:hover {
    color: white !important;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    margin-top: 32px;
    padding-top: 32px;
    text-align: center;
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .nav.mobile {
        display: none;
    }
    
    .nav.desktop {
        display: flex;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 64px;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

.hidden { display: none; }

@media (max-width: 767px) {
    .hidden-mobile { display: none; }
}

@media (min-width: 768px) {
    .hidden-desktop { display: none; }
}