:root {
    --db-bg: #0d0d0f;
    --db-bg-2: #151517;
    --db-card: #1c1c1f;
    --db-card-2: #242428;
    --db-text: #ffffff;
    --db-muted: #a7a7ad;
    --db-soft: rgba(255, 255, 255, .08);
    --db-line: rgba(255, 255, 255, .11);
    --db-gold: #d6a84f;
    --db-gold-2: #f1d58a;
    --db-brown: #6b4b2a;
    --db-orange: #cf4b2e;
    --db-shadow: 0 26px 80px rgba(0, 0, 0, .34);
    --db-radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--db-bg);
    color: var(--db-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.db-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(214, 168, 79, .16), transparent 32%),
        radial-gradient(circle at top right, rgba(207, 75, 46, .13), transparent 28%),
        linear-gradient(180deg, #0b0b0d 0%, #111113 42%, #0d0d0f 100%);
}

.db-container {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
}

.db-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 12, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.db-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.db-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--db-text);
    min-width: 0;
}

.db-brand-logo {
    width: auto;
    max-width: 150px;
    max-height: 68px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.38));
}

.db-brand-fallback {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--db-gold), var(--db-brown));
    color: #111;
    font-weight: 950;
}

.db-brand-text {
    display: none;
    color: #fff;
    font-weight: 900;
    letter-spacing: -.03em;
}

.db-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.db-nav a {
    color: rgba(255, 255, 255, .76);
    font-weight: 750;
    font-size: .94rem;
    padding: 10px 12px;
    border-radius: 999px;
    transition: .2s ease;
}

.db-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.db-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 900;
    line-height: 1.1;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
    text-align: center;
}

.db-btn:hover {
    transform: translateY(-2px);
}

.db-btn-gold {
    background: linear-gradient(135deg, var(--db-gold), var(--db-gold-2));
    color: #17110a;
    box-shadow: 0 14px 32px rgba(214,168,79,.22);
}

.db-btn-dark {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.14);
}

.db-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.22);
}

.db-btn-orange {
    background: var(--db-orange);
    color: #fff;
}

.db-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    padding: 0;
}

.db-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
    border-radius: 99px;
}

.db-hero {
    position: relative;
    padding: 34px 0 70px;
}

.db-hero-shell {
    position: relative;
    border-radius: 42px;
    overflow: hidden;
    min-height: 640px;
    background: #09090b;
    box-shadow: var(--db-shadow);
    border: 1px solid rgba(255,255,255,.09);
}

.db-hero-swiper,
.db-hero-swiper .swiper-wrapper,
.db-hero-swiper .swiper-slide {
    min-height: 640px;
}

.db-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.db-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.62) contrast(1.03);
}

.db-hero-fallback {
    width: 100%;
    height: 100%;
    min-height: 640px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 25% 30%, rgba(214,168,79,.20), transparent 34%),
        linear-gradient(135deg, #141416, #09090b);
    color: rgba(255,255,255,.12);
    font-size: clamp(6rem, 22vw, 17rem);
    font-weight: 950;
}

.db-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.48) 48%, rgba(0,0,0,.18) 100%),
        linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.70));
    z-index: 1;
}

.db-hero-content {
    position: relative;
    z-index: 2;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: clamp(34px, 6vw, 74px);
}

.db-hero-box {
    width: min(100%, 660px);
    padding: clamp(22px, 4vw, 36px);
    border-radius: 34px;
    background: rgba(10,10,12,.48);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.db-kicker {
    display: inline-flex;
    color: var(--db-gold-2);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 16px;
}

.db-hero-title {
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: .98;
    letter-spacing: -.065em;
    font-weight: 950;
    margin: 0 0 18px;
}

.db-hero-text {
    color: rgba(255,255,255,.86);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    line-height: 1.65;
    margin: 0;
    max-width: 580px;
}

.db-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.db-hero-controls {
    position: absolute;
    left: clamp(24px, 6vw, 72px);
    bottom: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-swiper-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.09);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s ease;
}

.db-swiper-btn:hover {
    background: var(--db-gold);
    color: #111;
}

.db-hero-pagination {
    position: static !important;
    display: flex;
    gap: 7px;
    width: auto !important;
}

.db-hero-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,.55);
    opacity: 1;
}

.db-hero-pagination .swiper-pagination-bullet-active {
    background: var(--db-gold);
    width: 26px;
    border-radius: 999px;
}

.db-section {
    padding: 82px 0;
}

.db-section-light {
    background: #f7f2ea;
    color: #171717;
}

.db-section-dark {
    background:
        radial-gradient(circle at top right, rgba(214,168,79,.14), transparent 32%),
        #0d0d0f;
}

.db-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.db-section-label {
    color: var(--db-gold);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.db-section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -.055em;
    font-weight: 950;
    margin: 0;
}

.db-section-desc {
    color: inherit;
    opacity: .68;
    max-width: 480px;
    line-height: 1.65;
    margin: 10px 0 0;
}

.db-glass-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--db-radius);
    box-shadow: var(--db-soft-shadow);
}

.db-services-swiper {
    overflow: visible;
}

.db-service-card {
    height: 100%;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    background: #171719;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.db-service-media {
    height: 190px;
    background:
        radial-gradient(circle at top, rgba(214,168,79,.22), transparent 38%),
        linear-gradient(135deg, #232326, #111113);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}

.db-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.db-service-placeholder {
    width: 86px;
    height: 86px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2.5rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.db-service-body {
    padding: 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.db-service-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 950;
    margin: 0 0 10px;
}

.db-service-text {
    color: rgba(255,255,255,.68);
    line-height: 1.55;
    margin: 0 0 18px;
}

.db-service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.db-price {
    color: var(--db-gold-2);
    font-size: 1.2rem;
    font-weight: 950;
}

.db-duration {
    color: rgba(255,255,255,.62);
    font-size: .92rem;
}

.db-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.db-barber-card,
.db-news-card,
.db-product-card {
    background: #fff;
    color: #171717;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(17,24,39,.10);
    border: 1px solid rgba(17,24,39,.08);
}

.db-barber-photo,
.db-news-photo,
.db-product-photo {
    height: 260px;
    background:
        radial-gradient(circle at top, rgba(214,168,79,.18), transparent 40%),
        linear-gradient(135deg, #222, #111);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.db-barber-photo img,
.db-news-photo img,
.db-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.db-photo-fallback {
    color: #fff;
    font-size: 3rem;
    font-weight: 950;
    opacity: .72;
}

.db-card-body {
    padding: 24px;
}

.db-card-body h3 {
    margin: 0 0 10px;
    font-weight: 950;
    letter-spacing: -.03em;
}

.db-card-body p {
    color: #6b7280;
    line-height: 1.58;
    margin: 0 0 18px;
}

.db-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-auto-rows: 230px;
    gap: 16px;
}

.db-gallery-item {
    border: 0;
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #222;
    cursor: pointer;
    position: relative;
    box-shadow: 0 18px 44px rgba(0,0,0,.22);
}

.db-gallery-item:first-child {
    grid-row: span 2;
}

.db-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.db-gallery-item:hover img {
    transform: scale(1.05);
}

.db-gallery-empty {
    grid-column: 1 / -1;
    padding: 36px;
    text-align: center;
    border-radius: 28px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.72);
}

.db-news-date,
.db-product-tag {
    display: inline-flex;
    color: #8a5b1f;
    background: rgba(214,168,79,.16);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.db-cta {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    padding: clamp(34px, 7vw, 70px);
    background:
        radial-gradient(circle at top right, rgba(214,168,79,.26), transparent 34%),
        linear-gradient(135deg, #171719, #070708);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--db-shadow);
    text-align: center;
}

.db-cta h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 950;
    margin: 0 0 16px;
}

.db-cta p {
    color: rgba(255,255,255,.72);
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.db-footer {
    background: #070708;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 58px 0 28px;
}

.db-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr .8fr;
    gap: 28px;
}

.db-footer-logo {
    max-width: 170px;
    max-height: 80px;
    object-fit: contain;
    display: block;
    margin-bottom: 18px;
}

.db-footer h4 {
    font-size: 1rem;
    font-weight: 950;
    margin: 0 0 16px;
}

.db-footer p,
.db-footer a {
    color: rgba(255,255,255,.66);
    line-height: 1.7;
    font-size: .95rem;
}

.db-footer a:hover {
    color: var(--db-gold);
}

.db-footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255,255,255,.48);
    font-size: .9rem;
}

.db-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.86);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.db-lightbox.active {
    display: flex;
}

.db-lightbox img {
    max-width: min(100%, 1100px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,.40);
}

.db-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #111;
    font-size: 1.4rem;
    font-weight: 900;
}

@media (max-width: 1080px) {
    .db-nav {
        display: none;
    }

    .db-menu-toggle {
        display: block;
    }

    .db-header-actions .db-btn {
        display: none;
    }

    body.menu-open .db-nav {
        display: flex;
        position: absolute;
        top: 86px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 24px;
        background: rgba(12,12,14,.96);
        border: 1px solid rgba(255,255,255,.10);
        box-shadow: var(--db-shadow);
    }

    body.menu-open .db-nav a {
        width: 100%;
        padding: 14px 16px;
    }

    .db-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .db-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .db-container {
        width: min(100% - 24px, 1180px);
    }

    .db-header-inner {
        min-height: 78px;
    }

    .db-brand-logo {
        max-width: 128px;
        max-height: 58px;
    }

    body.menu-open .db-nav {
        top: 78px;
    }

    .db-hero {
        padding: 18px 0 42px;
    }

    .db-hero-shell {
        min-height: auto;
        border-radius: 28px;
    }

    .db-hero-swiper,
    .db-hero-swiper .swiper-wrapper,
    .db-hero-swiper .swiper-slide {
        min-height: auto;
    }

    .db-hero-media {
        position: relative;
        inset: auto;
        height: auto;
        background: #000;
    }

    .db-hero-media img {
        width: 100%;
        height: auto;
        object-fit: contain;
        filter: brightness(.72) contrast(1.03);
    }

    .db-hero-fallback {
        min-height: 300px;
    }

    .db-hero-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.66));
    }

    .db-hero-content {
        min-height: auto;
        padding: 18px;
        display: block;
    }

    .db-hero-box {
        width: 100%;
        padding: 22px;
        border-radius: 24px;
        background: rgba(255,255,255,.06);
    }

    .db-hero-title {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
        line-height: 1.04;
    }

    .db-hero-actions {
        flex-direction: column;
    }

    .db-hero-actions .db-btn {
        width: 100%;
    }

    .db-hero-controls {
        position: static;
        margin: 18px;
        justify-content: center;
    }

    .db-section {
        padding: 58px 0;
    }

    .db-section-head {
        display: block;
    }

    .db-card-grid {
        grid-template-columns: 1fr;
    }

    .db-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 190px;
    }

    .db-gallery-item:first-child {
        grid-row: span 1;
        grid-column: span 2;
    }

    .db-footer-grid {
        grid-template-columns: 1fr;
    }

    .db-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .db-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .db-gallery-item:first-child {
        grid-column: span 1;
    }

    .db-service-card {
        min-height: 360px;
    }
}

/* Ajuste: cards de serviços sempre com mesma altura */
.db-services-swiper .swiper-wrapper {
    align-items: stretch;
}

.db-services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.db-service-card {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: flex;
    flex-direction: column;
}

.db-service-media {
    flex: 0 0 190px;
}

.db-service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.db-service-title {
    min-height: 58px;
    display: flex;
    align-items: flex-start;
}

.db-service-text {
    min-height: 74px;
}

.db-service-meta {
    margin-top: auto;
}

@media (max-width: 768px) {
    .db-service-card {
        min-height: 410px;
    }

    .db-service-title {
        min-height: auto;
    }

    .db-service-text {
        min-height: 66px;
    }
}

/* Header branco com logo grande no início e menor ao rolar */
.db-header {
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(17, 24, 39, .08) !important;
    box-shadow: 0 10px 34px rgba(17, 24, 39, .06) !important;
    transition: .25s ease;
}

.db-header .db-header-inner {
    min-height: 118px;
    transition: .25s ease;
}

.db-brand-logo {
    max-width: 230px !important;
    max-height: 104px !important;
    transition: .25s ease;
}

.db-brand-text,
.db-nav a {
    color: #171717 !important;
}

.db-nav a:hover {
    color: #171717 !important;
    background: rgba(214, 168, 79, .16) !important;
}

.db-menu-toggle {
    background: rgba(17, 24, 39, .06) !important;
    border-color: rgba(17, 24, 39, .12) !important;
}

.db-menu-toggle span {
    background: #171717 !important;
}

.db-header.is-scrolled {
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 12px 34px rgba(17, 24, 39, .10) !important;
}

.db-header.is-scrolled .db-header-inner {
    min-height: 78px;
}

.db-header.is-scrolled .db-brand-logo {
    max-width: 145px !important;
    max-height: 64px !important;
}

@media (max-width: 768px) {
    .db-header .db-header-inner {
        min-height: 104px;
    }

    .db-brand-logo {
        max-width: 205px !important;
        max-height: 92px !important;
    }

    .db-header.is-scrolled .db-header-inner {
        min-height: 72px;
    }

    .db-header.is-scrolled .db-brand-logo {
        max-width: 132px !important;
        max-height: 58px !important;
    }

    body.menu-open .db-nav {
        background: rgba(255, 255, 255, .98) !important;
        border: 1px solid rgba(17, 24, 39, .10) !important;
    }

    body.menu-open .db-nav a {
        color: #171717 !important;
    }
}
