
/* =========================================
   MAISON BARBER — ALTIER GROUP
   Identidade: Luxury Barber
========================================= */

/* 1. CONFIGURAÇÕES GERAIS */

:root {
    --black: #11100e;
    --dark: #191714;
    --card: #201e1a;
    --gold: #c5a46d;
    --gold-light: #dfc397;
    --white: #f5f1e9;
    --gray: #aaa49a;
    --border: rgba(197, 164, 109, 0.22);

    --heading: "Playfair Display", serif;
    --body: "DM Sans", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--body);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

em {
    color: var(--gold);
    font-weight: 400;
}


/* 2. CABEÇALHO */

.header {
    width: 100%;
    height: 92px;
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(17, 16, 14, 0.94);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-symbol {
    color: var(--gold);
    font-size: 19px;
    margin-bottom: 5px;
}

.logo-name {
    font-family: var(--heading);
    font-size: 23px;
    letter-spacing: 4px;
}

.logo-subtitle {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 5px;
    margin-top: 6px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 12px;
    color: var(--gray);
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-booking {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 21px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.nav-booking:hover {
    background: var(--gold);
    color: var(--black);
}

.menu-toggle {
    display: none;
}


/* 3. HERO */

.hero {
    min-height: 690px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 80% 50%,
            rgba(197, 164, 109, 0.09),
            transparent 48%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 65px;
    padding-top: 55px;
    padding-bottom: 55px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 23px;
}

.hero h1 {
    font-family: var(--heading);
    font-size: clamp(48px, 5.4vw, 75px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.hero-text > p {
    color: var(--gray);
    font-size: 14px;
    max-width: 420px;
    margin-top: 25px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
}

.btn-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-features {
    display: flex;
    gap: 27px;
    margin-top: 65px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 11px;
}

.feature-icon {
    color: var(--gold);
    font-size: 22px;
}

.feature strong,
.feature small {
    display: block;
}

.feature strong {
    font-size: 11px;
    font-weight: 600;
}

.feature small {
    font-size: 9px;
    color: var(--gray);
}

.hero-visual {
    height: 490px;
    position: relative;
}

.hero-image-placeholder {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    padding-bottom: 35px;

    background:
    linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        transparent
    ),
    url("../../../assets/images/maison-barber-hero.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-image-placeholder span {
    font-family: var(--heading);
    font-size: 29px;
    letter-spacing: 5px;
}

.hero-image-placeholder small {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 3px;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    top: 17px;
    right: -17px;
}


/* 4. TÍTULOS DE SEÇÃO */

.section-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.section-heading h2,
.about-text h2,
.contact h2 {
    font-family: var(--heading);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 400;
}

.section-heading p {
    color: var(--gray);
    font-size: 13px;
    margin-top: 17px;
}


/* 5. SERVIÇOS */

.services {
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.service-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 25px;
    min-height: 285px;
    position: relative;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
}

.service-number {
    position: absolute;
    top: 19px;
    right: 20px;
    color: rgba(197, 164, 109, 0.45);
    font-size: 11px;
}

.service-icon {
    display: block;
    color: var(--gold);
    font-size: 27px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--heading);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 13px;
}

.service-card p {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.8;
}

.service-price {
    display: block;
    color: var(--gold);
    font-size: 11px;
    margin-top: 24px;
}

.demo-notice {
    color: #777168;
    font-size: 10px;
    margin-top: 20px;
}


/* 6. SOBRE */

.about {
    background: var(--black);
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-visual {
    height: 430px;
    position: relative;
}

.about-image-placeholder {
    height: 100%;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
    linear-gradient(
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15)
    ),
    url("../../../assets/images/maison-barber-about.webp");

    background-size: cover;
    background-position: center;
}

.about-image-placeholder span {
    font-family: var(--heading);
    font-size: 120px;
    color: rgba(197, 164, 109, 0.35);
}

.about-visual::after {
    content: "";
    position: absolute;
    border: 1px solid var(--gold);
    width: 100%;
    height: 100%;
    top: 15px;
    left: 15px;
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
    margin-bottom: 17px;
}

.text-link {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    margin-top: 18px;
    transition: 0.3s;
}

.text-link:hover {
    color: var(--gold-light);
    transform: translateX(5px);
}


/* 7. GALERIA */

.gallery {
    background: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 17px;
}

.gallery-item {
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
    transition: 0.3s ease;
}

.gallery-one {
    background-image: url("../../../assets/images/maison-barber-about.webp");
}

.gallery-two {
    background-image: url("../../../assets/images/maison-barber-details.webp");
}

.gallery-three {
    background-image: url("../../../assets/images/maison-barber-hero.webp");
}

.gallery-item:hover {
    border-color: var(--gold);
}

.gallery-item span {
    color: var(--gold-light);
    font-family: var(--heading);
    font-size: 19px;
}


/* 8. AGENDAMENTO */

.booking {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(197, 164, 109, 0.09),
            transparent 55%
        );
}

.booking-content {
    max-width: 760px;
}

.booking .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.booking-form {
    padding: 40px;
    background: var(--dark);
    border: 1px solid var(--border);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 23px;
    flex: 1;
}

.form-group label {
    font-size: 11px;
    color: var(--gold-light);
}

.form-group input,
.form-group select {
    width: 100%;
    height: 49px;
    padding: 0 15px;

    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.12);

    color: var(--white);
    outline: none;
    font-size: 12px;

    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.form-group input::placeholder {
    color: #777168;
}

.form-row {
    display: flex;
    gap: 18px;
}

.form-group input[type="date"] {
    color-scheme: dark;
}

.form-button {
    width: 100%;
    border: none;
}

.form-note {
    text-align: center;
    font-size: 10px;
    color: var(--gray);
    margin-top: 15px;
}


/* 9. CONTATO */

.contact {
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact h2 {
    max-width: 570px;
}


/* 10. RODAPÉ */

.footer {
    padding: 55px 0;
    background: #0c0b09;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 17px;
}

.footer-content > p {
    color: var(--gray);
    font-size: 12px;
}

.copyright {
    color: #777168;
    font-size: 10px;
    margin-top: 15px;
}


/* 11. RESPONSIVIDADE — TABLETS */

@media (max-width: 1000px) {

    .navigation {
        gap: 19px;
    }

    .hero-content {
        gap: 35px;
    }

    .hero-features {
        gap: 17px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 45px;
    }

}


/* 12. RESPONSIVIDADE — CELULARES */

@media (max-width: 760px) {

    .section {
        padding: 75px 0;
    }

    .header {
        height: 76px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        border: 1px solid var(--border);
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 18px;
        height: 1px;
        background: var(--gold);
    }

    .navigation {
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;

        padding: 25px 5% 30px;

        background: var(--dark);
        border-bottom: 1px solid var(--border);

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 23px;

        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }

    .navigation.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 13px;
    }

    .nav-booking {
        text-align: center;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 75px;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(43px, 11vw, 60px);
    }

    .hero-text > p {
        font-size: 13px;
    }

    .hero-features {
        margin-top: 40px;
    }

    .hero-visual {
        height: 380px;
        margin-right: 12px;
    }

    .hero-image-placeholder span {
        font-size: 23px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .about-text h2,
    .contact h2 {
        font-size: 38px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 245px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-visual {
        height: 340px;
        margin-right: 12px;
    }

    .about-image-placeholder span {
        font-size: 95px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 230px;
    }

    .booking-form {
        padding: 25px 18px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-content .btn {
        width: 100%;
    }

    .footer {
        padding: 45px 0;
    }

}


/* 13. TELAS MUITO PEQUENAS */

@media (max-width: 380px) {

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
    }

    .hero-visual {
        height: 310px;
    }

    .section-heading h2,
    .about-text h2,
    .contact h2 {
        font-size: 33px;
    }

}


/* 14. ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}
