/* =========================================================
   BARBEARIA PRIME
   STYLE.CSS
========================================================= */


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
    --bg: #080909;
    --bg-secondary: #0d0e0f;
    --bg-card: #111315;
    --bg-card-hover: #17191c;

    --gold: #d5a04a;
    --gold-light: #e9bb68;
    --gold-dark: #9c6c27;

    --white: #f5f2eb;
    --text: #e8e5df;
    --muted: #9b9b9b;

    --success: #62bd83;
    --danger: #df6b6b;

    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(213, 160, 74, 0.35);

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: "Inter", sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

.hidden {
    display: none !important;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}


/* =========================================================
   SELEÇÃO
========================================================= */

::selection {
    background: var(--gold);
    color: #111;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #080909;
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}


/* =========================================================
   BOTÕES
========================================================= */

.btn {
    min-height: 48px;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    font-size: 0.84rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

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

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color: #15110a;

    border-color: var(--gold);
}

.btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            #f1c87e,
            var(--gold-light)
        );
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--border-gold);
}

.btn-outline:hover {
    color: var(--gold-light);
    border-color: var(--gold);

    background:
        rgba(213, 160, 74, 0.06);
}

.btn-login {
    background: transparent;
    color: var(--white);
    border-color: var(--border-gold);
}

.btn-login:hover {
    color: var(--gold-light);
    border-color: var(--gold);
}

.btn-full {
    width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(7, 8, 8, 0.94);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(213, 160, 74, 0.25);
}

.header-content {
    min-height: 94px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    flex-shrink: 0;
}

.logo-symbol {
    position: relative;

    width: 62px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--gold);

    border: 2px solid var(--gold);

    border-radius:
        22px 22px 30px 30px;

    background:
        linear-gradient(
            145deg,
            rgba(213, 160, 74, 0.07),
            transparent
        );

    box-shadow:
        inset 0 0 18px rgba(213, 160, 74, 0.05),
        0 0 20px rgba(213, 160, 74, 0.06);
}

.logo-symbol::after {
    content: "";

    position: absolute;

    width: 25px;
    height: 25px;

    bottom: -10px;
    left: 50%;

    transform:
        translateX(-50%)
        rotate(45deg);

    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);

    background: var(--bg);

    z-index: -1;
}

.logo-crown {
    position: absolute;

    top: -13px;
    left: 50%;

    transform: translateX(-50%);

    padding: 0 5px;

    background: var(--bg);

    color: var(--gold);

    font-size: 1.15rem;
}

.logo-letter {
    position: relative;

    z-index: 2;

    font-family: "Cinzel", serif;

    font-size: 2.4rem;
    font-weight: 600;

    line-height: 1;

    color: var(--gold-light);
}

.logo-scissors {
    position: absolute;

    bottom: -18px;
    left: 50%;

    transform: translateX(-50%);

    width: 28px;
    height: 28px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--bg);

    color: var(--gold);

    font-size: 0.72rem;

    z-index: 3;
}

.logo-name {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.logo-name span {
    margin-bottom: 5px;

    color: var(--white);

    font-family: "Cinzel", serif;

    font-size: 0.72rem;
    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.36em;
}

.logo-name strong {
    color: var(--white);

    font-family: "Cinzel", serif;

    font-size: 1.85rem;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-link {
    position: relative;

    padding: 12px 0;

    border: none;

    background: transparent;

    color: #d8d8d8;

    font-size: 0.8rem;
    font-weight: 600;

    text-transform: uppercase;

    transition:
        color 0.25s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 4px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition:
        width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-button {
    appearance: none;
}


/* =========================================================
   HEADER AÇÕES
========================================================= */

.header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}

.header-actions .btn {
    min-height: 44px;

    padding-inline: 17px;

    font-size: 0.76rem;
}


/* =========================================================
   MENU MOBILE
========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border:
        1px solid var(--border-gold);

    border-radius: var(--radius-sm);

    background: transparent;

    color: var(--gold);

    font-size: 1.15rem;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height:
        calc(100vh - 94px);

    display: flex;

    align-items: center;

    overflow: hidden;

    border-bottom:
        1px solid rgba(213, 160, 74, 0.22);

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(213, 160, 74, 0.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 25% 50%,
            rgba(255, 255, 255, 0.03),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #080909 0%,
            #090a0b 50%,
            #0e0d0b 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -160px;
    top: -170px;

    border-radius: 50%;

    border:
        1px solid rgba(213, 160, 74, 0.08);

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(430px, 1.05fr);

    align-items: center;

    gap: 80px;

    min-height:
        calc(100vh - 94px);

    padding: 45px 0 35px;
}


/* =========================================================
   HERO TEXTO
========================================================= */

.hero-text {
    max-width: 650px;

    margin-left:
        clamp(
            20px,
            4vw,
            70px
        );

    transform:
        translateY(-30px);
}

.hero-label {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: var(--gold-light);

    font-size: 0.76rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.hero-label span {
    width: 28px;
    height: 1px;

    background: var(--gold);
}

.hero-text h1 {
    max-width: 620px;

    margin: 0 0 20px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            3.8rem,
            5.5vw,
            5.8rem
        );

    font-weight: 600;

    line-height: 0.95;

    letter-spacing: -0.03em;

    color: var(--white);
}

.hero-line {
    display: block;

    color: var(--white);
}

.hero-highlight {
    color: var(--gold);

    font-style: italic;
}

.hero-text > p {
    max-width: 520px;

    margin-bottom: 22px;

    color: #b6b6b6;

    font-size: 1rem;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 20px;
}

.hero-buttons .btn {
    min-width: 180px;

    min-height: 50px;
}


/* =========================================================
   ESTATÍSTICAS HERO
========================================================= */

.hero-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    max-width: 560px;

    margin-top: 35px;

    padding-top: 18px;

    border-top:
        1px solid rgba(213, 160, 74, 0.16);
}

.stat-item {
    position: relative;

    padding: 0 20px;

    text-align: center;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    padding-right: 0;
}

.stat-item:not(:last-child) {
    border-right:
        1px solid rgba(213, 160, 74, 0.22);
}

.stat-item i {
    display: block;

    margin-bottom: 4px;

    color: var(--gold);

    font-size: 1.05rem;
}

.stat-item strong {
    display: block;

    font-family:
        "Playfair Display",
        serif;

    color: var(--white);

    font-size: 1.65rem;
    font-weight: 600;
}

.stat-item span {
    display: block;

    margin-top: 1px;

    color: var(--muted);

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 560px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform:
        translateY(-20px);
}

.hero-visual::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(213, 160, 74, 0.16),
            rgba(213, 160, 74, 0.03) 55%,
            transparent 72%
        );

    border:
        1px solid rgba(213, 160, 74, 0.1);
}

.hero-visual::after {
    content: "";

    position: absolute;

    right: 10%;

    width: 1px;
    height: 72%;

    background:
        linear-gradient(
            transparent,
            rgba(213, 160, 74, 0.35),
            transparent
        );
}


/* =========================================================
   CARD HERO LOGO
========================================================= */

.hero-logo-card {
    position: absolute;

    top: 10px;
    right: 5px;

    width: 220px;

    padding: 28px 20px;

    text-align: center;

    border:
        1px solid rgba(213, 160, 74, 0.32);

    background:
        rgba(8, 9, 9, 0.76);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);

    z-index: 3;
}

.hero-logo-symbol {
    position: relative;

    width: 90px;
    height: 100px;

    margin: 0 auto 20px;

    border: 2px solid var(--gold);

    border-radius:
        30px 30px 40px 40px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-logo-symbol strong {
    font-family: "Cinzel", serif;

    font-size: 3.5rem;

    color: var(--gold-light);
}

.hero-logo-symbol .fa-crown {
    position: absolute;

    top: -18px;

    padding-inline: 7px;

    background: #090a0a;

    color: var(--gold);
}

.hero-logo-symbol .fa-scissors {
    position: absolute;

    bottom: -12px;

    padding: 4px;

    background: #090a0a;

    color: var(--gold);
}

.hero-logo-name span {
    display: block;

    margin-bottom: 5px;

    font-family: "Cinzel", serif;

    color: #d9d2c6;

    text-transform: uppercase;

    letter-spacing: 0.27em;

    font-size: 0.72rem;
}

.hero-logo-name strong {
    display: block;

    font-family: "Cinzel", serif;

    color: var(--white);

    text-transform: uppercase;

    letter-spacing: 0.14em;

    font-size: 1.7rem;
}


/* =========================================================
   CADEIRA
========================================================= */

.barber-chair {
    position: relative;

    z-index: 2;

    width: 350px;
    height: 400px;

    margin-top: 110px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius:
        48% 48% 18% 18%;

    background:
        radial-gradient(
            circle at 50% 30%,
            #282828,
            #111 55%,
            #080808 100%
        );

    border:
        1px solid rgba(213, 160, 74, 0.2);

    box-shadow:
        0 50px 90px rgba(0, 0, 0, 0.7),
        inset 0 0 50px rgba(255, 255, 255, 0.025);
}

.barber-chair::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 75px;

    bottom: 45px;

    border-radius: 40px;

    background: #111;

    border:
        1px solid rgba(213, 160, 74, 0.18);
}

.barber-chair i {
    position: relative;

    z-index: 3;

    color: var(--gold-dark);

    font-size: 9rem;

    opacity: 0.3;
}


/* =========================================================
   BENEFÍCIOS
========================================================= */

.benefits {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #0c0d0d,
            #090a0a
        );

    border-bottom:
        1px solid rgba(213, 160, 74, 0.2);
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.benefit-item {
    min-height: 180px;

    padding: 32px 28px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.benefit-item:not(:last-child) {
    border-right:
        1px solid rgba(213, 160, 74, 0.25);
}

.benefit-item > i {
    margin-bottom: 13px;

    color: var(--gold);

    font-size: 2rem;
}

.benefit-item h3 {
    margin-bottom: 7px;

    color: var(--white);

    font-size: 0.83rem;

    text-transform: uppercase;
}

.benefit-item p {
    max-width: 220px;

    color: var(--muted);

    font-size: 0.78rem;
}


/* =========================================================
   SEÇÕES GERAIS
========================================================= */

.section {
    padding: 100px 0;
}

.section-header {
    max-width: 680px;

    margin:
        0 auto 50px;

    text-align: center;
}

.section-label,
.form-eyebrow {
    display: inline-block;

    color: var(--gold);

    font-size: 0.73rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.15em;
}

.section-header h2 {
    margin: 10px 0 12px;

    font-family:
        "Playfair Display",
        serif;

    color: var(--white);

    font-size:
        clamp(2.4rem, 5vw, 4rem);

    font-weight: 600;

    line-height: 1.08;
}

.section-header p {
    color: var(--muted);
}


/* =========================================================
   SERVIÇOS
========================================================= */

.services-section {
    background: var(--bg);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 350px;

    padding: 26px;

    display: flex;

    flex-direction: column;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.service-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(213, 160, 74, 0.4);

    background:
        linear-gradient(
            145deg,
            rgba(213, 160, 74, 0.07),
            rgba(255, 255, 255, 0.015)
        );
}

.service-icon {
    width: 50px;
    height: 50px;

    display: grid;

    place-items: center;

    margin-bottom: 20px;

    border:
        1px solid rgba(213, 160, 74, 0.28);

    border-radius: 50%;

    background:
        rgba(213, 160, 74, 0.08);

    color: var(--gold);

    font-size: 1.15rem;
}

.service-card h3 {
    margin-bottom: 8px;

    color: var(--white);

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.35rem;
}

.service-card > p {
    margin-bottom: 24px;

    color: var(--muted);

    font-size: 0.85rem;
}

.service-info {
    margin-top: auto;

    padding-top: 17px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid var(--border);
}

.service-info span {
    color: var(--muted);

    font-size: 0.77rem;
}

.service-info span i {
    margin-right: 4px;

    color: var(--gold);
}

.service-info strong {
    color: var(--gold-light);
}

.select-service {
    width: 100%;

    margin-top: 17px;

    padding: 11px;

    border:
        1px solid var(--border-gold);

    border-radius:
        var(--radius-sm);

    background: transparent;

    color: var(--gold-light);

    font-size: 0.78rem;
    font-weight: 700;

    text-transform: uppercase;

    transition:
        0.25s ease;
}

.select-service:hover {
    background: var(--gold);

    color: #111;

    border-color:
        var(--gold);
}

.popular-badge {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 5px 8px;

    border-radius: 50px;

    background: var(--gold);

    color: #111;

    font-size: 0.58rem;
    font-weight: 800;

    text-transform: uppercase;
}


/* =========================================================
   BARBEIROS
========================================================= */

.barbers-section {
    background:
        var(--bg-secondary);
}

.barbers-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.barber-card {
    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background: #101214;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.barber-card:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(213, 160, 74, 0.4);
}

.barber-image {
    position: relative;

    height: 270px;

    display: grid;

    place-items: center;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(213, 160, 74, 0.18),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #25282b,
            #0d0f10
        );
}

.barber-image::after {
    content: "";

    position: absolute;

    inset:
        auto 0 0;

    height: 50%;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.7)
        );
}

.barber-image > span {
    font-family:
        "Cinzel",
        serif;

    color:
        rgba(255, 255, 255, 0.75);

    font-size: 4rem;
}

.barber-content {
    position: relative;

    padding: 24px;
}

.barber-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color:
        rgba(213, 160, 74, 0.35);

    font-family:
        "Playfair Display",
        serif;

    font-size: 2rem;
}

.barber-content h3 {
    color: var(--white);

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.45rem;
}

.barber-content > p {
    margin:
        4px 0 15px;

    color: var(--muted);

    font-size: 0.84rem;
}

.barber-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;
}

.barber-tags span {
    padding: 5px 9px;

    border:
        1px solid var(--border);

    border-radius: 50px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #c8c8c8;

    font-size: 0.68rem;
}

.select-barber {
    width: 100%;

    padding: 11px;

    border:
        1px solid var(--border-gold);

    border-radius:
        var(--radius-sm);

    background:
        rgba(213, 160, 74, 0.05);

    color: var(--gold-light);

    font-weight: 700;

    transition:
        0.25s ease;
}

.select-barber:hover {
    background: var(--gold);

    color: #111;
}


/* =========================================================
   CTA AGENDAMENTO
========================================================= */

.booking-cta-section {
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(213, 160, 74, 0.08),
            transparent 35%
        ),
        var(--bg);
}

.booking-cta {
    padding: 42px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border:
        1px solid var(--border-gold);

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(213, 160, 74, 0.06),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        var(--shadow);
}

.booking-cta h2 {
    margin:
        8px 0 10px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2rem, 4vw, 3.2rem);

    color: var(--white);
}

.booking-cta p {
    color: var(--muted);
}


/* =========================================================
   CONTATO
========================================================= */

.contact-section {
    background: var(--bg);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.contact-grid article {
    padding: 30px 22px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        rgba(255, 255, 255, 0.018);

    transition:
        0.25s ease;
}

.contact-grid article:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(213, 160, 74, 0.35);
}

.contact-grid article > i {
    width: 48px;
    height: 48px;

    margin:
        0 auto 15px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border-gold);

    border-radius: 50%;

    color: var(--gold);
}

.contact-grid h3 {
    margin-bottom: 6px;

    color: var(--white);

    font-family:
        "Playfair Display",
        serif;
}

.contact-grid p {
    color: var(--muted);

    font-size: 0.82rem;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 38px 0;

    background: #060707;

    border-top:
        1px solid rgba(213, 160, 74, 0.2);
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-logo {
    transform:
        scale(0.86);

    transform-origin:
        left center;
}

.footer-content > p {
    color: var(--muted);

    font-size: 0.75rem;
}

.social-links {
    display: flex;

    gap: 9px;
}

.social-links a {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    color: var(--muted);

    transition:
        0.25s ease;
}

.social-links a:hover {
    color: var(--gold);

    border-color:
        var(--gold);

    transform:
        translateY(-2px);
}


/* =========================================================
   FOOTER - CRÉDITOS
========================================================= */

.footer-copy {
    text-align: center;
}

.footer-copy p {
    color: var(--muted);
    font-size: 0.75rem;
}

.developer-credit {
    margin-top: 5px;
}

.developer-credit a {
    position: relative;

    color: var(--gold);
    font-weight: 600;

    transition:
        color 0.25s ease;
}

.developer-credit a:hover {
    color: var(--gold-light);
}

.developer-credit a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition:
        width 0.25s ease;
}

.developer-credit a:hover::after {
    width: 100%;
}

/* =========================================================
   MODAIS
========================================================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        rgba(0, 0, 0, 0.76);

    -webkit-backdrop-filter:
        blur(8px);

    backdrop-filter:
        blur(8px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   AGENDAMENTO - POSIÇÃO DO MODAL
========================================================= */

#bookingModal {
    align-items: flex-start;
    padding-top: 70px;
}

#bookingModal .booking-modal-card {
    margin-top: 35px;
}


/* =========================================================
   CARD MODAL
========================================================= */

.modal-card {
    position: relative;

    width:
        min(100%, 520px);

    max-height:
        calc(100vh - 50px);

    padding: 34px;

    border:
        1px solid var(--border-gold);

    border-radius:
        20px;

    background:
        linear-gradient(
            155deg,
            #141516,
            #0b0c0d 70%
        );

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.75);

    transform:
        translateY(24px)
        scale(0.97);

    opacity: 0;

    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

.modal-overlay.active .modal-card {
    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}


/* =========================================================
   MODAL COM SCROLL
========================================================= */

.modal-card-scroll {
    overflow-y: auto;
}

.modal-card-scroll::-webkit-scrollbar {
    width: 5px;
}

.modal-card-scroll::-webkit-scrollbar-thumb {
    background:
        rgba(213, 160, 74, 0.45);
}


/* =========================================================
   BOTÃO FECHAR
========================================================= */

.modal-close {
    position: absolute;

    top: 16px;
    right: 16px;

    z-index: 10;

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.035);

    color: var(--muted);

    transition:
        0.25s ease;
}

.modal-close:hover {
    color: var(--gold);

    border-color:
        var(--gold);

    transform:
        rotate(90deg);
}


/* =========================================================
   MARCA MODAL
========================================================= */

.modal-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 28px;
}

.modal-brand-icon {
    width: 46px;
    height: 52px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--gold);

    border-radius:
        14px 14px 20px 20px;

    color: var(--gold);

    font-family:
        "Cinzel",
        serif;

    font-size: 1.6rem;
}

.modal-brand > div:last-child {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.modal-brand span {
    color: var(--muted);

    font-family:
        "Cinzel",
        serif;

    font-size: 0.58rem;

    text-transform: uppercase;

    letter-spacing: 0.22em;
}

.modal-brand strong {
    margin-top: 4px;

    color: var(--white);

    font-family:
        "Cinzel",
        serif;

    font-size: 1.1rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


/* =========================================================
   TÍTULOS MODAL
========================================================= */

.modal-heading {
    margin-bottom: 26px;
}

.modal-heading h2,
.booking-modal-header h2 {
    margin:
        5px 0 8px;

    font-family:
        "Playfair Display",
        serif;

    color: var(--white);

    font-size: 2rem;

    line-height: 1.08;
}

.modal-heading p,
.booking-modal-header p {
    color: var(--muted);

    font-size: 0.85rem;
}


/* =========================================================
   FORM MODAL
========================================================= */

.modal-form {
    display: grid;

    gap: 16px;
}

.form-group {
    display: grid;

    gap: 8px;
}

.form-group label,
.form-label {
    color: #dedede;

    font-size: 0.78rem;
    font-weight: 600;
}

.label-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


/* =========================================================
   INPUTS
========================================================= */

input,
select,
textarea {
    width: 100%;

    padding: 13px 14px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-sm);

    outline: none;

    background: #090b0c;

    color: var(--white);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #686c71;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(213, 160, 74, 0.08);
}

textarea {
    resize: vertical;
}


/* =========================================================
   INPUT COM ÍCONE
========================================================= */

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;

    top: 50%;
    left: 14px;

    transform:
        translateY(-50%);

    color: #777b80;

    pointer-events: none;
}

.input-wrapper input {
    padding-left: 42px;

    padding-right: 42px;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 11px;

    transform:
        translateY(-50%);

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border: none;

    background: transparent;

    color: #777b80;
}

.password-toggle:hover {
    color: var(--gold);
}


/* =========================================================
   LINKS MODAL
========================================================= */

.link-button {
    border: none;

    background: transparent;

    color: var(--gold);

    font-size: 0.72rem;

    font-weight: 600;
}

.link-button:hover {
    text-decoration: underline;
}


/* =========================================================
   LEMBRAR / TERMOS
========================================================= */

.remember-row,
.terms {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    color: var(--muted);

    font-size: 0.75rem;
}

.remember-row input,
.terms input {
    width: auto;

    margin-top: 3px;

    accent-color: var(--gold);
}


/* =========================================================
   TROCA LOGIN CADASTRO
========================================================= */

.modal-switch {
    text-align: center;

    color: var(--muted);

    font-size: 0.78rem;
}

.modal-switch button {
    margin-left: 4px;

    border: none;

    background: transparent;

    color: var(--gold);

    font-weight: 700;
}

.modal-switch button:hover {
    text-decoration: underline;
}


/* =========================================================
   MODAL AGENDAMENTO
========================================================= */

.booking-modal-card {
    width:
        min(100%, 760px);
}

.booking-modal-header {
    display: flex;

    align-items: flex-start;
    justify-content: flex-start;

    gap: 18px;

    margin-bottom: 26px;
}

.booking-modal-header > div:first-child {
    flex: 0 1 auto;
}

.booking-modal-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    margin-top: 25px;

    border:
        1px solid var(--border-gold);

    border-radius: 50%;

    background:
        rgba(213, 160, 74, 0.07);

    color: var(--gold);

    font-size: 1.15rem;
}

.booking-modal-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.form-group-full {
    grid-column: 1 / -1;
}


/* =========================================================
   HORÁRIOS
========================================================= */

.time-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 9px;
}

.time-btn {
    padding: 10px 7px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-sm);

    background: #090b0c;

    color: #ccc;

    transition:
        0.2s ease;
}

.time-btn:hover,
.time-btn.active {
    border-color:
        var(--gold);

    background:
        rgba(213, 160, 74, 0.08);

    color:
        var(--gold-light);
}

.time-btn:disabled {
    opacity: 0.25;

    cursor: not-allowed;

    text-decoration: line-through;
}

.empty-message {
    grid-column:
        1 / -1;

    color: var(--muted);

    font-size: 0.78rem;
}


/* =========================================================
   RESUMO AGENDAMENTO
========================================================= */

.booking-summary {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    padding: 14px;

    border:
        1px dashed var(--border-gold);

    border-radius:
        var(--radius-sm);

    background:
        rgba(213, 160, 74, 0.035);

    color: #c9c4ba;

    font-size: 0.78rem;
}

.booking-summary i {
    margin-top: 3px;

    color: var(--gold);
}


/* =========================================================
   TOAST
========================================================= */

.toast {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 7000;

    max-width: 360px;

    padding: 14px 18px;

    border:
        1px solid var(--border-gold);

    border-radius:
        var(--radius-sm);

    background: #15120d;

    color: var(--white);

    box-shadow:
        var(--shadow);

    font-size: 0.82rem;
    font-weight: 600;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(15px);

    transition:
        0.25s ease;
}

.toast.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (max-width: 1150px) {

    .navbar {
        gap: 18px;
    }

    .nav-link {
        font-size: 0.72rem;
    }

    .header-actions .btn {
        padding-inline: 12px;
    }

    .hero-content {
        grid-template-columns:
            1fr 0.9fr;

        gap: 40px;
    }

    .hero-text {
        margin-left: 20px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .header-content {
        min-height: 82px;
    }

    .navbar {
        position: absolute;

        top:
            calc(100% + 1px);

        left: 4%;
        right: 4%;

        display: none;

        padding: 14px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        border:
            1px solid var(--border-gold);

        border-radius:
            0 0
            var(--radius-md)
            var(--radius-md);

        background: #0c0e0f;

        box-shadow:
            var(--shadow);
    }

    .navbar.open {
        display: flex;
    }

    .nav-link {
        width: 100%;

        padding: 13px 10px;

        text-align: left;

        font-size: 0.78rem;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: grid;

        place-items: center;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        min-height: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;

        min-height: 0;

        padding:
            80px 0;
    }

    .hero-text {
        max-width: 700px;

        margin-inline: auto;

        transform: none;
    }

    .hero-visual {
        min-height: 500px;

        transform: none;
    }

    .benefits-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .benefit-item:nth-child(2) {
        border-right: none;
    }

    .benefit-item:nth-child(-n + 2) {
        border-bottom:
            1px solid rgba(213, 160, 74, 0.25);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    /* MODAL DE AGENDAMENTO MAIS ABAIXO NO MOBILE */
    #bookingModal {
        padding-top: 45px;
    }

    #bookingModal .booking-modal-card {
        margin-top: 20px;
    }

    .container {
        width:
            min(92%, 600px);
    }

    .section {
        padding:
            75px 0;
    }

    .header-content {
        gap: 12px;
    }

    .logo-symbol {
        width: 49px;
        height: 57px;
    }

    .logo-letter {
        font-size: 1.9rem;
    }

    .logo-name span {
        font-size: 0.56rem;
    }

    .logo-name strong {
        font-size: 1.3rem;
    }

    .header-actions {
        display: none;
    }

    .hero {
        min-height: 0;
    }

    .hero-content {
        min-height: 0;

        padding:
            65px 0;
    }

    .hero-text {
        margin: 0;

        transform: none;
    }

    .hero-text h1 {
        font-size:
            clamp(
                3rem,
                14vw,
                4.5rem
            );
    }

    .hero-buttons {
        display: grid;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        margin-top: 35px;
    }

    .stat-item {
        padding-inline: 10px;
    }

    .hero-visual {
        min-height: 430px;

        transform: none;
    }

    .hero-logo-card {
        width: 170px;

        padding:
            24px 14px;
    }

    .hero-logo-symbol {
        width: 72px;
        height: 82px;
    }

    .hero-logo-symbol strong {
        font-size: 2.7rem;
    }

    .hero-logo-name strong {
        font-size: 1.3rem;
    }

    .barber-chair {
        width: 270px;
        height: 320px;

        margin-top: 100px;
    }

    .barber-chair::before {
        width: 300px;
    }

    .barber-chair i {
        font-size: 7rem;
    }

    .benefits-grid {
        grid-template-columns:
            1fr;
    }

    .benefit-item {
        min-height: 155px;

        border-right:
            none !important;

        border-bottom:
            1px solid rgba(213, 160, 74, 0.2);
    }

    .benefit-item:last-child {
        border-bottom: none;
    }

    .services-grid,
    .barbers-grid,
    .contact-grid {
        grid-template-columns:
            1fr;
    }

    .booking-cta {
        padding: 28px;

        flex-direction: column;

        align-items: flex-start;
    }

    .booking-cta .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;
    }

    .footer-logo {
        transform:
            scale(0.85);

        transform-origin:
            center;
    }


    /* MODAL */

    .modal-overlay {
        padding: 12px;
    }

    .modal-card {
        padding:
            28px 20px 22px;

        max-height:
            calc(100vh - 24px);

        border-radius: 16px;
    }

    .modal-heading h2,
    .booking-modal-header h2 {
        font-size: 1.7rem;
    }

    .booking-modal-header {
        gap: 14px;

        justify-content: space-between;
    }

    .booking-modal-header > div:first-child {
        flex: 1;
        min-width: 0;
    }

    .booking-modal-icon {
        margin-top: 8px;
    }

    .booking-modal-icon {
        width: 45px;
        height: 45px;

        font-size: 1.1rem;
    }

    .booking-modal-grid {
        grid-template-columns:
            1fr;
    }

    .form-group-full {
        grid-column: auto;
    }

    .time-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    /* =========================================================
   FOOTER MOBILE
========================================================= */

.footer-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 18px;

    text-align: center;
}

.footer-logo {
    transform: scale(0.82);
    transform-origin: center;
}

.footer-copy {
    width: 100%;

    text-align: center;
}

.footer-copy p {
    font-size: 0.72rem;
    line-height: 1.6;
}

.developer-credit {
    margin-top: 4px;
}

.developer-credit a {
    color: var(--gold);
    font-weight: 600;
}

.social-links {
    justify-content: center;
}

}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 430px) {

    .hero-label {
        font-size: 0.62rem;
    }

    .hero-label span {
        width: 14px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text > p {
        font-size: 0.9rem;
    }

    .hero-stats {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .stat-item i {
        font-size: 0.9rem;
    }

    .stat-item strong {
        font-size: 1.15rem;
    }

    .stat-item span {
        font-size: 0.54rem;
    }

    .hero-visual {
        min-height: 380px;
    }

    .barber-chair {
        width: 220px;
        height: 270px;
    }

    .barber-chair::before {
        width: 250px;
        height: 60px;
    }

    .barber-chair i {
        font-size: 5.5rem;
    }

    .hero-logo-card {
        width: 145px;

        top: 0;
    }

    .hero-logo-symbol {
        width: 60px;
        height: 70px;
    }

    .hero-logo-symbol strong {
        font-size: 2.2rem;
    }

    .hero-logo-name span {
        font-size: 0.55rem;
    }

    .hero-logo-name strong {
        font-size: 1.05rem;
    }

    .modal-card {
        padding:
            25px 17px 20px;
    }

    .modal-brand {
        margin-bottom: 22px;
    }

    .time-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

/* =========================================================
   AJUSTE FINAL - ÍCONE AO LADO DE "RESERVE SEU HORÁRIO"
========================================================= */

#bookingModal .booking-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
}

#bookingModal .booking-modal-header > div:first-child {
    flex: 0 1 auto;
}

#bookingModal .booking-modal-icon {
    width: 46px;
    height: 46px;
    margin-top: 25px;
    flex-shrink: 0;
}

@media (max-width: 700px) {

    #bookingModal .booking-modal-header {
        gap: 12px;
        justify-content: flex-start;
    }

    #bookingModal .booking-modal-header > div:first-child {
        flex: 0 1 auto;
        min-width: 0;
    }

    #bookingModal .booking-modal-icon {
        width: 40px;
        height: 40px;
        margin-top: 27px;
        font-size: 1rem;
    }

}


/* =========================================================
   AJUSTE FINAL - MODAL DE AGENDAMENTO
   Mais compacto, um pouco abaixo do topo e com o botão
   "Confirmar agendamento" visível em telas de PC.
========================================================= */

#bookingModal {
    align-items: flex-start;
    justify-content: center;
    padding: 22px 15px 18px;
    overflow-y: auto;
}

#bookingModal .booking-modal-card {
    margin-top: 0;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    padding: 22px 30px 20px;
    overflow-y: auto;
}

#bookingModal .booking-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

#bookingModal .booking-modal-header > div:first-child {
    flex: 0 1 auto;
    min-width: 0;
}

#bookingModal .booking-modal-header h2 {
    margin: 2px 0 3px;
    font-size: 1.75rem;
}

#bookingModal .booking-modal-header p {
    font-size: 0.78rem;
}

#bookingModal .booking-modal-icon {
    width: 40px;
    height: 40px;
    margin-top: 22px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

#bookingModal .booking-modal-grid {
    gap: 10px 14px;
}

#bookingModal .form-group {
    gap: 5px;
}

#bookingModal input,
#bookingModal select,
#bookingModal textarea {
    padding: 9px 12px;
}

#bookingModal textarea {
    min-height: 62px;
    max-height: 62px;
}

#bookingModal .time-grid {
    gap: 6px;
}

#bookingModal .time-btn {
    padding: 7px 5px;
}

#bookingModal .booking-summary {
    padding: 9px 11px;
}

#bookingModal .btn-full {
    min-height: 42px;
}

@media (max-width: 700px) {

    #bookingModal {
        padding: 16px 8px 10px;
    }

    #bookingModal .booking-modal-card {
        margin-top: 0;
        max-height: calc(100vh - 26px);
        padding: 18px 16px 15px;
    }

    #bookingModal .booking-modal-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    #bookingModal .booking-modal-header h2 {
        font-size: 1.5rem;
    }

    #bookingModal .booking-modal-header p {
        font-size: 0.74rem;
    }

    #bookingModal .booking-modal-icon {
        width: 36px;
        height: 36px;
        margin-top: 21px;
        font-size: 0.9rem;
    }

    #bookingModal .booking-modal-grid {
        gap: 9px;
    }

    #bookingModal .time-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    #bookingModal .time-btn {
        padding: 6px 4px;
        font-size: 0.76rem;
    }

    #bookingModal textarea {
        min-height: 56px;
        max-height: 56px;
    }

    #bookingModal .booking-summary {
        padding: 8px 10px;
    }

    #bookingModal .btn-full {
        min-height: 41px;
    }
}