:root {
    --bg: #090b10;
    --surface: rgba(22, 23, 28, 0.88);
    --surface-strong: rgba(18, 19, 24, 0.96);
    --text: #f5f3f0;
    --muted: #b0b0b8;
    --gold: #d4a017;
    --gold-soft: rgba(212, 160, 23, 0.2);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top, rgba(212, 160, 23, 0.08), transparent 24%),
        linear-gradient(180deg, #090b10 0%, #090a0f 100%);
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1150px, 94%);
    margin: 0 auto;
}

.header-content,
.footer-grid,
.hero-grid,
.about-grid,
.location-grid {
    display: grid;
    gap: 1.5rem;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 11, 16, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 46px;
    height: 46px;
}

.brand-copy span {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.brand-copy strong {
    display: block;
    font-size: 1.15rem;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;

    gap: 0.35rem;
    flex-direction: column;
    justify-content: center;

    padding: 0.45rem;
    cursor: pointer;

    margin-left: auto;
    margin-right: -10px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    align-items: center;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links .button:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 1.5rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--gold), #f1c65a);
    color: #080705;
    box-shadow: 0 18px 45px rgba(212, 160, 23, 0.28);
}

.button-secondary,
.button-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.button-outline:hover {
    border-color: rgba(212, 160, 23, 0.28);
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background: rgba(16, 17, 22, 0.95);
}

.section-header {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(212, 160, 23, 0.13);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-header h2,
.hero-copy h1,
.about-card h3,
.feature-card h3,
.testimonial-card strong,
.footer h3 {
    color: var(--text);
}

.hero {
    min-height: 92vh;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(212, 160, 23, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(9, 11, 16, 0.95), rgba(9, 11, 16, 0.98));
    pointer-events: none;
}

.hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 1.2rem 0;
}

.hero-text {
    max-width: 620px;
    line-height: 1.75;
    color: rgba(245, 243, 240, 0.8);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-tags span {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-panel {
    width: 100%;
    max-width: 520px;
    padding: 2rem;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.hero-label {
    display: inline-flex;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.12);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-image {
    margin: 1.5rem 0;
    height: 320px;
    border-radius: 32px;
    background: linear-gradient(180deg, #1f2228 0%, #111316 100%);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/barbearia-prime.png') center/cover no-repeat;
    opacity: 0.95;
    border-radius: 32px;
}

.hero-feature {
    margin: 0;
    color: rgba(245, 243, 240, 0.76);
    line-height: 1.8;
}

.service-grid,
.feature-grid,
.instagram-grid {
    display: grid;
    gap: 1.5rem;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-card,
.about-card,
.testimonial-card,
.insta-card,
.map-card {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 16, 20, 0.78);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.service-card h3,
.feature-card h3,
.about-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-card p,
.feature-card p,
.hero-feature,
.about-card p {
    color: rgba(245, 243, 240, 0.76);
    line-height: 1.8;
}

.service-price {
    display: inline-flex;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

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

.feature-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(212, 160, 23, 0.15);
    color: var(--gold);
    font-weight: 700;
}

.about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.about-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.about-stats div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.3rem;
    text-align: center;
}

.about-stats strong {
    display: block;
    font-size: 1.75rem;
    color: var(--gold);
}

.about-stats span {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
}

.testimonial-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 36px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial-slider {
    display: grid;
    gap: 1rem;
}

.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-card.is-active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card p {
    line-height: 1.9;
    color: rgba(245, 243, 240, 0.82);
}

.testimonial-card strong {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
}

.testimonial-card span {
    color: var(--gold);
}

.testimonial-controls {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.5);
    background: transparent;
    cursor: pointer;
}

.control-dot.is-active {
    background: var(--gold);
    border-color: var(--gold);
}

.instagram-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insta-card {
    overflow: hidden;
    position: relative;
}

.insta-image {
    height: 240px;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.2rem;
}

.insta-image-1 {
    background-image: url('https://plus.unsplash.com/premium_photo-1661645788141-8196a45fb483?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.insta-image-2 {
    background-image: url('https://plus.unsplash.com/premium_photo-1661493935776-a76a3e33dddf?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.insta-image-3 {
    background-image: url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?q=80&w=1474&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.insta-image-4 {
    background-image: url('https://plus.unsplash.com/premium_photo-1677444546739-21b8aad351d4?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.instagram-action {
    margin-top: 1.5rem;
    text-align: center;
}

.location-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.location-info {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.location-info div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.3rem;
    border-radius: 24px;
}

.map-card iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 28px;
}

.footer {
    padding: 3rem 0 4rem;
}

.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.footer-grid h4,
.footer-grid h3 {
    margin-bottom: 1rem;
}

.footer-grid a {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--text);
}

.footer-copy {
    margin-top: 2rem;
    text-align: center;
    color: var(--muted);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--gold);
    color: #090705;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 20px 55px rgba(212, 160, 23, 0.34);
    transition: transform 0.25s ease;
    text-decoration: none;
    max-width: calc(100vw - 40px);
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        padding: 0.85rem;
    }

    .whatsapp-float span {
        display: none;
    }
}

.whatsapp-float:hover {
    transform: translateY(-3px);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    background: rgba(9, 11, 16, 0.95);
    color: #fff;
    gap: 1rem;
}

.loader-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--gold);
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {

    .hero-grid,
    .service-grid,
    .feature-grid,
    .about-grid,
    .location-grid,
    .instagram-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 74px;
        left: 1rem;
        right: 1rem;

        background: rgba(9, 11, 16, 0.98);
        backdrop-filter: blur(16px);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;

        padding: 1.2rem;

        display: flex;
        flex-direction: column;
        gap: 1rem;

        opacity: 0;
        pointer-events: none;

        transform: translateY(-10px);
        transition: 0.25s ease;

        z-index: 999;
        ;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-copy h1 {
        font-size: clamp(2.5rem, 8vw, 3.4rem);
    }

    .hero-visual {
        display: none;
    }

    .hero-actions,
    .hero-tags {
        flex-direction: column;
        align-items: stretch;
    }
}
