/* ==========================================================================
   VARIÁVEIS - PALETA DE CORES DIVAH
   ========================================================================== */
:root {
    /* Cores Oficiais */
    --color-primary: #818263; /* Savory Sage - Principal */
    --color-accent: #DDBAAE; /* Blush Beet - Destaque */
    --color-bg-main: #F6E6D7; /* Cream Background - Fundo 1 */
    --color-bg-light: #FFFAF2; /* Coconut Cream - Fundo 2 */
    --color-border: #DCD4C1; /* Oat Latte - Bordas */
    --color-support: #EFD7CF; /* Peach Protein - Apoio */
    
    /* Outras cores base */
    --color-text: #4a4542;
    --color-text-light: #7a736e;
    --color-white: #FFFFFF;
    
    /* Tipografia */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Great Vibes', cursive;
    
    /* Sombras e Transições */
    --shadow-soft: 0 10px 30px rgba(129, 130, 99, 0.08);
    --shadow-hover: 0 15px 35px rgba(221, 186, 174, 0.2);
    --transition: all 0.3s ease-in-out;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
}

/* ==========================================================================
   RESETS BÁSICOS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   TIPOGRAFIA E UTILITÁRIOS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.2;
}

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

.section {
    padding: 90px 0;
}

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

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    font-family: var(--font-accent);
    color: var(--color-accent);
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.d-none { display: none; }
@media (min-width: 992px) {
    .d-lg-flex { display: flex; }
}

/* Fallbacks quando as imagens não existirem */
.image-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-main), var(--color-support));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.hero-fallback { min-height: 500px; border-radius: var(--radius-lg); }
.gallery-fallback { min-height: 300px; border-radius: var(--radius-md); }
.logo-fallback { padding: 40px; background: transparent; }

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    border: 1px solid transparent;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(221, 186, 174, 0.4);
}

.btn-secondary {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 26, 26, 0.1);
}

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

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 250, 242, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-soft);
    background-color: rgba(255, 250, 242, 0.95);
}

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

.logo img {
    height: 120px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 5px 0;
}

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

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

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 5px;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
    background-color: var(--color-bg-main);
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: var(--color-support);
    opacity: 0.5;
    filter: blur(100px);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-family: var(--font-accent);
    color: var(--color-accent);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--color-text);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.hero-image-placeholder {
    border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-hover);
}

.hero-image-placeholder img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.hero-decor {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
    z-index: 1;
    transform: translate(20px, 20px);
    opacity: 0.5;
}

/* ==========================================================================
   3. SEÇÃO DE APRESENTAÇÃO (SOBRE)
   ========================================================================== */
.about {
    background-color: var(--color-bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-title {
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.about-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 1px dashed var(--color-accent);
    border-radius: calc(var(--radius-lg) + 8px);
    opacity: 0.6;
    pointer-events: none;
}

.about-logo {
    max-width: 90%;
}

/* ==========================================================================
   4. SERVIÇOS
   ========================================================================== */
.services {
    background-color: var(--color-white);
    position: relative;
    padding: 90px 0 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    width: 65px;
    height: 65px;
    background-color: var(--color-bg-main);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: var(--color-bg-main);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================================================
   5. DIFERENCIAIS
   ========================================================================== */
.features {
    background-color: var(--color-bg-light);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px 30px;
}

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

.feature-icon {
    color: var(--color-accent);
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}
.feature-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.5;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* ==========================================================================
   6. GALERIA
   ========================================================================== */
.gallery {
    background-color: var(--color-white);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/5;
    background-color: var(--color-bg-main);
}

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

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

/* ==========================================================================
   7. DEPOIMENTOS
   ========================================================================== */
.testimonials {
    background-color: var(--color-bg-main);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: var(--color-support);
    opacity: 0.3;
    filter: blur(80px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 45px 40px;
    border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    color: var(--color-accent);
    margin-bottom: 25px;
    opacity: 0.6;
}
.quote-icon svg {
    width: 32px;
    height: 32px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--color-text);
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

/* Bloco Avaliação Google */
.google-review-block {
    text-align: center;
    margin-top: 60px;
    padding: 50px 40px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #D4A843;
}

.review-stars svg {
    filter: drop-shadow(0 2px 4px rgba(212, 168, 67, 0.3));
    transition: transform 0.3s ease;
}

.review-stars svg:hover {
    transform: scale(1.2);
}

.review-text {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.google-review-btn {
    font-size: 1.05rem;
    padding: 16px 36px;
}

.google-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(129, 130, 99, 0.3);
}

/* ==========================================================================
   8. CHAMADA PARA AGENDAMENTO (CTA)
   ========================================================================== */
.cta {
    background-color: var(--color-primary);
    color: var(--color-bg-light);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: rgba(221, 186, 174, 0.15); /* Blush Beet */
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 250, 242, 0.05); /* Coconut Cream */
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--color-bg-light);
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--color-bg-main);
    line-height: 1.7;
}

.cta-btn {
    font-size: 1.1rem;
    padding: 18px 40px;
}

/* ==========================================================================
   9. LOCALIZAÇÃO
   ========================================================================== */
.location {
    background-color: var(--color-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i, .info-item svg {
    color: var(--color-accent);
    margin-top: 5px;
    width: 24px;
    height: 24px;
}

.info-item h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.location-buttons {
    display: flex;
    gap: 16px;
    margin-top: 15px;
}

.location-map {
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq {
    background-color: var(--color-bg-light);
}

.faq-container {
    max-width: 850px;
}

.accordion-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--color-accent);
}

.accordion-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 500;
}

.accordion-header i, .accordion-header svg {
    color: var(--color-accent);
    transition: transform 0.4s ease;
}

.accordion-header.active {
    background-color: var(--color-bg-main);
}

.accordion-header.active i, .accordion-header.active svg {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-body p {
    color: var(--color-text-light);
    padding-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   11. RODAPÉ
   ========================================================================== */
.footer {
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    padding-top: 90px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
}

.footer-brand {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 120px;
    margin-bottom: 25px;
}

.footer-slogan {
    font-family: var(--font-accent);
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 8px;
    white-space: nowrap;
}

.footer-links h4, .footer-contact h4, .footer-hours h4 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

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

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
    font-size: 1.05rem;
}
.footer-contact ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact ul li a:hover {
    color: var(--color-primary);
}

.footer-contact ul li i, .footer-contact ul li svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.footer-hours p {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   ESTILOS ADICIONAIS DE SERVIÇOS, GOOGLE DRIVE E INSTAGRAM BANNER
   ========================================================================== */

/* Grid de 3 Serviços Expandidos */
.services-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
    align-items: stretch;
}

.service-card-expanded {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 45px 32px 40px 32px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 100%;
    box-sizing: border-box;
}

.service-card-expanded:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.service-card-expanded .service-icon {
    width: 68px;
    height: 68px;
    background-color: var(--color-support);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.service-card-expanded .service-icon svg,
.service-card-expanded .service-icon i {
    width: 28px;
    height: 28px;
}

.service-card-expanded .service-title {
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
}

.service-card-expanded .service-desc {
    color: var(--color-text-light);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card-expanded .service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.service-card-expanded .service-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(129, 130, 99, 0.25);
}

@media (max-width: 991px) {
    .services-grid-three {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* ==========================================================================
   ESTILOS DA GALERIA (GOOGLE PHOTOS API + PHOTOSWIPE 5)
   ========================================================================== */

/* Seletores de Abas para os 3 Serviços */
.gallery-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.gallery-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    font-family: var(--font-body);
}

.gallery-tab i, .gallery-tab svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    transition: var(--transition);
}

.gallery-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(129, 130, 99, 0.25);
}

.gallery-tab.active i, .gallery-tab.active svg {
    color: var(--color-white);
}

/* Painéis das Galeria de Serviços */
.gallery-content {
    min-height: 350px;
    position: relative;
}

.service-gallery-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.service-gallery-pane.active {
    display: block;
}

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

/* Grid de Imagens PhotoSwipe */
.pswp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pswp-gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-bg-main);
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: block;
    text-decoration: none;
}

.pswp-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.pswp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

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

.pswp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(129, 130, 99, 0.85) 0%, rgba(129, 130, 99, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pswp-zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pswp-caption {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
}

/* Skeleton Loading State */
.gallery-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-skeleton-card {
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
    background: linear-gradient(90deg, #f0e6da 25%, #f9f2ea 50%, #f0e6da 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Caixas de Alerta e Erro Amigáveis */
.gallery-status-box {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: var(--shadow-soft);
}

.gallery-status-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-support);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.gallery-status-box h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.gallery-status-box p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.gallery-footer-info {
    margin-top: 40px;
}

.btn-album-external {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-color: var(--color-accent);
}

.btn-album-external:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}
    color: var(--color-white);
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 0.95rem;
}

.btn-drive:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Banner Premium do Instagram */
.instagram-section {
    padding: 40px 0;
}

.instagram-banner-premium {
    background: linear-gradient(135deg, #818263 0%, #65664d 60%, #DDBAAE 100%);
    border-radius: var(--radius-lg);
    padding: 50px 60px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(129, 130, 99, 0.25);
    position: relative;
    overflow: hidden;
}

.instagram-banner-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.insta-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.insta-badge {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--color-white);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.insta-handle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.insta-title {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.insta-text {
    color: #F6EAD4;
    font-size: 1.05rem;
    max-width: 550px;
    line-height: 1.6;
}

.btn-instagram-custom {
    background-color: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.btn-instagram-custom:hover {
    background-color: var(--color-support);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .instagram-banner-premium {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .insta-left {
        flex-direction: column;
    }

    .insta-text {
        max-width: 100%;
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        padding-right: 0;
        padding-bottom: 0;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-image-placeholder img {
        height: 500px;
    }
    
    .hero-decor {
        display: none;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-card {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-bg-light);
        flex-direction: column;
        padding: 90px 40px 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: flex;
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .nav-link {
        display: inline-block;
        font-size: 1.2rem;
    }
    
    .nav-btn-mobile {
        display: flex;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .location-buttons {
        flex-direction: column;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-brand {
        padding-right: 0;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
    .footer-contact ul li a {
        justify-content: center;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }
}
