/* LC Eletricista — main.css */

:root {
    --navy:        #072d52;
    --navy-light:  #0d3d6e;
    --blue:        #1e537d;
    --orange:      #fc700f;
    --orange-dark: #e05c00;
    --white:       #ffffff;
    --light:       #f0f5fa;
    --border:      #dde6f0;
    --text:        #1e293b;
    --text-muted:  #64748b;
    --wa-green:    #25d366;
    --wa-dark:     #128c7e;
    --radius:      10px;
    --shadow:      0 4px 24px rgba(7,45,82,.10);
    --shadow-lg:   0 8px 40px rgba(7,45,82,.16);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: transform .15s, box-shadow .15s, background .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-orange {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(252,112,15,.35);
}
.btn-orange:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 24px rgba(252,112,15,.45);
}

.btn-wa {
    background: var(--wa-green);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(37,211,102,.30);
}
.btn-wa:hover {
    background: var(--wa-dark);
    box-shadow: 0 6px 24px rgba(37,211,102,.40);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-white:hover { box-shadow: 0 6px 24px rgba(0,0,0,.20); }

.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: 12px; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    box-shadow: 0 2px 12px rgba(7,45,82,.20);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.site-logo img { height: 48px; width: auto; }
.logo-header { filter: brightness(0) invert(1); }
.logo-footer  { filter: brightness(0) invert(1); }
.header-cta { font-size: 14px; padding: 10px 20px; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content {
    max-width: 720px;
    position: relative;
}
.hero-badge {
    display: inline-block;
    background: rgba(252,112,15,.18);
    color: #ffa86a;
    border: 1px solid rgba(252,112,15,.30);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: .02em;
}
.hero-badge.urgente {
    background: rgba(239,68,68,.18);
    color: #fca5a5;
    border-color: rgba(239,68,68,.30);
}
.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.hero-sub {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255,255,255,.80);
    margin-bottom: 32px;
    max-width: 580px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.hero-trust span {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    font-weight: 500;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--navy);
    padding: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,.08);
}
.stat {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
}
.stat:last-child { border-right: none; }
.stat strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: -.02em;
}
.stat span {
    font-size: 13px;
    color: rgba(255,255,255,.60);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 52px;
}
.section-header h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.02em;
    margin-bottom: 10px;
}
.section-header p {
    font-size: 17px;
    color: var(--text-muted);
}
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== SERVICES ===== */
.services { background: var(--light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== DIFERENCIAIS ===== */
.diferenciais { background: var(--white); }
.dif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.dif-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: 14px;
    border: 2px solid var(--border);
    transition: border-color .2s, box-shadow .2s;
}
.dif-card:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 20px rgba(252,112,15,.12);
}
.dif-icon { font-size: 40px; margin-bottom: 16px; }
.dif-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.dif-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--light); }
.stars-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
}
.stars { color: #f59e0b; font-size: 20px; letter-spacing: 2px; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.t-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}
.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.t-author strong {
    display: block;
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}
.t-author span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== COMO FUNCIONA ===== */
.como-funciona { background: var(--white); }
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
}
.step {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
    background: var(--light);
    border-radius: 14px;
}
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-weight: 900;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.step-arrow {
    font-size: 24px;
    color: var(--orange);
    padding: 0 12px;
    font-weight: 900;
    flex-shrink: 0;
}

/* ===== COBERTURA ===== */
.cobertura { background: var(--navy); }
.cobertura .section-header h2 { color: var(--white); }
.cobertura .section-header p { color: rgba(255,255,255,.65); }
.cidades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cidade-item {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.cidade-item:hover { background: rgba(252,112,15,.15); border-color: rgba(252,112,15,.30); }
.cidade-destaque {
    border-color: rgba(252,112,15,.50);
    background: rgba(252,112,15,.12);
    color: #ffa86a;
    font-weight: 700;
}

/* ===== CTA CARD ===== */
.cta-card-section { background: var(--light); padding: 64px 0; }
.cta-card {
    background: linear-gradient(135deg, var(--orange) 0%, #e05c00 100%);
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(252,112,15,.30);
}
.cta-card-icon { font-size: 52px; margin-bottom: 16px; }
.cta-card h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.cta-card p {
    font-size: 17px;
    color: rgba(255,255,255,.90);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); padding: 64px 0 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    align-items: start;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.60); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.70);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-links h4, .footer-contact h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.40);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    padding: 4px 0;
}
.footer-contact p { font-size: 15px; color: rgba(255,255,255,.80); font-weight: 600; margin-bottom: 16px; }
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,.30);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.footer-dev:hover { color: rgba(255,255,255,.60); }
.footer-dev img { opacity: .45; transition: opacity .2s; filter: brightness(0) invert(1); max-width: 25px; width: 25px; }
.footer-dev:hover img { opacity: .80; }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    z-index: 999;
    transition: transform .2s, box-shadow .2s;
    animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,.60);
    animation: none;
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
    50%       { box-shadow: 0 4px 32px rgba(37,211,102,.70); }
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PÁGINAS LEGAIS ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 64px 0 52px;
}
.page-label {
    display: inline-block;
    background: rgba(252,112,15,.18);
    color: #ffa86a;
    border: 1px solid rgba(252,112,15,.30);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
}
.page-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.02em;
    margin-bottom: 8px;
}
.page-hero-sub {
    font-size: 14px;
    color: rgba(255,255,255,.55);
}
.page-content {
    padding: 64px 20px 80px;
    max-width: 760px;
}
.page-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}
.page-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 36px 0 12px;
}
.page-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.page-content ul li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 4px;
}
.page-content a { color: var(--orange); text-decoration: underline; }
.page-content strong { color: var(--text); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .dif-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child { display: none; }
    .cidades-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .hero { padding: 60px 0 52px; }
    .section { padding: 56px 0; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
    .stat:nth-last-child(-n+2) { border-bottom: none; }

    .services-grid { grid-template-columns: 1fr; }
    .dif-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { display: block; }

    .steps-grid { flex-direction: column; gap: 8px; }
    .step-arrow { transform: rotate(90deg); padding: 4px 0; }

    .cidades-grid { grid-template-columns: 1fr 1fr; }

    .cta-card { padding: 40px 24px; }
    .cta-card .btn { width: 100%; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

    .header-cta { display: none; }
    .site-logo img { height: 40px; }
}
