/* ==============================================================================
   TURISONE ECOSYSTEM - DESIGN SYSTEM OFICIAL (LANDING PAGES & MARKETING HUB)
   Design System: TurisOne Brand Identity (Sky Blue #0284c7, Slate #0f172a, Emerald #10b981)
   Fontes: Inter (Corpo) e Poppins (Títulos), Font Awesome 6
   ============================================================================== */

:root {
    --ts-primary: #0284c7;
    --ts-primary-dark: #0369a1;
    --ts-secondary: #0f172a;
    --ts-accent: #10b981;
    --ts-warning: #f59e0b;
    --ts-gray-50: #f8fafc;
    --ts-gray-100: #f1f5f9;
    --ts-gray-200: #e2e8f0;
    --ts-gray-400: #94a3b8;
    --ts-gray-600: #475569;
    --ts-gray-700: #334155;
    --ts-gray-800: #1e293b;
    --ts-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ts-font-heading: 'Poppins', sans-serif;

    /* Compatibilidade com páginas legadas (servico.php, privacidade.php) */
    --bg-main: #f8fafc;
    --text-main: #1e293b;
    --bg-light-card: #ffffff;
    --text-light-card: #1e293b;
    --bg-dark-card: #0f172a;
    --text-dark-card: #f8fafc;
    --accent-purple: #0284c7;
    --accent-pink: #0369a1;
    --accent-orange: #10b981;
    --accent-yellow: #38bdf8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ts-font-sans);
    background-color: #ffffff;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==============================================================================
   COMPATIBILIDADE DE CARDS & TEXTO LEGADO
   ============================================================================== */
.page-gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.custom-light-card {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0;
}
.custom-dark-card {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}
.c-purple { color: #0284c7 !important; }
.c-pink { color: #0369a1 !important; }
.c-orange { color: #10b981 !important; }
.c-yellow { color: #38bdf8 !important; }

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
    background: radial-gradient(100% 100% at 50% 0%, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 70px 20px 90px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(2, 132, 199, 0.15);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-container.hero-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .hero-container.hero-two-col {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-badge-freemium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--ts-font-heading);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 760px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-cta-group {
        justify-content: center;
    }
}

/* ==============================================================================
   BOTÕES OFICIAIS
   ============================================================================== */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
    border: none;
    cursor: pointer;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.6);
    color: #ffffff !important;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

/* ==============================================================================
   BREADCRUMBS
   ============================================================================== */
.breadcrumb-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 0 20px;
    font-size: 13px;
    color: #64748b;
}

.breadcrumb-nav a {
    color: #0284c7;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #0369a1;
    text-decoration: underline;
}

.breadcrumb-nav span {
    margin: 0 8px;
    color: #94a3b8;
}

/* ==============================================================================
   SEÇÕES & HEADERS
   ============================================================================== */
.section-padding {
    padding: 80px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    color: #0284c7;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--ts-font-heading);
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

/* ==============================================================================
   GRID DE SOLUÇÕES & CARDS
   ============================================================================== */
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.feature-badge-free {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-badge-part {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-emerald { background: #dcfce7; color: #10b981; }
.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-rose { background: #ffe4e6; color: #e11d48; }

.feature-card h3 {
    font-family: var(--ts-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #334155;
    margin-bottom: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.feature-list li i {
    color: #10b981;
}

.card-link {
    font-size: 13px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.card-link:hover {
    gap: 10px;
    color: #0369a1;
}

/* ==============================================================================
   MÓDULOS COMPACTOS (CATÁLOGO RÁPIDO)
   ============================================================================== */
.modules-compact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.module-compact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.module-compact-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.module-compact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.module-compact-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.module-compact-info p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* ==============================================================================
   FAQ ACCORDION
   ============================================================================== */
.faq-section {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    user-select: none;
}

.faq-question i {
    color: #0284c7;
    transition: transform 0.25s ease;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* ==============================================================================
   CALL TO ACTION BANNER
   ============================================================================== */
.cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-family: var(--ts-font-heading);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-banner p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ==============================================================================
   RODAPÉ OFICIAL (LANDING FOOTER)
   ============================================================================== */
.landing-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 60px 20px 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-group-title {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 1.25rem;
}

.footer-group-nav {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #94a3b8;
}

.footer-group-nav a {
    color: #94a3b8;
    transition: color .2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.footer-group-nav a:hover {
    color: #ffffff;
    text-decoration: none !important;
}

.footer-group-nav i {
    color: #0284c7;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.footer-bottom-bar {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
    }
}

.footer-copyright {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}
