:root {
    --bg-color: #050505;
    --text-color: #f5f5f5;
    --primary-color: #991b1b;
    /* Vermelho escuro/Bordô */
    --secondary-color: #a3a3a3;
    --border-color: #262626;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --gold-color: #d4af37;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 em {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.highlight-line {
    color: var(--primary-color);
    white-space: nowrap;
}

p {
    color: var(--secondary-color);
    font-weight: 300;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #7f1d1d;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}


/* Header */
header {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
    left: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    nav {
        display: none;
        /* Simplificando para o exemplo, em produção teria um menu hamburguer */
    }
}

nav a {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

nav a:hover {
    opacity: 1;
}

/* Logo Styles (Image) */
.logo-img {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -2;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    -webkit-text-stroke: 0.3px black;
}

.hero-content h1 u {
    text-decoration-color: var(--primary-color);
    -webkit-text-stroke: 0.3px black;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Sobre Section */
#sobre {
    padding: 8rem 0;
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    /* Optional: smooth corners */
    min-height: 500px;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.8rem;
    min-height: 400px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    text-transform: uppercase;
    max-width: 1000px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.stat-line {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.stat-highlight {
    font-size: 1.6rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: inline-block;
}

/* Servicos Section */
#servicos {
    padding: 6rem 0;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: #0a0a0a;
    padding: 2.5rem;
    border: 1px solid #1a1a1a;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.card-hair,
.card-makeup,
.card-nails,
.card-packages {
    background-size: cover;
    background-position: center;
    border: none;
}

.card-hair {
    background-image: url('carrossel/jpg/teste.png');
}

.card-makeup {
    background-image: url('carrossel/jpg/maquiagem.png');
}

.card-nails {
    background-image: url('carrossel/jpg/unhas.png');
}

.card-packages {
    background-image: url('carrossel/jpg/noiva.png');
}

.card-hair::before,
.card-makeup::before,
.card-nails::before,
.card-packages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    z-index: -1;
    transition: 0.3s;
}

.card-hair:hover::before,
.card-makeup:hover::before,
.card-nails:hover::before,
.card-packages:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.card-hair h3,
.card-hair p,
.card-hair li,
.card-makeup h3,
.card-makeup p,
.card-makeup li,
.card-nails h3,
.card-nails p,
.card-nails li,
.card-packages h3,
.card-packages p,
.card-packages li {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.card-hair h3,
.card-makeup h3,
.card-nails h3,
.card-packages h3 {
    font-size: 1.5rem;
}


.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-card .icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card ul {
    margin-top: 1.5rem;
    padding-left: 1rem;
}

.service-card li {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.service-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Experiencia Section */
#experiencia {
    padding: 8rem 0;
}

.experiencia-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-item {
    margin-top: 2.5rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
    transition: 0.3s;
}

.feature-item:hover {
    border-left-color: var(--primary-color);
}

.img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.img-col-1 .img-placeholder {
    height: 600px;
}

.img-col-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.img-col-2 .img-placeholder {
    height: 292px;
}

/* CTA Final / Footer */
#contato {
    padding: 6rem 0 3rem 0;
    background: linear-gradient(to top, #000, #0a0a0a);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

/* Footer Social Buttons */
.info-footer {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.social-icon-btn {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.social-icon-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
    z-index: 1;
}

.social-icon-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.social-icon-btn:hover::before {
    opacity: 1;
}

/* Gradients */
.btn-instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-facebook::before {
    background: linear-gradient(45deg, #1877F2 0%, #00c6ff 100%);
}

.btn-maps::before {
    background: linear-gradient(45deg, #4285F4 0%, #34A853 40%, #FBBC05 70%, #EA4335 100%);
}

.info-item p {
    font-size: 0.875rem;
    text-align: center;
    color: var(--secondary-color);
    line-height: 1.4;
}

.info-item .info-label {
    font-weight: 500;
    color: #fff;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Map Section */
.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.75rem;
    color: #444;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .btn-outline {
        display: none;
        /* Esconde o botão de agendamento no mobile para limpar o header */
    }

    .header-container {
        padding: 1rem 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .sobre-container,
    .experiencia-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .logo-hero .logo-img,
    .logo-hero {
        display: none;
    }

    .logo-img {
        height: 80px;
        /* Reduzindo logo no header para mobile */
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
    }

    .stats {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
        padding-top: 2rem;
    }

    .info-footer {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .img-grid {
        grid-template-columns: 1fr;
    }

    .img-col-1 .img-placeholder {
        height: 300px;
    }
}

/* Galeria / Carrossel */
#experiencia {
    padding: 6rem 0;
    background-color: #080808;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding: 0;
    margin: 0;
    list-style: none;
}

.carousel-slide {
    flex: 0 0 calc(25% - 1.5rem);
    margin-right: 2rem;
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* CSS hacks for better rendering on some browsers */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    /* Improve downscaling quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.4);
        border: none;
        width: 35px;
        height: 35px;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(33.333% - 1.4rem);
        margin-right: 2rem;
    }
}

@media (max-width: 900px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 0.75rem);
        margin-right: 1.5rem;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 0 0 100%;
        margin-right: 0;
        border-radius: 0;
        /* Full width looks better without corner gaps on mobile */
    }

    .carousel-wrapper {
        padding: 0;
        gap: 0;
        display: block;
        /* Tirar o flex row para os botões não apertarem o container */
        position: relative;
    }

    .carousel-track-container {
        padding: 0;
        width: 100%;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Especial effects for text em */
.reveal.active em {
    animation: reveal-italic 1.5s ease forwards;
}

@keyframes reveal-italic {
    0% {
        opacity: 0;
        letter-spacing: 5px;
    }

    100% {
        opacity: 1;
        letter-spacing: normal;
    }
}