/* ===== CSS Variables & Reset ===== */
:root {
    /* Color Palette - Light Marble & Copper */
    --clr-primary: #b85d38; /* Acobreado/Ferrugem puxado dos veios do mármore */
    --clr-primary-dark: #8c4225;
    --clr-primary-light: #f7e8e5;
    --clr-secondary: #2c2a29; /* Dark Gray / Black for text */
    --clr-accent: #d68765;
    --clr-bg: #fcfbfa; /* Fundo claro reserva */
    --clr-white: #ffffff;
    --clr-whatsapp: #25D366;
    
    /* Typography */
    --ff-heading: 'Playfair Display', serif;
    --ff-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(214, 159, 149, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    color: var(--clr-secondary);
    background-color: var(--clr-bg);
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('fundo-marmore.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, .logo {
    font-family: var(--ff-heading);
    font-weight: 600;
}

.section-subtitle {
    display: block;
    color: var(--clr-primary);
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--clr-secondary);
}

.text-center {
    text-align: center;
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--ff-body);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border: none;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--clr-white);
    color: var(--clr-secondary);
    border: 1px solid transparent;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
}

.btn-primary-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

/* ===== Header & Navbar ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    color: var(--clr-secondary);
}

.logo span {
    color: var(--clr-primary);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-secondary);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.hero-logo-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.hero-nt-logo {
    max-width: 250px;
    width: 100%;
    mix-blend-mode: multiply;
    margin-bottom: -5px;
}

.hero-brand-name {
    font-family: var(--ff-heading);
    font-size: 3.5rem;
    color: #a88a76;
    letter-spacing: 12px;
    font-weight: 400;
    text-transform: uppercase;
    margin-right: -12px;
}

.hero-brand-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.hero-brand-subtitle span:not(.line) {
    font-family: var(--ff-body);
    font-size: 0.95rem;
    color: #a88a76;
    letter-spacing: 6px;
    font-weight: 500;
    margin: 0 10px;
    text-transform: uppercase;
}

.hero-brand-location {
    font-family: var(--ff-body);
    font-size: 0.85rem;
    color: #a88a76;
    letter-spacing: 4px;
    font-weight: 500;
    margin-top: 10px;
    text-transform: uppercase;
    text-align: center;
}

.hero-brand-subtitle .line {
    height: 1px;
    width: 60px;
    background-color: #a88a76;
}

.hero-btns {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 20;
    margin-top: 3rem;
}

.hero-btns a {
    width: 250px;
    text-align: center;
    justify-content: center;
    display: flex;
}

.hero-headline {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: #a88a76;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.about {
    padding: var(--section-padding);
    background-color: transparent;
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.stats-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--clr-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--clr-primary-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item .number {
    font-family: var(--ff-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
    min-width: 65px;
}

.stat-item .text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--clr-secondary);
    line-height: 1.2;
}

.about-text {
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.features-list i {
    color: var(--clr-primary);
    background-color: var(--clr-primary-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: var(--section-padding);
    background-color: transparent;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: var(--clr-white);
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    font-style: italic;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

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

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.cta {
    padding: 6rem 0;
    background-color: transparent;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: #555;
    font-size: 1.1rem;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--clr-whatsapp);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Footer ===== */
.footer {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo h3 span {
    color: var(--clr-primary);
    font-style: italic;
}

.footer-logo p {
    color: #aaa;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--clr-primary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #aaa;
}

.footer-links ul li a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--clr-primary);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
    font-size: 0.9rem;
}

/* ===== Floating WhatsApp ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--clr-whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* ===== Services Section ===== */
.services {
    padding: var(--section-padding);
    background-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary-light);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-secondary);
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: var(--section-padding);
    background-color: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(255,255,255,0.8);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: var(--clr-primary-light);
    font-family: var(--ff-heading);
    line-height: 1;
    opacity: 0.5;
}

.testimonial-card .stars {
    color: #f1c40f;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.testimonial-card h4 {
    color: var(--clr-secondary);
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero .title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero-nt-logo {
        max-width: 180px;
    }
    
    .hero-brand-name {
        font-size: 2.2rem;
        letter-spacing: 8px;
        margin-right: -8px;
    }
    
    .hero-brand-subtitle span:not(.line) {
        font-size: 0.8rem;
        letter-spacing: 5px;
        margin-right: -5px;
    }
    
    .hero-brand-subtitle .line {
        width: 30px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 2.5rem;
    }
    
    .hero-btns a {
        width: 85%;
        max-width: 320px;
    }

    .about-image img {
        height: 380px;
    }

    .about-text, .section-header {
        padding: 1.5rem;
    }

    .stats-box {
        bottom: -15px;
        right: -15px;
        padding: 1.5rem;
        gap: 15px;
        border-width: 2px;
    }

    .stat-item .number {
        font-size: 1.8rem;
        min-width: 50px;
    }

    .stat-item .text {
        font-size: 0.75rem;
    }

    .cta-container {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .btn-whatsapp-large {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

.slide-up-delay {
    opacity: 0;
    animation: slideUp 0.8s ease 0.2s forwards;
}

.slide-up-delay-2 {
    opacity: 0;
    animation: slideUp 0.8s ease 0.4s forwards;
}

.slide-up-delay-3 {
    opacity: 0;
    animation: slideUp 0.8s ease 0.6s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
