
:root {
    --bg: #090b0f;
    --bg-alt: #0e1218;
    --surface: #10141b;
    --surface-2: #161b24;
    --line: #2e2a1f;
    --gold: #d4af5a;
    --gold-light: #f0d58c;
    --gold-dark: #8f6e2a;
    --gold-grad: linear-gradient(135deg, #f0d58c 0%, #d4af5a 45%, #8f6e2a 100%);
    --text: #ece6d8;
    --muted: #a39d8f;
    --ok: #34d399;
    --bad: #f87171;
    --radius: 14px;
    --header-h: 72px;
    --font-title: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;


    --arabesque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23d4af5a' stroke-opacity='.10' stroke-width='1'%3E%3Crect x='16' y='16' width='32' height='32'/%3E%3Crect x='16' y='16' width='32' height='32' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='6'/%3E%3C/g%3E%3C/svg%3E");
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    background-image: var(--arabesque);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    background: var(--gold);
    color: var(--bg);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    z-index: 200;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 12px; }


.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 44px;
}
.ornament::before,
.ornament::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { transform: scaleX(-1); }
.ornament span {
    width: 10px;
    height: 10px;
    background: var(--gold-grad);
    transform: rotate(45deg);
    box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold-dark);
}
.ornament-sm { margin-bottom: 22px; }
.ornament-sm::before,
.ornament-sm::after { width: 50px; }


header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(20px, 5vw, 56px);
    background: transparent;
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

header.scrolled {
    background: rgba(9, 11, 15, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--gold-dark);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.logo {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-decoration: none;
}
.logo span { color: var(--gold); }

nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
}

nav ul li a {
    position: relative;
    display: block;
    padding: 8px 14px;
    color: #d9d2c0;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

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

nav ul li a:hover::after,
nav ul li a.active::after { transform: scaleX(1); }


.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-h) + 40px) 20px 80px;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(212, 175, 90, 0.16), transparent 60%),
        var(--arabesque),
        linear-gradient(180deg, rgba(9, 11, 15, 0.78), rgba(9, 11, 15, 0.96)),
        url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?q=80&w=1600') no-repeat center / cover;
}

.hero-content { max-width: 820px; }

.eyebrow {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.hero .eyebrow { margin-bottom: 10px; }

.hero h1 {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 6.5vw, 4.3rem);
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}
.hero h1 em {
    font-style: normal;
    display: block;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold);
}

.hero-sub {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    color: #cfc8b6;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(212, 175, 90, 0.5);
    border-radius: 14px;
}
.scroll-hint span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
    0%   { opacity: 0; transform: translateY(0); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(16px); }
}


.js .hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s ease forwards;
}
.js .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.js .hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.js .hero-content > *:nth-child(3) { animation-delay: 0.35s; }
.js .hero-content > *:nth-child(4) { animation-delay: 0.5s; }
.js .hero-content > *:nth-child(5) { animation-delay: 0.65s; }
.js .hero-content > *:nth-child(6) { animation-delay: 0.8s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }


.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--gold);
    border-radius: 999px;
    transition: transform 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn-primary {
    background: var(--gold-grad);
    border-color: transparent;
    color: #14100a;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 90, 0.35);
}
.btn-ghost { background: transparent; color: var(--gold-light); }
.btn-ghost:hover {
    background: var(--gold);
    color: #14100a;
    transform: translateY(-2px);
}
.btn-small { padding: 10px 22px; font-size: 0.78rem; }

.perks {
    background: #0c0f14;
    border-block: 1px solid var(--gold-dark);
    padding: 18px 20px;
}
.perks ul {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 36px;
    list-style: none;
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
}


.section {
    padding: 90px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.bg-alt {
    max-width: none;
    background-color: var(--bg-alt);
    background-image: var(--arabesque);
    border-block: 1px solid var(--line);
}
.section-inner { max-width: 760px; margin: 0 auto; }

.section h2 {
    font-family: var(--font-title);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold);
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.card {
    padding: 34px 24px 30px;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-dark);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 90, 0.08);
}


.medal {
    width: 124px;
    height: 124px;
    margin: 0 auto 20px;
    padding: 4px;
    border-radius: 50%;
    background: var(--gold-grad);
    box-shadow: 0 0 0 6px rgba(212, 175, 90, 0.12), 0 10px 28px rgba(0, 0, 0, 0.55);
    transition: box-shadow 0.35s, transform 0.5s;
}
.medal-inner {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #1d2430, #080a0e);
    box-shadow: inset 0 0 0 3px #0a0d12, inset 0 0 0 4px rgba(212, 175, 90, 0.55);
}
.medal svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: var(--gold-light);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(212, 175, 90, 0.4));
}
/* Se você colocar uma <img> das artes do Instagram dentro do medalhão */
.medal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.card:hover .medal {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(212, 175, 90, 0.22), 0 0 32px rgba(212, 175, 90, 0.3);
}

.card h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}
.card p { font-size: 0.93rem; color: var(--muted); }


.about-text {
    color: #cfc8b6;
    font-size: 1.1rem;
}
.about-text strong { color: var(--gold-light); font-weight: 600; }


.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
    text-align: left;
}

.contact-card {
    padding: 28px;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold-dark);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.contact-card h3 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
}
.contact-card address { font-style: normal; color: #cfc8b6; }

.insta-link {
    color: var(--gold-light);
    font-weight: 600;
    text-decoration: none;
}
.insta-link:hover { text-decoration: underline; }

.hours {
    width: 100%;
    list-style: none;
    font-size: 0.95rem;
}
.hours li {
    display: flex;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 6px;
    color: #cfc8b6;
}
.hours li + li { border-top: 1px dashed var(--line); }
.hours li.hoje {
    background: rgba(212, 175, 90, 0.12);
    color: var(--gold-light);
    font-weight: 600;
}


.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid;
}
.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.badge.aberto {
    background: rgba(52, 211, 153, 0.12);
    color: var(--ok);
    border-color: rgba(52, 211, 153, 0.5);
}
.badge.aberto::before { animation: pulse 1.8s infinite; }
.badge.fechado {
    background: rgba(248, 113, 113, 0.12);
    color: var(--bad);
    border-color: rgba(248, 113, 113, 0.5);
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

footer {
    text-align: center;
    padding: 44px 20px 36px;
    background: #050608;
    color: #77715f;
    font-size: 0.85rem;
    border-top: 1px solid var(--gold-dark);
}
.footer-logo {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 8px;
}
.footer-logo span { color: var(--gold); }
.to-top {
    display: inline-block;
    margin-top: 14px;
    color: var(--gold-dark);
    text-decoration: none;
}
.to-top:hover { color: var(--gold-light); }


.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }
.js .services-grid .reveal:nth-child(2),
.js .contact-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .services-grid .reveal:nth-child(3),
.js .contact-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }


@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .nav-toggle { display: flex; }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 15, 20, 0.98);
        border-bottom: 2px solid var(--gold-dark);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.35s ease, visibility 0.35s;
    }
    nav.open {
        max-height: 360px;
        visibility: visible;
    }
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
    }
    nav ul li a {
        padding: 14px 24px;
        text-align: center;
    }
    nav ul li a::after { display: none; }

    .section { padding: 70px 20px; }
    .hero-actions .btn { width: 100%; max-width: 320px; }
    .ornament::before,
    .ornament::after { width: 48px; }
}


header:has(nav.open) {
    background: rgba(9, 11, 15, 0.97);
}


@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js .reveal,
    .js .hero-content > * { opacity: 1; transform: none; }
}
