/* VARIÁVEIS E RESET */
:root {
    --black: #0c0c0c;
    --white: #f5f5f5;
    --gold: #c5a47e;
    --leather: #3e2e28;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(62, 46, 40, 0.1) 0%, rgba(12, 12, 12, 1) 70%);
    z-index: -1;
}

.dark-mode {
    --black: #f5f5f5;
    --white: #0c0c0c;
    background-color: var(--white);
    color: var(--black);
}

.dark-mode body::before {
    background: radial-gradient(circle at 10% 20%, rgba(197, 164, 126, 0.05) 0%, rgba(245, 245, 245, 1) 70%);
}

/* TIPOGRAFIA */
h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--gold);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.8;
    font-weight: 300;
    max-width: 700px;
}

/* LAYOUT */
.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* LOADER */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-crest {
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    position: relative;
    animation: rotateCrest 4s linear infinite;
}

.loader-crest::before {
    content: "É";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    font-weight: 700;
}

@keyframes rotateCrest {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 2rem;
    font-size: 1.2rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0.7;
    animation: pulseText 2s infinite;
}

@keyframes pulseText {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(12, 12, 12, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInLetters 1.2s ease-out 0.8s forwards;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInLetters 1s ease-out forwards;
}

.nav-links a:nth-child(1) { animation-delay: 1.0s; }
.nav-links a:nth-child(2) { animation-delay: 1.1s; }
.nav-links a:nth-child(3) { animation-delay: 1.2s; }
.nav-links a:nth-child(4) { animation-delay: 1.3s; }
.nav-links a:nth-child(5) { animation-delay: 1.4s; }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

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

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

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInLetters 1s ease-out 1.5s forwards;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    animation: fadeInLetters 1s ease-out 1.6s forwards;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--black);
    z-index: 200;
    padding: 6rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(245,245,245,0.1);
    transition: var(--transition);
}

.mobile-links a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.mobile-menu .dark-mode-toggle {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 1;
    animation: none;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.3) 50%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--gold);
    opacity: 0;
    animation: fadeInLetters 1.2s ease-out 0.5s forwards;
}

.hero-title {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInLetters 1.5s ease-out 0.8s forwards;
}

.hero-text {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInLetters 1.5s ease-out 1.2s forwards;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gold);
    transition: width 0.5s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--black);
}

.btn:hover::before {
    width: 100%;
}

/* SERVIÇOS */
.services {
    position: relative;
    background: linear-gradient(to bottom, rgba(12,12,12,0.95) 0%, var(--black) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    border: 1px solid rgba(197, 164, 126, 0.2);
    transition: var(--transition);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12,12,12,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.service-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.service-name::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.service-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin: 1rem 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

/* STORYTELLING - NOSSA HISTÓRIA */
.storytelling {
    background: linear-gradient(to right, var(--black) 50%, rgba(62, 46, 40, 0.1) 50%);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    padding-right: 2rem;
}

.story-image {
    position: relative;
    height: 500px;
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-image::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: -1;
}

.year-marker {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 1.5rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* BARBEIROS */
.barbers {
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M40,80 C50,10 150,10 160,80 C170,130 110,170 80,150 C30,130 20,70 40,80 Z" fill="none" stroke="%23c5a47e" stroke-width="0.5" opacity="0.05"/></svg>');
    background-size: 400px;
}

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

.barber-card {
    text-align: center;
    position: relative;
}

.barber-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(197, 164, 126, 0.2);
    transition: var(--transition);
}

.barber-card:hover .barber-photo {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.barber-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.barber-specialty {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 1rem;
}

.barber-experience {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* GALERIA */
.gallery {
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 40vh);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: 80vh;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12,12,12,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-tag {
    background: var(--gold);
    color: var(--black);
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* PRODUTOS */
.products {
    background-color: rgba(62, 46, 40, 0.05);
}

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

.product-card {
    position: relative;
    border: 1px solid rgba(197, 164, 126, 0.2);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* RESERVA */
.booking {
    background: linear-gradient(to bottom, var(--black) 0%, rgba(12,12,12,0.95) 100%);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.booking-form {
    background: rgba(12,12,12,0.7);
    border: 1px solid rgba(197, 164, 126, 0.3);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(245,245,245,0.1);
    border: 1px solid rgba(197, 164, 126, 0.2);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-error {
    display: none;
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff6b6b;
}

.form-group.error .form-error {
    display: block;
}

/* FOOTER */
footer {
    padding: 6rem 0 3rem;
    position: relative;
    border-top: 1px solid rgba(245, 245, 245, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-info {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--gold);
    margin-right: 0.8rem;
    margin-top: 5px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245, 245, 245, 0.2);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 245, 245, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

.animated-crest {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s;
}

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

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--white);
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLetters {
    from {
        opacity: 0;
        letter-spacing: 5px;
    }
    to {
        opacity: 1;
        letter-spacing: normal;
    }
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--gold);
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typing 1.5s steps(5, end),
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--gold); }
}

/* NOVA SEÇÃO DA ANTÔNIA COSTA */
.barber-gallery {
    position: relative;
    padding: 6rem 0;
    background: rgba(12, 12, 12, 0.5);
    overflow: hidden;
    margin-top: 4rem;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.gallery-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.gallery-title p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 164, 126, 0.2);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(12, 12, 12, 0.95) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(100px);
    transition: transform 0.8s ease;
}

.carousel-slide.active .carousel-overlay {
    transform: translateY(0);
}

.carousel-slide:hover .carousel-image {
    transform: scale(1.05);
}

.carousel-caption h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--gold);
}

.carousel-caption p {
    font-size: 1.1rem;
    max-width: 600px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn {
    background: rgba(197, 164, 126, 0.3);
    border: 1px solid var(--gold);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.carousel-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(245, 245, 245, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

.gallery-description {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0 1rem;
}

.gallery-description strong {
    color: var(--gold);
}

/* RESPONSIVIDADE */
@media (max-width: 1200px) {
    .services-grid,
    .barbers-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .story-grid,
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-carousel {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .services-grid,
    .barbers-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-text {
        margin: 0 auto 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 50vh;
    }
    
    .gallery-carousel {
        height: 350px;
    }
    
    .carousel-overlay {
        padding: 1.5rem;
    }
    
    .carousel-caption h4 {
        font-size: 1.3rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .gallery-carousel {
        height: 300px;
    }
    
    .carousel-overlay {
        padding: 1rem;
    }
    
    .carousel-caption h4 {
        font-size: 1.1rem;
    }
}

/* ESTILOS DA MARCA D'ÁGUA E BOTÃO WHATSAPP */
.watermark {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    z-index: 1001;
    max-width: 250px;
    text-align: left;
    background: rgba(12, 12, 12, 0.8);
    padding: 12px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    animation: fadeIn 1s ease-out;
}

.watermark strong {
    color: var(--gold);
}

.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 1001;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

/* Animação de pulsar */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    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 fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsividade para os novos elementos */
@media (max-width: 768px) {
    .watermark {
        font-size: 0.85rem;
        padding: 10px 12px;
        max-width: 200px;
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-button {
        padding: 12px 20px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .watermark {
        font-size: 0.75rem;
        max-width: 180px;
        bottom: 10px;
        left: 10px;
    }
    
    .whatsapp-button {
        padding: 10px 16px;
        font-size: 0.9rem;
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-button i {
        font-size: 1.3rem;
    }
}
