/* =========================================================
   BARBEARIA BONFIM
   DESIGN PREMIUM
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #1b120d;
    color: #f4ead5;
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body::selection {
    background: #c6a15b;
    color: #1b120d;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}


/* =========================================================
   CORES
========================================================= */

:root {

    --dark:
        #1b120d;

    --dark-2:
        #241812;

    --brown:
        #302118;

    --brown-2:
        #3b2a20;

    --cream:
        #f4ead5;

    --cream-2:
        #d9c9aa;

    --gold:
        #b58b42;

    --gold-light:
        #d5b56b;

    --white:
        #fffaf0;

    --muted:
        #9f9587;

    --border:
        rgba(244, 234, 213, 0.12);

    --shadow:
        0 30px 80px rgba(0, 0, 0, 0.28);

}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        1180px,
        90%
    );

    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 82px;

    padding:
        0 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 1000;

    background:
        rgba(27, 18, 13, 0.88);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid var(--border);

}


.logo {

    display: flex;

    flex-direction: column;

    font-size: 14px;

    font-weight: 800;

    letter-spacing:
        3px;

    line-height: 1;

}

.logo span {

    margin-top: 5px;

    color:
        var(--gold-light);

}


.desktop-nav {

    display: flex;

    align-items: center;

    gap: 30px;

}


.desktop-nav a {

    position: relative;

    color:
        var(--cream-2);

    font-size: 13px;

    font-weight: 500;

    transition:
        color .3s ease;

}


.desktop-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;

    height: 1px;

    background:
        var(--gold-light);

    transition:
        width .3s ease;

}


.desktop-nav a:hover {

    color:
        var(--white);

}


.desktop-nav a:hover::after {

    width: 100%;

}


.header-button {

    padding:
        12px 20px;

    background:
        var(--cream);

    color:
        var(--dark);

    font-size: 12px;

    font-weight: 800;

    border-radius:
        3px;

    transition:
        .3s ease;

}


.header-button:hover {

    background:
        var(--gold-light);

    transform:
        translateY(-2px);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height:
        92vh;

    display:
        flex;

    align-items:
        center;

    overflow:
        hidden;

    padding:
        140px 7% 90px;

}


.hero-background {

    position:
        absolute;

    inset:
        0;

    z-index:
        0;

    overflow:
        hidden;

}


.hero-background img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    filter:
        saturate(.75);

    transform:
        scale(1.02);

}


.hero-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        1;

    background:

        linear-gradient(
            90deg,
            rgba(27,18,13,.97) 0%,
            rgba(27,18,13,.88) 32%,
            rgba(27,18,13,.45) 68%,
            rgba(27,18,13,.72) 100%
        );

}


.hero-content {

    position:
        relative;

    z-index:
        2;

    width:
        min(700px, 100%);

    animation:
        heroIn 1s ease both;

}


.hero-label {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        12px;

    margin-bottom:
        25px;

    color:
        var(--gold-light);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        5px;

}


.hero-label::before {

    content:
        "";

    width:
        34px;

    height:
        1px;

    background:
        var(--gold-light);

}


.hero h1 {

    max-width:
        750px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(60px, 8vw, 105px);

    line-height:
        .92;

    font-weight:
        600;

    letter-spacing:
        -3px;

    text-transform:
        uppercase;

    color:
        var(--white);

}


.hero h1 span {

    display:
        block;

    color:
        var(--cream-2);

}


.hero-content > p {

    max-width:
        560px;

    margin:
        30px 0 35px;

    color:
        var(--cream-2);

    font-size:
        18px;

}


.hero-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        13px;

}


.button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        50px;

    padding:
        0 25px;

    border-radius:
        3px;

    font-size:
        12px;

    font-weight:
        800;

    transition:
        .3s ease;

}


.button-primary {

    background:
        var(--cream);

    color:
        var(--dark);

}


.button-primary:hover {

    background:
        var(--gold-light);

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.2);

}


.button-outline {

    border:
        1px solid rgba(244,234,213,.4);

    color:
        var(--cream);

}


.button-outline:hover {

    border-color:
        var(--gold-light);

    color:
        var(--gold-light);

    transform:
        translateY(-3px);

}


.hero-bottom {

    position:
        absolute;

    left:
        7%;

    right:
        7%;

    bottom:
        35px;

    z-index:
        2;

    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    color:
        rgba(244,234,213,.55);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        3px;

}


.hero-line {

    width:
        60px;

    height:
        1px;

    background:
        var(--gold);

}


@keyframes heroIn {

    from {

        opacity:
            0;

        transform:
            translateY(30px);

    }

    to {

        opacity:
            1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   SEÇÕES
========================================================= */

.section {

    padding:
        125px 0;

}


.section-heading {

    max-width:
        760px;

    margin:
        0 auto 65px;

    text-align:
        center;

}


.eyebrow {

    display:
        inline-block;

    margin-bottom:
        18px;

    color:
        var(--gold-light);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        4px;

}


.section-heading h2,
.about h2,
.booking h2 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(45px, 6vw, 70px);

    line-height:
        .98;

    font-weight:
        600;

    letter-spacing:
        -2px;

    color:
        var(--white);

}


.section-heading h2 em,
.about h2 em,
.booking h2 em {

    color:
        var(--cream-2);

    font-style:
        normal;

}


.section-heading p {

    max-width:
        600px;

    margin:
        20px auto 0;

    color:
        var(--muted);

    font-size:
        16px;

}


/* =========================================================
   SERVIÇOS
========================================================= */

.services {

    background:
        var(--dark);

}


.services-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        15px;

}


.service-card {

    min-height:
        350px;

    position:
        relative;

    padding:
        30px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

    overflow:
        hidden;

    background:
        linear-gradient(
            145deg,
            #33241b,
            #261a14
        );

    border:
        1px solid var(--border);

    transition:
        .4s ease;

}


.service-card::before {

    content:
        "";

    position:
        absolute;

    left:
        0;

    bottom:
        0;

    width:
        100%;

    height:
        2px;

    background:
        var(--gold);

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        .4s ease;

}


.service-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(181,139,66,.55);

    box-shadow:
        var(--shadow);

}


.service-card:hover::before {

    transform:
        scaleX(1);

}


.service-number {

    color:
        var(--gold-light);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        2px;

}


.service-content h3 {

    margin-bottom:
        14px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        27px;

    color:
        var(--white);

}


.service-content p {

    min-height:
        100px;

    color:
        var(--muted);

    font-size:
        14px;

}


.service-content strong {

    display:
        block;

    margin-top:
        20px;

    color:
        var(--cream);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        21px;

}


/* =========================================================
   PLANOS
========================================================= */

.plans-section {

    background:
        #241812;

}


.plans-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        20px;

}


.plan-card {

    position:
        relative;

    background:
        #34251d;

    border:
        1px solid var(--border);

    transition:
        .4s ease;

}


.plan-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow);

}


.plan-card.featured {

    border:
        1px solid var(--gold);

    box-shadow:
        0 20px 60px rgba(0,0,0,.25);

}


.featured-label {

    position:
        absolute;

    top:
        18px;

    right:
        18px;

    padding:
        6px 10px;

    background:
        var(--gold);

    color:
        var(--dark);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        1px;

}


.plan-header {

    padding:
        28px 28px 22px;

    border-bottom:
        1px solid var(--border);

}


.plan-header span {

    color:
        var(--gold-light);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        3px;

}


.plan-header h3 {

    margin-top:
        8px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        35px;

    color:
        var(--white);

}


.plan-body {

    padding:
        30px;

}


.plan-price {

    display:
        flex;

    align-items:
        baseline;

    color:
        var(--cream);

}


.plan-price small {

    font-size:
        14px;

    margin-right:
        3px;

}


.plan-price strong {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        64px;

    line-height:
        1;

}


.plan-price span {

    font-size:
        18px;

}


.plan-divider {

    width:
        100%;

    height:
        1px;

    margin:
        25px 0;

    background:
        rgba(181,139,66,.4);

}


.plan-body ul {

    list-style:
        none;

    min-height:
        105px;

}


.plan-body li {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        9px;

    color:
        var(--cream-2);

    font-size:
        14px;

}


.plan-body li span {

    color:
        var(--gold-light);

    font-weight:
        900;

}


.plan-button {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        100%;

    min-height:
        48px;

    margin-top:
        15px;

    background:
        var(--cream);

    color:
        var(--dark);

    font-size:
        11px;

    font-weight:
        900;

    transition:
        .3s ease;

}


.plan-button:hover {

    background:
        var(--gold-light);

}


/* =========================================================
   GALERIA
========================================================= */

.gallery {

    background:
        var(--dark);

}


.gallery-grid {

    display:
        grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    grid-template-rows:
        260px 260px;

    gap:
        14px;

}


.gallery-item {

    position:
        relative;

    overflow:
        hidden;

    background:
        var(--brown);

}


.gallery-item::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            transparent 55%,
            rgba(0,0,0,.45)
        );

    pointer-events:
        none;

}


.gallery-item img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    transition:
        transform .7s ease;

}


.gallery-item:hover img {

    transform:
        scale(1.06);

}


.gallery-main {

    grid-row:
        span 2;

}


/* =========================================================
   SOBRE
========================================================= */

.about {

    background:
        #241812;

}


.about-container {

    min-height:
        550px;

    display:
        grid;

    grid-template-columns:
        1.3fr .7fr;

    align-items:
        center;

    gap:
        80px;

}


.about-text {

    max-width:
        750px;

}


.about h2 {

    margin-bottom:
        28px;

}


.about-text p {

    max-width:
        650px;

    margin-bottom:
        17px;

    color:
        var(--muted);

    font-size:
        17px;

}


.about-text .button {

    margin-top:
        15px;

}


.about-decoration {

    width:
        300px;

    height:
        300px;

    margin:
        auto;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(181,139,66,.35);

    position:
        relative;

}


.about-decoration::before,
.about-decoration::after {

    content:
        "";

    position:
        absolute;

    width:
        20px;

    height:
        20px;

    border:
        1px solid var(--gold);

}


.about-decoration::before {

    top:
        12px;

    left:
        12px;

    border-right:
        none;

    border-bottom:
        none;

}


.about-decoration::after {

    right:
        12px;

    bottom:
        12px;

    border-left:
        none;

    border-top:
        none;

}


.about-decoration > span {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        120px;

    line-height:
        1;

    color:
        var(--gold);

}


.about-decoration div {

    color:
        var(--cream-2);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        4px;

    text-align:
        center;

}


/* =========================================================
   BOOKING
========================================================= */

.booking {

    position:
        relative;

    padding:
        125px 7%;

    text-align:
        center;

    background:
        linear-gradient(
            135deg,
            #3b2a20,
            #211610
        );

    overflow:
        hidden;

}


.booking::before {

    content:
        "BONFIM";

    position:
        absolute;

    left:
        50%;

    top:
        50%;

    transform:
        translate(-50%, -50%);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(100px, 20vw, 280px);

    font-weight:
        700;

    color:
        rgba(255,255,255,.025);

    white-space:
        nowrap;

    pointer-events:
        none;

}


.booking-content {

    position:
        relative;

    z-index:
        2;

    max-width:
        780px;

    margin:
        auto;

}


.booking h2 {

    margin-bottom:
        25px;

}


.booking p {

    max-width:
        580px;

    margin:
        0 auto 35px;

    color:
        var(--cream-2);

}


/* =========================================================
   CONTATO
========================================================= */

.contact {

    background:
        var(--dark);

}


.contact-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        16px;

}


.contact-card {

    min-height:
        280px;

    padding:
        35px 25px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    background:
        #281b15;

    border:
        1px solid var(--border);

    transition:
        .4s ease;

}


.contact-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(181,139,66,.55);

    box-shadow:
        var(--shadow);

}


.contact-icon {

    width:
        58px;

    height:
        58px;

    margin-bottom:
        20px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(181,139,66,.35);

    border-radius:
        50%;

    color:
        var(--gold-light);

    font-size:
        23px;

}


.contact-label {

    color:
        var(--gold-light);

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        3px;

}


.contact-card h3 {

    margin:
        8px 0 5px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        24px;

    color:
        var(--white);

}


.contact-card p {

    color:
        var(--muted);

    font-size:
        13px;

}


.contact-action {

    margin-top:
        18px;

    color:
        var(--gold-light);

    font-size:
        11px;

    font-weight:
        800;

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    padding:
        45px 7%;

    text-align:
        center;

    background:
        #120b08;

    border-top:
        1px solid var(--border);

}


.footer-brand {

    margin-bottom:
        12px;

    font-size:
        14px;

    font-weight:
        900;

    letter-spacing:
        3px;

}


.footer-brand span {

    color:
        var(--gold-light);

}


footer p {

    color:
        #766d63;

    font-size:
        12px;

}


footer .copyright {

    margin-top:
        6px;

}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {

    position:
        fixed;

    right:
        22px;

    bottom:
        22px;

    z-index:
        900;

    min-height:
        50px;

    padding:
        0 18px;

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    background:
        #25d366;

    color:
        white;

    border-radius:
        40px;

    font-size:
        11px;

    font-weight:
        900;

    box-shadow:
        0 15px 35px rgba(0,0,0,.3);

    transition:
        .3s ease;

}


.whatsapp-float:hover {

    transform:
        translateY(-4px);

}


.whatsapp-icon {

    width:
        23px;

    height:
        23px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(255,255,255,.6);

    border-radius:
        50%;

}


/* =========================================================
   PAINEL ADMIN
========================================================= */

.admin-panel {

    position:
        fixed;

    inset:
        0;

    z-index:
        5000;

    display:
        none;

    align-items:
        center;

    justify-content:
        center;

    padding:
        20px;

    background:
        rgba(0,0,0,.78);

    backdrop-filter:
        blur(12px);

}


.admin-panel.active {

    display:
        flex;

}


.admin-box {

    width:
        min(620px, 100%);

    max-height:
        90vh;

    overflow:
        auto;

    background:
        #281b15;

    border:
        1px solid rgba(181,139,66,.45);

    box-shadow:
        0 40px 100px rgba(0,0,0,.5);

}


.admin-header {

    padding:
        25px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    border-bottom:
        1px solid var(--border);

}


.admin-header span {

    color:
        var(--gold-light);

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        3px;

}


.admin-header h2 {

    margin-top:
        5px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        30px;

    color:
        var(--white);

}


.admin-close {

    width:
        38px;

    height:
        38px;

    border:
        1px solid var(--border);

    background:
        transparent;

    color:
        var(--cream);

    font-size:
        25px;

    cursor:
        pointer;

}


.admin-content {

    padding:
        25px;

}


.admin-content label {

    display:
        block;

    margin-bottom:
        18px;

    color:
        var(--cream-2);

    font-size:
        12px;

    font-weight:
        700;

}


.admin-content input,
.admin-content textarea {

    width:
        100%;

    margin-top:
        7px;

    padding:
        13px;

    border:
        1px solid var(--border);

    outline:
        none;

    background:
        #1b120d;

    color:
        var(--cream);

    border-radius:
        3px;

    transition:
        .3s ease;

}


.admin-content textarea {

    min-height:
        100px;

    resize:
        vertical;

}


.admin-content input:focus,
.admin-content textarea:focus {

    border-color:
        var(--gold);

}


.admin-actions {

    display:
        flex;

    gap:
        10px;

    margin-top:
        25px;

}


.admin-save,
.admin-reset {

    flex:
        1;

    min-height:
        48px;

    border:
        none;

    cursor:
        pointer;

    font-size:
        11px;

    font-weight:
        900;

}


.admin-save {

    background:
        var(--cream);

    color:
        var(--dark);

}


.admin-save:hover {

    background:
        var(--gold-light);

}


.admin-reset {

    background:
        #3a2920;

    color:
        var(--cream);

}


.admin-warning {

    margin-top:
        18px;

    color:
        #8c8175;

    font-size:
        11px;

    text-align:
        center;

}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {

        gap:
            18px;

    }

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .about-container {

        grid-template-columns:
            1fr;

    }

    .about-decoration {

        display:
            none;

    }

}


@media (max-width: 800px) {

    .navbar {

        height:
            72px;

    }

    .desktop-nav {

        display:
            none;

    }

    .header-button {

        padding:
            10px 14px;

        font-size:
            10px;

    }

    .hero {

        min-height:
            90svh;

        padding:
            120px 6% 90px;

    }

    .hero h1 {

        font-size:
            clamp(50px, 14vw, 78px);

    }

    .hero-content > p {

        font-size:
            16px;

    }

    .hero-bottom {

        left:
            6%;

        right:
            6%;

    }

    .plans-grid {

        grid-template-columns:
            1fr;

        max-width:
            500px;

        margin:
            auto;

    }

    .gallery-grid {

        grid-template-columns:
            repeat(2, 1fr);

        grid-template-rows:
            240px 240px 240px;

    }

    .gallery-main {

        grid-column:
            span 2;

        grid-row:
            span 1;

    }

    .contact-grid {

        grid-template-columns:
            1fr;

        max-width:
            500px;

        margin:
            auto;

    }

}


@media (max-width: 550px) {

    .section {

        padding:
            90px 0;

    }

    .container {

        width:
            90%;

    }

    .logo {

        font-size:
            11px;

    }

    .hero {

        padding:
            115px 6% 80px;

    }

    .hero-background img {

        object-position:
            58% center;

    }

    .hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(27,18,13,.96),
                rgba(27,18,13,.68)
            );

    }

    .hero h1 {

        font-size:
            52px;

        letter-spacing:
            -2px;

    }

    .hero-actions {

        flex-direction:
            column;

        align-items:
            stretch;

    }

    .button {

        width:
            100%;

    }

    .hero-bottom {

        display:
            none;

    }

    .section-heading {

        margin-bottom:
            45px;

    }

    .section-heading h2,
    .about h2,
    .booking h2 {

        font-size:
            43px;

    }

    .services-grid {

        grid-template-columns:
            1fr;

    }

    .service-card {

        min-height:
            300px;

    }

    .gallery-grid {

        grid-template-columns:
            1fr;

        grid-template-rows:
            repeat(5, 260px);

    }

    .gallery-main {

        grid-column:
            span 1;

    }

    .whatsapp-float {

        right:
            14px;

        bottom:
            14px;

        min-height:
            46px;

        padding:
            0 14px;

    }

    .admin-actions {

        flex-direction:
            column;

    }

}