/* =========================================================
   PUPA UI v2 — padrão visual único da Central de Ajuda
   Carregado DEPOIS de style.css / devolucao-style.css.
   Para voltar ao visual antigo basta remover este arquivo
   (ou usar a pasta _backup-antes-redesign).
   ========================================================= */

:root {
    --pupa-green: #7f9f62;
    --pupa-green-dark: #64824a;
    --pupa-green-deep: #4f6a38;
    --pupa-green-tint: #eef4e7;
    --pupa-cream: #fbf3dc;
    --pupa-cream-soft: #fffaf0;
    --pupa-peach-tint: #fdeee5;
    --pupa-lilac-tint: #f1ecf7;
    --pupa-sand-tint: #f6efe3;
    --pupa-ink: #4f453c;
    --pupa-ink-soft: #6f6357;
    --pupa-muted: #8f8273;
    --pupa-line: #ece4d6;
    --pupa-line-strong: #ddd2c1;
    --pupa-surface: #ffffff;
    --pupa-wa: #25d366;
    --pupa-wa-dark: #1ea952;

    --pupa-radius-lg: 28px;
    --pupa-radius: 20px;
    --pupa-radius-sm: 14px;

    --pupa-shadow-sm: 0 1px 2px rgba(79, 69, 60, 0.04), 0 2px 8px rgba(79, 69, 60, 0.04);
    --pupa-shadow: 0 2px 4px rgba(79, 69, 60, 0.04), 0 12px 32px rgba(79, 69, 60, 0.08);
    --pupa-shadow-lg: 0 4px 8px rgba(79, 69, 60, 0.04), 0 24px 60px rgba(79, 69, 60, 0.12);
    --pupa-ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Alinha as variáveis antigas das duas folhas de estilo */
    --main-foreground: var(--pupa-ink);
    --header-foreground: var(--pupa-ink-soft);
    --header-background: var(--pupa-line);
    --accent-color: var(--pupa-green);
    --text: var(--pupa-ink);
    --text-secondary: var(--pupa-ink-soft);
    --text-light: var(--pupa-muted);
    --border: var(--pupa-line-strong);
    --border-light: var(--pupa-line);
    --primary: var(--pupa-green);
    --primary-dark: var(--pupa-green-dark);
}

html { -webkit-text-size-adjust: 100%; }

body {
    color: var(--pupa-ink);
    background-color: var(--pupa-cream);
}

::selection { background: rgba(127, 159, 98, 0.25); }

:focus-visible {
    outline: 3px solid rgba(127, 159, 98, 0.45);
    outline-offset: 2px;
}

/* =========================================================
   TIPOGRAFIA
   ========================================================= */
.header-card h1,
.page-header h2 {
    font-family: 'Braah One', 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px;
    color: var(--pupa-ink);
}

/* =========================================================
   PÁGINA INICIAL
   ========================================================= */
.header-card {
    position: relative;
    max-width: 640px !important;
    padding: 36px 28px 32px !important;
    border-radius: var(--pupa-radius-lg) !important;
    border: 1px solid rgba(236, 228, 214, 0.9);
    box-shadow: var(--pupa-shadow) !important;
    margin-bottom: 28px !important;
}

.header-card .logo { max-width: 150px; }

.header-card h1 {
    font-size: 32px !important;
    line-height: 1.15;
    margin-bottom: 10px !important;
}

.header-card .subtitle {
    font-size: 15px !important;
    color: var(--pupa-ink-soft) !important;
    max-width: 440px;
    margin: 0 auto;
}

.cards-grid {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
}

@media (min-width: 720px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 18px !important; }
}

/* No celular o último card ("Outros assuntos") ocupa a linha toda */
@media (max-width: 719px) {
    .cards-grid > .topic-link:last-child { grid-column: 1 / -1; }
    .cards-grid > .topic-link:last-child .topic-card {
        flex-direction: row;
        min-height: 72px;
        gap: 12px;
    }
    .cards-grid > .topic-link:last-child .emoji-icon { margin-bottom: 0 !important; }
}

.topic-link { height: 100%; border-radius: var(--pupa-radius); }

.topic-card {
    position: relative;
    height: 100%;
    min-height: 128px !important;
    padding: 20px 14px !important;
    border-radius: var(--pupa-radius) !important;
    border: 1px solid var(--pupa-line);
    box-shadow: var(--pupa-shadow-sm) !important;
    transition: transform 0.25s var(--pupa-ease), box-shadow 0.25s var(--pupa-ease), border-color 0.25s var(--pupa-ease) !important;
}

.topic-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(127, 159, 98, 0.55);
    box-shadow: var(--pupa-shadow) !important;
}

.topic-link:active .topic-card { transform: scale(0.98) !important; }

.topic-card .emoji-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
    font-size: 24px !important;
    margin-bottom: 12px !important;
    background: var(--pupa-green-tint) !important;
    transition: transform 0.25s var(--pupa-ease);
}

.topic-card:hover .emoji-icon { transform: scale(1.06) rotate(-3deg); }

/* Tons alternados da marca nos ícones */
.cards-grid > .topic-link:nth-child(4n+2) .emoji-icon { background: var(--pupa-peach-tint) !important; }
.cards-grid > .topic-link:nth-child(4n+3) .emoji-icon { background: var(--pupa-sand-tint) !important; }
.cards-grid > .topic-link:nth-child(4n+4) .emoji-icon { background: var(--pupa-lilac-tint) !important; }

.topic-card h3 {
    font-size: 14.5px !important;
    line-height: 1.3;
    color: var(--pupa-ink) !important;
}

@media (min-width: 720px) {
    .topic-card { min-height: 148px !important; padding: 26px 18px !important; }
    .topic-card .emoji-icon { width: 58px !important; height: 58px !important; font-size: 26px !important; margin-bottom: 14px !important; }
    .topic-card h3 { font-size: 16px !important; }
}

footer {
    border-top: 1px solid var(--pupa-line-strong) !important;
    margin-top: 48px !important;
}

.footer-links a { color: var(--pupa-ink-soft) !important; }
.footer-links a:hover { color: var(--pupa-green-dark) !important; }
.copyright { color: var(--pupa-muted) !important; }

/* =========================================================
   PÁGINAS INTERNAS SIMPLES (entrega, rastreio, tamanho…)
   ========================================================= */
.content-page {
    padding-top: 28px !important;
    padding-bottom: 48px !important;
}

.back-link {
    align-self: flex-start;
    gap: 6px;
    padding: 9px 16px;
    margin-bottom: 18px !important;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--pupa-line);
    border-radius: 999px;
    font-size: 13.5px !important;
    color: var(--pupa-ink-soft) !important;
    box-shadow: var(--pupa-shadow-sm);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: all 0.2s var(--pupa-ease) !important;
}

.back-link:hover {
    color: var(--pupa-green-deep) !important;
    border-color: rgba(127, 159, 98, 0.5);
    transform: translateX(-2px);
}

.content-card {
    border-radius: var(--pupa-radius-lg) !important;
    padding: 36px 32px !important;
    border: 1px solid rgba(236, 228, 214, 0.9);
    box-shadow: var(--pupa-shadow-lg) !important;
}

@media (max-width: 480px) {
    .content-card { padding: 26px 18px !important; border-radius: 24px !important; }
}

.page-header {
    gap: 14px !important;
    margin-bottom: 10px !important;
}

.page-header .emoji-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    background: var(--pupa-green-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px !important;
}

.page-header h2 {
    font-size: 26px !important;
    line-height: 1.15;
    margin-top: 2px !important;
}

.content-card > .text-muted:first-of-type,
.content-card > p.text-muted {
    color: var(--pupa-ink-soft) !important;
    font-size: 14.5px !important;
    line-height: 1.6;
}

.content-card .form-group { margin-bottom: 14px !important; }

.content-card .form-group label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--pupa-ink) !important;
    margin-bottom: 6px !important;
}

.content-card .form-group input,
.content-card .form-group select {
    min-height: 52px !important;
    padding: 0 16px !important;
    border: 1.5px solid var(--pupa-line-strong) !important;
    border-radius: var(--pupa-radius-sm) !important;
    background-color: var(--pupa-cream-soft) !important;
    font-size: 16px !important; /* 16px evita zoom automático no iPhone */
    color: var(--pupa-ink) !important;
}

.content-card .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237f9f62' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

.content-card .form-group input::placeholder { color: #b3a797; }

.content-card .form-group input:hover,
.content-card .form-group select:hover { border-color: #cfc2ad !important; }

.content-card .form-group input:focus,
.content-card .form-group select:focus {
    border-color: var(--pupa-green) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(127, 159, 98, 0.16) !important;
}

/* =========================================================
   BOTÕES — iguais em todo o site
   ========================================================= */
.content-card .btn,
.pupa-alert-btn,
#app .btn-primary,
#app .btn-secondary,
#app .btn-outline-light {
    min-height: 52px;
    border-radius: var(--pupa-radius-sm) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px;
    text-transform: none;
}

.content-card .btn-primary,
.pupa-alert-btn,
#app .btn-primary {
    background: linear-gradient(135deg, #86a768 0%, var(--pupa-green-dark) 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(100, 130, 74, 0.28) !important;
}

.content-card .btn-primary:hover,
.pupa-alert-btn:hover,
#app .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(100, 130, 74, 0.34) !important;
    background: linear-gradient(135deg, #7f9f62 0%, var(--pupa-green-deep) 100%) !important;
}

.content-card .btn-primary:active,
#app .btn-primary:active { transform: translateY(0) scale(0.99); }

.content-card .btn-whatsapp,
#app .btn-whatsapp {
    background: linear-gradient(135deg, #2bd56c 0%, var(--pupa-wa-dark) 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(30, 169, 82, 0.25) !important;
}

.content-card .btn-whatsapp:hover,
#app .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(30, 169, 82, 0.32) !important;
}

#app .btn-text { font-size: 13.5px; color: var(--pupa-muted); }
#app .btn-text:hover { color: var(--pupa-green-deep); }

/* =========================================================
   COMPONENTES DAS PÁGINAS SIMPLES
   ========================================================= */
.result-box {
    background: linear-gradient(135deg, #f3f8ed 0%, #eaf2e1 100%) !important;
    border: 1.5px solid rgba(127, 159, 98, 0.35);
    border-radius: var(--pupa-radius) !important;
    padding: 22px 20px !important;
    animation: pupaPop 0.35s var(--pupa-ease);
}

.size-tag {
    background: linear-gradient(135deg, #86a768 0%, var(--pupa-green-dark) 100%) !important;
    box-shadow: 0 6px 14px rgba(100, 130, 74, 0.25);
    font-size: 20px !important;
    letter-spacing: 0.4px;
}

@keyframes pupaPop {
    from { opacity: 0; transform: translateY(6px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.partnership-perks li {
    align-items: center !important;
    background: var(--pupa-cream-soft) !important;
    border: 1px solid var(--pupa-line) !important;
    border-radius: var(--pupa-radius-sm) !important;
    padding: 14px 16px !important;
    margin-bottom: 10px !important;
}

.partnership-perks .perk-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--pupa-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.partnership-perks .perk-text { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; color: var(--pupa-ink-soft); line-height: 1.45; }
.partnership-perks .perk-text strong { color: var(--pupa-ink); font-size: 14.5px; }

/* =========================================================
   ALERTA FOFO (CPF inválido etc.)
   ========================================================= */
.pupa-alert-overlay { background: rgba(79, 69, 60, 0.35) !important; }

.pupa-alert-box {
    border-radius: var(--pupa-radius-lg) !important;
    padding: 30px 24px 22px !important;
    max-width: 340px !important;
    box-shadow: var(--pupa-shadow-lg) !important;
    border: 1px solid var(--pupa-line);
}

.pupa-alert-icon img { animation: pupaWiggle 1.6s ease-in-out infinite; }

@keyframes pupaWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-6deg); }
    75% { transform: rotate(6deg); }
}

.pupa-alert-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 0 20px;
}

/* =========================================================
   FLUXOS DE DEVOLUÇÃO E TROCA (#app)
   ========================================================= */
#app .page-content h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2 !important;
    letter-spacing: -0.3px;
    text-wrap: balance;
}

#app .title-centered { font-size: 30px !important; }

@media (min-width: 992px) {
    #app .page-grid {
        border-radius: 32px !important;
        border: 1px solid rgba(236, 228, 214, 0.9);
        box-shadow: var(--pupa-shadow-lg) !important;
    }
    #app .page-content h1 { font-size: 32px !important; }
    #app .title-centered { font-size: 34px !important; }
}

#app .page-visual-column {
    background: linear-gradient(160deg, #fffaf0 0%, #fbf0d8 100%) !important;
}

#app .form-group label {
    font-size: 12px !important;
    letter-spacing: 0.4px;
    color: var(--pupa-ink-soft) !important;
}

#app .form-group input {
    min-height: 52px;
    border-radius: var(--pupa-radius-sm) !important;
    background: var(--pupa-cream-soft) !important;
    border: 1.5px solid var(--pupa-line-strong) !important;
}

#app .form-group input:focus {
    border-color: var(--pupa-green) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(127, 159, 98, 0.16) !important;
}

#app .option-card {
    border-radius: var(--pupa-radius-sm) !important;
    border: 1.5px solid var(--pupa-line-strong) !important;
    min-height: 60px;
}

#app .option-card:hover { border-color: #c7b9a3 !important; }

#app .option-card.selected {
    border-color: var(--pupa-green) !important;
    background: var(--pupa-green-tint) !important;
    box-shadow: 0 0 0 3px rgba(127, 159, 98, 0.14) !important;
}

/* Fotos dos modelos maiores nas opções (eram 28px) */
#app .option-label img {
    height: 42px !important;
    width: 42px !important;
}

#app .option-label { display: flex; align-items: center; gap: 2px; font-weight: 600; color: var(--pupa-ink); }

.btn-back-home {
    border: 1px solid var(--pupa-line) !important;
    color: var(--pupa-ink-soft) !important;
    box-shadow: var(--pupa-shadow-sm) !important;
}

.btn-back-home:hover {
    color: var(--pupa-green-deep) !important;
    border-color: rgba(127, 159, 98, 0.5) !important;
    background: #fff !important;
}

/* Celular: imagem do topo menor para o formulário aparecer logo */
@media (max-width: 991px) {
    #app .page-visual-column {
        padding: 28px 20px 24px !important;
        gap: 14px !important;
    }
    #app .hero-image:not(.hero-slideshow):not([style]) img {
        max-width: 200px !important;
        max-height: 200px;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 50% !important;
        border-width: 5px !important;
    }
    #app .hero-slideshow {
        max-width: 220px !important;
    }
    #app .visual-desc-panel { display: none; }
    #app .page-form-column { padding: 26px 20px 32px !important; }
    #app .page-content { padding: 16px 0 !important; }
}

/* Ajustes finos da página inicial no celular */
@media (max-width: 719px) {
    .cards-grid > .topic-link:last-child .topic-card {
        min-height: 72px !important;
        padding: 14px 18px !important;
    }
    .header-card { padding: 28px 20px 24px !important; margin-bottom: 20px !important; }
    .header-card .logo { max-width: 120px; }
    .header-card h1 { font-size: 27px !important; }
    .header-card .subtitle { font-size: 14px !important; }
}

/* =========================================================
   FUNDO NOVO (aurora + bebês em bolhas + mascote)
   Montado pelo pupa-fundo.js. Sem o JS, o fundo antigo aparece.
   ========================================================= */
.bgx { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(170deg, #fdf8ea 0%, #f9eed6 55%, #f6e7cf 100%); }
body.fundo-novo .pupa-photo-container,
body.fundo-novo .animated-bg { display: none !important; }

/* Aurora: manchas de cor grandes e desfocadas se movendo devagar */
.bgx-aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.bgx-a1 { width: 620px; height: 620px; background: #b9cfa2; top: -180px; right: -120px; animation: auroraA 26s ease-in-out infinite; }
.bgx-a2 { width: 540px; height: 540px; background: #f2c3a4; bottom: -200px; left: -140px; animation: auroraB 30s ease-in-out infinite; }
.bgx-a3 { width: 420px; height: 420px; background: #f7e3a3; top: 38%; left: 42%; opacity: .45; animation: auroraC 34s ease-in-out infinite; }
.bgx-a4 { width: 360px; height: 360px; background: #d9cdea; top: 8%; left: -120px; opacity: .35; animation: auroraB 38s ease-in-out infinite reverse; }
@keyframes auroraA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-90px,70px) scale(1.12); } }
@keyframes auroraB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(110px,-60px) scale(1.08); } }
@keyframes auroraC { 0%,100% { transform: translate(-50%,-50%) translate(0,0) scale(1); } 33% { transform: translate(-50%,-50%) translate(80px,40px) scale(1.15); } 66% { transform: translate(-50%,-50%) translate(-70px,-30px) scale(.92); } }

/* Textura de papel (granulado suave) */
.bgx-grain { position: absolute; top: -50%; right: -50%; bottom: -50%; left: -50%; opacity: .16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Logo marca d'água */
.bgx-logo { position: absolute; width: 380px; right: -60px; bottom: -40px; opacity: .08; animation: rockSoft 12s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes rockSoft { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Fotos em bolhas com halo */
.bgx-photo { position: absolute; will-change: transform; }
.bgx-photo .bub { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; position: relative;
  border: 6px solid rgba(255,255,255,.95);
  box-shadow: 0 18px 40px rgba(90,70,50,.14), 0 0 0 10px rgba(255,255,255,.35); }
.bgx-photo .bub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bgx-photo::before { content: ""; position: absolute; top: -22px; right: -22px; bottom: -22px; left: -22px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo, rgba(185,207,162,.55)), transparent); filter: blur(6px); z-index: -1;
  animation: haloPulse 6s ease-in-out infinite; }
@keyframes haloPulse { 0%,100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.bgx-photo .drift { width: 100%; height: 100%; animation: drift 16s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0) rotate(-2deg); } 25% { transform: translate(10px,-18px) rotate(1deg); } 50% { transform: translate(-6px,-30px) rotate(3deg); } 75% { transform: translate(-14px,-12px) rotate(0deg); } }
.bgx-p1 { width: 150px; height: 150px; top: 9%; left: 5%; --halo: rgba(185,207,162,.6); }
.bgx-p2 { width: 190px; height: 190px; top: 20%; right: 4.5%; --halo: rgba(242,195,164,.6); }
.bgx-p3 { width: 120px; height: 120px; bottom: 7%; left: 3.5%; --halo: rgba(247,227,163,.7); }
.bgx-p4 { width: 140px; height: 140px; bottom: 5%; right: 2.5%; --halo: rgba(217,205,234,.7); }
.bgx-p5 { width: 96px; height: 96px; top: 52%; left: 2.5%; --halo: rgba(242,195,164,.55); }
.bgx-p2 .drift { animation-duration: 19s; animation-delay: -4s; }
.bgx-p3 .drift { animation-duration: 14s; animation-delay: -8s; }
.bgx-p4 .drift { animation-duration: 21s; animation-delay: -2s; }
.bgx-p5 .drift { animation-duration: 17s; animation-delay: -11s; }
.bgx-p2::before { animation-delay: -2s; } .bgx-p3::before { animation-delay: -4s; } .bgx-p4::before { animation-delay: -1s; }

/* Mascote Pupa de verdade, balançando como quem nina */
.bgx-cocoon { position: absolute; height: auto; object-fit: contain; opacity: .85; animation: cocoonRock 9s ease-in-out infinite; transform-origin: 50% 90%;
  filter: drop-shadow(0 8px 14px rgba(120,80,50,.15)); }
.bgx-c1 { width: 58px; top: 30%; left: 16%; }
.bgx-c2 { width: 44px; top: 11%; right: 22%; animation-delay: -3s; }
.bgx-c3 { width: 52px; top: 50%; right: 6%; animation-delay: -5s; }
.bgx-c4 { width: 40px; top: 66%; left: 9%; animation-delay: -7s; opacity: .7; }
@keyframes cocoonRock { 0%,100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(10deg) translateY(-8px); } }

/* Estrelinhas piscando */
.bgx-star { position: absolute; width: 14px; height: 14px; color: #e7c46a; animation: twinkle 4s ease-in-out infinite; }
.bgx-star svg { width: 100%; height: 100%; display: block; }
@keyframes twinkle { 0%,100% { opacity: .15; transform: scale(.6) rotate(0deg); } 50% { opacity: .9; transform: scale(1) rotate(45deg); } }

/* Zzz subindo */
.bgx-z { position: absolute; font-family: 'Braah One', 'Poppins', sans-serif; color: #9fbb84; opacity: 0; animation: zRise 9s ease-out infinite; }
@keyframes zRise { 0% { opacity: 0; transform: translate(0,0) rotate(-10deg) scale(.7); } 15% { opacity: .55; } 80% { opacity: .25; } 100% { opacity: 0; transform: translate(30px,-160px) rotate(12deg) scale(1.2); } }

/* Camada de parallax (mouse) */
.bgx-par { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transition: transform .9s cubic-bezier(.215,.61,.355,1); }

/* Celular: menos elementos, menores, longe do conteúdo */
@media (max-width: 1023px) {
  .bgx-aurora { filter: blur(50px); }
  .bgx-a1 { width: 380px; height: 380px; } .bgx-a2 { width: 360px; height: 360px; } .bgx-a3, .bgx-a4 { width: 260px; height: 260px; }
  .bgx-p1 { width: 92px; height: 92px; top: 2%; left: -18px; }
  .bgx-p2 { width: 110px; height: 110px; top: 34%; right: -34px; }
  .bgx-p3 { width: 80px; height: 80px; bottom: 6%; left: -14px; }
  .bgx-p4, .bgx-p5, .bgx-c1, .bgx-c4 { display: none; }
  .bgx-photo .bub { border-width: 4px; box-shadow: 0 10px 24px rgba(90,70,50,.12); }
  .bgx-logo { width: 260px; }
}

/* =========================================================
   DEVOLUÇÃO — etapa 5 "Outras opções" (troca pelo Asas)
   ========================================================= */
#app .asx { width: 100%; max-width: 460px; margin: 0 auto; padding-top: 6px; text-align: left; -webkit-font-smoothing: antialiased; }

#app .asx-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 26px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.3px;
    color: #4f453c;
    text-align: center;
    text-wrap: balance;
    margin: 0 0 10px;
}
.asx-sub { margin: 0 auto 22px; max-width: 400px; text-align: center; font-size: 14px; line-height: 1.55; color: #7a6d60; text-wrap: pretty; }

/* Card principal */
.asx-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 0 2px #7f9f62, 0 14px 34px rgba(100,130,74,.16);
    animation: asxIn .45s cubic-bezier(.215,.61,.355,1) backwards;
}
.asx-card-media { position: relative; background: #ece9e6; min-height: 100%; }
.asx-card-media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.asx-badge {
    position: absolute; left: 10px; top: 10px;
    padding: 4px 9px; border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #4f6a38; font-size: 10.5px; font-weight: 700; letter-spacing: .2px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.asx-card-body { padding: 18px 18px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.asx-card-body h3 { margin: 0; font-size: 18px; font-weight: 700; color: #4f453c; line-height: 1.25; }
.asx-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.asx-benefits li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; color: #5f544a; }
.asx-tick {
    width: 18px; height: 18px; min-width: 18px; margin-top: 1px;
    border-radius: 50%; background: #eef4e7; color: #64824a;
    display: flex; align-items: center; justify-content: center;
}
.asx-tick svg { width: 11px; height: 11px; }

#app .asx-cta {
    width: 100%;
    min-height: 50px;
    margin-top: 2px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 14px !important;
    font-size: 15px !important;
}
#app .asx-cta svg { width: 18px; height: 18px; }
#app .asx-cta:active { transform: scale(.97); }

/* Saiba mais (sanfona) */
.asx-more {
    margin-top: 14px;
    background: #fffaf0;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px #f0e2c8;
    overflow: hidden;
    animation: asxIn .45s .06s cubic-bezier(.215,.61,.355,1) backwards;
}
.asx-more summary {
    display: flex; align-items: center; gap: 10px;
    min-height: 52px; padding: 0 16px;
    cursor: pointer; list-style: none;
    font-size: 14px; font-weight: 600; color: #5d724a;
}
.asx-more summary::-webkit-details-marker { display: none; }
.asx-more-icon {
    width: 30px; height: 30px; min-width: 30px; border-radius: 10px;
    background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px;
    box-shadow: 0 1px 4px rgba(79,69,60,.08);
}
.asx-more-label { flex: 1; }
.asx-chevron { width: 20px; height: 20px; color: #9a8b78; transition: transform .25s cubic-bezier(.645,.045,.355,1); }
.asx-chevron svg { width: 100%; height: 100%; display: block; }
.asx-more[open] .asx-chevron { transform: rotate(180deg); }
.asx-more-body { padding: 2px 18px 16px; font-size: 13px; line-height: 1.6; color: #6f6357; }
.asx-more[open] .asx-more-body { animation: asxIn .3s cubic-bezier(.215,.61,.355,1) backwards; }
.asx-more-body p { margin: 0 0 10px; text-wrap: pretty; }
.asx-more-body h4 { margin: 12px 0 6px; font-size: 13.5px; font-weight: 700; color: #4f453c; }
.asx-more-body ul { margin: 0 0 6px; padding-left: 18px; }
.asx-more-body li { margin-bottom: 4px; }
.asx-more-foot { margin: 10px 0 0 !important; text-align: center; font-weight: 600; color: #d98a3d; }

/* Falar com a Lígia */
.asx-help {
    margin-top: 14px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px;
    background: #f5f1f9;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px #e6ddf0;
    animation: asxIn .45s .12s cubic-bezier(.215,.61,.355,1) backwards;
}
.asx-help-avatar {
    width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(108,91,123,.14);
}
.asx-help-avatar img { width: 26px; height: 26px; object-fit: contain; }
.asx-help-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.asx-help-text strong { font-size: 14px; color: #4a3e56; }
.asx-help-text span { font-size: 12.5px; line-height: 1.4; color: #6f6380; }
.asx-help-btn {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 42px; padding: 0 14px;
    border: 0; border-radius: 12px;
    background: #fff; color: #4a3e56;
    font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 0 0 1.5px #d8cbe8;
    cursor: pointer;
    transition: box-shadow .2s ease, background-color .2s ease, transform .15s ease;
}
.asx-help-btn svg { width: 16px; height: 16px; color: #25d366; }
.asx-help-btn:hover { background: #fdfcff; box-shadow: 0 0 0 1.5px #b9a6d1, 0 4px 12px rgba(108,91,123,.12); }
.asx-help-btn:active { transform: scale(.97); }

/* Rodapé */
.asx-footer { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.asx-continue {
    border: 0; background: none; cursor: pointer;
    min-height: 40px; padding: 0 12px;
    font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 500;
    color: #8f8273; text-decoration: underline; text-underline-offset: 3px;
    transition: color .2s ease;
}
.asx-continue:hover { color: #4f453c; }
#app .asx-back { min-height: 40px; }

@keyframes asxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Celular */
@media (max-width: 520px) {
    #app .asx-title { font-size: 22px !important; }
    .asx-sub { font-size: 13.5px; margin-bottom: 18px; }
    .asx-card { grid-template-columns: 1fr; }
    .asx-card-media { height: 210px; }
    .asx-card-media img { object-position: 50% 28%; }
    .asx-help { flex-wrap: wrap; }
    .asx-help-btn { width: 100%; justify-content: center; min-height: 46px; }
}

/* =========================================================
   DEVOLUÇÃO — etapa 7 "Finalizar"
   ========================================================= */
#page-devolucao .page-visual-column { justify-content: flex-start !important; }
#page-devolucao .page-visual-column .hero-image { margin-top: auto; display: flex; align-items: center; justify-content: center; }
#page-devolucao .page-visual-column .dvx-side { margin-bottom: auto; }

.dvx-side {
    width: 100%; max-width: 330px;
    margin: 18px auto 0;
    padding: 20px 20px 18px;
    text-align: center;
    background: #fffdf8;
    border-radius: 22px;
    box-shadow: 0 0 0 1px rgba(236,228,214,.9), 0 10px 26px rgba(79,69,60,.07);
    animation: dvxIn .5s .1s cubic-bezier(.215,.61,.355,1) backwards;
}
.dvx-side-title { margin: 0 0 6px !important; font-size: 16px !important; font-weight: 700 !important; color: #4f453c !important; }
.dvx-side-text { margin: 0 0 14px !important; font-size: 13px !important; line-height: 1.55 !important; color: #7a6d60 !important; text-wrap: pretty; }
.dvx-side-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 46px; padding: 0 16px;
    border: 0; border-radius: 14px;
    background: #fff; color: #4f453c;
    font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
    box-shadow: 0 0 0 1.5px #dfd3bf, 0 2px 6px rgba(79,69,60,.05);
    cursor: pointer;
    transition: box-shadow .2s ease, transform .15s ease;
}
.dvx-side-btn svg { width: 18px; height: 18px; color: #25d366; }
.dvx-side-btn:hover { box-shadow: 0 0 0 1.5px #7f9f62, 0 6px 16px rgba(100,130,74,.14); }
.dvx-side-btn:active { transform: scale(.97); }
.dvx-side-hours { display: block; margin-top: 8px; font-size: 11.5px; color: #a3998c; }
@media (max-width: 991px) { .dvx-side { display: none !important; } }
#page-devolucao .page-visual-column .checklist { display: none !important; }
#page-devolucao .animated-mascot { max-width: 340px !important; }

#app .dvx { -webkit-font-smoothing: antialiased; }
#app .dvx h1 { margin-bottom: 8px; }
.dvx-sub { margin: 0 0 20px !important; font-size: 14.5px !important; line-height: 1.6 !important; color: #7a6d60 !important; text-wrap: pretty; }

.dvx-card {
    background: #fff;
    border-radius: 22px;
    padding: 18px 18px 16px;
    box-shadow: 0 0 0 1px #ece4d6, 0 2px 4px rgba(79,69,60,.03), 0 10px 26px rgba(79,69,60,.06);
    animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards;
}
.dvx-card + .dvx-card { margin-top: 14px; animation-delay: .07s; }
.dvx-card-title {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 12px !important;
    font-family: 'Poppins', sans-serif; font-size: 15px !important; font-weight: 700 !important; color: #4f453c !important;
}
.dvx-ico {
    width: 32px; height: 32px; min-width: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 15px;
    background: #eef4e7;
}
.dvx-ico-amber { background: #fdf1dc; }

/* Passos */
.dvx-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dvx-steps li { position: relative; display: flex; gap: 12px; padding-bottom: 12px; }
.dvx-steps li:last-child { padding-bottom: 0; }
.dvx-steps li:not(:last-child)::before {
    content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; border-radius: 2px;
    background: linear-gradient(#cfdfbf, #e8f0df);
}
.dvx-num {
    width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #7f9f62; color: #fff; font-size: 13px; font-weight: 700;
    box-shadow: 0 3px 8px rgba(100,130,74,.25);
    font-variant-numeric: tabular-nums;
}
.dvx-steps div { display: flex; flex-direction: column; gap: 1px; padding-top: 4px; }
.dvx-steps strong { font-size: 14px; color: #4f453c; line-height: 1.35; }
.dvx-steps span:not(.dvx-num) { font-size: 12.5px; color: #8f8273; line-height: 1.45; }
.dvx-refund {
    display: flex; align-items: center; gap: 10px;
    margin-top: 14px; padding: 10px 12px;
    background: #f3f8ed; border-radius: 14px;
}
.dvx-refund span { font-size: 16px; }
.dvx-refund p { margin: 0 !important; font-size: 13px !important; line-height: 1.45 !important; color: #55693f !important; }
.dvx-refund strong { color: #4f6a38; }

/* Estado da peça + confirmação */
.dvx-terms > p { margin: 0 0 14px !important; font-size: 13px !important; line-height: 1.65 !important; color: #6f6357 !important; text-wrap: pretty; }
.dvx-confirm {
    display: flex; align-items: center; gap: 12px;
    min-height: 56px; padding: 12px 14px;
    border-radius: 16px;
    background: #fffaf0;
    box-shadow: inset 0 0 0 1.5px #ead9bd;
    cursor: pointer; user-select: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.dvx-confirm:hover { box-shadow: inset 0 0 0 1.5px #d9c19a; }
.dvx-confirm:active { transform: scale(.99); }
.dvx-confirm:focus-visible { outline: 3px solid rgba(127,159,98,.45); outline-offset: 2px; }
.dvx-box {
    width: 26px; height: 26px; min-width: 26px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: #fff;
    box-shadow: inset 0 0 0 2px #c9a978;
    transition: background-color .2s ease, box-shadow .2s ease;
}
.dvx-box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.5); filter: blur(2px); transition: opacity .2s ease, transform .25s cubic-bezier(.215,.61,.355,1), filter .2s ease; }
.dvx-confirm-text { font-size: 14px; font-weight: 600; color: #4f453c; line-height: 1.35; }
.dvx-confirm.is-checked { background: #f1f7ea; box-shadow: inset 0 0 0 2px #7f9f62; }
.dvx-confirm.is-checked .dvx-box { background: #7f9f62; box-shadow: none; }
.dvx-confirm.is-checked .dvx-box svg { opacity: 1; transform: scale(1); filter: none; }

/* Botão + aviso */
.dvx-actions { margin-top: 20px; }
#app .dvx-cta { width: 100%; min-height: 54px; gap: 6px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease, filter .2s ease; }
#app .dvx-cta:disabled {
    opacity: 1 !important;
    background: #e3ddd2 !important;
    color: #a3998c !important;
    box-shadow: none !important;
    cursor: not-allowed;
    transform: none !important;
    filter: none !important;
}
#app .dvx-cta:not(:disabled) { animation: dvxReady .35s cubic-bezier(.215,.61,.355,1); }
.dvx-hint {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin: 10px 0 4px !important; min-height: 20px;
    font-size: 12.5px !important; color: #a3998c !important; text-align: center;
    transition: color .2s ease;
}
.dvx-hint.is-ready { color: #64824a !important; font-weight: 500; }

@keyframes dvxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dvxReady { 0% { transform: scale(.98); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }

@media (max-width: 991px) {
    #page-devolucao .animated-mascot { max-width: 190px !important; }
}
@media (max-width: 520px) {
    .dvx-card { padding: 16px 14px 14px; border-radius: 20px; }
}

/* =========================================================
   DEVOLUÇÃO — etapa 6 "Antes da devolução"
   ========================================================= */
.cfx-feed { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 0 10px; }
.cfx-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #a08f7b; margin-bottom: 4px; }
#app .cfx-feed-title { margin: 0 0 18px !important; font-family: 'Poppins', sans-serif !important; font-size: 21px !important; font-weight: 700 !important; color: #5f7d45 !important; letter-spacing: -0.3px; }
.cfx-shots { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 300px; }
.cfx-shot {
    display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 30px rgba(79,69,60,.14);
    transition: transform .25s cubic-bezier(.215,.61,.355,1), box-shadow .25s ease;
    animation: dvxIn .5s cubic-bezier(.215,.61,.355,1) backwards;
}
.cfx-shot + .cfx-shot { animation-delay: .1s; }
.cfx-shot img { display: block; width: 100%; height: auto; }
.cfx-shot:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 18px 38px rgba(79,69,60,.18); }
.cfx-shot:active { transform: scale(.98); }
.cfx-zoom { margin-top: 12px; font-size: 11.5px; color: #a3998c; }

#app .cfx { max-width: 420px; margin: 0 auto; text-align: left; -webkit-font-smoothing: antialiased; }
#app .cfx-title { text-align: center; font-size: 26px !important; margin: 0 0 6px !important; }
.cfx-sub { text-align: center; margin: 0 0 14px !important; font-size: 14px !important; color: #7a6d60 !important; }

.cfx-check {
    list-style: none; margin: 0; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 10px;
    background: #fff; border-radius: 20px;
    box-shadow: 0 0 0 1px #ece4d6, 0 6px 18px rgba(79,69,60,.05);
    animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards;
}
.cfx-check li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: #55693f; line-height: 1.4; }
.cfx-tick { width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: #7f9f62; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(100,130,74,.25); }
.cfx-tick svg { width: 13px; height: 13px; }

.cfx-time {
    margin-top: 16px; padding: 16px;
    background: linear-gradient(160deg, #fff6ea 0%, #fdeedb 100%);
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px #f5d9b5, 0 8px 22px rgba(242,140,40,.10);
    display: flex; flex-direction: column; gap: 10px;
    animation: dvxIn .45s .07s cubic-bezier(.215,.61,.355,1) backwards;
}
.cfx-time-head { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.cfx-time-ico { width: 42px; height: 42px; min-width: 42px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 2px 8px rgba(242,140,40,.15); }
.cfx-time-head div { display: flex; flex-direction: column; gap: 1px; }
.cfx-time-head strong { font-size: 15px; color: #4f453c; }
.cfx-time-head span { font-size: 12.5px; color: #8a6f52; line-height: 1.4; }

.cfx-btn-amber, .cfx-btn-soft, .cfx-btn-continue {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; border: 0; cursor: pointer;
    font-family: 'Poppins', sans-serif; font-weight: 600;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.cfx-btn-amber svg, .cfx-btn-soft svg { width: 18px; height: 18px; }
.cfx-btn-amber {
    min-height: 52px; border-radius: 14px; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, #f6a355 0%, #ec8424 100%);
    box-shadow: 0 8px 18px rgba(236,132,36,.32);
}
.cfx-btn-amber:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(236,132,36,.38); }
.cfx-btn-soft {
    min-height: 46px; border-radius: 14px; font-size: 14px; color: #5f4a35;
    background: #fff; box-shadow: 0 0 0 1.5px #f0d3ae;
}
.cfx-btn-soft svg { color: #25d366; }
.cfx-btn-soft:hover { box-shadow: 0 0 0 1.5px #e3b47a, 0 4px 12px rgba(236,132,36,.12); }
.cfx-btn-amber:active, .cfx-btn-soft:active, .cfx-btn-continue:active { transform: scale(.97); }

.cfx-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; color: #8f8273; font-size: 13px; font-weight: 500; }
.cfx-divider::before, .cfx-divider::after { content: ""; flex: 1; height: 1px; background: #e8dfd1; }

.cfx-btn-continue {
    min-height: 50px; border-radius: 14px; font-size: 14.5px; color: #4f453c;
    background: #f6f1e8; box-shadow: inset 0 0 0 1.5px #e3d8c6;
}
.cfx-btn-continue:hover { background: #efe8dc; box-shadow: inset 0 0 0 1.5px #cfc1aa; }

.cfx-love { margin: 18px 0 2px !important; text-align: center; font-size: 12.5px !important; font-weight: 500; color: #7f9f62 !important; }
#app .cfx .btn-text { display: block; margin: 4px auto 0; min-height: 40px; }

@media (max-width: 991px) {
    .cfx-feed { padding-top: 6px; }
    .cfx-shots { flex-direction: row; max-width: 100%; gap: 10px; }
    .cfx-shot { flex: 1; max-height: 220px; }
    .cfx-shot img { height: 220px; object-fit: cover; object-position: top; }
}
@media (min-width: 992px) {
    #page-confirmacao-devolucao .page-form-column { display: flex !important; flex-direction: column !important; }
    #page-confirmacao-devolucao .page-form-column .cfx { margin-top: auto !important; margin-bottom: auto !important; }
    #page-confirmacao-devolucao .page-form-column .cfx { flex: 0 0 auto !important; padding-bottom: 40px; }
    .cfx-shots { max-width: 280px; }
}

/* =========================================================
   TROCA — "Como você deseja trocar?"
   ========================================================= */
#page-troca .tcx { max-width: 1120px; margin: 36px auto 48px; padding: 0 24px; -webkit-font-smoothing: antialiased; }
.tcx-head { text-align: center; margin-bottom: 30px; }
.tcx-head .logo { justify-content: center; margin-bottom: 14px; }
#app .tcx-head h1 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 30px !important; letter-spacing: -0.4px; color: #4f453c !important; margin: 0 0 6px !important; text-wrap: balance; }
.tcx-head p { margin: 0; font-size: 15px; color: #7a6d60; }

.tcx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }

.tcx-card {
    --tint: #f3f8ed; --accent: #64824a; --icon-bg: #e6efdb;
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(79,69,60,.06), 0 2px 4px rgba(79,69,60,.03), 0 16px 40px rgba(79,69,60,.08);
    transition: transform .25s cubic-bezier(.215,.61,.355,1), box-shadow .25s ease;
    animation: dvxIn .5s cubic-bezier(.215,.61,.355,1) backwards;
}
.tcx-card:nth-child(2) { animation-delay: .07s; }
.tcx-card:nth-child(3) { animation-delay: .14s; }
@media (hover: hover) and (pointer: fine) {
    .tcx-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(79,69,60,.06), 0 4px 8px rgba(79,69,60,.04), 0 24px 54px rgba(79,69,60,.12); }
}
.tcx-lilac { --tint: #f4f0f9; --accent: #6c5b7b; --icon-bg: #ebe3f4; }
.tcx-rose  { --tint: #fdf1f1; --accent: #a85c6a; --icon-bg: #f9e2e4; }

.tcx-top {
    padding: 24px 22px 18px;
    background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
}
.tcx-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 25px; background: var(--icon-bg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
    margin-bottom: 14px;
}
.tcx-tag {
    display: inline-block; margin-bottom: 6px;
    padding: 3px 10px; border-radius: 999px;
    background: #fff; color: var(--accent);
    font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    box-shadow: 0 0 0 1px rgba(79,69,60,.08);
}
#app .tcx-top h2 { margin: 0 0 6px !important; font-family: 'Poppins', sans-serif; font-size: 20px !important; font-weight: 700 !important; color: #4f453c !important; letter-spacing: -0.2px; }
.tcx-top p { margin: 0; font-size: 14px; line-height: 1.55; color: #6f6357; text-wrap: pretty; }

.tcx-body { padding: 4px 22px 0; display: flex; flex-direction: column; gap: 12px; }

.tcx-tick { width: 20px; height: 20px; min-width: 20px; border-radius: 50%; background: #7f9f62; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tcx-tick svg { width: 12px; height: 12px; }
.tcx-perk { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #f1f7ea; font-size: 13.5px; font-weight: 700; color: #4f6a38; }

/* Tabela de medidas */
.tcx-table { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ece4d6; overflow: hidden; }
.tcx-table summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 600; color: #4f453c; transition: background-color .2s ease; }
.tcx-table summary::-webkit-details-marker { display: none; }
.tcx-table summary:hover { background: #faf7f1; }
.tcx-chev { width: 18px; height: 18px; color: #7f9f62; transition: transform .25s cubic-bezier(.645,.045,.355,1); }
.tcx-chev svg { width: 100%; height: 100%; display: block; }
.tcx-table[open] .tcx-chev { transform: rotate(180deg); }
.tcx-table-body { padding: 4px 14px 12px; animation: dvxIn .3s cubic-bezier(.215,.61,.355,1) backwards; }
.tcx-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f1ebe1; font-size: 13px; color: #6f6357; }
.tcx-row:last-of-type { border-bottom: 0; }
.tcx-row b { min-width: 34px; text-align: center; padding: 2px 8px; border-radius: 999px; background: #eef4e7; color: #5f7d45; font-size: 12px; }
.tcx-row span { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
.tcx-row small { font-size: 10.5px; color: #a3998c; font-style: italic; margin-top: 2px; }
.tcx-table-tip { margin: 8px 0 0; text-align: center; font-size: 11.5px; color: #8f8273; font-style: italic; }

/* Modelos */
.tcx-models { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tcx-models li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; background: #fbf9fd; box-shadow: 0 0 0 1px #ece5f4; }
.tcx-thumb { width: 50px; height: 50px; min-width: 50px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 0 1px rgba(79,69,60,.06); }
.tcx-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.tcx-models div { display: flex; flex-direction: column; gap: 1px; }
.tcx-models strong { font-size: 14px; color: #4a3e56; }
.tcx-models span:not(.tcx-thumb) { font-size: 12.5px; color: #7a6f86; line-height: 1.35; }

/* Gestação */
.tcx-quote { padding: 14px 16px; border-radius: 16px; background: #fff7ef; box-shadow: inset 0 0 0 1px #f3dcc0; }
.tcx-quote p { margin: 0; font-size: 13px; line-height: 1.55; color: #7a5a2e; text-wrap: pretty; }
.tcx-quote strong { color: #5c3f15; }
.tcx-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tcx-checks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #55693f; font-weight: 500; }

/* Rodapé do card */
.tcx-foot { margin-top: auto; padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tcx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 52px; border: 0; border-radius: 14px; cursor: pointer;
    font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: #fff;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.tcx-btn svg { width: 18px; height: 18px; }
.tcx-btn-green { background: linear-gradient(135deg, #86a768 0%, #64824a 100%); box-shadow: 0 8px 18px rgba(100,130,74,.28); }
.tcx-btn-wa { background: linear-gradient(135deg, #2bd56c 0%, #1ea952 100%); box-shadow: 0 8px 18px rgba(30,169,82,.26); }
.tcx-btn:hover { transform: translateY(-2px); filter: brightness(1.03); }
.tcx-btn:active { transform: scale(.97); }
.tcx-note { font-size: 11.5px; color: #8f8273; }

.tcx-back { text-align: center; margin-top: 28px; }
#app .tcx-back .btn-text { min-height: 40px; }

@media (max-width: 960px) {
    .tcx-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 16px; }
    #page-troca .tcx { margin-top: 24px; padding: 0 16px; }
    #app .tcx-head h1 { font-size: 25px !important; }
    .tcx-head p { font-size: 14px; }
    .tcx-card { animation-delay: 0s !important; }
}

/* =========================================================
   DÚVIDA DE TAMANHO — calculadora
   ========================================================= */
.tmx { -webkit-font-smoothing: antialiased; }
.tmx-step { margin-bottom: 16px; }
.tmx-label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: #4f453c; line-height: 1.5; }
.tmx-label b { margin-right: 6px; vertical-align: -5px; width: 22px; height: 22px; min-width: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #7f9f62; color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.tmx-label span { font-weight: 400; color: #8f8273; }

.tmx-models { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tmx-model {
    position: relative; display: flex; align-items: center; gap: 10px;
    min-height: 68px; padding: 8px 12px 8px 8px; border: 0; border-radius: 18px;
    background: #fff; text-align: left; cursor: pointer; font-family: 'Poppins', sans-serif;
    box-shadow: 0 0 0 1.5px #ece4d6, 0 2px 6px rgba(79,69,60,.04);
    transition: box-shadow .2s ease, background-color .2s ease, transform .15s ease;
}
.tmx-model:hover { box-shadow: 0 0 0 1.5px #d6c9b4, 0 6px 14px rgba(79,69,60,.07); }
.tmx-model:active { transform: scale(.98); }
.tmx-model.is-active { background: #f3f8ed; box-shadow: 0 0 0 2px #7f9f62, 0 8px 18px rgba(100,130,74,.14); }
.tmx-model-img { width: 50px; height: 50px; min-width: 50px; border-radius: 12px; overflow: hidden; background: #ece9e6; box-shadow: inset 0 0 0 1px rgba(79,69,60,.06); }
.tmx-model-img img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); transform-origin: 50% 12%; }
.tmx-model-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.tmx-model-text strong { font-size: 14px; color: #4f453c; line-height: 1.25; }
.tmx-model-text small { font-size: 11.5px; color: #8f8273; }
.tmx-radio { width: 20px; height: 20px; min-width: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px #d9cfbf; transition: box-shadow .2s ease; }
.tmx-model.is-active .tmx-radio { box-shadow: inset 0 0 0 6px #7f9f62; }

.tmx-weight { position: relative; }
.content-card .tmx-weight input {
    width: 100%; box-sizing: border-box;
    min-height: 56px !important; padding: 0 56px 0 16px !important;
    border: 1.5px solid var(--pupa-line-strong) !important; border-radius: var(--pupa-radius-sm) !important;
    background-color: var(--pupa-cream-soft) !important; color: var(--pupa-ink) !important;
    font-family: 'Poppins', sans-serif; font-size: 18px !important; font-weight: 600; font-variant-numeric: tabular-nums;
    outline: none; -moz-appearance: textfield; appearance: textfield;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.content-card .tmx-weight input::-webkit-outer-spin-button,
.content-card .tmx-weight input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.content-card .tmx-weight input::placeholder { color: #b3a797; font-weight: 400; }
.content-card .tmx-weight input:hover { border-color: #cfc2ad !important; }
.content-card .tmx-weight input:focus { border-color: var(--pupa-green) !important; background-color: #fff !important; box-shadow: 0 0 0 4px rgba(127,159,98,.16) !important; }
.tmx-unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 15px; font-weight: 600; color: #8f8273; pointer-events: none; }

.tmx-optional { margin: 4px 0 16px; border-radius: 16px; background: #fffaf0; box-shadow: inset 0 0 0 1px #f0e2c8; }
.tmx-optional summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 600; color: #5f544a; }
.tmx-optional summary::-webkit-details-marker { display: none; }
.tmx-optional summary em { font-style: normal; font-weight: 400; color: #a3998c; }
.tmx-chev { width: 18px; height: 18px; color: #9a8b78; transition: transform .25s cubic-bezier(.645,.045,.355,1); }
.tmx-chev svg { width: 100%; height: 100%; display: block; }
.tmx-optional[open] .tmx-chev { transform: rotate(180deg); }
.tmx-optional-hint { margin: -4px 14px 10px !important; font-size: 12px !important; color: #8f8273 !important; }
.tmx-optional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 14px; }
.tmx-optional-grid .form-group { margin-bottom: 0 !important; }
.tmx-optional-grid input { background-color: #fff !important; }

.content-card .tmx-cta { min-height: 54px; font-size: 15.5px !important; }

/* Resultado */
.tmx .result-box { position: relative; text-align: center; padding: 22px 18px 18px !important; }
.tmx .result-box::before { content: "Tamanho recomendado"; display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #64824a; }
.tmx .result-box .size-tag { display: inline-block; margin-bottom: 10px; padding: 8px 22px; border-radius: 14px; font-size: 22px !important; }
.tmx .result-box p { text-wrap: pretty; line-height: 1.55 !important; }
.tmx .result-box.tmx-pop { animation: pupaPop .35s cubic-bezier(.215,.61,.355,1); }

/* Tabela de referência */
.tmx-ref { margin-top: 20px; padding-top: 16px; border-top: 1px dashed #e6dccb; }
.tmx-ref-title { display: block; margin-bottom: 10px; font-size: 12px; color: #8f8273; text-align: center; }
.tmx-ref-title b { color: #5f544a; }
.tmx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tmx-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 6px; border-radius: 999px;
    background: #fff; font-size: 12.5px; color: #6f6357;
    box-shadow: 0 0 0 1px #ece4d6;
    font-variant-numeric: tabular-nums;
    transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}
.tmx-chip b { min-width: 28px; height: 24px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #eef4e7; color: #5f7d45; font-size: 12px; }
.tmx-chip.is-match { background: #7f9f62; color: #fff; box-shadow: 0 6px 14px rgba(100,130,74,.28); transform: translateY(-1px); }
.tmx-chip.is-match b { background: #fff; color: #4f6a38; }
.tmx-chips[hidden] { display: none; }

.tmx-hours { margin: 16px 0 0; font-size: 12px; color: #8f8273; text-align: center; }

@media (max-width: 480px) {
    .tmx-models { grid-template-columns: 1fr; }
    .tmx-optional-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ALTERAÇÃO DE PEDIDO
   ========================================================= */
.alx { -webkit-font-smoothing: antialiased; }
.alx-intro { margin: 0 0 18px !important; font-size: 14.5px !important; line-height: 1.6; color: #6f6357 !important; }

.alx-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.alx-case {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px; border-radius: 18px;
    animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards;
}
.alx-case + .alx-case { animation-delay: .07s; }
.alx-ok { background: #f2f7ec; box-shadow: inset 0 0 0 1px #dbe8cd; }
.alx-warn { background: #fff7ec; box-shadow: inset 0 0 0 1px #f3dcbc; }
.alx-case-ico {
    width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; color: #fff;
}
.alx-case-ico svg { width: 15px; height: 15px; }
.alx-ok .alx-case-ico { background: #7f9f62; box-shadow: 0 3px 8px rgba(100,130,74,.25); }
.alx-warn .alx-case-ico { background: #e59a3c; box-shadow: 0 3px 8px rgba(229,154,60,.28); }
.alx-case strong { display: block; margin-bottom: 3px; font-size: 14px; line-height: 1.3; color: #4f453c; }
.alx-case p { margin: 0 !important; font-size: 13px !important; line-height: 1.5 !important; color: #6f6357 !important; text-wrap: pretty; }
.alx-warn p { color: #7a5a2e !important; }

.alx-form { padding-top: 18px; border-top: 1px dashed #e6dccb; }
.alx-form-title { margin: 0 0 12px !important; font-size: 13.5px !important; font-weight: 600; color: #4f453c !important; }
.alx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alx-fields .form-group { margin-bottom: 0 !important; }
.content-card .alx-cta { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 16px; }
.alx-cta svg { width: 19px; height: 19px; }
.alx-hours { margin: 10px 0 0 !important; text-align: center; font-size: 12px !important; color: #8f8273 !important; }

@media (max-width: 560px) {
    .alx-cases, .alx-fields { grid-template-columns: 1fr; }
}

/* =========================================================
   PARCERIAS
   ========================================================= */
.pcx { -webkit-font-smoothing: antialiased; }
.pcx-intro { margin: 0 0 14px !important; font-size: 14.5px !important; color: #6f6357 !important; }

.pcx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcx-stat {
    position: relative; display: flex; flex-direction: column;
    padding: 16px 16px 14px; border-radius: 20px; overflow: hidden;
    animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards;
}
.pcx-stat + .pcx-stat { animation-delay: .06s; }
.pcx-stat-green { background: linear-gradient(160deg, #f1f7ea 0%, #e6f0da 100%); box-shadow: inset 0 0 0 1px #d8e6c8; }
.pcx-stat-lilac { background: linear-gradient(160deg, #f5f1fa 0%, #ece4f5 100%); box-shadow: inset 0 0 0 1px #e1d6ee; }
.pcx-stat-ico { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pcx-stat strong { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.5px; color: #4f453c; font-variant-numeric: tabular-nums; }
.pcx-stat-green strong { color: #4f6a38; }
.pcx-stat-lilac strong { color: #5a4870; font-size: 24px; }
.pcx-stat-label { font-size: 13px; font-weight: 600; color: #6f6357; margin-top: 2px; }
.pcx-stat small { margin-top: 8px; font-size: 12px; color: #7a6d60; line-height: 1.4; }

.pcx-niche {
    display: flex; align-items: center; gap: 12px;
    margin-top: 10px; padding: 12px 14px; border-radius: 18px;
    background: #fffaf0; box-shadow: inset 0 0 0 1px #f0e2c8;
    animation: dvxIn .45s .12s cubic-bezier(.215,.61,.355,1) backwards;
}
.pcx-niche-ico { width: 36px; height: 36px; min-width: 36px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 2px 6px rgba(214,170,60,.18); }
.pcx-niche div { display: flex; flex-direction: column; gap: 1px; }
.pcx-niche strong { font-size: 14px; color: #4f453c; }
.pcx-niche span { font-size: 12.5px; line-height: 1.45; color: #7a6d60; }

.pcx-start { margin-top: 22px; padding-top: 18px; border-top: 1px dashed #e6dccb; text-align: center; }
.pcx-start-text { margin: 0 0 12px !important; font-size: 14px !important; font-weight: 500; color: #4f453c !important; text-wrap: balance; }
.pcx-preview { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pcx-preview span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #ece4d6; font-size: 12.5px; color: #5f544a; }
.pcx-preview b { width: 22px; height: 22px; border-radius: 50%; background: #7f9f62; color: #fff; font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center; }
.pcx-preview i { width: 18px; height: 2px; border-radius: 2px; background: #d9cfbf; }
.content-card .pcx-cta { min-height: 54px; gap: 6px; }

/* Etapas */
.pcx-steps.pcx-in { animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards; }
.pcx-banner { margin: 4px 0 18px; padding: 14px 16px; border-radius: 16px; text-align: center; font-size: 14.5px; font-weight: 700; color: #4f453c; background: linear-gradient(135deg, #fff5e8 0%, #ffefdc 100%); box-shadow: inset 0 0 0 1px #f0d9b5; text-wrap: balance; }
.pcx-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pcx-step { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.pcx-step:last-child { padding-bottom: 0; }
.pcx-step:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(#d9cbb5, #ece4d6); }
.pcx-num { width: 34px; height: 34px; min-width: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #8b7355; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 4px 10px rgba(139,115,85,.28); margin-top: 6px; }
.pcx-step-card { flex: 1; min-width: 0; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #ece4d6, 0 6px 18px rgba(79,69,60,.05); }
.content-card .pcx-step-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #4f453c; }
.pcx-step-card > p { margin: 0 0 14px !important; font-size: 13px !important; line-height: 1.55; color: #6f6357 !important; text-wrap: pretty; }
.pcx-btn-wine {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; min-height: 52px; border-radius: 14px; text-decoration: none;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: #fff !important;
    background: linear-gradient(135deg, #8b2252 0%, #a0284e 50%, #7a1b45 100%);
    box-shadow: 0 8px 18px rgba(139,34,82,.32);
    transition: transform .15s ease, box-shadow .2s ease;
}
.pcx-btn-wine:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(139,34,82,.4); }
.pcx-btn-wine:active { transform: scale(.97); }
.pcx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.content-card .pcx-wa { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: 4px; }
.pcx-wa svg { width: 19px; height: 19px; }

@media (max-width: 520px) {
    .pcx-stat strong { font-size: 24px; }
    .pcx-stat-lilac strong { font-size: 20px; }
    .pcx-stat-ico { width: 30px; height: 30px; font-size: 15px; }
    .pcx-two { grid-template-columns: 1fr; }
    .pcx-preview i { display: none; }
    .pcx-step { gap: 10px; }
    .pcx-num { width: 30px; height: 30px; min-width: 30px; font-size: 13px; }
    .pcx-step:not(:last-child)::before { left: 14px; }
    .pcx-step-card { padding: 14px 12px; }
}
.pcx-stat { padding-right: 52px; }
@media (max-width: 520px) {
    .pcx-stat { padding: 46px 14px 14px; }
    .pcx-stat-ico { left: 14px; right: auto; top: 12px; }
}

/* =========================================================
   CÓDIGO DE RASTREIO
   ========================================================= */
.rsx { -webkit-font-smoothing: antialiased; }
.rsx-intro { margin: 0 0 16px !important; font-size: 14.5px !important; line-height: 1.6; color: #6f6357 !important; text-wrap: pretty; }

.rsx-track { list-style: none; margin: 0 0 12px; padding: 16px 8px 14px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; background: #f6faf1; border-radius: 20px; box-shadow: inset 0 0 0 1px #dfeacf; animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards; }
.rsx-track li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 0 4px; }
.rsx-track li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, #a9c28f 0 6px, transparent 6px 11px); }
.rsx-dot { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #fff; box-shadow: 0 0 0 2px #cfe0bd, 0 4px 10px rgba(100,130,74,.12); margin-bottom: 6px; }
.rsx-track strong { font-size: 13.5px; color: #4f453c; }
.rsx-track small { font-size: 11.5px; line-height: 1.35; color: #8f8273; }

.rsx-tip, .rsx-wait { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; }
.rsx-tip { background: #fffaf0; box-shadow: inset 0 0 0 1px #f0e2c8; animation: dvxIn .45s .06s cubic-bezier(.215,.61,.355,1) backwards; }
.rsx-tip span, .rsx-wait span { font-size: 17px; }
.rsx-tip p, .rsx-wait p { margin: 0 !important; font-size: 13px !important; line-height: 1.5 !important; color: #6f6357 !important; text-wrap: pretty; }
.rsx-tip strong, .rsx-wait strong { color: #4f453c; }

.rsx-form { margin-top: 20px; padding-top: 18px; border-top: 1px dashed #e6dccb; }
.rsx-form-title { margin: 0 0 12px !important; font-size: 13.5px !important; font-weight: 600; color: #4f453c !important; text-wrap: balance; }
.rsx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rsx-fields .form-group { margin-bottom: 0 !important; }
.content-card .rsx-cta { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 16px; }
.rsx-cta svg { width: 19px; height: 19px; }
.rsx-hours { margin: 10px 0 0 !important; text-align: center; font-size: 12px !important; color: #8f8273 !important; }

.rsx-wait { margin-top: 18px; background: #f5f1fa; box-shadow: inset 0 0 0 1px #e6ddf0; }

@media (max-width: 560px) {
    .rsx-fields { grid-template-columns: 1fr; }
    .rsx-track small { display: none; }
    .rsx-track li:not(:last-child)::after { left: calc(50% + 24px); right: calc(-50% + 24px); }
}

/* =========================================================
   ENTRADAS — modelo + identificação (Devolução e Troca)
   ========================================================= */
/* Lado esquerdo (texto de boas-vindas) */
#page-intro .page-visual-column .page-content { max-width: 360px; margin: 0 auto; }
#app #page-intro .title-centered { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; letter-spacing: -0.4px; text-wrap: balance; }
#page-intro .heart-icon-wrapper { margin: 6px 0 10px !important; }
#page-intro .desc-centered { font-size: 14px !important; line-height: 1.6 !important; color: #6f6357 !important; text-wrap: pretty; }
.ent-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.ent-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px #ece4d6; font-size: 12px; font-weight: 600; color: #5f544a; }
#page-intro .hero-image-centered img { border-radius: 28px !important; box-shadow: 0 0 0 1px rgba(79,69,60,.06), 0 18px 40px rgba(79,69,60,.12) !important; }

/* Formulário */
#page-intro .page-form-column { justify-content: center !important; align-items: center !important; }
.ent-box { width: 100%; max-width: 360px; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards; }
#app .ent-title { margin: 0 0 4px !important; text-align: center; font-family: 'Poppins', sans-serif !important; font-size: 24px !important; font-weight: 700 !important; letter-spacing: -0.3px; color: #4f453c !important; }
.ent-sub { margin: 0 0 20px !important; text-align: center; font-size: 13.5px !important; color: #8f8273 !important; }
.ent-form { display: flex; flex-direction: column; gap: 14px; }
.ent-form .form-group { margin: 0 !important; }
#app .ent-form label { display: block; margin-bottom: 6px; font-size: 12px !important; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #6f6357 !important; }
.ent-field { position: relative; }
.ent-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #a99c8a; pointer-events: none; transition: color .2s ease; }
.ent-ico svg { width: 100%; height: 100%; display: block; }
#app .ent-field input { width: 100%; box-sizing: border-box; min-height: 54px; padding-left: 44px !important; font-size: 16px !important; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.ent-field:focus-within .ent-ico { color: #64824a; }
.ent-help { display: block; margin-top: 6px; font-size: 12px; color: #8f8273; }

/* erro (o script pinta a borda de vermelho) */
#app input[style*="221, 119, 116"], #app input[style*="dd7774"] { border-color: #dd7774 !important; box-shadow: 0 0 0 4px rgba(221,119,116,.15) !important; background: #fff7f6 !important; }
#app .option-card[style*="221, 119, 116"], #app .option-card[style*="dd7774"] { box-shadow: 0 0 0 2px #dd7774 !important; }

.ent-actions { margin-top: 22px !important; width: 100%; }
#app .ent-actions .btn-primary { width: 100%; min-height: 54px; gap: 6px; }
.ent-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #8f8273; }
.ent-safe svg { width: 14px; height: 14px; color: #7f9f62; }
#app .ent-back { align-self: center; margin-top: 6px; min-height: 40px; }

/* Escolha do modelo */
#page-escolha-modelo .options-list { gap: 12px !important; }
#app #page-escolha-modelo .option-card.ent-model {
    display: flex; align-items: center; gap: 14px;
    min-height: 88px; padding: 12px 16px 12px 12px !important;
    border: 0 !important; border-radius: 20px !important; background: #fff !important;
    box-shadow: 0 0 0 1.5px #ece4d6, 0 2px 6px rgba(79,69,60,.04) !important;
    transition: box-shadow .2s ease, background-color .2s ease, transform .15s ease !important;
}
#app #page-escolha-modelo .option-card.ent-model:hover { transform: none; box-shadow: 0 0 0 1.5px #d6c9b4, 0 8px 18px rgba(79,69,60,.08) !important; }
#app #page-escolha-modelo .option-card.ent-model:active { transform: scale(.985); }
#app #page-escolha-modelo .option-card.ent-model.selected { background: #f3f8ed !important; box-shadow: 0 0 0 2px #7f9f62, 0 10px 22px rgba(100,130,74,.14) !important; }
.ent-model-imgs { display: flex; gap: 4px; }
.ent-model-imgs img { width: 56px; height: 64px; object-fit: contain; border-radius: 12px; background: #faf7f2; padding: 4px; box-shadow: inset 0 0 0 1px rgba(79,69,60,.05); }
.ent-model-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ent-model-text strong { font-size: 15.5px; color: #4f453c; line-height: 1.25; }
.ent-model-text small { font-size: 12.5px; color: #8f8273; line-height: 1.35; }
#page-escolha-modelo .ent-model .option-radio { margin: 0 0 0 4px !important; }

@media (max-width: 991px) {
    .ent-box { max-width: 420px; }
    .ent-chips { display: none; }
}
@media (max-width: 420px) {
    .ent-model-imgs img { width: 46px; height: 54px; }
}
@media (max-width: 991px) {
    #page-intro .page-form-column { background: #fff !important; border-radius: 28px 28px 0 0; padding-top: 26px !important; }
}

/* =========================================================
   DEVOLUÇÃO — etapa 3 (Dificuldade) e 4 (Adaptação)
   ========================================================= */
#page-dificuldade .dfx-list { gap: 10px !important; }
#app #page-dificuldade .option-card.dfx-opt {
    display: flex; align-items: center; gap: 14px;
    min-height: 74px; padding: 12px 16px 12px 12px !important;
    border: 0 !important; border-radius: 20px !important; background: #fff !important;
    box-shadow: 0 0 0 1.5px #ece4d6, 0 2px 6px rgba(79,69,60,.04) !important;
    transition: box-shadow .2s ease, background-color .2s ease, transform .15s ease !important;
    animation: dvxIn .4s cubic-bezier(.215,.61,.355,1) backwards;
}
#page-dificuldade .dfx-opt:nth-child(2) { animation-delay: .04s; }
#page-dificuldade .dfx-opt:nth-child(3) { animation-delay: .08s; }
#page-dificuldade .dfx-opt:nth-child(4) { animation-delay: .12s; }
#app #page-dificuldade .option-card.dfx-opt:hover { transform: none; box-shadow: 0 0 0 1.5px #d6c9b4, 0 8px 18px rgba(79,69,60,.08) !important; }
#app #page-dificuldade .option-card.dfx-opt:active { transform: scale(.985); }
#app #page-dificuldade .option-card.dfx-opt.selected { background: #f3f8ed !important; box-shadow: 0 0 0 2px #7f9f62, 0 10px 22px rgba(100,130,74,.14) !important; }
.dfx-emoji { width: 48px; height: 48px; min-width: 48px; border-radius: 14px; background: #f6efe3; display: flex; align-items: center; justify-content: center; font-size: 23px; transition: background-color .2s ease; }
.dfx-opt.selected .dfx-emoji { background: #fff; }
.dfx-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dfx-text strong { font-size: 15px; line-height: 1.3; color: #4f453c; text-wrap: balance; }
.dfx-text small { font-size: 12.5px; color: #8f8273; line-height: 1.35; }
#page-dificuldade .dfx-opt .option-radio { margin: 0 !important; }

/* Etapa 4 — vídeo à esquerda */
.adx-video { flex: 1; width: 100%; max-width: 330px; display: flex; flex-direction: column; justify-content: center; gap: 12px; margin: 18px auto; animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards; }
.adx-video-head { text-align: center; }
.adx-video-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #ece4d6; font-size: 11.5px; font-weight: 700; color: #64824a; }
.adx-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #7f9f62; }
.adx-dot::after { content: ""; position: absolute; top: -4px; right: -4px; bottom: -4px; left: -4px; border-radius: 50%; background: rgba(127,159,98,.35); animation: adPing 1.8s ease-out infinite; }
#app .adx-video-head h3 { margin: 10px 0 0 !important; font-family: 'Poppins', sans-serif; font-size: 17px !important; font-weight: 700 !important; color: #4f453c !important; line-height: 1.3; text-wrap: balance; }
.adx-video-frame { padding: 8px; border-radius: 30px; background: #2f2924; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 20px 50px rgba(79,69,60,.22); }
.adx-video-frame video, .adx-video-frame .plyr { display: block; width: 100%; border-radius: 22px !important; overflow: hidden; }
#page-adaptacao .visual-desc-panel { display: none !important; }
@keyframes adPing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* Etapa 4 — conteúdo */
#app .adx { max-width: 420px; margin: 0 auto; text-align: left; -webkit-font-smoothing: antialiased; }
#app .adx-title { text-align: center; font-size: 24px !important; line-height: 1.25 !important; margin: 0 0 8px !important; }
.adx-sub { text-align: center; margin: 0 0 18px !important; font-size: 14px !important; line-height: 1.55 !important; color: #7a6d60 !important; text-wrap: pretty; }
.adx-plan { padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #ece4d6, 0 8px 22px rgba(79,69,60,.05); animation: dvxIn .45s cubic-bezier(.215,.61,.355,1) backwards; }
.adx-plan-tag { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: #4f453c; }
.adx-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.adx-steps li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.adx-steps li:last-child { padding-bottom: 0; }
.adx-steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 2px; border-radius: 2px; background: linear-gradient(#f3d9b0, #d9d4ec); }
.adx-ico { width: 40px; height: 40px; min-width: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.adx-sun { background: #fff3df; } .adx-cloud { background: #eef1f6; } .adx-moon { background: #ece8f7; }
.adx-steps div { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.adx-steps strong { font-size: 14px; color: #4f453c; }
.adx-steps span:not(.adx-ico) { font-size: 13px; line-height: 1.5; color: #6f6357; }

.adx-offer { position: relative; margin-top: 14px; padding: 18px 16px 16px; border-radius: 22px; text-align: center; background: linear-gradient(160deg, #fff6ea 0%, #fdeedb 100%); box-shadow: inset 0 0 0 1px #f5d9b5, 0 8px 22px rgba(242,140,40,.10); display: flex; flex-direction: column; gap: 10px; animation: dvxIn .45s .07s cubic-bezier(.215,.61,.355,1) backwards; }
.adx-mascot { width: 58px; height: auto; margin: -2px auto 0; animation: float-mascot 3.5s ease-in-out infinite; }
.adx-offer p { margin: 0 0 4px !important; font-size: 13.5px !important; font-weight: 600; line-height: 1.55 !important; color: #7a5a2e !important; text-wrap: balance; }
.adx-offer b { padding: 1px 8px; border-radius: 999px; background: #fff; color: #4f6a38; white-space: nowrap; }
.adx-btn-main, .adx-btn-soft { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease; }
.adx-btn-main svg, .adx-btn-soft svg { width: 18px; height: 18px; min-width: 18px; }
.adx-btn-main { min-height: 54px; padding: 8px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.3; color: #fff; background: linear-gradient(135deg, #f6a355 0%, #ec8424 100%); box-shadow: 0 8px 18px rgba(236,132,36,.32); }
.adx-btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(236,132,36,.38); }
.adx-btn-soft { min-height: 48px; padding: 8px 14px; border-radius: 14px; font-size: 14px; color: #5f4a35; background: #fff; box-shadow: 0 0 0 1.5px #f0d3ae; }
.adx-btn-soft svg { color: #25d366; }
.adx-btn-soft:hover { box-shadow: 0 0 0 1.5px #e3b47a, 0 4px 12px rgba(236,132,36,.12); }
.adx-btn-main:active, .adx-btn-soft:active, .adx-continue:active { transform: scale(.97); }
.adx-continue { display: block; width: 100%; margin-top: 18px; min-height: 48px; padding: 8px 14px; border: 0; border-radius: 14px; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600; color: #4f453c; background: #f6f1e8; box-shadow: inset 0 0 0 1.5px #e3d8c6; transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease; }
.adx-continue:hover { background: #efe8dc; box-shadow: inset 0 0 0 1.5px #cfc1aa; }
#app .adx-back { display: block; margin: 6px auto 0; min-height: 40px; }

@media (min-width: 992px) {
    #page-adaptacao .page-form-column, #page-dificuldade .page-form-column { display: flex !important; flex-direction: column !important; }
    #page-adaptacao .page-form-column .adx { flex: 0 0 auto !important; margin-top: auto !important; margin-bottom: auto !important; padding-bottom: 30px; }
}
@media (max-width: 991px) {
    .adx-video { max-width: 260px; margin: 8px auto 4px; }
    .adx-video-head h3 { font-size: 15px !important; }
}
.adx-video-frame { width: 100%; max-width: 270px; margin: 0 auto; }
.adx-video-frame video { aspect-ratio: 9 / 16; object-fit: cover; background: #2f2924; }
.adx-video-frame .plyr { aspect-ratio: 9 / 16; }
@media (max-width: 991px) { .adx-video-frame { max-width: 210px; } }

/* =========================================================
   VÍDEOS EM TELA CHEIA — mostrar o vídeo inteiro, sem cortar
   (uma regra por seletor: navegadores ignoram a regra inteira
   se não entendem um dos seletores do grupo)
   ========================================================= */
.plyr.plyr--fullscreen-active {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    background: #000 !important;
}
.plyr:fullscreen {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    background: #000 !important;
}
.plyr:-webkit-full-screen {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    background: #000 !important;
}
.plyr.plyr--fullscreen-active .plyr__video-wrapper {
    aspect-ratio: auto !important;
    height: 100% !important;
    padding-bottom: 0 !important;
    background: #000 !important;
}
.plyr:fullscreen .plyr__video-wrapper {
    aspect-ratio: auto !important;
    height: 100% !important;
    padding-bottom: 0 !important;
    background: #000 !important;
}
.plyr:-webkit-full-screen .plyr__video-wrapper {
    aspect-ratio: auto !important;
    height: 100% !important;
    padding-bottom: 0 !important;
    background: #000 !important;
}
.plyr.plyr--fullscreen-active video {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}
.plyr:fullscreen video {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}
.plyr:-webkit-full-screen video {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}
video:fullscreen {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}
video:-webkit-full-screen {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}
.plyr.plyr--fullscreen-active .plyr__poster { background-size: contain !important; }

/* Tablets e notebooks pequenos: fotos do fundo mais discretas */
@media (min-width: 768px) and (max-width: 1279px) {
    .bgx-photo { opacity: .6; }
    .bgx-p1 { width: 110px; height: 110px; }
    .bgx-p2 { width: 130px; height: 130px; }
    .bgx-p3, .bgx-p4 { width: 100px; height: 100px; }
    .bgx-p5 { display: none; }
}

/* Tela cheia "simulada" (usada em alguns celulares) — mesmo tratamento */
.plyr.plyr--fullscreen-fallback { position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; z-index: 10000000 !important; aspect-ratio: auto !important; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; background: #000 !important; }
.plyr.plyr--fullscreen-fallback .plyr__video-wrapper { aspect-ratio: auto !important; height: 100% !important; padding-bottom: 0 !important; background: #000 !important; }
.plyr.plyr--fullscreen-fallback video { aspect-ratio: auto !important; width: 100% !important; height: 100% !important; max-height: 100vh !important; object-fit: contain !important; border-radius: 0 !important; box-shadow: none !important; background: #000 !important; }

/* As animações de entrada não podem deixar "transform" preso nos elementos
   (isso prende o vídeo em tela cheia dentro da caixa no celular) */
#app .page.active { animation-fill-mode: backwards !important; }
