﻿/* =================================================================
   OM LIMPTEC — Stylesheet 2026
   Organização: variáveis → reset → utilitários → topbar → navbar
                → hero → serviços → métricas → sobre → galeria
                → cta → banner-inner → footer → float WA → modal
                → admin → responsivo
================================================================= */

/* ── 1. VARIÁVEIS ─────────────────────────────────────────────── */
/* Cores retiradas da identidade visual oficial da OM Limptec     */
:root {
    /* Azul corporativo (logo e fundos) */
    --blue:       #1e80c5;
    --blue-dark:  #155f96;
    --blue-bg:    #0e3d66;   /* versões escuras para hero/footer */
    /* Amarelo da marca (engrenagem, letra M) */
    --yellow:     #f5e020;
    --yellow-h:   #d6c308;
    /* Grafite (textos e contornos da logo) */
    --dark:       #2d2d2d;
    /* Neutros */
    --white:      #ffffff;
    --gray-bg:    #f2f6fb;
    --gray-line:  #dde5ef;
    --text:       #1e293b;
    --muted:      #556070;
    --green-wa:   #25d366;
    /* Aliases usados no CSS abaixo */
    --navy:       var(--blue-bg);
    --navy-med:   var(--blue-dark);
    --accent:     var(--yellow);
    --accent-h:   var(--yellow-h);
    --r:          10px;
    --sh:         0 4px 18px rgba(0,0,0,.08);
    --sh-lg:      0 14px 44px rgba(0,0,0,.14);
    --tr:         .2s ease;
}

/* ── 2. RESET / BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}
img { max-width: 100%; height: auto; display: block; }
a   { transition: color var(--tr); }
main { flex: 1; }

/* ── 3. UTILITÁRIOS ───────────────────────────────────────────── */
.sec-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    padding: 4px 12px;
    background: rgba(30,128,197,.1);
    border-radius: 4px;
    margin-bottom: 12px;
}
.sec-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: .5rem;
}
.sec-title-white { color: var(--white); }
.sec-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 540px;
}
.sec-line {
    width: 48px; height: 3px;
    background: var(--yellow);
    border-radius: 2px;
    margin: 14px 0 26px;
}

/* ── 4. BOTÕES ────────────────────────────────────────────────── */
.btn-om,
.btn-om-outline,
.btn-om-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    padding: .65rem 1.7rem;
    border-radius: var(--r);
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
    transition: background var(--tr), border-color var(--tr),
                box-shadow var(--tr), transform var(--tr), color var(--tr);
    cursor: pointer;
}
.btn-om { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-om:hover {
    background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white);
    box-shadow: 0 6px 20px rgba(30,128,197,.35); transform: translateY(-1px);
}
.btn-om-outline {
    background: transparent; border-color: rgba(255,255,255,.45); color: var(--white);
}
.btn-om-outline:hover {
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); color: var(--white);
}
.btn-om-dark { background: var(--blue-bg); border-color: var(--blue-bg); color: var(--white); }
.btn-om-dark:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

/* Legado admin */
.btn-laranja       { background: var(--blue); border-color: var(--blue); color: var(--white); font-weight: 600; }
.btn-laranja:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-outline-laranja       { border: 1.5px solid var(--blue); color: var(--blue); background: transparent; font-weight: 600; }
.btn-outline-laranja:hover { background: var(--blue); color: var(--white); }
.btn-accent        { background: var(--blue); border-color: var(--blue); color: var(--white); font-weight: 600; }
.btn-accent:hover  { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.text-laranja { color: var(--blue) !important; }

/* ── 5. TOPBAR ────────────────────────────────────────────────── */
.topbar {
    background: var(--navy);
    padding: 8px 0;
    font-size: .8rem;
    color: rgba(255,255,255,.6);
}
.topbar i { opacity: .55; }
.topbar a { color: rgba(255,255,255,.6); text-decoration: none; }
.topbar a:hover { color: var(--accent); }

/* ── 6. NAVBAR ────────────────────────────────────────────────── */
#navbar {
    background: var(--navy);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: padding var(--tr), box-shadow var(--tr);
}
#navbar.scrolled { padding: 10px 0; box-shadow: 0 4px 24px rgba(0,0,0,.3); }

.nav-logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.nav-logo-icon img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.nav-logo-text {
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: 1.2rem; color: var(--white); letter-spacing: 1.5px; line-height: 1;
}
.nav-logo-text em { font-style: normal; color: var(--yellow); }

#menuToggle {
    display: none; background: none;
    border: 1.5px solid rgba(255,255,255,.3); border-radius: 6px;
    color: var(--white); padding: 6px 10px; font-size: 1.25rem; line-height: 1; cursor: pointer;
}

#navMenu { display: flex; align-items: center; gap: 6px; }
#navMenu ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
#navMenu ul a {
    display: block; color: rgba(255,255,255,.68); text-decoration: none;
    font-size: .9rem; font-weight: 500; padding: 7px 14px; border-radius: 6px;
    transition: color var(--tr), background var(--tr);
}
#navMenu ul a:hover  { color: var(--white); background: rgba(255,255,255,.1); }
#navMenu ul a.ativo  { color: var(--accent); }
.nav-cta { margin-left: 10px; }

/* ── 7. HERO ──────────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--navy); overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('../../uploads/galeria/Foto-11.jpg')
                center/cover no-repeat;
    opacity: .12;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(125deg, rgba(14,61,102,.97) 0%, rgba(21,95,150,.86) 100%);
}
.hero-body {
    position: relative; z-index: 2;
    padding: 100px 0 80px; width: 100%;
}
.hero-kicker {
    display: flex; align-items: center; gap: 10px;
    font-size: .76rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--yellow); margin-bottom: 20px;
}
.hero-kicker::before {
    content: ''; display: block; width: 28px; height: 2px;
    background: var(--yellow); border-radius: 2px; flex-shrink: 0;
}
.hero-h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900;
    color: var(--white); line-height: 1.12; margin-bottom: 1.2rem;
}
.hero-h1 em { font-style: normal; color: var(--accent); }
.hero-lead {
    font-size: 1.08rem; color: rgba(255,255,255,.65);
    max-width: 500px; line-height: 1.8; margin-bottom: 2rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.5rem; }

.hero-stats {
    display: flex; max-width: 460px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; overflow: hidden;
}
.hero-stat { flex: 1; text-align: center; padding: 18px 12px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,.1); }
.hero-stat-num {
    display: block; font-family: 'Montserrat', sans-serif;
    font-size: 1.85rem; font-weight: 800; color: var(--yellow); line-height: 1;
}
.hero-stat-lbl {
    display: block; font-size: .68rem; color: rgba(255,255,255,.42);
    line-height: 1.4; margin-top: 5px; text-transform: uppercase; letter-spacing: .4px;
}

.hero-photo { position: relative; display: flex; justify-content: flex-end; align-items: center; }
.hero-photo img {
    width: 100%; max-width: 420px; border-radius: 18px;
    border: 2px solid rgba(255,255,255,.1); box-shadow: 0 28px 64px rgba(0,0,0,.5);
}
.hero-photo-badge {
    position: absolute; bottom: 20px; left: 0;
    background: var(--white); border-radius: 10px; padding: 10px 16px;
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; font-weight: 700; color: var(--navy); box-shadow: var(--sh-lg);
}
.hero-photo-badge i { color: var(--blue); font-size: 1.1rem; }

.hero-scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.3); font-size: 1.2rem; z-index: 2;
    animation: scrollCue 2.5s ease-in-out infinite;
}
@keyframes scrollCue {
    0%, 100% { transform: translateX(-50%) translateY(0);   opacity: .35; }
    50%       { transform: translateX(-50%) translateY(6px); opacity: .8;  }
}

/* ── 8. SERVIÇOS ──────────────────────────────────────────────── */
.services-sec { padding: 96px 0; background: var(--white); }

.service-card {
    background: var(--white); border: 1px solid var(--gray-line);
    border-radius: 14px; overflow: hidden;
    height: 100%; display: flex; flex-direction: column;
    transition: box-shadow var(--tr), transform var(--tr), border-color var(--tr);
}
.service-card:hover { box-shadow: var(--sh-lg); transform: translateY(-6px); border-color: rgba(30,128,197,.25); }
.service-card-img { height: 185px; overflow: hidden; background: var(--gray-bg); flex-shrink: 0; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-med) 100%);
    font-size: 2.5rem; color: rgba(255,255,255,.15);
}
.service-card-body { padding: 22px 22px 26px; flex: 1; }
.service-card-ico {
    width: 42px; height: 42px; background: rgba(30,128,197,.1);
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; color: var(--blue); margin-bottom: 12px;
}
.service-card-body h5 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card-body p { font-size: .86rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── 9. MÉTRICAS ──────────────────────────────────────────────── */
.metrics-strip { background: var(--navy); padding: 72px 0; }
.metrics-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.metrics-nums { display: flex; flex: 1; min-width: 260px; }
.metric-block { flex: 1; text-align: center; padding: 16px 20px; }
.metric-block + .metric-block { border-left: 1px solid rgba(255,255,255,.12); }
.metric-num {
    display: block; font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--yellow); line-height: 1;
}
.metric-lbl {
    display: block; font-size: .78rem; color: rgba(255,255,255,.45);
    margin-top: 6px; text-transform: uppercase; letter-spacing: .4px;
}
.metrics-btn { padding-left: 32px; flex-shrink: 0; }

/* ── 10. SOBRE ────────────────────────────────────────────────── */
.about-sec { padding: 96px 0; background: var(--gray-bg); }
.about-photo {
    position: relative;
    padding: 0 40px 40px 0;   /* cria espaço para o badge no canto */
}
.about-photo img {
    width: 100%; border-radius: 16px; box-shadow: var(--sh-lg);
    object-fit: cover; max-height: 460px; display: block;
}
.about-badge {
    position: absolute; bottom: 0; right: 0;
    width: 108px; height: 108px; background: var(--blue); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 4px solid var(--white); box-shadow: var(--sh);
}
.about-badge-num {
    font-family: 'Montserrat', sans-serif; font-size: 1.9rem; font-weight: 800;
    color: var(--white); line-height: 1;
}
.about-badge-txt {
    font-size: .58rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: rgba(255,255,255,.85);
    text-align: center; line-height: 1.3; padding: 0 4px;
}
.about-text p { font-size: 1rem; color: var(--muted); line-height: 1.85; margin-bottom: 1rem; }
.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.cert-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 600; color: var(--navy);
    background: var(--white); border: 1px solid var(--gray-line);
    border-radius: 6px; padding: 6px 12px; box-shadow: var(--sh);
}
.cert-tag i { color: var(--blue); }

/* ── 11b. CLIENTES ────────────────────────────────────────────── */
.clients-sec {
    padding: 72px 0;
    background: var(--gray-bg);
    overflow: hidden;
}
.clients-track-wrap {
    position: relative;
    overflow: hidden;
    /* fade nas bordas */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: clientsScroll 30s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.client-logo {
    flex-shrink: 0;
    width: 160px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-logo img {
    max-height: 56px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(.55);
    transition: filter var(--tr), transform var(--tr);
}
.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}
@keyframes clientsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── 11. GALERIA (home preview) ───────────────────────────────── */
.gallery-sec { padding: 96px 0; background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item {
    position: relative; overflow: hidden; border-radius: 10px;
    cursor: pointer; aspect-ratio: 4/3; background: var(--gray-bg);
}
.gallery-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute; inset: 0; background: rgba(13,33,55,.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--tr); border-radius: 10px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon {
    width: 44px; height: 44px; background: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--navy);
}

/* ── 12. CTA ──────────────────────────────────────────────────── */
.cta-sec {
    background: var(--navy); padding: 88px 0;
    position: relative; overflow: hidden;
}
.cta-sec::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 380px; height: 380px; background: rgba(245,224,32,.06);
    border-radius: 50%; pointer-events: none;
}
.cta-sec::after {
    content: ''; position: absolute; bottom: -80px; left: -80px;
    width: 280px; height: 280px; background: rgba(255,255,255,.02);
    border-radius: 50%; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

/* ── 13. BANNER INTERNO ───────────────────────────────────────── */
.page-banner {
    background: var(--navy); padding: 72px 0 52px;
    position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url('../../uploads/galeria/Foto-08.jpg')
                center/cover no-repeat;
    opacity: .08;
}
.page-banner-body { position: relative; z-index: 1; }
.page-banner .breadcrumb-item a { color: var(--accent); text-decoration: none; }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,.6); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.25); }

/* ── 14. FOTO THUMB ───────────────────────────────────────────── */
.foto-thumb {
    position: relative; overflow: hidden; border-radius: 10px;
    aspect-ratio: 4/3; background: var(--gray-bg); cursor: pointer;
    transition: box-shadow var(--tr), transform var(--tr);
}
.foto-thumb:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.foto-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.foto-thumb:hover img { transform: scale(1.06); }
.foto-overlay {
    position: absolute; inset: 0; background: rgba(13,33,55,.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--tr); border-radius: 10px;
}
.foto-thumb:hover .foto-overlay { opacity: 1; }
.foto-overlay i {
    width: 42px; height: 42px; background: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--navy);
}

/* ── 15. CARDS NR (sobre-nos) ─────────────────────────────────── */
.nr-card {
    background: var(--white); border: 1px solid var(--gray-line);
    border-radius: 14px; padding: 28px 20px;
    text-align: center; height: 100%;
    transition: box-shadow var(--tr), transform var(--tr);
}
.nr-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.nr-card-icon {
    width: 54px; height: 54px; background: var(--blue); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: var(--white); margin: 0 auto 14px;
}
.nr-card-num { font-size: .7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 5px; }
.nr-card h6 { font-weight: 700; color: var(--navy); font-size: .9rem; margin-bottom: 8px; }
.nr-card p { font-size: .83rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* Linha de contato reutilizável */
.contact-row {
    display: flex; align-items: flex-start; gap: 10px;
    color: rgba(255,255,255,.58); font-size: .9rem; margin-bottom: 10px;
}
.contact-row i { color: var(--yellow); margin-top: 3px; flex-shrink: 0; }

/* ── 16. FOOTER ───────────────────────────────────────────────── */
footer { background: #0a1825; padding: 60px 0 24px; margin-top: auto; }
.ft-logo { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: 1.5px; margin-bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ft-logo em { font-style: normal; color: var(--yellow); }
.ft-desc { font-size: .86rem; color: rgba(255,255,255,.38); line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.ft-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-chip { font-size: .7rem; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 3px 8px; }
.ft-head { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.ft-link { display: block; color: rgba(255,255,255,.48); text-decoration: none; font-size: .875rem; padding: 4px 0; transition: color var(--tr); }
.ft-link:hover { color: var(--yellow); }
.ft-contact { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.48); font-size: .875rem; margin-bottom: 10px; }
.ft-contact i { color: var(--yellow); margin-top: 2px; flex-shrink: 0; }
.ft-hr { border-color: rgba(255,255,255,.07); margin: 30px 0 18px; }
.ft-copy { font-size: .78rem; color: rgba(255,255,255,.22); }
.ft-copy a { color: rgba(255,255,255,.22); text-decoration: none; }
.ft-copy a:hover { color: rgba(255,255,255,.5); }

/* ── 17. WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 56px; height: 56px; background: var(--green-wa); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--white); text-decoration: none;
    z-index: 1050; box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform var(--tr), box-shadow var(--tr);
}
.wa-float:hover { color: var(--white); transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-pulse {
    position: absolute; inset: 0; border-radius: 50%;
    background: var(--green-wa); opacity: 0;
    animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: .45; }
    100% { transform: scale(1.7); opacity: 0;   }
}

/* ── 18. MODAL ────────────────────────────────────────────────── */
.modal-foto .modal-content { background: #0d1f33; border: none; border-radius: 16px; }

/* ── 19. ADMIN ────────────────────────────────────────────────── */
.admin-sidebar { background: var(--navy); min-height: 100vh; width: 240px; position: fixed; top: 0; left: 0; overflow-y: auto; z-index: 100; display: flex; flex-direction: column; }
.admin-sidebar .nav-link { color: rgba(255,255,255,.6); padding: 10px 20px; border-radius: 6px; margin: 2px 8px; font-size: .88rem; transition: .2s; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: var(--accent); color: var(--white) !important; }
.admin-content { margin-left: 240px; min-height: 100vh; background: #f1f5f9; }
.admin-topbar { background: var(--white); border-bottom: 1px solid #e2e8f0; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 50; }
.admin-card { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: 0 1px 6px rgba(0,0,0,.07); margin-bottom: 24px; }
.admin-card h5 { font-weight: 700; margin-bottom: 18px; color: var(--blue-bg); border-bottom: 2px solid var(--blue); padding-bottom: 10px; }
.foto-admin-thumb { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--gray-bg); }
.foto-admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.foto-admin-del { position: absolute; top: 4px; right: 4px; }

/* ── 20. RESPONSIVO ───────────────────────────────────────────── */

/* ── Tablet (≤ 991px) ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Navbar mobile */
    #menuToggle { display: block; }
    #navbar { position: relative; }
    #navbar.scrolled { position: sticky; }
    #navMenu {
        display: none; position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--navy);
        padding: 12px 16px 20px;
        border-top: 1px solid rgba(255,255,255,.08);
        flex-direction: column; align-items: flex-start; gap: 0;
        z-index: 1031;
    }
    #navMenu.open { display: flex; }
    #navMenu ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    #navMenu ul a { padding: 10px 4px; }
    .nav-cta { margin: 10px 0 0; width: 100%; }
    .nav-cta .btn-om { width: 100%; justify-content: center; }

    /* Seções — padding vertical menor */
    .services-sec,
    .about-sec,
    .gallery-sec { padding: 64px 0; }
    .metrics-strip { padding: 52px 0; }
    .cta-sec        { padding: 64px 0; }

    /* Hero */
    .hero-body  { padding: 80px 0 60px; }
    .hero-stats { max-width: 100%; }

    /* Métricas */
    .metrics-btn { padding-left: 0; padding-top: 8px; text-align: center; }
}

/* ── Mobile grande (≤ 767px) ──────────────────────────────────── */
@media (max-width: 767.98px) {
    /* Topbar — ocultar para ganhar espaço */
    .topbar { display: none; }

    /* Admin */
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; }

    /* Seções */
    .services-sec,
    .about-sec,
    .gallery-sec { padding: 52px 0; }
    .metrics-strip { padding: 44px 0; }
    .cta-sec        { padding: 52px 0; }
    .page-banner    { padding: 48px 0 36px; }

    /* Hero */
    .hero       { min-height: auto; }
    .hero-body  { padding: 56px 0 44px; }
    .hero-lead  { max-width: 100%; }
    .hero-btns  {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-btns .btn-om,
    .hero-btns .btn-om-outline { width: 100%; justify-content: center; }
    .hero-stats { max-width: 100%; }
    .hero-stat  { padding: 14px 8px; }
    .hero-stat-num { font-size: 1.55rem; }

    /* Métricas */
    .metrics-row { flex-direction: column; align-items: stretch; }
    .metrics-btn { padding: 8px 0 0; text-align: center; width: 100%; }
    .metrics-nums { min-width: 100%; }
    .metric-block { padding: 12px 16px; }

    /* Sobre */
    .about-photo { padding: 0 28px 28px 0; }
    .about-badge { width: 90px; height: 90px; }
    .about-badge-num { font-size: 1.5rem; }

    /* Galeria home */
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:first-child { grid-column: span 2; }

    /* CTA — centralizar texto e botões */
    .cta-sec .sec-line { margin-left: auto; margin-right: auto; }
    .cta-inner { text-align: center; }
    .cta-inner .sec-sub { max-width: 100%; }
    .cta-inner .d-flex  { flex-wrap: wrap; justify-content: center; }

    /* Footer */
    .ft-desc { max-width: 100%; }
    footer { padding: 48px 0 20px; }
}

/* ── Mobile pequeno (≤ 575px) ────────────────────────────────── */
@media (max-width: 575.98px) {
    /* Seções */
    .services-sec,
    .about-sec,
    .gallery-sec { padding: 40px 0; }
    .metrics-strip { padding: 36px 0; }
    .cta-sec        { padding: 40px 0; }
    .page-banner    { padding: 40px 0 28px; }

    /* Hero compacto */
    .hero-body     { padding: 44px 0 36px; }
    .hero-stat     { padding: 12px 6px; }
    .hero-stat-num { font-size: 1.3rem; }
    .hero-stat-lbl { font-size: .6rem; }

    /* Métricas empilhadas */
    .metrics-nums { flex-direction: column; }
    .metric-block + .metric-block {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.12);
    }

    /* Galeria — 1 coluna */
    .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
    .gallery-item:first-child {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    /* Sobre — badge menor */
    .about-photo   { padding: 0 20px 20px 0; }
    .about-badge   { width: 76px; height: 76px; }
    .about-badge-num { font-size: 1.25rem; }
    .about-badge-txt { font-size: .5rem; }

    /* Tipografia */
    .sec-sub { font-size: .95rem; }

    /* Botões menores */
    .btn-om,
    .btn-om-outline,
    .btn-om-dark   { padding: .58rem 1.2rem; font-size: .88rem; }

    /* WhatsApp float */
    .wa-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 18px; right: 14px; }

    /* Footer */
    footer { padding: 40px 0 18px; }
}

