:root {
    --ink: #0b0a09;
    --ink-soft: #151310;
    --bone: #fbf9f4;
    --bone-dim: rgba(251, 249, 244, 0.72);
    --bone-faint: rgba(251, 249, 244, 0.42);
    --brass: #d9a635;
    --brass-soft: #eec468;
    --brass-line: rgba(217, 166, 53, 0.4);
    --brass-line-strong: rgba(217, 166, 53, 0.7);
    --glass: rgba(251, 249, 244, 0.045);
    --glass-strong: rgba(251, 249, 244, 0.09);
    --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--ink);
    color: var(--bone);
    overflow-x: hidden;
}

::selection {
    background: var(--brass);
    color: var(--ink);
}

a {
    color: inherit;
}

:focus-visible {
    outline: 1.5px solid var(--brass);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    html,
    .fade-in,
    .whatsapp-float {
        scroll-behavior: auto;
        animation: none !important;
        transition: none !important;
    }
}

/* ── 1. FUNDO CINEMATOGRÁFICO FIXO ── */
.bg-cinema {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: var(--ink);
}

.bg-cinema-fallback {
    position: absolute;
    inset: 0;
    background:
        url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?w=1600&q=80') center/cover no-repeat;
}

.bg-cinema-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) saturate(1.05);
}

.bg-cinema-mask {
    position: absolute;
    inset: 0;
    background: rgba(11, 10, 9, 0.8);
}

/* ── 2. NAVBAR ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    background: rgba(11, 10, 9, 0.28);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--brass-line);
    transition: all 0.35s ease;
}

.nav-logo {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 26px;
    color: var(--bone);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--bone-dim);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brass-soft);
}

.btn-voltar-portfolio {
    position: fixed;
    top: 96px;
    right: 20px;
    z-index: 999;
    display: inline-block;
    background: none;
    color: var(--brass-soft);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: color 0.25s ease;
}

.btn-voltar-portfolio:hover {
    color: var(--brass);
}

.btn-voltar-portfolio:active {
    color: var(--bone);
}

.nav-cta {
    background: var(--brass);
    color: var(--ink) !important;
    padding: 11px 24px;
    border-radius: 2px;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--brass-soft);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 1.5px;
    background: var(--brass);
    transition: all 0.3s;
}

/* ── 3. HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 150px 20px 60px;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    border: 1px solid var(--brass-line-strong);
    color: var(--brass-soft);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 8px 22px;
    margin-bottom: 28px;
    border-radius: 2px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(56px, 9vw, 104px);
    line-height: 0.98;
    color: var(--bone);
    letter-spacing: 0.5px;
}

.hero-title span {
    font-style: italic;
    font-weight: 500;
    color: var(--brass);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 2vw, 18px);
    color: var(--bone-dim);
    margin: 22px 0 42px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--brass);
    color: var(--ink);
    padding: 16px 38px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--brass-soft);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--brass-line-strong);
    color: var(--brass-soft);
    background: transparent;
    padding: 16px 38px;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--brass);
    background: var(--glass);
    color: var(--brass-soft);
    transform: translateY(-2px);
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    border-top: 1px solid var(--brass-line);
    padding-top: 34px;
}

.stat {
    text-align: center;
    padding: 0 45px;
    border-left: 1px solid var(--brass-line);
}

.stat:first-child {
    border-left: none;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 34px;
    color: var(--brass);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--bone-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 8px;
}

/* ── 4. SEÇÕES (PADRÃO) ── */
section {
    position: relative;
    padding: 130px 60px;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    color: var(--brass-soft);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: 0.5px;
    color: var(--bone);
}

.section-line {
    width: 50px;
    height: 1px;
    background: var(--brass-line-strong);
    margin: 24px auto 0;
}

/* ── 5. SOBRE ── */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-img-wrapper {
    position: relative;
}

.sobre-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 2px;
    background: url('https://images.unsplash.com/photo-1621605815971-3e9f0a23e5eb?w=800&q=80') center/cover;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.sobre-img-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: rgba(11, 10, 9, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--brass-line-strong);
    color: var(--brass);
    padding: 26px 30px;
    text-align: center;
}

.sobre-img-badge strong {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 44px;
    display: block;
    line-height: 1;
}

.sobre-img-badge span {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--bone-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sobre-text h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 44px;
    letter-spacing: 0.3px;
    margin-bottom: 22px;
}

.sobre-text h2 span {
    font-style: italic;
    color: var(--brass);
}

.sobre-text p {
    color: var(--bone-dim);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 15px;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--brass-line);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3px;
    color: var(--bone-dim);
}

.feature-item i {
    color: var(--brass);
    font-size: 13px;
}

/* ── 6. SERVIÇOS ── */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--brass-line);
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--brass-line);
    border-bottom: 1px solid var(--brass-line);
}

.servico-card {
    background: var(--ink);
    padding: 44px 36px;
    transition: background 0.35s ease;
    cursor: default;
}

.servico-card:hover {
    background: var(--glass);
}

.servico-icon {
    font-size: 26px;
    color: var(--brass);
    margin-bottom: 22px;
}

.servico-nome {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 23px;
    letter-spacing: 0.2px;
    margin-bottom: 12px;
}

.servico-desc {
    color: var(--bone-dim);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.servico-preco {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.preco-from {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--bone-faint);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preco-valor {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 32px;
    color: var(--brass);
    line-height: 1;
}

/* ── 7. TABELA DE PREÇOS ── */
.precos-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.preco-categoria {
    margin-bottom: 56px;
}

.preco-categoria h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 0.3px;
    color: var(--brass);
    border-bottom: 1px solid var(--brass-line-strong);
    padding-bottom: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.preco-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid var(--brass-line);
    transition: padding-left 0.25s ease;
}

.preco-item:hover {
    padding-left: 10px;
}

.preco-item-info h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--bone);
    margin-bottom: 4px;
}

.preco-item-info p {
    font-size: 12px;
    color: var(--bone-faint);
}

.preco-item-valor {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 20px;
    color: var(--brass);
    white-space: nowrap;
}

/* ── 8. GALERIA ── */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.galeria-card {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: saturate(0.95);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.galeria-item:hover .galeria-card {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.galeria-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px 12px;
    background: linear-gradient(to top, rgba(11, 10, 9, 0.92), transparent);
    color: var(--bone);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ── 9. AGENDAMENTO ── */
.agendamento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
    max-width: 1150px;
    margin: 0 auto;
}

.agendamento-form-wrapper h3,
.agendamento-barbeiros h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 0.2px;
    color: var(--brass);
    margin-bottom: 24px;
}

.barbeiros-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--bone-dim);
    margin-top: -12px;
    margin-bottom: 24px;
}

.form-agendamento {
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--brass-line);
    border-top: 1px solid var(--brass-line-strong);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bone-dim);
    margin-bottom: 9px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--brass-line-strong);
    color: var(--bone);
    padding: 10px 2px;
    font-size: 14px;
    font-family: var(--font-body);
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--bone-faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brass);
}

.form-group select option {
    background: var(--ink-soft);
    color: var(--bone);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-agendamento .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
}

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

.barbeiro-card {
    padding: 24px 18px;
    text-align: center;
    border-top: 1px solid var(--brass-line);
    transition: border-color 0.3s ease;
}

.barbeiro-card:hover {
    border-top-color: var(--brass);
}

.barbeiro-card img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 1px solid var(--brass-line-strong);
    padding: 3px;
}

.barbeiro-card h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
    color: var(--bone);
}

.barbeiro-card p {
    font-size: 12px;
    color: var(--bone-dim);
    margin-bottom: 18px;
    min-height: 36px;
}

.barbeiro-card .btn-secondary {
    padding: 9px 15px;
    font-size: 10px;
    letter-spacing: 1.5px;
    width: 100%;
}

.barbeiro-card .btn-secondary.selected {
    background: var(--brass);
    color: var(--ink) !important;
    border-color: var(--brass);
}

/* ── 10. DEPOIMENTOS ── */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--brass-line);
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--brass-line);
    border-bottom: 1px solid var(--brass-line);
}

.depoimento-card {
    background: var(--ink);
    padding: 40px 36px;
    position: relative;
}

.depoimento-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 70px;
    font-weight: 600;
    color: var(--brass);
    opacity: 0.4;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.depoimento-estrelas {
    color: var(--brass);
    font-size: 13px;
    margin-bottom: 16px;
}

.depoimento-texto {
    color: var(--bone-dim);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.depoimento-autor {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bone-faint);
}

.depoimentos-actions {
    text-align: center;
    margin-top: 56px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ── 11. MODAL ── */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    inset: 0;
    overflow: auto;
    background-color: rgba(11, 10, 9, 0.85);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--ink-soft);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    margin: auto;
    padding: 34px;
    border: 1px solid var(--brass-line-strong);
    border-radius: 4px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
    animation: fadeIn 0.3s ease-out;
}

.modal-content h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 30px;
    letter-spacing: 0.2px;
    color: var(--brass);
    margin-bottom: 26px;
    text-align: center;
}

.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bone-dim);
    margin-bottom: 8px;
    display: block;
}

.modal-content input[type="text"],
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 12px 2px;
    border: none;
    border-bottom: 1px solid var(--brass-line-strong);
    background-color: transparent;
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 14px;
}

.modal-content textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-content select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23d9a635%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.6-6.4H18.9c-5%200-9.3%201.8-12.9%205.4-3.6%203.6-5.4%207.8-5.4%2012.9%200%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.9%205.4s9.3-1.8%2012.9-5.4l128-127.9c3.6-3.6%205.4-7.8%205.4-12.9%200-5-1.8-9.3-5.4-12.9z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 12px;
    padding-right: 24px;
}

.modal-content .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}

.close-button {
    position: absolute;
    top: 18px;
    right: 24px;
    color: var(--bone-dim);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: var(--brass);
}

#listaTodosDepoimentos .depoimento-card {
    background: transparent;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--brass-line);
}

#listaTodosDepoimentos .depoimento-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ── 12. CONTATO ── */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contato-info h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 38px;
    letter-spacing: 0.2px;
    margin-bottom: 34px;
}

.contato-info h3 span {
    font-style: italic;
    color: var(--brass);
}

.contato-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contato-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contato-item-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--brass-line-strong);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-item-icon i {
    color: var(--brass);
    font-size: 16px;
}

.contato-item-text strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brass-soft);
    margin-bottom: 6px;
}

.contato-item-text p {
    font-size: 15px;
    color: var(--bone-dim);
    line-height: 1.6;
}

.contato-item-text a {
    color: var(--bone-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.contato-item-text a:hover {
    color: var(--brass);
}

.redes-sociais {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.rede-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--brass-line);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brass);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.rede-btn:hover {
    background: var(--brass);
    color: var(--ink);
    border-color: var(--brass);
}

.mapa-placeholder {
    background: var(--glass);
    height: 350px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    border: 1px dashed var(--brass-line-strong);
}

.mapa-placeholder i {
    font-size: 40px;
    color: var(--brass);
    opacity: 0.6;
}

.mapa-placeholder p {
    color: var(--bone-dim);
    font-size: 13px;
    text-align: center;
}

/* ── 13. FOOTER ── */
footer {
    background: transparent;
    border-top: 1px solid var(--brass-line);
    padding: 60px 60px 30px;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 44px;
}

.footer-logo {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 30px;
    color: var(--bone);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--bone-dim);
    font-size: 13px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-soft);
    margin-bottom: 22px;
    font-weight: 400;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul li a {
    color: var(--bone-dim);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--brass);
}

.footer-bottom {
    border-top: 1px solid var(--brass-line);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--bone-faint);
    font-size: 12px;
}

.footer-bottom span {
    color: var(--brass);
}

/* ── 14. WHATSAPP FLUTUANTE ── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ── 15. ANIMAÇÕES ── */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 9, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.ativo {
    display: flex;
}

.lightbox-img {
    width: 480px;
    height: 480px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px var(--brass-line-strong), 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-fechar {
    position: absolute;
    top: 24px;
    right: 36px;
    font-size: 42px;
    font-weight: 300;
    color: var(--brass);
    cursor: pointer;
}

/* ── CHATBOT ── */
.chatbot-toggle-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brass-soft), var(--brass));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: var(--ink);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(217, 166, 53, 0.35), 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(217, 166, 53, 0.45), 0 6px 18px rgba(0, 0, 0, 0.5);
}

.chatbot-toggle-btn i {
    transition: transform 0.35s ease;
}

.chatbot-toggle-btn.active i {
    transform: rotate(90deg);
}

.chatbot-toggle-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 12px;
    height: 12px;
    background: #3fbf6a;
    border: 2px solid var(--ink);
    border-radius: 50%;
}

.chatbot-container {
    position: fixed;
    bottom: 104px;
    left: 30px;
    z-index: 997;
    width: 370px;
    height: 500px;
    background: rgba(11, 10, 9, 0.88);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--brass-line);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom left;
    transform: translateY(16px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.chatbot-container.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    background: linear-gradient(180deg, rgba(217, 166, 53, 0.1), transparent);
    padding: 18px 16px 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--brass-line);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.chatbot-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brass-soft), var(--brass));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(217, 166, 53, 0.3);
}

.chatbot-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.chatbot-header-text strong {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--bone);
    letter-spacing: 0.2px;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--bone-faint);
}

.chatbot-status i {
    font-size: 6px;
    color: #3fbf6a;
}

.chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.chatbot-clear-btn,
.chatbot-close-btn {
    background: none;
    border: none;
    color: var(--bone-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.25s, color 0.25s;
}

.chatbot-clear-btn {
    font-size: 13px;
}

.chatbot-close-btn {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.chatbot-clear-btn:hover,
.chatbot-close-btn:hover {
    background: var(--glass-strong);
    color: var(--brass-soft);
}

.chatbot-body {
    flex-grow: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--brass-line-strong) transparent;
}

.chatbot-body::-webkit-scrollbar {
    width: 6px;
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: var(--brass-line-strong);
    border-radius: 10px;
}

.chatbot-body::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-message {
    max-width: 84%;
    padding: 11px 15px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.55;
    animation: fadeIn 0.25s ease;
}

.bot-message {
    position: relative;
    margin-left: 32px;
    background: var(--glass-strong);
    border: 1px solid var(--brass-line);
    color: var(--bone);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.bot-message::before {
    content: '\f0c4';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -32px;
    bottom: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brass-soft), var(--brass));
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.user-message {
    background: linear-gradient(135deg, var(--brass-soft), var(--brass));
    color: var(--ink);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chatbot-warnings {
    background: rgba(217, 166, 53, 0.06);
    border: 1px solid var(--brass-line);
    color: var(--bone-dim);
    font-size: 12px;
    padding: 14px 15px;
    border-radius: 14px;
}

.chatbot-warnings strong {
    color: var(--brass-soft);
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
}

.chatbot-warnings ul {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chatbot-warnings li {
    position: relative;
    padding-left: 14px;
}

.chatbot-warnings li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brass);
}

.chatbot-warnings a {
    color: var(--brass-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--brass-line-strong);
    transition: border-color 0.25s;
}

.chatbot-warnings a:hover {
    border-color: var(--brass);
}

.chatbot-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--brass-line);
    background: transparent;
}

.chatbot-footer input {
    flex-grow: 1;
    background: var(--glass-strong);
    border: 1px solid var(--brass-line);
    border-radius: 999px;
    color: var(--bone);
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
}

.chatbot-footer input::placeholder {
    color: var(--bone-faint);
}

.chatbot-footer input:focus {
    border-color: var(--brass);
    background: var(--glass);
}

.chatbot-footer button {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brass-soft), var(--brass));
    border: none;
    border-radius: 50%;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 14px rgba(217, 166, 53, 0.3);
}

.chatbot-footer button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(217, 166, 53, 0.4);
}


/* ── 16. RESPONSIVO ── */

/* Tablets grandes e notebooks pequenos */
@media (max-width: 1024px) {
    section {
        padding: 100px 40px;
    }

    nav {
        padding: 18px 40px;
    }

    footer {
        padding: 50px 40px 30px;
    }

    .sobre-grid,
    .contato-grid,
    .agendamento-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

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

    .galeria-item:first-child {
        grid-row: span 1;
    }

    .galeria-card {
        height: 250px;
    }

    .barbeiros-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Tablets e celulares grandes */
@media (max-width: 768px) {
    section {
        padding: 80px 25px;
    }

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

    nav {
        padding: 16px 25px;
    }

    .btn-voltar-portfolio {
        top: 70px;
        right: 12px;
        font-size: 10px;
    }

    footer {
        padding: 50px 25px 30px;
    }

    /* Menu mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(11, 10, 9, 0.97);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 25px;
        border-bottom: 1px solid var(--brass-line);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    /* Hamburger animado ao abrir */
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero */
    .hero-stats {
        gap: 0;
        margin-top: 50px;
    }

    .stat {
        padding: 0 20px;
    }

    .stat-number {
        font-size: 26px;
    }

    /* Formulário */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-agendamento {
        padding: 26px;
    }

    /* Sobre */
    .sobre-features {
        grid-template-columns: 1fr;
    }

    .sobre-img {
        height: 320px;
    }

    /* Galeria */
    .galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .galeria-card {
        height: 200px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    #navbar[style] {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .depoimentos-actions {
        flex-direction: column;
        gap: 15px;
    }

    .chatbot-container {
        width: 90%;
        left: 5%;
        right: 5%;
        bottom: 96px;
    }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    section {
        padding: 64px 20px;
    }

    /* Hero */
    .hero-stats {
        flex-direction: column;
        gap: 22px;
        align-items: center;
    }

    .stat {
        border-left: none;
        border-top: 1px solid var(--brass-line);
        padding: 18px 0 0;
        width: 100%;
    }

    .stat:first-child {
        border-top: none;
        padding-top: 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Galeria: 1 coluna */
    .galeria-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .galeria-card {
        height: 220px;
    }

    /* Serviços */
    .servicos-grid {
        grid-template-columns: 1fr;
    }

    /* Preços */
    .preco-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
    }

    /* WhatsApp flutuante menor */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }

    .chatbot-toggle-btn {
        width: 52px;
        height: 52px;
        font-size: 19px;
        bottom: 20px;
        left: 20px;
    }

    .chatbot-container {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 82px;
        height: 420px;
        border-radius: 16px;
    }

    .barbeiros-cards {
        grid-template-columns: 1fr;
    }
}
