/* Movimento Rosa 2026 — formulário de inscrição */

:root {
    --rosa: #d6336c;
    --rosa-dark: #b0234f;
    --rosa-light: #f06595;
    --rosa-soft: #fde8ef;
    --vinho: #6e0f2f;
    --teal: #3fa79d;

    --bg-app: #fdf5f8;
    --card-bg: #ffffff;
    --border-color: #f1d5df;
    --text-primary: #2a1620;
    --text-secondary: #6d5560;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 3px rgba(110, 15, 47, .06), 0 1px 2px rgba(110, 15, 47, .04);
    --shadow-md: 0 18px 50px -18px rgba(110, 15, 47, .28);

    --bs-body-font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: var(--text-primary);
    --bs-body-bg: var(--bg-app);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-app);
    color: var(--text-primary);
    font-family: var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, .hero-title { font-family: "Montserrat", sans-serif; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 20px 0 120px;
    background:
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .18), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(110, 15, 47, .45), transparent 55%),
        linear-gradient(135deg, var(--rosa-light) 0%, var(--rosa) 45%, var(--vinho) 100%);
}
.hero-ribbon {
    position: absolute;
    right: -40px;
    top: 30px;
    width: 340px;
    height: auto;
    fill: rgba(255, 255, 255, .10);
    transform: rotate(12deg);
    pointer-events: none;
}

.hero-logos {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border-radius: 24px;
    padding: 16px 32px;
    box-shadow: 0 14px 34px -14px rgba(110, 15, 47, .45);
    max-width: 100%;
}
.hero-logos img { min-width: 0; }
.hero-logos .logo-hospital { height: 70px; width: auto; }
.hero-logos .logo-oxy { height: 70px; width: auto; }
.logos-sep { width: 1px; align-self: stretch; background: var(--border-color); }

.hero-content { max-width: 640px; padding-top: 44px; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: .85rem; letter-spacing: .02em;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 6px 14px; border-radius: 999px;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-weight: 900;
    font-size: clamp(2.6rem, 8vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.02em;
    margin: 18px 0 10px;
    text-transform: uppercase;
}
.hero-title span { color: #ffd6e4; }
.hero-lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); opacity: .95; margin-bottom: 28px; }

.hero-facts { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact {
    display: flex; gap: 12px; align-items: flex-start;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-md);
    padding: 14px;
}
.fact i { font-size: 1.4rem; line-height: 1; margin-top: 2px; }
.fact strong { display: block; font-size: .98rem; }
.fact small { display: block; opacity: .85; font-size: .82rem; line-height: 1.3; }

.hero-cta { margin-top: 24px; font-weight: 800; color: var(--rosa-dark); border-radius: 999px; padding-inline: 28px; }

/* ---------- Main ---------- */
.main-wrap { margin-top: -80px; position: relative; z-index: 2; padding-bottom: 56px; }

.form-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    background: var(--card-bg);
}
@media (min-width: 992px) {
    #inscricao { position: sticky; top: 20px; }
}

.form-head h2 { font-weight: 800; font-size: 1.55rem; margin-bottom: 4px; color: var(--vinho); }
.form-head p { color: var(--text-secondary); margin-bottom: 22px; }

.form-label { font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.form-control-lg {
    border-radius: var(--radius-sm);
    border-color: #ead0da;
    font-size: 1.05rem;
    padding: .7rem 1rem;
}
.form-control:focus {
    border-color: var(--rosa-light);
    box-shadow: 0 0 0 .25rem rgba(214, 51, 108, .15);
}
.form-control.is-invalid:focus { box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .15); }

.btn-rosa {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--rosa);
    --bs-btn-border-color: var(--rosa);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rosa-dark);
    --bs-btn-hover-border-color: var(--rosa-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--vinho);
    --bs-btn-active-border-color: var(--vinho);
    --bs-btn-disabled-bg: var(--rosa);
    --bs-btn-disabled-border-color: var(--rosa);
    font-weight: 800;
    border-radius: 999px;
}
.btn-rosa.btn-lg { padding: .85rem 1.2rem; }
.btn-outline-secondary { border-radius: 999px; font-weight: 700; }
.btn-loading { display: none; }
.is-sending .btn-label { display: none; }
.is-sending .btn-loading { display: inline-flex; align-items: center; gap: 8px; }

.form-note {
    display: flex; gap: 8px;
    font-size: .8rem; color: var(--text-secondary);
    margin: 16px 0 0;
}

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Resultado ---------- */
.result { text-align: center; padding: 8px 0; }
.result h2 { font-weight: 800; font-size: 1.6rem; color: var(--vinho); margin: 16px 0 8px; }
.result p { color: var(--text-secondary); }
.result-icon {
    width: 76px; height: 76px; margin: 0 auto;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 2.3rem; color: #fff;
    animation: pop .45s cubic-bezier(.2, 1.4, .4, 1);
}
.result-success .result-icon { background: linear-gradient(135deg, #34c38f, #1f9d6f); box-shadow: 0 10px 24px -8px rgba(31, 157, 111, .6); }
.result-info .result-icon { background: linear-gradient(135deg, var(--rosa-light), var(--rosa-dark)); box-shadow: 0 10px 24px -8px rgba(214, 51, 108, .6); }
.result-ticket {
    display: grid; grid-template-columns: 1fr 1fr;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    margin: 18px 0 14px;
    background: var(--rosa-soft);
}
.result-ticket > div { padding: 12px; }
.result-ticket > div + div { border-left: 2px dashed var(--border-color); }
.result-ticket small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); }
.result-ticket strong { font-family: "Montserrat", sans-serif; font-size: 1.25rem; color: var(--vinho); }

@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.whats-card {
    display: flex; align-items: center; gap: 14px;
    margin-top: 16px; padding: 14px 18px;
    border-radius: var(--radius-md);
    background: #fff; border: 1px solid var(--border-color);
    color: var(--text-primary); text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s;
}
.whats-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text-primary); }
.whats-card > .bi-whatsapp { font-size: 1.8rem; color: #25d366; }
.whats-card span { font-size: .88rem; line-height: 1.3; color: var(--text-secondary); }
.whats-card strong { color: var(--text-primary); font-size: 1rem; }

/* ---------- Programação ---------- */
.section-head { padding-top: 96px; margin-bottom: 26px; }
.eyebrow {
    font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--rosa);
}
.section-head h2 { font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--vinho); margin: 6px 0 10px; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; }

.timeline { list-style: none; padding: 0; margin: 0 0 28px; position: relative; }
.timeline::before {
    content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px;
    width: 2px; background: linear-gradient(var(--rosa-light), var(--border-color));
}
.timeline-item { display: flex; gap: 18px; position: relative; padding-bottom: 14px; }
.timeline-icon {
    flex: 0 0 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; border: 2px solid var(--rosa-light);
    color: var(--rosa); font-size: 1.35rem;
    position: relative; z-index: 1;
    box-shadow: 0 0 0 6px var(--bg-app);
}
.timeline-body {
    flex: 1; min-width: 0;
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}
.timeline-body h3 { font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.35; color: var(--text-primary); }
.speakers { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.speakers li {
    display: flex; flex-direction: column;
    background: var(--rosa-soft);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: .88rem; line-height: 1.25;
}
.speakers strong { color: var(--vinho); }
.speakers span { color: var(--text-secondary); font-size: .78rem; }

.info-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-tile {
    display: flex; gap: 12px; align-items: flex-start;
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 14px;
    color: var(--text-primary); text-decoration: none;
}
.info-tile > i { font-size: 1.4rem; color: var(--teal); line-height: 1; }
.info-tile strong { display: block; font-size: .95rem; }
.info-tile span { display: block; font-size: .82rem; color: var(--text-secondary); line-height: 1.35; }
.info-tile-link { transition: border-color .15s; }
.info-tile-link:hover { border-color: var(--teal); color: var(--text-primary); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border-color); padding: 28px 0; text-align: center; }
.footer-logos { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-logos .logo-hospital { height: 34px; width: auto; max-width: 80vw; }
.footer-logos .logo-oxy { height: 34px; width: auto; }
.site-footer p { color: var(--text-secondary); font-size: .82rem; margin: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
    .hero { padding-bottom: 110px; }
    .hero-logos { gap: 22px; padding: 14px 26px; }
    .hero-logos .logo-hospital, .hero-logos .logo-oxy { height: 56px; }
    .section-head { padding-top: 12px; }
}
@media (max-width: 767.98px) {
    .hero-facts, .info-grid { grid-template-columns: 1fr; }
    .hero-ribbon { width: 220px; right: -60px; top: 90px; }
}
@media (max-width: 575.98px) {
    .container { padding-inline: 16px; }
    .hero { padding-top: 14px; }
    /* Celular: o cartão ocupa a largura toda e as logos dividem o espaço
       proporcionalmente, sem estourar a tela nem em 320px. */
    .hero-logos { display: flex; width: 100%; justify-content: center; gap: 14px; padding: 14px 16px; border-radius: 18px; }
    .hero-logos .logo-hospital { height: auto; width: 68%; }
    .hero-logos .logo-oxy { height: auto; width: 25%; }
    .hero-content { padding-top: 30px; }
    .form-card { padding: 22px 18px; }
    .fact { padding: 12px; }
    .timeline::before { left: 19px; }
    .timeline-item { gap: 12px; }
    .timeline-icon { flex-basis: 40px; height: 40px; font-size: 1.05rem; }
    .timeline-body { padding: 14px; }
}
@media (max-width: 359.98px) {
    .result-ticket { grid-template-columns: 1fr; }
    .result-ticket > div + div { border-left: 0; border-top: 2px dashed var(--border-color); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .result-icon { animation: none; }
}
