﻿/* ============================================================
   ELETRIC SERVICES - Modern Landing Page CSS
   Paleta: Amber #f59e0b | Orange #f97316 | Dark #0a0a0f
   ============================================================ */

/* ---- VARIÁVEIS ---- */
:root {
    --primary:       #f59e0b;
    --primary-dark:  #d97706;
    --orange:        #f97316;
    --dark:          #0a0a0f;
    --dark-2:        #111827;
    --dark-3:        #1e293b;
    --slate:         #334155;
    --text-light:    #e2e8f0;
    --text-muted:    #94a3b8;
    --white:         #ffffff;
    --font-heading:  'Poppins', sans-serif;
    --font-body:     'Inter', sans-serif;
    --transition:    all 0.3s ease;
    --radius:        12px;
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
    max-width: 100%;
}
a { text-decoration: none; }

/* ---- NAVBAR ---- */
#mainNav {
    background: transparent;
    padding: 1.2rem 0;
    transition: var(--transition);
    z-index: 1000;
}
#mainNav.scrolled {
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(245,158,11,0.15);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
#mainNav .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white) !important;
}
.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    border-radius: 8px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    color: var(--dark);
}
#mainNav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem !important;
    transition: var(--transition);
    position: relative;
}
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}
#mainNav .nav-link:hover { color: var(--primary) !important; }
#mainNav .nav-link:hover::after { width: 60%; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}
#mainNav .navbar-toggler {
    border: 1px solid rgba(245,158,11,0.4);
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    background: none;
}
#mainNav .navbar-collapse {
    background: rgba(10,10,15,0.98);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}
@media (min-width: 992px) {
    #mainNav .navbar-collapse {
        background: transparent;
        padding: 0;
        margin-top: 0;
    }
}

/* ---- HERO ---- */
.hero-section {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(245,158,11,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(249,115,22,0.05) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #111827 50%, #0a0a0f 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245,158,11,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,158,11,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 5rem; padding-bottom: 5rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    color: var(--primary);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-orange {
    background: linear-gradient(135deg, var(--orange), #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.85;
    margin-bottom: 0.5rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: var(--dark) !important;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(245,158,11,0.35);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245,158,11,0.5);
}
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    border: 1.5px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}
.btn-hero-outline:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: rgba(245,158,11,0.05);
}
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 380px; height: 380px;
    margin: 0 auto;
}
.hero-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 260px; height: 260px;
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(249,115,22,0.08));
    border: 1.5px solid rgba(245,158,11,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-ring 3s infinite;
}
.hero-bolt-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bolt-glow 2s ease-in-out infinite alternate;
}
@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.12); }
    50%       { box-shadow: 0 0 0 28px rgba(245,158,11,0); }
}
@keyframes bolt-glow {
    from { filter: drop-shadow(0 0 8px rgba(245,158,11,0.4)); }
    to   { filter: drop-shadow(0 0 22px rgba(245,158,11,0.9)); }
}
.hero-float-card {
    position: absolute;
    background: rgba(17,24,39,0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    animation: float-card 4s ease-in-out infinite;
    white-space: nowrap;
}
.hero-float-card i { color: var(--primary); font-size: 1rem; }
.card-1 { top: 6%;  right: 0;    animation-delay: 0s; }
.card-2 { bottom: 6%; left: 0;   animation-delay: 1.5s; }
.card-3 { top: 48%; right: -5px; animation-delay: 0.8s; }
.card-3 i { color: var(--orange); }
@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.card-3    { animation: float-mid 4s ease-in-out infinite 0.8s; }
@keyframes float-mid {
    0%, 100% { transform: translateY(-50%); }
    50%       { transform: translateY(calc(-50% - 10px)); }
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}
.hero-scroll-indicator a { color: var(--primary); font-size: 1.2rem; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- STATS BAR ---- */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    padding: 3rem 0;
}
.stat-item-bar { text-align: center; padding: 0 1rem; }
.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}
.stat-lbl {
    color: rgba(10,10,15,0.7);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
}

/* ---- SECTIONS ---- */
.section { padding: 100px 0; }
.section-dark    { background: var(--dark-2); }
.section-darker  { background: var(--dark); }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.85;
}

/* ---- SERVICE CARDS ---- */
.service-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245,158,11,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(249,115,22,0.06));
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: var(--dark);
    border-color: transparent;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }

/* ---- ABOUT ---- */
.about-image-wrapper { position: relative; display: inline-block; width: 100%; max-width: 420px; }
.about-img-placeholder {
    width: 100%; height: 480px;
    background: linear-gradient(135deg, var(--dark-3), var(--slate));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245,158,11,0.12);
    gap: 1rem;
}
.about-img-placeholder i    { font-size: 5rem; color: rgba(245,158,11,0.25); }
.about-img-placeholder span { color: var(--text-muted); font-size: 0.9rem; }
.about-badge {
    position: absolute;
    bottom: 25px; right: -15px;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: var(--dark);
    padding: 1rem 1.5rem;
    border-radius: 14px;
    text-align: center;
    font-family: var(--font-heading);
    box-shadow: 0 10px 30px rgba(245,158,11,0.4);
}
.about-badge .num { font-size: 2rem; font-weight: 900; line-height: 1; display: block; }
.about-badge .lbl { font-size: 0.72rem; font-weight: 700; display: block; line-height: 1.3; }
.skill-item { margin-bottom: 1.5rem; }
.skill-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
}
.skill-percent { color: var(--primary); }
.skill-bar {
    background: rgba(255,255,255,0.07);
    border-radius: 50px;
    height: 7px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--orange));
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- PORTFOLIO ---- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
}
.portfolio-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, rgba(245,158,11,0.04), rgba(249,115,22,0.04));
    transition: var(--transition);
}
.portfolio-placeholder i    { font-size: 2.8rem; color: rgba(245,158,11,0.2); }
.portfolio-placeholder span { font-size: 0.8rem; color: var(--text-muted); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,158,11,0.9), rgba(249,115,22,0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    color: var(--dark);
    text-align: center;
    padding: 1.5rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay i    { font-size: 2rem; margin-bottom: 0.5rem; }
.portfolio-overlay h4   { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; margin: 0; }
.portfolio-overlay p    { font-size: 0.82rem; margin: 0.3rem 0 0; opacity: 0.8; }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover {
    border-color: rgba(245,158,11,0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}
.testimonial-stars  { color: var(--primary); margin-bottom: 1rem; letter-spacing: 2px; font-size: 0.9rem; }
.testimonial-text {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(245,158,11,0.3);
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    flex-shrink: 0;
    font-family: var(--font-heading);
}
.author-info .name { color: var(--white);    font-weight: 700; font-size: 0.92rem; }
.author-info .role { color: var(--text-muted); font-size: 0.8rem; }

/* ---- CONTACT ---- */
.contact-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 2.5rem;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.contact-icon {
    width: 46px; height: 46px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-info-item h5 { color: var(--white); font-weight: 700; font-size: 0.88rem; margin-bottom: 0.2rem; }
.contact-info-item p  { color: var(--text-muted); font-size: 0.88rem; margin: 0; line-height: 1.55; }
.form-label {
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    display: block;
}
.form-control-modern {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.93rem;
    transition: var(--transition);
    outline: none;
    appearance: none;
}
.form-control-modern::placeholder { color: var(--text-muted); }
.form-control-modern:focus {
    border-color: rgba(245,158,11,0.5);
    background: rgba(245,158,11,0.03);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.08);
}
textarea.form-control-modern { resize: vertical; min-height: 130px; }
select.form-control-modern option { background: var(--dark-2); }
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: var(--dark);
    font-weight: 700;
    padding: 0.95rem;
    border-radius: 10px;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,158,11,0.4);
}
.btn-whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    padding: 0.95rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(37,211,102,0.25);
}
.btn-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

/* ---- FOOTER ---- */
.site-footer {
    background: #060608;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 0 0;
}
.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.footer-brand i { color: var(--primary); }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social a {
    display: inline-flex;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--dark); }
.footer-heading { color: var(--white); font-weight: 700; font-size: 0.93rem; margin-bottom: 1.4rem; letter-spacing: 0.3px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li  { margin-bottom: 0.65rem; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 3rem;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; margin: 0; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.7rem;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 35px rgba(37,211,102,0.6);
}
@keyframes pulse-green {
    0%,100% { box-shadow: 0 5px 20px rgba(37,211,102,0.4); }
    50%      { box-shadow: 0 5px 38px rgba(37,211,102,0.7); }
}

/* ================================================================
   RESPONSIVO — Mobile-First
   ================================================================ */

/* ≤ 1199px */
@media (max-width: 1199px) {
    .hero-visual { width: 340px; height: 340px; }
    .hero-circle { width: 230px; height: 230px; }
}

/* ≤ 991px — tablet / menu mobile */
@media (max-width: 991px) {
    /* Navbar collapse moderno */
    #mainNav .navbar-collapse {
        background: rgba(10,10,15,0.98);
        border: 1px solid rgba(245,158,11,0.18);
        border-radius: 14px;
        padding: 0.5rem 0.5rem 1rem;
        margin-top: 0.75rem;
        box-shadow: 0 24px 60px rgba(0,0,0,0.75);
    }
    #mainNav .nav-link {
        font-size: 1rem !important;
        padding: 0.85rem 1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 8px;
        letter-spacing: 0.2px;
    }
    #mainNav .nav-link::after { display: none; }
    #mainNav .navbar-nav > .nav-item:last-child .nav-link { border-bottom: none; }
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.2rem;
        font-size: 1rem;
        margin-top: 0.25rem;
        border-radius: 12px;
    }
    #mainNav .navbar-toggler { padding: 0.5rem 0.85rem; border-radius: 10px; }
    /* Hero */
    .hero-title { font-size: 2.6rem; }
    .hero-stats { gap: 1.5rem; }
    .stat-divider { display: none; }
    .hero-visual-col { display: none !important; }
    .hero-section { overflow: hidden; }
}

/* ≤ 767px — mobile */
@media (max-width: 767px) {
    /* Aumenta o padding lateral do container em todas as seções */
    .container, .container-fluid { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }

    /* ===== HERO ===== */
    .hero-section {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 0;
        overflow: hidden;
    }
    .hero-visual-col { display: none !important; }
    .hero-content { padding: 2rem 0 1.5rem; }
    .hero-scroll-indicator { display: none; }
    .hero-title {
        font-size: 2rem;
        line-height: 1.18;
        margin-bottom: 1rem;
    }
    .hero-badge {
        font-size: 0.76rem;
        padding: 0.4rem 0.85rem;
        margin-bottom: 1rem;
    }
    .hero-subtitle { font-size: 0.92rem; max-width: 100%; }
    /* CTAs full-width no mobile */
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.25rem !important;
    }
    .btn-hero-primary, .btn-hero-outline {
        justify-content: center;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 14px;
    }
    /* Stats — grade 3 colunas */
    .hero-stats {
        padding-top: 1.5rem;
        gap: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 1.25rem !important;
    }
    .stat-item { text-align: center; padding: 0 0.25rem; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.67rem; }
    /* Hero visual menor */
    .hero-visual { width: 180px; height: 180px; margin: 1.5rem auto 0; }
    .hero-circle { width: 140px; height: 140px; }
    .hero-bolt-icon { font-size: 2.8rem; }
    .hero-scroll-indicator { bottom: 1rem; }

    /* ===== STATS BAR ===== */
    .stats-bar { padding: 2rem 0; }
    .stat-num { font-size: 2.1rem; }
    .stat-lbl { font-size: 0.74rem; }

    /* ===== SECÇÕES ===== */
    .section { padding: 60px 0; }
    .section-title { font-size: 1.7rem !important; }
    .section-subtitle { font-size: 0.92rem; }
    .mb-5 { margin-bottom: 2.5rem !important; }

    /* ===== SERVIÇOS ===== */
    .service-card { padding: 1.5rem; }
    .service-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 1rem; }
    .service-card h3 { font-size: 1rem; }
    .service-card p  { font-size: 0.88rem; }

    /* ===== SOBRE ===== */
    .about-img-placeholder { height: 240px; }
    .about-badge { right: 0; bottom: 15px; padding: 0.8rem 1.2rem; }
    .about-badge .num { font-size: 1.6rem; }
    .skill-item { margin-bottom: 1.1rem; }

    /* ===== PORTFÓLIO ===== */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .portfolio-item { aspect-ratio: 1/1; }

    /* ===== DEPOIMENTOS ===== */
    .testimonials-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 0.75rem;
        padding-left: 0;
        padding-right: 1rem;
    }
    .testimonials-scroll > [class*="col-"] {
        min-width: 84%;
        flex: 0 0 84%;
        scroll-snap-align: start;
    }
    .testimonials-scroll::-webkit-scrollbar { height: 4px; }
    .testimonials-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }
    .testimonials-scroll::-webkit-scrollbar-thumb { background: rgba(245,158,11,0.35); border-radius: 4px; }
    .testimonial-card { padding: 1.4rem; }
    .testimonial-text { font-size: 0.87rem; }
    .author-avatar { width: 42px; height: 42px; font-size: 0.88rem; }

    /* ===== CONTATO ===== */
    .contact-card { padding: 1.75rem 1.2rem; }

    /* ===== FOOTER ===== */
    .site-footer { padding: 2.5rem 0 0; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.35rem;
        padding: 1.2rem 0;
    }
    .footer-brand { font-size: 1.2rem; }
    .footer-desc  { font-size: 0.85rem; }

    /* ===== WHATSAPP FLOAT ===== */
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 62px;
        height: 62px;
        font-size: 1.9rem;
    }
}

/* ≤ 480px — mobile pequeno */
@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .stats-bar .stat-num { font-size: 1.85rem; }
    .stats-bar .stat-lbl { font-size: 0.7rem; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.55rem !important; }
    .portfolio-grid { gap: 0.5rem; }
    .hero-stats .stat-number { font-size: 1.45rem; }
    .hero-stats .stat-label { font-size: 0.63rem; }
}

/* ≤ 375px — telas muito pequenas */
@media (max-width: 375px) {
    .service-card { padding: 1rem 0.85rem; }
    .service-card h3 { font-size: 0.88rem; }
    .service-icon { width: 42px; height: 42px; font-size: 1rem; }
    .hero-title { font-size: 1.7rem; }
    .hero-stats .stat-number { font-size: 1.3rem; }
}

/* Fade hint para indicar scroll horizontal nos depoimentos (mobile) */
@media (max-width: 767px) {
    #depoimentos .container { position: relative; overflow: hidden; }
    #depoimentos .container::after {
        content: '';
        position: absolute;
        right: 0; top: 0; bottom: 0;
        width: 60px;
        background: linear-gradient(to right, transparent, rgba(17,24,39,0.92));
        pointer-events: none;
        z-index: 2;
    }
}

/* Dispositivos touch — overlay portfólio sempre visível (sem hover) */
@media (hover: none) {
    .portfolio-overlay {
        background: linear-gradient(to top, rgba(5,5,10,0.92) 0%, transparent 72%);
        opacity: 1;
        justify-content: flex-end;
        padding-bottom: 0.9rem;
        transition: none;
    }
    .portfolio-overlay > i { display: none; }
    .portfolio-overlay > p { display: none; }
    .portfolio-overlay h4 {
        color: var(--white);
        font-size: 0.8rem;
        margin: 0;
        text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    }
    /* Sem animações de hover nos cards touch */
    .service-card:hover      { transform: none; box-shadow: none; }
    .testimonial-card:hover  { transform: none; box-shadow: none; }
}
