/* Design System & Variables */
:root {
    --primary: #C77547; /* Laranja da marca */
    --primary-hover: #b0653d;
    --secondary: #F3E4D6; /* Warm Beige / Champagne */
    --tertiary: #b2d4bc; /* Verde claro terceário */
    --bg-color: #FAFAFA; /* Off white background */
    --text-color: #2D2520; /* Preto Soft / Marrom muito escuro */
    --text-light: #6C6661;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    font-size: 15px; /* Redução global proporcional */
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px; /* Mais enquadrado */
    margin: 0 auto;
    padding: 0 2rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

h1, .section-title h2, .video-text h2, .about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.05;
}

/* Typography Classes */
.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #94BA8C;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(148, 186, 140, 0.3);
}

.btn-primary:hover {
    background-color: #7ea376;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(148, 186, 140, 0.4);
}

.btn-nav {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #94BA8C;
    color: #94BA8C;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover {
    background-color: #94BA8C;
    border-color: #94BA8C;
    color: #fff;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #94BA8C;
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(148, 186, 140, 0.4);
}

.btn-whatsapp:hover {
    background-color: #7ea376;
    transform: translateY(-3px);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

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

/* Header & Navbar */
.header {
    height: 85vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    background-image: url('assets/headfoto.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-only, .break-mobile {
    display: none;
}

.nav-links a {
    font-weight: 500;
    color: #4A3728; /* Marrom elegante */
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 680px;
    margin: 0 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.hero-content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Video Section */
.video-section {
    padding: 3rem 0;
    background-color: var(--secondary);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-text h2 {
    font-size: 4.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.video-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.video-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: calc(var(--border-radius) * 2);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper:hover {
    transform: translateY(-10px);
}

.video-btn-desktop {
    display: inline-block;
}

.video-btn-mobile-wrapper {
    display: none;
}

/* Services */
.services-section {
    padding: 3rem 0;
}

.card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img {
    height: 220px;
    overflow: hidden;
}

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

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

.card-content {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.service-number {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(199, 117, 71, 0.1);
    border: 1px solid rgba(199, 117, 71, 0.25);
    border-radius: 6px;
    margin-bottom: 0.8rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.card:hover .service-number {
    background-color: rgba(199, 117, 71, 0.15);
    border-color: rgba(199, 117, 71, 0.4);
}

.card-content h3, .card-content p, .service-quote {
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-content p {
    color: var(--text-light);
}

.service-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    color: #94BA8C;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.service-quote:hover {
    color: #7ea376;
    transform: translateX(5px) !important;
}

/* Lógica Desktop (Revelar botão por opacidade sem mover layout) */
@media (min-width: 769px) {
    .service-quote {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .card:hover .service-quote {
        opacity: 1;
        visibility: visible;
    }
}

/* Niches Section */
.niches-section {
    padding: 4rem 0;
    background-color: #fff;
}

.niche-card {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.niche-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.niche-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 1;
}

.niche-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    color: #fff;
    transition: var(--transition);
}

.niche-quote {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 1rem;
    color: #94BA8C;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.niche-quote:hover {
    color: #7ea376;
    transform: translateX(5px) !important;
}

.niche-card:hover .niche-bg {
    transform: scale(1.08); /* Zoom sutil interno na foto */
}

/* Lógica Desktop (Revelar botão por opacidade sem mover layout) */
@media (min-width: 769px) {
    .niche-quote {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .niche-card:hover .niche-quote {
        opacity: 1;
        visibility: visible;
    }
}

.niche-overlay h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background-color: var(--secondary);
    overflow: hidden;
}

.reviews-ticker {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

.review-card {
    background: #fff;
    padding: 1.2rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    flex: 0 0 550px; /* Aumentado para o texto ocupar mais largura e menos altura */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 85vw;
        padding: 1.2rem 1.5rem;
    }
    .reviews-track {
        animation-duration: 30s;
    }
}

.stars {
    color: #FBBF24;
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.review-author h4 {
    margin: 0;
    color: var(--text-color);
}

.review-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

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

.about-image {
    position: relative;
    max-width: 420px;
    justify-self: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: 20px;
    bottom: 20px;
    background: var(--primary);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    z-index: -1;
    opacity: 0.35; /* Aumentada conforme solicitado */
    filter: blur(8px); /* Blur um pouco maior para acompanhar o tamanho */
}

.about-text h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #df8c63 0%, var(--primary) 40%, #91441c 100%);
    color: #fff;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 60%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(30deg);
    z-index: 0;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(0,0,0,0.08) 0%, transparent 60%);
    border-radius: 60% 40% 30% 70% / 50% 40% 60% 50%;
    transform: rotate(-20deg);
    z-index: 0;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.highlight-shape {
    position: relative;
    display: inline-block;
    z-index: 1;
    white-space: nowrap;
    font-family: inherit;
}

.highlight-shape::after {
    content: '';
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -15px;
    right: -15px;
    background-color: #94BA8C;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.15;
    z-index: -1;
}

.cta-section h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 3rem 0 0 0;
    font-size: 0.9rem;
}

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

.footer-brand p {
    color: #ccc;
    font-size: 0.85rem;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-links a, .social-icons a {
    color: #94BA8C;
    transition: var(--transition);
    line-height: 2;
    font-size: 0.85rem;
}

.footer-contact a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover, .social-icons a:hover {
    color: #7ea376;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact p {
    color: #ccc;
    line-height: 2;
    font-size: 0.85rem;
}

.footer-bottom p {
    font-size: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0,0,0,0.2);
    color: #888;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 900px) {
    .video-grid, .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .about-image {
        max-width: 320px;
        order: -1; /* Mantém a imagem em cima do texto no mobile */
    }

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

    .video-btn-desktop {
        display: none;
    }

    .video-btn-mobile-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 3.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-section h1 {
        font-size: 3.25rem;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .desktop-only { display: none; }
    .mobile-only { display: block; margin-top: 1rem; }
    .break-mobile { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--bg-color);
        height: 100vh;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: 0.5s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding-bottom: 20vh; /* Subindo o conteudo para ficar mais natural e centralizado pro dedão */
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: #4A3728 !important;
        font-size: 1.5rem;
    }
    
    .hamburger.active span {
        background-color: var(--text-color) !important;
    }
    
    .section-title h2, .video-text h2, .about-text h2 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
}
