/* --- Variáveis e Reset --- */
:root {
    /* Cores extraídas da configuração do Tailwind */
    --primary-800: #1e293b;
    --primary-900: #0f172a;
    --primary-950: #020617;
    
    --accent-500: #f59e0b;
    --accent-600: #d97706;
    --accent-700: #b45309;
    
    --gray-50: #f8fafc;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --white: #ffffff;

    --font-sans: 'Roboto', sans-serif;
    --font-display: 'Barlow', sans-serif;

    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-700);
    background-color: var(--white);
    line-height: 1.5;
}

/* --- Utilitários --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-accent { color: var(--accent-600); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.desktop-only { display: none; }

@media (min-width: 768px) {
    .desktop-only { display: inline-flex; }
}

.section-padding { padding: 6rem 0; }
.bg-light { background-color: var(--gray-50); }
.mb-large { margin-bottom: 4rem; }

/* Tipografia */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    color: var(--accent-600);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-950);
    color: var(--slate-300);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--primary-800);
    display: none;
}

@media (min-width: 768px) {
    .top-bar { display: block; }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info, .social-links {
    display: flex;
    gap: 1.5rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.contact-info span:hover, .social-links a:hover {
    color: var(--white);
}

.contact-info i, .social-links i {
    width: 1rem;
    height: 1rem;
}

.contact-info i { color: var(--accent-500); }

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s;
}

header.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
}

.header-content {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    background-color: var(--primary-900);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 0.375rem;
    display: flex;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary-900);
    line-height: 1;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--slate-500);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Nav Desktop */
.desktop-nav {
    display: none;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .desktop-nav { display: flex; }
}

.desktop-nav a {
    text-decoration: none;
    color: var(--slate-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--accent-600);
}

/* Header Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid var(--accent-600);
    color: var(--accent-700);
    display: none;
}

@media (min-width: 768px) {
    .btn-outline { display: inline-flex; }
}

.btn-outline:hover {
    background-color: var(--accent-600);
    color: var(--white);
}

.btn-primary {
    background-color: var(--accent-600);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-700);
}

#mobile-menu-btn {
    background: none;
    border: none;
    color: var(--primary-900);
    cursor: pointer;
    display: block;
}

@media (min-width: 1024px) {
    #mobile-menu-btn { display: none; }
}

/* Nav Mobile */
#mobile-menu {
    background-color: var(--white);
    border-top: 1px solid var(--gray-50);
    position: absolute;
    width: 100%;
    box-shadow: var(--shadow-card);
    height: 100vh;
}

#mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    text-align: center;
}

#mobile-menu a {
    text-decoration: none;
    color: var(--primary-900);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-50);
    font-weight: 500;
}

#mobile-menu .mobile-cta {
    background-color: var(--accent-600);
    color: var(--white);
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-color: var(--primary-900);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--primary-950), rgba(15, 23, 42, 0.9), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 2.5rem;
    
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: auto;

    /* Padrão para Mobile (Celulares) */
    margin-left: 0rem; 
}

/* Regra para Telas Maiores (Notebooks/Desktops - acima de 1024px) */
@media (min-width: 1024px) {
    .hero-content {
        margin-left: 2rem;
    }
}

.hero-text {
    max-width: 48rem;
}

.hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 0.125rem;
    color: var(--accent-500);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-text .pulse {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.hero-text h1 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-text h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .hero-text h1 { font-size: 3.75rem; }
}

.hero-text .highlight {
    background: -webkit-linear-gradient(left, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--slate-300);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    font-weight: 300;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item .icon-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 0.375rem;
    display: flex;
}

.feature-item i {
    color: var(--accent-500);
    width: 1.25rem;
    height: 1.25rem;
}

.feature-item span {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}

/* --- Stats --- */
.stats-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--slate-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
    text-align: center;
    cursor: default;
}

.stat-item h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

@media (min-width: 768px) {
    .stat-item h3 { font-size: 3rem; }
}

.stat-item:hover h3 { color: var(--accent-600); }

.stat-item p {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Grids e Cards (Geral) --- */
.grid-3 {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* --- Services (Features) --- */
.section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-header h2 {
    font-size: 1.875rem;
    color: var(--primary-900);
}

.link-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-900);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.link-arrow:hover { color: var(--accent-600); }
.link-arrow i { width: 1rem; height: 1rem; }

.card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    padding: 2rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-card);
    border-bottom: 4px solid var(--accent-600);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-900);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.125rem;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s;
}

.card:hover .card-icon { background-color: var(--accent-600); }

.card h3 {
    font-size: 1.25rem;
    color: var(--primary-900);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Projetos --- */
.section-desc {
    color: var(--slate-500);
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    position: relative;
    height: 18rem;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.project-card:hover img { transform: scale(1.1); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary-950), rgba(15, 23, 42, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-category {
    color: var(--accent-500);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    transform: translateY(1rem);
    transition: transform 0.3s;
}

.project-overlay h4 {
    color: var(--white);
    font-size: 1.25rem;
    transform: translateY(1rem);
    transition: transform 0.3s 0.075s;
}

.project-overlay p {
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    transform: translateY(1rem);
    transition: transform 0.3s 0.1s;
}

.project-card:hover .project-category,
.project-card:hover h4,
.project-card:hover p {
    transform: translateY(0);
}

.link-arrow-border {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-900);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-600);
    padding-bottom: 0.25rem;
    transition: color 0.3s;
}

.link-arrow-border:hover { color: var(--accent-600); }
.link-arrow-border i { width: 1rem; height: 1rem; }

/* --- About --- */
.about-section {
    background-color: var(--primary-900);
    color: var(--white);
    overflow: hidden;
}

.split-layout {
    display: grid;
}

@media (min-width: 1024px) {
    .split-layout { grid-template-columns: 1fr 1fr; }
}

.about-image {
    position: relative;
    height: 400px;
}

@media (min-width: 1024px) {
    .about-image { height: auto; }
}

.about-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image .about-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    mix-blend-mode: multiply;
}

.about-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .about-content { padding: 4rem; }
}

@media (min-width: 1024px) {
    .about-content { padding: 6rem; }
}

.about-content h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-content h2 { font-size: 2.25rem; }
}

.about-content p {
    color: var(--slate-300);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.check-list {
    list-style: none;
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.check-list i {
    color: var(--accent-500);
    width: 1.25rem;
    height: 1.25rem;
}

/* --- Testimonials --- */
.testimonial-card {
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: 0.75rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: 2rem;
    background-color: var(--accent-600);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
}

.quote-icon i {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: var(--accent-500);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.stars i { width: 1rem; height: 1rem; fill: currentColor; }

.testimonial-text {
    font-size: 0.875rem;
    color: var(--slate-600);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--slate-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-900);
}

.client-info h5 {
    font-weight: 700;
    color: var(--primary-900);
    font-size: 0.875rem;
}

.client-info span {
    font-size: 0.75rem;
    color: var(--slate-500);
    display: block;
}

/* --- Parceiros --- */
.partners-section {
    background-color: var(--white);
    border-top: 1px solid var(--gray-50);
    padding: 4rem 0;
}

.partners-label {
    color: var(--slate-500);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.5s;
    margin-top: 2rem;
}

.partners-grid:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--slate-700);
}

.partner-logo i { width: 2rem; height: 2rem; }

/* --- Footer --- */
footer {
    background-color: var(--primary-950);
    color: var(--white);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 4px solid var(--accent-600);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand .icon-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.375rem;
    border-radius: 0.375rem;
}

.footer-brand i { color: var(--accent-500); width: 1.25rem; height: 1.25rem; }

.footer-brand span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-600);
    padding-left: 0.75rem;
}

.footer-col ul {
    list-style: none;
    color: #94a3b8;
    font-size: 0.875rem;
}

.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.footer-col ul a:hover { color: var(--accent-500); }

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-list i {
    color: var(--accent-500);
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--slate-500);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.secure-badge i { width: 0.75rem; height: 0.75rem; }

/* --- WhatsApp --- */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background-color: #22c55e;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn:hover {
    background-color: #16a34a;
    transform: scale(1.1);
}

.whatsapp-btn i { width: 2rem; height: 2rem; fill: currentColor; }

/* --- Animações --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* Scroll Margin fix para o header sticky */
section { scroll-margin-top: 100px; }