/* =========================================================================
   Chá Virtual do Miguel Mendes
   Tipografia: Fraunces (serif redondinha) + Nunito (sans redondinha)
   Decoração: vinho + dourado + tricolor SP + faixa preta JJ + estrelas HP
   ========================================================================= */

:root {
    --vinho: #5A1218;
    --vinho-escuro: #3A0F14;
    --vermelho: #7B1E24;
    --vermelho-claro: #A92A30;
    --dourado: #C9A44C;
    --dourado-claro: #E0C273;
    --dourado-luz: #F0DA9A;
    --pergaminho: #F5E6C8;
    --branco-quente: #FFF8EC;
    --preto: #1C1C1C;
    --preto-cinza: #3A3A3A;
    --cinza: #F4F4F4;

    --shadow-card: 0 14px 40px rgba(28, 28, 28, 0.10), 0 4px 10px rgba(28, 28, 28, 0.06);
    --shadow-soft: 0 6px 20px rgba(28, 28, 28, 0.06);
    --shadow-deep: 0 24px 50px rgba(58, 15, 20, 0.18);

    --radius: 16px;
    --radius-lg: 24px;

    --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--preto);
    background: var(--branco-quente);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 500;
}

body.theme-pergaminho {
    background:
        radial-gradient(circle at 10% 0%, rgba(201, 164, 76, 0.10), transparent 40%),
        radial-gradient(circle at 90% 5%, rgba(123, 30, 36, 0.06), transparent 35%),
        var(--branco-quente);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vermelho); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--vinho); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--vinho);
    margin: 0 0 .55em;
    line-height: 1.15;
    letter-spacing: -.005em;
    font-weight: 600;
    font-variation-settings: "SOFT" 80, "WONK" 0;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.serif { font-family: var(--font-serif); font-style: italic; }

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

/* ============================ Faixa tricolor SP (dentro do header sticky) ============================ */
.tricolor-strip {
    height: 4px;
    background: linear-gradient(90deg,
        #FFFFFF 0%, #FFFFFF 33%,
        #1C1C1C 33%, #1C1C1C 66%,
        #A92A30 66%, #A92A30 100%);
    width: 100%;
}

/* ============================ Topbar ============================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--branco-quente);
    box-shadow: 0 4px 20px rgba(58, 15, 20, 0.08);
}
.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--vinho);
    font-family: var(--font-display);
}
.brand-brasao {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(58, 15, 20, .25));
    transition: transform .3s ease;
}
.brand:hover .brand-brasao { transform: rotate(-4deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-title { font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; font-variation-settings: "SOFT" 80; }
.brand-sub { font-size: .68rem; color: var(--vermelho); letter-spacing: .26em; text-transform: uppercase; margin-top: 5px; font-weight: 700; font-family: var(--font-sans); }
@media (max-width: 560px) {
    .brand-brasao { width: 44px; height: 44px; }
    .brand-title { font-size: 1rem; }
}

.topnav {
    margin-left: auto;
    display: flex;
    gap: 22px;
    align-items: center;
}
.topnav a {
    font-size: .9rem;
    color: var(--preto);
    font-weight: 600;
}
.topnav a:hover { color: var(--vermelho); }

/* Slot do símbolo GLESP no canto superior direito */
.glesp-slot {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
    flex-shrink: 0;
}
.glesp-slot:hover { transform: rotate(15deg) scale(1.05); }
.glesp-slot img { width: 100%; height: 100%; }

.topnav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px; height: 40px;
    cursor: pointer;
    margin-left: auto;
}
.topnav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--vinho);
    margin: 5px auto;
    transition: transform .2s ease;
}

@media (max-width: 820px) {
    .topnav-toggle { display: inline-block; }
    .topnav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--branco-quente);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 22px;
        border-bottom: 1px solid rgba(201, 164, 76, .3);
        display: none;
        gap: 12px;
    }
    .topnav.is-open { display: flex; }
    .glesp-slot { order: 99; }
}

/* ============================ Botões ============================ */
.btn-primary, .btn-ghost, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .14s ease, box-shadow .15s ease, background .15s ease;
    text-align: center;
    font-family: var(--font-sans);
}
.btn-primary {
    background: linear-gradient(135deg, var(--vermelho-claro), var(--vinho));
    color: var(--branco-quente);
    box-shadow: 0 8px 22px rgba(123, 30, 36, .28), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--branco-quente); box-shadow: 0 12px 28px rgba(123, 30, 36, .35); }
.btn-ghost {
    background: rgba(255, 248, 236, .8);
    color: var(--vinho);
    border-color: rgba(123, 30, 36, .35);
}
.btn-ghost:hover { background: rgba(123, 30, 36, .08); border-color: var(--vermelho); }
.btn-outline {
    background: transparent;
    color: var(--dourado);
    border-color: var(--dourado);
}
.btn-outline:hover { background: rgba(201, 164, 76, .14); color: var(--dourado-claro); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .82rem; }

/* Botão Cadastrar do header - alto contraste, dourado claro com letra vinho */
.btn-cadastrar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .03em;
    cursor: pointer;
    border: 2px solid var(--vinho);
    background: linear-gradient(135deg, #FFF4D0, var(--dourado-claro));
    color: var(--vinho-escuro);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .14s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: 0 4px 14px rgba(201, 164, 76, .35), inset 0 1px 0 rgba(255,255,255,.7);
    font-family: var(--font-sans);
}
.btn-cadastrar:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--dourado-claro), var(--dourado));
    color: var(--vinho-escuro);
    box-shadow: 0 8px 20px rgba(201, 164, 76, .5);
}

/* ============================ Hero ============================ */
.hero {
    position: relative;
    padding: 70px 0 90px;
    background:
        radial-gradient(ellipse at top, rgba(201, 164, 76, 0.20), transparent 60%),
        linear-gradient(180deg, #fff8ec 0%, #f5e6c8 100%);
    overflow: hidden;
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(201,164,76,.28), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::before { top: -100px; left: -100px; }
.hero::after  { bottom: -140px; right: -120px; }

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    position: relative;
}
@media (max-width: 880px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}
.hero-eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: .78rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--vermelho);
    font-weight: 700;
    margin-bottom: 18px;
    font-family: var(--font-sans);
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: "★";
    color: var(--dourado);
}
.hero h1 { color: var(--vinho); margin-bottom: 18px; }
.hero h1 .accent {
    color: var(--vermelho);
    display: block;
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 400;
    font-variation-settings: "SOFT" 100;
    margin-top: 4px;
}
.hero p.lead {
    font-size: 1.12rem;
    color: #3a2a2a;
    max-width: 560px;
    line-height: 1.65;
}
@media (max-width: 880px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
@media (max-width: 880px) { .hero-ctas { justify-content: center; } }

.hero-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background: url('img/familia.png') center/cover no-repeat, linear-gradient(135deg, var(--vermelho), var(--vinho));
    box-shadow: var(--shadow-deep);
    border: 7px solid var(--dourado);
    overflow: hidden;
    isolation: isolate;
}
.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(58,15,20,.4) 100%);
}
.hero-image::after {
    content: "Pequeno Miguel, grande amor.";
    position: absolute;
    bottom: 18px; left: 0; right: 0;
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--branco-quente);
    font-size: 1.1rem;
    text-shadow: 0 2px 14px rgba(0,0,0,.55);
    z-index: 2;
}

/* Estrelas mágicas decorativas */
.stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(201,164,76,.65), transparent 60%),
        radial-gradient(1.5px 1.5px at 70% 20%, rgba(201,164,76,.5), transparent 60%),
        radial-gradient(2px 2px at 80% 70%, rgba(201,164,76,.55), transparent 60%),
        radial-gradient(1px 1px at 30% 80%, rgba(201,164,76,.5), transparent 60%),
        radial-gradient(1.5px 1.5px at 12% 60%, rgba(201,164,76,.4), transparent 60%),
        radial-gradient(2px 2px at 88% 45%, rgba(201,164,76,.45), transparent 60%);
}

/* ============================ Seções padrão ============================ */
.section { padding: 80px 0; position: relative; }
.section-tight { padding: 50px 0; }
.section-dark {
    background: linear-gradient(180deg, var(--vinho), var(--vermelho));
    color: var(--branco-quente);
    position: relative;
}
.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 20%, rgba(240,218,154,.55), transparent 60%),
        radial-gradient(1.5px 1.5px at 75% 30%, rgba(240,218,154,.4), transparent 60%),
        radial-gradient(2px 2px at 85% 75%, rgba(240,218,154,.45), transparent 60%),
        radial-gradient(1.2px 1.2px at 25% 85%, rgba(240,218,154,.4), transparent 60%),
        radial-gradient(1.8px 1.8px at 55% 50%, rgba(240,218,154,.5), transparent 60%);
    pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: var(--dourado-claro); }
.section-pergaminho {
    background: var(--pergaminho);
    background-image:
        radial-gradient(circle at 18% 12%, rgba(201,164,76,.22), transparent 30%),
        radial-gradient(circle at 82% 80%, rgba(123,30,36,.10), transparent 30%);
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
}
.section-sub {
    text-align: center;
    color: #5b4a4a;
    max-width: 680px;
    margin: 0 auto 44px;
    font-size: 1.06rem;
    line-height: 1.65;
}
.section-dark .section-sub { color: var(--pergaminho); }

/* ============================ História ============================ */
.history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 760px) { .history-grid { grid-template-columns: 1fr; } }
.history-card {
    background: var(--branco-quente);
    border: 1px solid rgba(201,164,76,.4);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}
.history-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--vermelho), var(--dourado));
}
.history-card h3 { color: var(--vermelho); }
.history-card .icon {
    width: 96px; height: 96px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #FFF4D0 0%, var(--dourado-claro) 35%, var(--dourado) 75%, #9C7E2F 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow:
        0 10px 24px rgba(58, 15, 20, .18),
        inset 0 0 0 3px var(--dourado),
        inset 0 0 0 5px rgba(255, 244, 208, .55);
    overflow: hidden;
    position: relative;
    animation: floatIcon 4s ease-in-out infinite;
}
.history-card:nth-child(2) .icon { animation-delay: -1.3s; }
.history-card:nth-child(3) .icon { animation-delay: -2.6s; }
.history-card .icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(58, 15, 20, .35));
    transition: transform .35s ease;
    animation: pulseIcon 3s ease-in-out infinite;
}
.history-card:nth-child(2) .icon img { animation-delay: -1s; }
.history-card:nth-child(3) .icon img { animation-delay: -2s; }
.history-card:hover .icon img { transform: scale(1.12) rotate(3deg); }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

/* ============================ Termômetro ============================ */
.termometro {
    background: var(--branco-quente);
    border: 1px solid rgba(201,164,76,.45);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.termometro::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--vermelho-claro), var(--dourado), var(--vermelho-claro));
}
.termometro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 28px 0;
}
@media (max-width: 700px) { .termometro-stats { grid-template-columns: 1fr; } }
.termometro-stats .num {
    font-family: var(--font-display);
    color: var(--vinho);
    font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}
.termometro-stats .lbl {
    color: #5b4a4a;
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
}
.progress {
    height: 22px;
    background: rgba(123,30,36,.10);
    border-radius: 999px;
    overflow: hidden;
    margin: 24px 0 14px;
    border: 1px solid rgba(201,164,76,.35);
    position: relative;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--vermelho-claro), var(--dourado));
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(.2,.7,.2,1);
    position: relative;
    overflow: hidden;
}
.progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.progress-stats {
    display: flex; justify-content: space-between; gap: 12px;
    font-size: .92rem; color: #5b4a4a;
}

/* ============================ Cards de cotas ============================ */
.cotas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}
.cota-card {
    background: var(--branco-quente);
    border: 1px solid rgba(201,164,76,.4);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
}
.cota-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-deep); }

.cota-imagem {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--pergaminho), var(--branco-quente));
    border-bottom: 1px solid rgba(201,164,76,.3);
    position: relative;
    overflow: hidden;
}
.cota-imagem img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.cota-card:hover .cota-imagem img { transform: scale(1.06); }

.cota-corpo {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.cota-card .nome {
    color: var(--vinho);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 6px;
    font-variation-settings: "SOFT" 100;
}
.cota-card .descricao {
    color: #4a3a3a;
    min-height: 60px;
    font-size: .96rem;
    line-height: 1.55;
    margin-bottom: 16px;
}
.cota-card .valor-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0 18px;
    padding-top: 14px;
    border-top: 1px dashed rgba(201,164,76,.4);
}
.cota-card .valor {
    color: var(--vermelho);
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}
.cota-card .valor small {
    color: #888;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
    margin-left: 4px;
    text-transform: uppercase;
}

/* ============================ Mural ============================ */
.mural-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}
.mensagem-card {
    background: var(--branco-quente);
    border-left: 4px solid var(--dourado);
    border-radius: var(--radius);
    padding: 24px 22px 22px;
    box-shadow: var(--shadow-soft);
    position: relative;
    color: var(--preto);
}
.mensagem-card::before {
    content: "“";
    position: absolute;
    top: -8px; left: 14px;
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--dourado);
    line-height: 1;
}
.mensagem-card .corpo {
    font-family: var(--font-serif);
    font-style: italic;
    color: #2a1f1f;
    font-size: 1.06rem;
    line-height: 1.55;
}
.mensagem-card .meta {
    margin-top: 14px;
    font-size: .82rem;
    color: #6a5a5a;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.mensagem-card .meta strong {
    color: var(--vermelho);
    font-style: normal;
    font-weight: 700;
}

/* ============================ Forms ============================ */
.form-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--branco-quente);
    border: 1px solid rgba(201,164,76,.4);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.form-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--vermelho), var(--dourado));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--vinho);
    letter-spacing: .03em;
    text-transform: uppercase;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(28,28,28,.18);
    border-radius: 12px;
    font: inherit;
    background: #fff;
    color: var(--preto);
    transition: border .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: var(--vermelho);
    box-shadow: 0 0 0 4px rgba(123,30,36,.12);
}
.form-group textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.form-help { font-size: .82rem; color: #6a5a5a; margin-top: 6px; }
.form-error {
    background: #fff0f1;
    border: 1px solid #f1c5c8;
    color: #7B1E24;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: .94rem;
}
.form-success {
    background: #f0f8ed;
    border: 1px solid #c5e0b6;
    color: #2c5a18;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: .94rem;
}
.checkbox-row {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; color: #4a3a3a;
}
.checkbox-row input { margin-top: 4px; }
.checkbox-row label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    color: #4a3a3a;
    font-size: .9rem;
    margin-bottom: 0;
}

.radio-group {
    display: flex; gap: 12px; flex-wrap: wrap;
}
.radio-group label {
    flex: 1 1 140px;
    border: 1.5px solid rgba(28,28,28,.18);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    text-align: center;
    background: #fff;
    transition: border .15s ease, background .15s ease, box-shadow .15s ease;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--preto);
}
.radio-group input[type="radio"] { display: none; }
.radio-group label:has(input:checked) {
    border-color: var(--vermelho);
    background: #fff8ec;
    box-shadow: 0 0 0 3px rgba(123,30,36,.12);
    color: var(--vinho);
}

/* ============================ PIX box ============================ */
.pix-box {
    max-width: 720px;
    margin: 0 auto;
    background: var(--branco-quente);
    border: 1.5px dashed var(--dourado);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}
.pix-chave {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin: 18px auto;
    max-width: 540px;
}
.pix-chave input {
    flex: 1;
    padding: 13px 16px;
    border: 1.5px solid rgba(28,28,28,.18);
    border-radius: 12px;
    font: inherit;
    background: #fff;
}

/* ============================ Microtextos ============================ */
.micro {
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--dourado);
    margin: 14px 0 0;
    font-size: 1.1rem;
    font-variation-settings: "SOFT" 100;
}

/* ============================ Página de evolução ============================ */
.evolucao-hero {
    background:
        radial-gradient(ellipse at top, rgba(201, 164, 76, 0.18), transparent 60%),
        linear-gradient(180deg, #fff8ec 0%, #f5e6c8 100%);
    padding: 70px 0 60px;
    text-align: center;
}
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 600px;
    margin: 30px auto;
}
@media (max-width: 560px) { .countdown { grid-template-columns: repeat(2, 1fr); } }
.countdown-cell {
    background: var(--branco-quente);
    border: 1.5px solid var(--dourado);
    border-radius: 14px;
    padding: 18px 8px;
    box-shadow: var(--shadow-soft);
}
.countdown-cell .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--vinho);
    line-height: 1;
    font-variation-settings: "SOFT" 100;
}
.countdown-cell .lbl {
    font-size: .76rem;
    color: var(--vermelho);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    margin-top: 6px;
}
.semana-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--branco-quente);
    border: 1px solid rgba(201,164,76,.45);
    border-radius: var(--radius-lg);
    padding: 50px 36px;
    box-shadow: var(--shadow-card);
    text-align: center;
}
.semana-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--vinho);
    line-height: 1;
    font-variation-settings: "SOFT" 100;
    background: linear-gradient(135deg, var(--vermelho-claro), var(--vinho));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.semana-comp {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--vermelho);
    font-size: 1.4rem;
    margin: 12px 0 4px;
}
.semana-medidas {
    color: #5b4a4a;
    font-size: 1rem;
    letter-spacing: .04em;
}

/* ============================ Footer ============================ */
.footer {
    background: var(--vinho);
    color: var(--pergaminho);
    margin-top: 60px;
    padding: 60px 0 0;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #FFFFFF 0%, #FFFFFF 33%,
        #1C1C1C 33%, #1C1C1C 66%,
        #A92A30 66%, #A92A30 100%);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 22px; } }
.footer h4 { color: var(--dourado-claro); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 6px 0; }
.footer a { color: var(--pergaminho); }
.footer a:hover { color: var(--dourado-claro); }
.footer-bottom {
    margin-top: 40px;
    padding: 22px;
    border-top: 1px solid rgba(201,164,76,.2);
    text-align: center;
    font-size: .85rem;
    color: rgba(245,230,200,.7);
}

/* ============================ Página de agradecimento ============================ */
.thanks-card {
    max-width: 720px;
    margin: 80px auto;
    text-align: center;
    background: var(--branco-quente);
    border: 1px solid rgba(201,164,76,.4);
    border-radius: var(--radius-lg);
    padding: 60px 36px;
    box-shadow: var(--shadow-card);
}
.thanks-card .leao {
    width: 110px;
    height: 110px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--dourado-claro), var(--dourado));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--vinho);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(201, 164, 76, .35);
}

/* ============================ Admin ============================ */
.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    background: var(--cinza);
}
@media (max-width: 760px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side {
    background: var(--vinho);
    color: var(--pergaminho);
    padding: 24px 18px;
}
.admin-side h2 { color: var(--dourado-claro); font-size: 1.05rem; margin-bottom: 18px; letter-spacing: .12em; text-transform: uppercase; }
.admin-side a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--pergaminho);
    margin-bottom: 4px;
    font-size: .95rem;
}
.admin-side a:hover, .admin-side a.active {
    background: rgba(255,255,255,.08);
    color: var(--dourado-claro);
}
.admin-main { padding: 28px; }
.admin-main h1 { font-size: 1.7rem; }
.admin-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--dourado);
}
.stat .num { font-family: var(--font-display); color: var(--vinho); font-size: 1.9rem; font-weight: 700; }
.stat .lbl { font-size: .85rem; color: #6a5a5a; }

table.tabela {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
table.tabela th, table.tabela td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: .92rem;
}
table.tabela th { background: var(--vinho); color: var(--pergaminho); font-weight: 700; letter-spacing: .04em; }
table.tabela tr:hover { background: rgba(201,164,76,.06); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.badge-pendente   { background: #fff4d6; color: #8a6a00; }
.badge-confirmada { background: #d8efd0; color: #2c5a18; }
.badge-cancelada  { background: #fde2e3; color: #7B1E24; }
