/*
Theme Name: SimIT - Tecnologia Corporativa
Theme URI: https://simit.com.br
Description: Tema profissional para empresa de tecnologia com foco em governança, segurança e direção estratégica. Design moderno, responsivo e otimizado para conversão.
Author: SimIT
Version: 1.1.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simit
Tags: business, corporate, technology, responsive, custom-menu
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

:root {
    --primary-color: #6428cc;
    --secondary-color: #8b5cf6;
    --dark-color: #263246;
    --light-color: #f8f6ff;
    --text-color: #263246;
    --gray-color: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

a:hover {
    color: var(--secondary-color);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #4c1d95);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.site-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
    text-decoration: none;
}

.site-logo span {
    color: var(--primary-color);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: radial-gradient(circle at 85% 15%, rgba(139,92,246,0.22), transparent 34%), linear-gradient(135deg, #3b147f 0%, #6428cc 54%, #7c3aed 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

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

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    padding: 100px 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-weight: 500;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, #28104f, #3b147f 54%, #6428cc);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 100px 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item-text p {
    color: var(--gray-color);
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 5px;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: var(--transition);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

.wp-block-image {
    margin: 2rem 0;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 2rem auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}


/* ==========================================================================
   SimIT Official Brand Overrides
   ========================================================================== */

.site-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 260px;
}

.site-logo img,
.custom-logo {
    width: auto;
    height: 58px;
    max-width: 260px;
    object-fit: contain;
}

.site-header.scrolled {
    box-shadow: 0 8px 24px rgba(38, 50, 70, 0.10);
}

.hero-section {
    min-height: 680px;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 760px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    background: rgba(100, 40, 204, 0.10);
    border: 1px solid rgba(100, 40, 204, 0.14);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #ffffff;
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.22);
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 4.75rem);
    letter-spacing: -0.05em;
    max-width: 850px;
}

.hero-content p {
    max-width: 680px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-card {
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 34px;
    box-shadow: 0 30px 90px rgba(16, 8, 48, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    transform: rotate(2deg);
}

.hero-logo-card img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.btn {
    border-radius: 999px;
}

.btn-primary {
    background: linear-gradient(135deg, #6428cc, #8b5cf6);
    box-shadow: 0 12px 26px rgba(100, 40, 204, 0.25);
}

.hero-section .btn-primary {
    background: #ffffff;
    color: var(--primary-color);
}

.hero-section .btn-primary:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-section .btn-secondary {
    color: #ffffff;
    border-color: rgba(255,255,255,0.82);
}

.hero-section .btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: #ffffff;
}

.service-card {
    border: 1px solid rgba(100, 40, 204, 0.08);
    border-radius: 22px;
}

.service-icon {
    background: linear-gradient(135deg, #6428cc, #8b5cf6);
    box-shadow: 0 18px 36px rgba(100, 40, 204, 0.22);
}

.about-brand-card {
    background: #ffffff;
    border: 1px solid rgba(100, 40, 204, 0.10);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-brand-card::before {
    content: '';
    position: absolute;
    inset: -40% -20% auto auto;
    width: 280px;
    height: 280px;
    background: rgba(139, 92, 246, 0.14);
    border-radius: 50%;
}

.about-brand-card img {
    width: min(100%, 270px);
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.about-brand-card h3,
.about-brand-card p {
    position: relative;
    z-index: 1;
}

.contact-info a,
.site-footer a {
    color: inherit;
}

.form-message {
    margin-top: 1rem;
}

.footer-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.65rem 0.9rem;
    margin-bottom: 1.25rem;
    max-width: 245px;
}

.footer-logo-box img {
    width: 210px;
    height: auto;
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-section {
        min-height: auto;
        padding: 96px 0 80px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-logo-card {
        width: min(100%, 320px);
        padding: 2.2rem;
    }
}

@media (max-width: 768px) {
    .site-logo img,
    .custom-logo {
        height: 46px;
        max-width: 210px;
    }

    .hero-content h1 {
        font-size: 2.55rem;
    }

    .hero-logo-card {
        display: none;
    }

    .about-brand-card {
        min-height: auto;
        padding: 2rem;
    }
}

.form-alert {
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.form-alert-success {
    color: #226447;
    background: #ecfdf5;
}

.form-alert-error {
    color: #991b1b;
    background: #fef2f2;
}

/* Campo antispam invisível do formulário */
.simit-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


.footer-legal-links {
    margin-top: 0.45rem;
    font-size: 0.92rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.privacy-page {
    padding: 5rem 0;
    background: #ffffff;
}

.privacy-page .privacy-header {
    max-width: 920px;
    margin: 0 auto 3rem;
    text-align: center;
}

.privacy-page .privacy-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(100, 40, 204, 0.10);
    color: #6428cc;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.privacy-page h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    color: #111827;
}

.privacy-page .privacy-updated {
    color: #6b7280;
    font-weight: 500;
}

.privacy-content {
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #ece7f8;
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 24px 70px rgba(31, 18, 56, 0.08);
}

.privacy-content h2 {
    color: #2f1767;
    margin-top: 2.2rem;
    margin-bottom: 0.85rem;
    font-size: 1.45rem;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.privacy-content li {
    color: #374151;
    line-height: 1.75;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin: 1rem 0 1.3rem;
    padding-left: 1.35rem;
}

.privacy-content strong {
    color: #111827;
}

.privacy-note {
    background: #f7f3ff;
    border-left: 4px solid #6428cc;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
}
