/* Refinamentos solicitados em 16/10/2026: componentes compartilhados e Home. */

/* O rótulo completo permanece visível também nos cards pequenos. */
.product-card > .wishlist-add {
    position: relative;
    inset: auto;
    width: calc(100% - 24px);
    min-height: 44px;
    margin: 0 12px 16px;
    padding: 9px 10px;
    gap: 8px;
    white-space: normal;
}
.wishlist-add .wishlist-add-label {
    display: inline;
    font-size: .64rem;
    line-height: 1.35;
    letter-spacing: .04em;
    text-align: left;
}
.detail-actions .wishlist-add-label {
    display: inline;
    font: inherit;
    letter-spacing: inherit;
}

/* A mesma família navy/dourado do WhatsApp, em dois acessos empilhados. */
.floating-actions {
    position: fixed;
    right: 24px;
    bottom: max(23px, env(safe-area-inset-bottom));
    z-index: 28;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}
.floating-actions .whatsapp-float,
.wishlist-float {
    position: relative;
    inset: auto;
    z-index: auto;
    display: flex;
    width: 52px;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 1px solid rgba(240, 221, 166, .4);
    border-radius: 50%;
    background: var(--navy);
    color: var(--glitter);
    box-shadow: 0 10px 30px rgba(8, 22, 41, .2);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: opacity .24s ease, transform .24s ease, background .24s ease;
}
.floating-actions .whatsapp-float-label,
.floating-actions .wishlist-float-label { display: none; }
.floating-actions .whatsapp-float-icon { width: 28px; height: 28px; }
.wishlist-float:hover { background: var(--navy-3); transform: translateY(-3px); }
.wishlist-float-icon { display: grid; width: 28px; height: 28px; place-items: center; }
.wishlist-float-icon .icon-heart { font-size: 1.8rem; }
.wishlist-notification {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 13px;
    height: 13px;
    border: 2px solid var(--glitter);
    border-radius: 50%;
    background: #9e2031;
    box-shadow: 0 2px 5px rgba(8, 22, 41, .25);
}
.wishlist-notification[hidden] { display: none; }
.floating-actions.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}
.toast-region { bottom: 153px; }
.toast { max-width: min(360px, calc(100vw - 40px)); }

/* Título menor, sem fixar quebras no conteúdo editável. */
.hero-copy h1 {
    max-width: 620px;
    font-size: clamp(2.65rem, 4.9vw, 4.5rem);
    line-height: 1.08;
    text-wrap: balance;
}
.differential-card.is-compact {
    min-height: 172px;
    justify-content: flex-start;
    padding: 22px 24px 28px;
}
.differential-card.is-compact h3 { margin-top: 12px; }
.differential-card h3,
.differential-card p { overflow-wrap: anywhere; }

/* Quadrados menores: fotos inteiras, inclusive capas antigas verticais. */
.portfolio-section .portfolio-grid {
    max-width: 960px;
    margin-inline: auto;
}
.portfolio-section .portfolio-card {
    min-height: 0;
    aspect-ratio: 1;
}
.portfolio-section .portfolio-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}
.portfolio-section .portfolio-card-label strong { font-size: 2rem; }

/* Aviso com contraste forte e ação de agendamento evidente. */
.important-section {
    padding: 64px 0;
    background: linear-gradient(120deg, #ead59c, #f3e5c2);
    border-block: 1px solid rgba(133, 101, 34, .2);
}
.important-layout {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 26px;
    padding: 38px;
    border: 1px solid rgba(214, 184, 117, .65);
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 16px 40px rgba(8, 22, 41, .15);
}
.important-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--glitter);
    font-family: var(--sans);
    font-size: 1.5rem;
    font-weight: 800;
}
.important-layout h2 {
    margin-bottom: 12px;
    color: var(--glitter);
    font-size: clamp(2.35rem, 4vw, 3.8rem);
    font-weight: 600;
}
.important-layout h3 { color: var(--white); font-size: clamp(1.2rem, 2vw, 1.7rem); }
.important-layout p:not(.eyebrow) { color: #e4eaf2; }
.important-layout p a { color: var(--glitter); }
.important-layout > .button { min-height: 52px; white-space: nowrap; }

/* Desenho discreto, sem reduzir as áreas clicáveis. */
:is(.hero-section, .featured-section, .testimonials-section) .carousel-arrow {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--glitter);
    font-size: 1.5rem;
    line-height: 1;
}
:is(.hero-section, .featured-section, .testimonials-section) .carousel-arrow:hover {
    background: rgba(214, 184, 117, .12);
}
.testimonials-section .carousel-arrow { color: #7b5f27; }
.testimonials-section .inline-controls { position: static; inset: auto; gap: 4px; }
.hero-controls,
.featured-section .carousel-controls { gap: 4px; }
:is(.hero-section, .featured-section) .carousel-dots { gap: 0; }
:is(.hero-section, .featured-section) .carousel-dot {
    position: relative;
    width: 24px;
    height: 32px;
    padding: 0;
    background: transparent;
    color: var(--glitter);
}
:is(.hero-section, .featured-section) .carousel-dot::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .4;
    transform: translate(-50%, -50%);
    content: "";
}
:is(.hero-section, .featured-section) .carousel-dot.is-current::after { width: 6px; height: 6px; opacity: 1; }
:is(.hero-section, .featured-section) .carousel-pause {
    display: inline-grid;
    width: 32px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--glitter);
}
.carousel-pause-icon { width: 9px; height: 11px; border-inline: 2px solid currentColor; }
.carousel-pause.is-paused .carousel-pause-icon {
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right: 0;
    border-left: 8px solid currentColor;
}
.carousel-pause:disabled { opacity: .4; cursor: default; }

@media (max-width: 780px) {
    .hero-copy h1 { max-width: 100%; font-size: clamp(1.8rem, 6.8vw, 3.2rem); }
    .differentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .differential-card.is-compact { min-height: 145px; padding: 18px 17px 27px; }
    .differential-card.is-compact h3 { margin-top: 10px; font-size: clamp(1.15rem, 3.8vw, 1.45rem); }
    .portfolio-section .portfolio-grid { max-width: 440px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .portfolio-section .portfolio-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 12px) / 2); justify-self: center; }
    .portfolio-section .portfolio-card-label { inset: auto 15px 15px; gap: 3px 6px; }
    .portfolio-section .portfolio-card-label small { font-size: .56rem; letter-spacing: .08em; }
    .portfolio-section .portfolio-card-label strong { font-size: 1.45rem; }
    .portfolio-section .portfolio-card-label > span { font-size: 1rem; }
    .important-section { padding: 42px 0; }
    .important-layout { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
    .important-layout > .button { width: 100%; }
    .floating-actions { right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
    .portfolio-section .portfolio-card-label { inset: auto 10px 12px; }
    .portfolio-section .portfolio-card-label strong { font-size: 1.25rem; }
    .important-layout { padding: 22px; }
}

/* Composição vertical e centralizada — ajuste de 16/10, 23h09. */
.hero-section { min-height: 0; }
.hero-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    gap: 26px;
    padding-top: 54px;
    padding-bottom: 42px;
}
.hero-copy { width: 100%; max-width: 920px; text-align: center; }
.hero-copy .eyebrow { display: flex; justify-content: center; }
.hero-copy h1 { max-width: 920px; margin-inline: auto; }
.hero-title-word { display: block; font-size: 1.08em; }
.hero-lead { max-width: 660px; margin-inline: auto; }
.hero-actions { flex-direction: row; align-items: center; justify-content: center; }
.hero-carousel { max-width: 820px; height: auto; aspect-ratio: 3 / 2; }
.hero-controls { position: static; inset: auto; align-self: center; margin: 0; }
.hero-scroll-cue { display: none; }
.differentials-section .section-intro { text-align: center; }
.differentials-section .differential-card { align-items: center; text-align: center; }
.portfolio-section .portfolio-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.testimonials-section { padding-top: 46px; padding-bottom: 46px; }
.testimonials-section .section-intro { margin-bottom: 24px; }
.testimonial-card { min-height: 0; padding: 16px 18px; flex-basis: calc((100% - 48px) / 4); }
.testimonial-card blockquote { font-size: 1.08rem; line-height: 1.3; overflow-wrap: anywhere; }
.testimonial-card footer { margin-top: 14px; gap: 8px; }
.testimonial-card footer strong { overflow-wrap: anywhere; }

@media (min-width: 1400px) {
    .testimonial-card { flex-basis: calc((100% - 80px) / 6); }
}

@media (max-width: 780px) {
    .hero-shell { padding-top: 38px; padding-bottom: 30px; gap: 22px; }
    .hero-copy h1 { margin-bottom: 22px; }
    .hero-lead { margin-bottom: 25px; }
    .hero-actions { gap: 17px; }
    .portfolio-section .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonial-card { flex-basis: min(78vw, 310px); padding: 15px 17px; }
    .testimonials-section { padding-top: 32px; padding-bottom: 32px; }
    .testimonials-section .section-intro { margin-bottom: 18px; gap: 10px; }
}

/* Notas e autoria mais compactas, mantendo o texto legível e altura automática. */
.testimonial-card .testimonial-stars { font-size: .88rem; line-height: 1.2; margin-bottom: 8px; }
.testimonial-card blockquote { font-size: 1.03rem; line-height: 1.28; }
.testimonial-card footer { padding-top: 8px; margin-top: 10px; gap: 4px; }
.testimonial-card footer strong { font-size: .75rem; line-height: 1.25; }
.testimonial-card footer time { font-size: .7rem; line-height: 1.2; }

.hero-slide-image-only::after { content: none; background: none; }

/* Logo horizontal: preservar o arquivo inteiro e o cabeçalho compacto. */
.brand-top {
    width: 220px;
    height: 73px;
    flex: 0 0 220px;
}
.brand-top img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-top .brand-glow { border-radius: 18px; }
@media (max-width: 1080px) and (min-width: 781px) {
    .header-inner { gap: 22px; }
    .brand-top { width: 190px; height: 63px; flex-basis: 190px; }
}
@media (max-width: 780px) {
    .brand-top { width: 180px; height: 59px; flex-basis: 180px; }
    .header-inner { gap: 16px; }
}
@media (max-width: 360px) {
    .brand-top { width: 165px; height: 54px; flex-basis: 165px; }
}
