/* Design System M.A Manutenção Elétrica e Refrigeração */

/* CSS Variables */
:root {
    --bg-primary: #07080b;
    --bg-secondary: #0d0f14;
    --bg-card: #12151e;
    --bg-card-hover: #191d29;
    --primary: #e06915;
    --primary-hover: #f97316;
    --primary-rgb: 224, 105, 21;
    --secondary: #1b202e;
    --accent: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(224, 105, 21, 0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-icon {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.btn-icon-right {
    margin-left: 0.5rem;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-right {
    transform: translate(2px, -2px);
}

/* Badges */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background-color: rgba(var(--primary-rgb), 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary-hover);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Section Common */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 650px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

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

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary-hover);
    position: relative;
    display: inline-block;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(7, 8, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background-color: rgba(7, 8, 11, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-accent {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.logo-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px; /* navbar offset */
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
    width: 100%;
}

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

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Trust Feature Bar */
.trust-bar {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon-wrapper {
    background-color: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon {
    color: var(--primary-hover);
    width: 22px;
    height: 22px;
}

.trust-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.trust-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    background-color: var(--bg-primary);
}

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

.about-text {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-text.text-muted {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-bullets {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.about-bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.bullet-icon {
    color: var(--primary-hover);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-glow);
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 240px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-hover);
    line-height: 1;
}

.card-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Services Section */
.services-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 15px 35px -10px rgba(var(--primary-rgb), 0.12);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(var(--primary-rgb), 0.08), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-icon-box {
    width: 54px;
    height: 54px;
    background-color: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-hover);
}

.service-icon {
    width: 24px;
    height: 24px;
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-hover);
}

.link-icon {
    margin-left: 0.25rem;
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-link:hover .link-icon {
    transform: translateX(3px);
}

/* Why Us Section */
.why-us-section {
    background-color: var(--bg-primary);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-image-wrapper {
    position: relative;
}

.why-us-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-us-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: rgba(var(--primary-rgb), 0.1);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.why-us-desc {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.feature-item-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-detail-card {
    display: flex;
    gap: 1.25rem;
}

.feature-icon-wrapper {
    background-color: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-hover);
}

.feature-icon {
    width: 22px;
    height: 22px;
}

.feature-detail-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-detail-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.faq-trigger:focus {
    outline: none;
}

.faq-chevron {
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-top: 1px solid transparent;
}

/* FAQ Active State */
.faq-item.active {
    border-color: rgba(var(--primary-rgb), 0.25);
    background-color: var(--bg-card-hover);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-hover);
}

/* Call to Action Section */
.cta-section {
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.cta-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.cta-section .section-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.cta-title {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn-pulse {
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

.cta-phone-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cta-phone-text strong {
    color: var(--text-primary);
}

/* Footer Section */
.footer {
    background-color: #030406;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-about-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 320px;
}

.footer-col-links h4, .footer-col-info h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-col-links a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-col-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-info-item {
    display: flex;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    align-items: flex-start;
}

.footer-info-item span {
    line-height: 1.4;
}

.footer-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-hover);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.creator-stamp {
    font-style: italic;
}

/* Mobile Menu & Responsiveness */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    .section-container {
        padding: 5rem 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid, .why-us-grid {
        gap: 3rem;
    }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .mobile-cta-only {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-grid, .why-us-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-floating-card {
        left: 10px;
        bottom: -15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.35rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .trust-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons-wrapper .btn {
        width: 100%;
    }
}

/* Floating WhatsApp Button */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, box-shadow 0.3s ease;
}

.whatsapp-floating:hover {
    transform: scale(1.08) translateY(-3px);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-floating-icon {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-floating-icon {
        width: 28px;
        height: 28px;
    }
}

/* Agency Credit Footer Badge */
.agency-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.65rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0.75;
}

.agency-credit:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(224, 105, 21, 0.35);
    color: var(--text-secondary);
}

.agency-logo {
    height: 14px !important;
    max-height: 14px !important;
    width: auto !important;
    object-fit: contain !important;
    display: inline-block;
    vertical-align: middle;
    animation: agencyLogoPulse 2.5s infinite ease-in-out;
}

@keyframes agencyLogoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.12);
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(0, 195, 255, 0.75));
    }
}

