/**
 * Site Publico — Landing Pages Locais (servico/clinica)
 * Subsistema: site/css
 * Carregado por: style.css (hub)
 */
/* ============================================
   Landing Pages — LP Header, Hero LP, Gallery
   Carousel, Google Testimonials, Dark Footer,
   Section Label Inline, LP Responsive
   ============================================ */

/* ── LP Header (no nav, just logo + CTA) ── */
.header__cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.header__cta .btn svg {
    flex-shrink: 0;
}

/* ── Section Label Inline ── */
.section-label-inline {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: var(--space-md);
}

/* ── LP Hero (dark overlay, white text) ── */
.hero--lp .hero__bg-image {
    opacity: 1;
}

.hero--lp .hero__bg-overlay {
    background: linear-gradient(135deg, rgba(45,42,38,0.75) 0%, rgba(45,42,38,0.5) 50%, rgba(45,42,38,0.3) 100%);
}

.hero--lp .hero__content,
.hero--lp .hero__title,
.hero--lp .hero__subtitle,
.hero--lp .hero__label,
.hero--lp .hero__stat-number,
.hero--lp .hero__stat-label {
    color: var(--color-white);
}

.hero--lp .hero__stats {
    border-top-color: rgba(255,255,255,0.15);
}

.hero--lp .hero__label .dot {
    background: var(--color-gold);
}

/* ── About Service Image (real images) ── */
.about-service__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    min-height: 350px;
}

.about-service__image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--color-gold-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ── Benefit Card Icon (SVG) ── */
.benefit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--color-gold-glow);
    color: var(--color-gold-dark);
    margin-bottom: var(--space-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.benefit-card:hover .benefit-card__icon {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-white);
    transform: scale(1.1);
}

.benefit-card__icon svg {
    flex-shrink: 0;
}

/* ── Gallery Section ── */
.gallery-section {
    background: var(--color-bg-warm);
}

.gallery__carousel {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-md) 0 var(--space-xl);
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-light) transparent;
}

.gallery__carousel::-webkit-scrollbar {
    height: 6px;
}

.gallery__carousel::-webkit-scrollbar-track {
    background: transparent;
}

.gallery__carousel::-webkit-scrollbar-thumb {
    background: var(--color-gold-light);
    border-radius: var(--radius-full);
}

.gallery__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
    aspect-ratio: 3/4;
}

.gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

/* ── Google-Style Testimonials ── */
.testimonial-card--google {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-soft);
}

.testimonial-card--google .testimonial-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.testimonial-card--google .testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.testimonial-card--google .testimonial-card__name {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-text);
}

.testimonial-card--google .testimonial-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-card--google .testimonial-card__stars {
    display: flex;
    gap: 1px;
}

.testimonial-card--google .testimonial-card__date {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.testimonial-card--google .testimonial-card__source {
    margin-left: auto;
    flex-shrink: 0;
}

.testimonial-card--google .testimonial-card__text {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: 1.7;
}

/* ── Dark Footer ── */
.footer--dark {
    background: #1a1816;
    color: rgba(255,255,255,0.7);
}

.footer--dark h5 {
    color: var(--color-gold);
}

.footer--dark a {
    color: rgba(255,255,255,0.6);
}

.footer--dark a:hover {
    color: var(--color-gold);
}

.footer--dark .footer__social a {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
}

.footer--dark .footer__social a:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.footer--dark .footer__bottom {
    border-top-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
}

.footer--dark .footer__bottom a {
    color: var(--color-gold);
}

.footer--dark .footer__bottom a:hover {
    color: var(--color-white);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.footer__logo span {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.footer--dark .footer__brand p {
    color: rgba(255,255,255,0.55);
    max-width: 280px;
}

.footer--dark .footer__col a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer--dark .footer__col a svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.footer--dark .footer__col a:hover svg {
    opacity: 1;
}

.footer__grid--institutional {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
}

.footer__grid--sitemap {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
}

.footer__grid--simple {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

/* ── LP Responsive ── */
@media (max-width: 1024px) {
    .gallery__item {
        flex: 0 0 240px;
    }
    
    .footer__grid--simple {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer__grid--institutional {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    .footer__grid--sitemap {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .hero--lp {
        min-height: 100vh;
        padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
    }
    
    .hero--lp .hero__bg-overlay {
        background: linear-gradient(180deg, rgba(45,42,38,0.85) 0%, rgba(45,42,38,0.65) 100%);
    }
    
    .hero--lp .hero__title {
        font-size: var(--text-3xl);
    }
    
    .hero--lp .hero__subtitle {
        font-size: var(--text-lg);
    }
    
    .gallery__carousel {
        padding-left: var(--space-md);
        margin-left: calc(-1 * var(--space-lg));
        margin-right: calc(-1 * var(--space-lg));
        padding-right: var(--space-md);
    }
    
    .gallery__item {
        flex: 0 0 200px;
        aspect-ratio: 3/4;
    }
    
    .testimonial-card--google {
        flex: 0 0 85vw;
        padding: var(--space-lg);
    }
    
    .testimonial-card--google .testimonial-card__source {
        display: none;
    }
    
    .cta-light__content h2 {
        font-size: var(--text-2xl);
    }
    
    .cta-light__content p {
        font-size: var(--text-base);
    }
    
    .about-service__img {
        min-height: 280px;
    }
    
    .about-service__image-accent {
        display: none;
    }
    
    .section-label-inline {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 576px) {
    .header__cta .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .hero--lp {
        min-height: auto;
        padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
    }
    
    .hero--lp .hero__title {
        font-size: var(--text-2xl);
    }
    
    .hero--lp .hero__stats {
        gap: var(--space-lg);
    }
    
    .hero--lp .hero__stat-number {
        font-size: var(--text-xl);
    }
    
    .gallery__item {
        flex: 0 0 160px;
    }
    
    .benefit-card__icon {
        width: 48px;
        height: 48px;
    }
    
    .benefit-card__icon svg {
        width: 22px;
        height: 22px;
    }
    
    .testimonial-card--google {
        flex: 0 0 90vw;
    }
    
    .testimonial-card--google .testimonial-card__header {
        gap: var(--space-sm);
    }
    
    .testimonial-card--google .testimonial-card__avatar {
        width: 36px;
        height: 36px;
    }
    
    .footer__grid--simple {
        text-align: center;
    }
    
    .footer--dark .footer__social {
        justify-content: center;
    }
    
    .cta-light__actions .btn {
        width: 100%;
    }
    
    .about-service__img {
        min-height: 220px;
    }
    
    .footer__grid--institutional,
    .footer__grid--sitemap {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    .footer__grid--institutional .footer__brand p,
    .footer__grid--sitemap .footer__brand p {
        max-width: 100%;
    }
    .footer__grid--institutional .footer__social,
    .footer__grid--sitemap .footer__social {
        justify-content: center;
    }
    .footer__grid--institutional .footer__col a,
    .footer__grid--sitemap .footer__col a {
        justify-content: center;
    }
}
