:root {
    --bg: #0b0c0e;
    /* preto mais profundo */
    --surface: #141518;
    /* leve contraste */
    --surface-2: #1c1e22;
    --surface-3: #24272c;
    --text: #f7f3ee;
    --muted: #b8b2aa;
    --line: rgba(255, 255, 255, 0.08);

    --primary: #B68B4C;
    /* dourado elegante */
    --primary-strong: #CCA563;
    /* dourado mais fechado */
    --secondary: #E8D8B5;
    /* bege sofisticado */
    --tertiary: #8C6B3F;
    /* marrom dourado */
    --success: #7bd389;
    --danger: #ff7a7a;

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;

    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.22);

    --app-width: 100%;
    --max-width: 1024px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background-color: var(--bg);
    /* Define o fundo global como o preto do seu tema */
    color: var(--text);
    min-height: 100%;
    -webkit-tap-highlight-color: transparent;
    /* Remove o flash cinza ao tocar em botões no Safari */
}


.hidden {
    display: none !important;
    /* Use !important para garantir que sobrescreva outras regras */
}


.shell {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.app {
    width: 100%;
    min-height: calc(100vh - 32px);
    background: #000000;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 16px;
}

.brand-logo {
    height: 60px;
    display: block;
}

.location-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    transition: 0.22s ease;
}

.location-btn>img {
    width: 20px;
    ;
}

.content {
    padding: 0 16px 64px 16px;
}

.hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
    background: linear-gradient(135deg, var(--primary-strong), var(--primary));
    border-radius: var(--radius-xl);
    padding: 16px;
    min-height: 180px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -20px -30px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(4px);
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 7px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-copy h2 {
    font-size: 26px;
    line-height: 1.05;
    margin-bottom: 10px;
    color: #000000;
}

.hero-copy p {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    max-width: 22ch;
    color: #000000;
}

.hero-copy .cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 999px;
    background: #111214;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.hero-image {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    min-height: 150px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
        url('images/servicos/pe_e_mao.png') center/cover;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 26px 0;
}

.section-head h3 {
    font-size: 18px;
    font-weight: 700;
}

.section-head a,
.section-head button.linkish {
    border: 0;
    background: transparent;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 1px 0;
    scrollbar-width: none;
}

.filters::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.22s ease;
}

.filter-chip:hover,
.filter-chip.active {
    background: rgba(244, 162, 97, 0.18);
    border-color: rgba(244, 162, 97, 0.4);
    transform: translateY(-1px);
}

.filter-chip .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #27170d;
    font-size: 16px;
    flex-shrink: 0;
}

.filter-chip .avatar img {
    width: 20px;
    height: 20px;

}

.filter-chip span:last-child {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.services {
    display: grid;
    gap: 20px;
}

.service-card {
    display: grid;
    grid-template-columns: 98px 1fr;
    gap: 12px;
    background: #121212;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}

.service-thumb {
    width: 100%;
    min-height: 112px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
}

.service-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 16px;
}

.service-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.price {
    background: #000000;
    color: var(--primary);
    border: 1px solid rgba(244, 162, 97, 0.15);
    padding: 8px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.service-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.meta span {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.service-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.tiny-btn,
.primary-btn,
.action-btn {
    border: 0;
    cursor: pointer;
    transition: 0.22s ease;
    font-family: inherit;
}

.tiny-btn {
    background: transparent;
    color: var(--secondary);
    font-size: 13px;
    padding: 6px 0;
    font-weight: 600;
}

.primary-btn {
    padding: 10px 14px;
    background: var(--primary);
    color: #25160d;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tiny-btn:hover,
.primary-btn:hover,
.action-btn:hover,
.location-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.sticky-cta {
    z-index: 2;
    margin-top: 16px;
}

#sticky-whatsapp {
    margin-top: 32px;
}

.sticky-cta a {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #24150c;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14x 20px rgba(232, 135, 54, 0.18);
}

.sticky-cta a img {
    width: 32px;
    margin-right: 10px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s ease;
    z-index: 40;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(102%);
    width: 100%;
    max-height: 88vh;
    overflow: auto;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, #15161c 0%, #0d0e12 100%);
    box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.45);
    z-index: 50;
    transition: 0.28s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer.show {
    transform: translateX(-50%) translateY(0);
}

.drawer-handle {
    width: 58px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    margin: 10px auto 14px;
}

.drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: black;
    border: 1px solid #ffffff;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 60;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1;
    transition: 0.2s ease;
}

.drawer-close:active {
    transform: scale(0.9);
}

.drawer-content {
    padding: 16px 16px 28px;
}

.drawer-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.drawer-title-row h3 {
    font-size: 26px;
    line-height: 1.05;
}

.drawer-sub {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.55;
}

.drawer-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.action-btn {
    min-height: 84px;
    border-radius: 18px;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
}

.action-btn img {
    width: 40px;
}

.drawer-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.drawer-list-item {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-list-item h4 {
    font-size: 14px;
    margin-bottom: 6px;
}

.drawer-list-item p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.links-footer {
    text-align: center;
}

.links-footer>a {
    padding: 16px;
    font-size: 12px;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    text-decoration: none;
    transition: 0.2s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 16px 0;
}

.links-footer>a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.links-footer-icon {
    width: 14px;
    height: 14px;
    opacity: 0.8;
    transition: 0.2s ease;
}

.links-footer-icon:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Landing Page Utilities */
.landing-hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lading-hero-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.lading-hero-header h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
}

.lading-hero-header h2 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
}

.landing-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.landing-featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

/* Landing Page Additions */

.feedback-card {
    background: var(--surface-2);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    margin-bottom: 16px;
}

.feedback-card:last-child {
    margin-bottom: 0;
}

.feedback-stars {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.feedback-text {
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    color: var(--text);
}

.feedback-autor {
    display: block;
    margin-top: 16px;
    color: var(--primary);
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 32px;
    filter: brightness(0) invert(1);
}

/* Urgency Trigger */
.urgency-trigger {
    background: rgba(255, 122, 122, 0.1);
    border: 1px dashed var(--danger);
    color: #ff9b9b;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 12px;
    text-align: center;
}

.landing-section-title {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

/* Optimized Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-xl);
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 12px;
    padding: 0 20px;
    /* Padding lateral para criar o efeito de 'imagem cortada' */
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 calc(100% - 40px);
    /* Faz com que a imagem ocupe quase tudo, mas deixe espaço para ver a próxima */
    scroll-snap-align: center;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* Carousel Nav Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--line);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(4px);
    font-size: 18px;
    transition: 0.2s ease;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background: #000000;
    color: #ffffff;
}

@media (min-width: 1024px) {
    body {
        padding: 24px 0;
    }

    .app {
        width: 100%;
        border-radius: 34px;
    }

    .hero-copy h2 {
        font-size: 30px;
    }

    .service-card {
        grid-template-columns: 120px 1fr;
    }

    .service-thumb {
        min-height: 128px;
    }

    .drawer-content .price {
        font-size: 26px;
    }

    .drawer {
        width: 100%;
        max-width: var(--max-width);
    }

    .carousel-item {
        flex: 0 0 calc(40% - 40px);
    }
}