/* Reset & Variables */
:root {
    /* Color Palette */
    --color-sand: #EAE2D6;
    --color-sand-dark: #D4C9BA;
    --color-lilac: #C3B5E3;
    --color-lilac-dark: #A592C7;
    --color-light-gray: #F9F9F9;
    --color-text: #4A4A4A;
    --color-heading: #333333;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(165, 146, 199, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-light {
    background-color: var(--color-light-gray);
}

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

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-lilac-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center; /* fix for utility */
}
.text-center .section-title {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-lilac-dark) 0%, #8D7BAb 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(165, 146, 199, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8D7BAb 0%, #7A5C9E 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 146, 199, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-lilac-dark);
    color: var(--color-lilac-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background-color: var(--color-lilac-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 146, 199, 0.3);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(234, 226, 214, 0.5);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-soft);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9A89BA 0%, #6B528C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

.nav-link {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 400;
    position: relative;
}

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

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

.btn-nav {
    background-color: var(--color-sand);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--color-heading);
    font-weight: 500;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background-color: var(--color-sand-dark);
    color: var(--color-white);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-heading);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    background-color: var(--color-sand);
    background-image: url('../assets/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    /* Parallax effect moved to desktop media query */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(234, 226, 214, 0.8) 0%, rgba(195, 181, 227, 0.4) 100%);
    z-index: 1;
}

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

.badge-feminine {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--color-lilac-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--color-heading);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 8rem 0;
}

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

.placeholder-box {
    background-color: var(--color-sand);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-style: italic;
    overflow: hidden;
}

.about-image {
    aspect-ratio: 4/5;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    z-index: 1;
}

/* Decorative background shape */
.about-image::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 100%;
    height: 100%;
    background-color: var(--color-sand);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: -1;
    transition: var(--transition-smooth);
}

.image-mask {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: var(--shadow-soft);
    border: 4px solid var(--color-white);
    overflow: hidden;
    transition: border-radius 0.7s ease;
    /* Hardware acceleration for the mask */
    transform: translateZ(0);
    will-change: border-radius;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Hardware acceleration for the scale */
    will-change: transform;
    backface-visibility: hidden;
}

.about-image:hover::before {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background-color: var(--color-lilac);
    transform: rotate(5deg) scale(1.02);
}

.about-image:hover .image-mask {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

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

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

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

.benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.benefits-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-lilac-dark);
}

/* Services Section */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(234, 226, 214, 0.3);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-lilac-dark);
}

/* ==========================================
   Gallery Section – Espaço e Momentos
   ========================================== */

.gallery {
    padding: 8rem 0 10rem;
    position: relative;
    background-image: url('../assets/images/gallery_nature_bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Very light white veil so nature stays subliminal */
.gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    pointer-events: none;
    z-index: 0;
}

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

.gallery .section-header {
    margin-bottom: 5rem;
}

.gallery-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
}

@media (min-width: 900px) {
    .gallery-split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* --- Photo Editorial Grid --- */
.photo-mosaic {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
}

.photo-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.photo-block-label {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-lilac-dark);
    opacity: 0.9;
    text-align: center;
    margin: 0;
}

/* Grid Layout */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .photo-grid {
        /* A more dynamic masonry-like layout for desktop */
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
        align-items: center;
    }
    
    .photo-grid .photo-card:nth-child(1) { grid-column: 1 / 6; }
    .photo-grid .photo-card:nth-child(2) { grid-column: 6 / 13; }
    .photo-grid .photo-card:nth-child(3) { grid-column: 1 / 8; }
    .photo-grid .photo-card:nth-child(4) { grid-column: 8 / 13; }
}

/* Photo Cards */
.photo-card {
    margin: 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    background: #fff; /* Crisp white frame effect */
    padding: 10px; /* Polaroid/frame border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Maintain aspect ratios */
.photo-card.portrait {
    aspect-ratio: 3 / 4;
}

.photo-card.landscape {
    aspect-ratio: 4 / 3;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* --- Testimonials --- */
.testimonials {
    padding: 6rem 0;
    position: relative;
    background-image: url('../assets/images/testimonials_bg.jpg');
    background-size: cover;
    background-position: center;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.6); /* White overlay for text readability */
    z-index: 0;
}

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

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

.review-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(165, 146, 199, 0.08);
    border: 1px solid rgba(165, 146, 199, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(165, 146, 199, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9A89BA 0%, #7A5C9E 100%);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 600;
    color: var(--color-heading);
    font-size: 1.1rem;
}

.review-stars {
    color: #FABB05; /* Google Star Yellow */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.review-source {
    font-size: 0.85rem;
    color: #9A89BA;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.review-source::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%234285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%23FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%2334A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/></svg>');
    background-size: cover;
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EAE1 50%, #E8DFEB 100%);
    color: var(--color-text);
    padding: 6rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-lilac-dark), transparent);
    opacity: 0.2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #7A5C9E 0%, #4A2B70 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    filter: drop-shadow(0 4px 10px rgba(122, 92, 158, 0.2));
}

.footer-quote {
    font-style: italic;
    color: #7A6A9E;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
}

.footer-address {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
}

.footer-contact h3, .footer-map h3 {
    color: var(--color-heading);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contato-map-wrapper {
    margin-top: 1rem;
}

.map-link-card {
    display: block;
    background: linear-gradient(135deg, var(--color-white) 0%, #FAF7F2 100%);
    border-radius: 16px;
    padding: 2.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--color-heading);
    box-shadow: 0 10px 30px rgba(165, 146, 199, 0.15);
    border: 1px solid rgba(165, 146, 199, 0.2);
    transition: var(--transition-smooth);
}

.map-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(165, 146, 199, 0.35);
    background: linear-gradient(135deg, var(--color-white) 0%, #F5EAE1 100%);
}

.map-card-content svg {
    color: #9A89BA;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.map-link-card:hover .map-card-content svg {
    color: #7A5C9E;
    transform: scale(1.1);
}

.map-card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.map-card-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin: 0;
}

.footer-info p {
    color: var(--color-text);
    max-width: 400px;
}

.footer-contact p {
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    color: var(--color-white);
    font-weight: 500;
    gap: 0.8rem;
    background: linear-gradient(135deg, #B2A2D0 0%, #9A89BA 100%);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 4px 15px rgba(165, 146, 199, 0.15);
}

.contact-item:hover {
    background: linear-gradient(135deg, #9A89BA 0%, #8D7BAb 100%);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 146, 199, 0.35);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #8D7BAb;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C3B5E3, transparent);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-grid, .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition-smooth);
    }

    .nav-list.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(n) {
        aspect-ratio: 16/9;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 90px; /* To the left of WhatsApp */
    width: 45px;
    height: 45px;
    background-color: var(--color-sand);
    color: var(--color-text);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
}

.scroll-to-top:hover {
    background-color: var(--color-terra);
    color: var(--color-white);
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .scroll-to-top {
        right: 20px;
        bottom: 90px; /* Above WhatsApp button on mobile */
        width: 40px;
        height: 40px;
    }
}

/* Enable Parallax only on large desktop screens to prevent mobile rendering bugs */
@media (min-width: 1024px) {
    .hero,
    .gallery,
    .testimonials {
        background-attachment: fixed;
    }
}
