@charset "utf-8";

/* ===== CSS VARIABLES - LIGHT THEME ===== */
:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-alt: #fafbfc;
    --surface-hover: #f0f2f5;
    --text: #1a1a1a;
    --text-muted: #555;
    --text-light: #888;
    --border: #e2e5ea;
    --primary: #D8383C;
    --primary-dark: #b52e31;
    --primary-subtle: #fef0f0;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.18);
    --nav-link: #444;
    --footer-bg: #1e1e1e;
    --footer-text: #aaa;
    --input-bg: #fafbfc;
    --input-focus-shadow: rgba(216, 56, 60, 0.10);
    --header-border: rgba(0, 0, 0, 0.08);
}

/* ===== DARK THEME ===== */
body.dark {
    --bg: #111113;
    --surface: #1c1c20;
    --surface-alt: #242428;
    --surface-hover: #2a2a30;
    --text: #f0f0f0;
    --text-muted: #aaa;
    --text-light: #666;
    --border: #2e2e38;
    --primary-subtle: rgba(216, 56, 60, 0.12);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.50);
    --nav-link: #ccc;
    --footer-bg: #0d0d0f;
    --footer-text: #555;
    --input-bg: #242428;
    --input-focus-shadow: rgba(216, 56, 60, 0.18);
    --header-border: rgba(255, 255, 255, 0.05);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    transition: background 0.3s;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    color: var(--text);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    color: var(--text);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.site-header img,
.site-nav img,
.sobre-sector-item img {
    border-radius: 0;
}

/* ===== SITE WRAPPER ===== */
.site-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    width: 100%;
    background: var(--surface);
    box-shadow: 0 2px 12px var(--header-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
}

.site-header .site-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .logo img {
    width: 180px;
    height: auto;
    border-radius: 8px;
}

.site-header .logo a {
    display: block;
    line-height: 0;
    pointer-events: auto;
}

/* ===== NAVIGATION ===== */
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    align-items: center;
}

.site-nav ul li a {
    display: block;
    padding: 9px 18px;
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--nav-link);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.site-nav ul li a:hover {
    background: var(--primary-subtle);
    color: var(--primary);
}

.site-nav ul li a.active {
    background: var(--primary);
    color: #fff;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    padding: 7px 10px;
    font-size: 16px;
    line-height: 1;
    color: var(--nav-link);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-subtle);
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    background: none;
    border: 2px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 20px;
    line-height: 1;
    color: var(--nav-link);
    transition: border-color 0.2s, color 0.2s;
}

.hamburger:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== HERO ===== */
.hero {
    width: 100%;
    max-width: 980px;
    margin: 24px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-inner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3a1a1b 100%);
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}

.hero-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 60% 40%, rgba(216, 56, 60, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(216, 56, 60, 0.15);
    color: #D8383C;
    border: 1px solid rgba(216, 56, 60, 0.35);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
}

.hero-title span {
    color: #D8383C;
}

.hero-sub {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #aaa;
    line-height: 1.7;
    margin: 0 0 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-block;
    background: #D8383C;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(216, 56, 60, 0.35);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-btn-primary:hover {
    background: #b52e31;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(216, 56, 60, 0.45);
}

.hero-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.hero-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

/* ===== CONTENT AREA ===== */
.site-content {
    width: 100%;
    max-width: 980px;
    margin: 28px auto;
    padding: 0 20px;
    flex: 1;
}

/* ===== DIVIDER ===== */
.section-divider,
.home-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    border: none;
    margin: 28px 0;
}

/* ===== HOME PAGE ===== */
.home-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

.home-promo a {
    flex: 1 1 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.home-promo a img {
    width: 100%;
    height: auto;
}

.home-pitch {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 28px;
    background: var(--surface);
    border-radius: 10px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: background 0.3s;
}

.home-pitch-title {
    flex: 0 0 190px;
}

.home-pitch-text {
    flex: 1 1 260px;
}

.home-pitch-photo {
    flex: 0 0 180px;
    border-radius: 8px;
    overflow: hidden;
}

.home-pitch-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.home-tech-title {
    text-align: center;
    margin: 10px 0 18px;
}

.home-tech-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background: var(--surface);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: background 0.3s;
}

.home-tech-logos a,
.home-tech-logos span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.home-tech-logos a:hover {
    background: var(--primary-subtle);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.home-tech-logos img {
    width: 80px;
    height: auto;
    filter: grayscale(20%);
    transition: filter 0.2s;
    border-radius: 0;
}

.home-tech-logos a:hover img {
    filter: grayscale(0%);
}

/* ===== SOBRE PAGE ===== */
.sobre-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    min-height: 120px;
    margin-bottom: 20px;
    background: var(--surface);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: background 0.3s;
}

.sobre-header-icon {
    flex: 0 0 95px;
}

.sobre-header-title {
    flex: 0 0 170px;
}

.sobre-header-desc {
    flex: 1 1 220px;
}

.sobre-body {
    background: var(--surface);
    border-radius: 10px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: background 0.3s;
}

.sobre-body p,
.sobre-body h2 {
    margin-top: 0;
}

.sobre-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.sobre-sector-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 48%;
    background: var(--surface-alt);
    border-radius: 6px;
    padding: 8px 12px;
    transition: background 0.2s;
}

.sobre-sector-item:hover {
    background: var(--primary-subtle);
}

.sobre-sector-item img {
    width: 20px;
    height: auto;
}

/* ===== CLIENTES PAGE ===== */
.clientes-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    min-height: 120px;
    margin-bottom: 20px;
    background: var(--surface);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: background 0.3s;
}

.clientes-header-icon {
    flex: 0 0 95px;
    max-width: 95px;
}

.clientes-header-title {
    flex: 0 0 170px;
    max-width: 170px;
    word-break: break-word;
}

.clientes-header-desc {
    flex: 1 1 220px;
    min-width: 0;
    word-break: break-word;
}

/* ===== APPLE PAGE ===== */
.apple-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 24px 0;
}

.apple-grid-item {
    text-align: center;
    flex: 0 0 110px;
    border-radius: 10px;
    padding: 10px 6px;
    transition: transform 0.2s, background 0.2s;
}

.apple-grid-item:hover {
    transform: translateY(-4px);
    background: var(--primary-subtle);
}

.apple-grid-item img {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.2s, border-color 0.2s;
    margin: 0 auto;
}

.apple-grid-item:hover img {
    box-shadow: 0 8px 28px rgba(216, 56, 60, 0.18);
    border-color: var(--primary);
}

.apple-grid-item span {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== CONTATO PAGE ===== */
.contato-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    min-height: 120px;
    margin-bottom: 20px;
    background: var(--surface);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: background 0.3s;
}

.contato-header-icon {
    flex: 0 0 95px;
}

.contato-header-title {
    flex: 0 0 170px;
}

.contato-header-desc {
    flex: 1 1 220px;
}

.contato-body {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 8px;
}

.contato-info {
    flex: 1 1 280px;
    background: var(--surface);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: background 0.3s;
}

.contato-info iframe {
    width: 100%;
    max-width: calc(100vw - 30px);
    height: 220px;
    border: 0;
    border-radius: 8px;
    box-sizing: border-box;
    display: block;
    margin-top: 8px;
}

.contato-form {
    flex: 1 1 280px;
    background: var(--surface);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
    transition: background 0.3s;
}

.contato-form table {
    width: 100%;
    table-layout: fixed;
}

.contato-form input[type="text"],
.contato-form textarea {
    width: 100% !important;
    max-width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    box-sizing: border-box;
    color: var(--text);
    background: var(--input-bg);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
    outline: none;
}

.contato-form input[type="text"]:focus,
.contato-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
    background: var(--surface);
}

.contato-form textarea {
    resize: vertical;
}

.contato-form input[type="submit"],
#btn-enviar {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-appearance: button !important;
    appearance: button !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    padding: 11px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Inter', Tahoma, Geneva, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 12px !important;
    min-height: 44px !important;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s !important;
    box-shadow: 0 2px 8px rgba(216, 56, 60, 0.25) !important;
}

.contato-form input[type="submit"]:hover,
#btn-enviar:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(216, 56, 60, 0.35) !important;
}

.contato-form .g-recaptcha {
    margin: 10px 0;
    transform-origin: left top;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    width: 100%;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
}

.form-group .g-recaptcha {
    margin-bottom: 8px;
}

.empresa {
    display: none !important;
}

/* ===== TYPOGRAPHY CLASSES ===== */
.texto_T_01 {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.texto_T_02 {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
}

.texto_T_03 {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.texto_T_05_contato {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 14px;
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 10px 14px;
    border-radius: 8px;
    width: 100%;
    background: var(--input-bg);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.3s;
    outline: none;
}

.texto_T_05_contato:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
    background: var(--surface);
}

.titulo_dentro_02 {
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ===== FOOTER ===== */
.site-footer {
    text-align: center;
    padding: 28px 20px;
    font-size: 13px;
    font-family: 'Inter', Tahoma, Geneva, sans-serif;
    color: var(--text-muted);
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: 40px;
    transition: background 0.3s, color 0.3s;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .site-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .site-nav.open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border);
        margin-top: 10px;
    }

    .site-nav ul li a {
        padding: 13px 15px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .site-header .site-wrapper {
        flex-wrap: wrap;
    }

    .home-pitch {
        padding: 20px;
    }

    .home-pitch-title,
    .home-pitch-photo {
        flex: 1 1 100%;
    }

    .sobre-sector-item {
        width: 100%;
    }

    .sobre-header,
    .clientes-header,
    .contato-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 16px;
    }

    .sobre-header-icon,
    .clientes-header-icon,
    .contato-header-icon {
        display: none;
    }

    .sobre-header-title,
    .sobre-header-desc,
    .clientes-header-title,
    .clientes-header-desc,
    .contato-header-title,
    .contato-header-desc {
        flex: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .texto_T_03 {
        font-size: 12px;
    }

    .contato-body {
        flex-direction: column;
    }

    .home-tech-logos img {
        width: 60px;
    }

    .home-promo a {
        flex: 1 1 140px;
    }

    .hero {
        padding: 0 12px;
        margin-top: 16px;
    }

    .hero-inner {
        padding: 48px 24px;
        border-radius: 10px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .site-content {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .site-header .logo img {
        width: 140px;
    }

    .home-tech-logos img {
        width: 50px;
    }

    .apple-grid-item {
        flex: 0 0 90px;
    }

    .apple-grid-item img {
        width: 72px;
        height: 72px;
    }

    .hero-inner {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .contato-form .g-recaptcha {
        transform: scale(0.77);
        transform-origin: left top;
        margin-bottom: -14px;
    }
}