/* ============================================================
   SeuDin - Treinamentos, Palestras, Webinars e Workshops
   CSS self-contained: paleta SeuDin + componentes proprios.
   Nao depende de outros arquivos CSS.
   ============================================================ */

:root {
    --tr-roxo: #820AD1;
    --tr-roxo-escuro: #5E0598;
    --tr-rosa: #F94777;
    --tr-rosa-escuro: #D62D5C;
    --tr-azul: #3641ED;
    --tr-texto: #1A1033;
    --tr-texto-suave: #56556B;
    --tr-fundo: #FFFFFF;
    --tr-fundo-suave: #FAF8FF;
    --tr-fundo-escuro: #0E0723;
    --tr-borda: #ECE6F5;

    --tr-grad-principal: linear-gradient(135deg, #820AD1 0%, #F94777 100%);
    --tr-grad-hero: linear-gradient(135deg, #5E0598 0%, #820AD1 35%, #B14EE8 70%, #F94777 100%);

    --tr-radius: 14px;
    --tr-radius-lg: 24px;
    --tr-radius-pill: 999px;
    --tr-sombra: 0 10px 30px rgba(130, 10, 209, 0.10);
    --tr-sombra-forte: 0 20px 60px rgba(130, 10, 209, 0.20);
    --tr-sombra-rosa: 0 14px 40px rgba(249, 71, 119, 0.25);

    --tr-fonte: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   Reset isolado
   ============================================================ */
.tr-page,
.tr-page * { box-sizing: border-box; }

.tr-page {
    margin: 0;
    padding: 0;
    font-family: var(--tr-fonte);
    color: var(--tr-texto);
    background: var(--tr-fundo);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.tr-page img { max-width: 100%; display: block; }
.tr-page a { color: inherit; text-decoration: none; }

.tr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   Botoes
   ============================================================ */
.tr-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--tr-radius-pill);
    transition: transform .25s cubic-bezier(.2, .9, .25, 1), box-shadow .25s ease, background .3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
}

.tr-btn--primario {
    background: var(--tr-grad-principal);
    color: #fff;
    box-shadow: var(--tr-sombra-rosa);
}

.tr-btn--primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(249, 71, 119, 0.35);
}

.tr-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.tr-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

.tr-btn--ico::after {
    content: "→";
    transition: transform .25s ease;
    font-size: 18px;
    line-height: 1;
}

.tr-btn--ico:hover::after { transform: translateX(4px); }

/* ============================================================
   Header sticky
   ============================================================ */
.tr-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 14px 0;
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}

.tr-header--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(15, 7, 35, 0.08);
    padding: 10px 0;
}

.tr-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tr-header__logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter .35s ease;
}

.tr-header--scrolled .tr-header__logo img { filter: none; }

.tr-header__nav { display: flex; gap: 28px; align-items: center; }

.tr-header__nav a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.tr-header__nav a::after {
    content: "";
    position: absolute;
    bottom: -6px; left: 0;
    width: 0;
    height: 2px;
    background: var(--tr-rosa);
    transition: width .3s ease;
}

.tr-header__nav a:hover::after { width: 100%; }

.tr-header--scrolled .tr-header__nav a { color: var(--tr-texto); }

.tr-header__cta {
    padding: 10px 22px;
    min-height: 42px;
    font-size: 14px;
}

.tr-header__menu-mobile {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.tr-header--scrolled .tr-header__menu-mobile { color: var(--tr-texto); }

/* ============================================================
   Hero
   ============================================================ */
.tr-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    background: var(--tr-grad-hero);
    background-size: 200% 200%;
    animation: tr-grad-shift 18s ease infinite;
    color: #fff;
}

@keyframes tr-grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: .4;
    pointer-events: none;
}

.tr-hero::after {
    content: "";
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 71, 119, 0.35) 0%, transparent 60%);
    top: -200px; right: -200px;
    pointer-events: none;
    filter: blur(40px);
}

.tr-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.tr-hero__texto { text-align: left; }

.tr-hero__imagem {
    position: relative;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 7, 35, 0.35);
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,0.08);
}

.tr-hero__imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tr-hero__imagem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 7, 35, 0.35) 100%);
    pointer-events: none;
}

/* ============================================================
   Hero carousel (12 fotos com fade automatico)
   ============================================================ */
.tr-hero__carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tr-hero__carousel-viewport {
    position: relative;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 7, 35, 0.35);
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,0.08);
}

.tr-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
    z-index: 1;
}

.tr-hero__slide.is-ativo {
    opacity: 1;
    z-index: 2;
}

.tr-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tr-hero__carousel-viewport::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 7, 35, 0.35) 100%);
    pointer-events: none;
    z-index: 3;
}

.tr-hero__carousel-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.tr-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}

.tr-hero__dot.is-ativo {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

.tr-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: var(--tr-radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 28px;
}

.tr-hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--tr-rosa);
    box-shadow: 0 0 0 4px rgba(249, 71, 119, 0.3);
    animation: tr-pulse 2s ease-in-out infinite;
}

@keyframes tr-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(249, 71, 119, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(249, 71, 119, 0); }
}

.tr-hero__titulo {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    margin: 0 0 22px;
    letter-spacing: -1px;
}

.tr-hero__titulo span {
    background: linear-gradient(90deg, #FFE0EB 0%, #F94777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tr-hero__sub {
    font-size: clamp(16px, 1.6vw, 19px);
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.tr-hero__cta {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.tr-hero__alcance {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tr-hero__alcance-item {
    text-align: center;
}

.tr-hero__alcance-num {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.tr-hero__alcance-lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   Sections
   ============================================================ */
.tr-section {
    padding: 100px 0;
}

.tr-section--suave { background: var(--tr-fundo-suave); }

.tr-section--escuro {
    background: var(--tr-fundo-escuro);
    color: #fff;
}

.tr-section__cabeca {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.tr-section__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--tr-rosa);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.tr-section__titulo {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--tr-texto);
    line-height: 1.18;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.tr-section--escuro .tr-section__titulo { color: #fff; }

.tr-section__titulo span {
    background: var(--tr-grad-principal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tr-section__sub {
    font-size: 16px;
    color: var(--tr-texto-suave);
    line-height: 1.65;
    margin: 0;
}

.tr-section--escuro .tr-section__sub { color: rgba(255, 255, 255, 0.75); }

/* ============================================================
   Por que importa - texto + caixa
   ============================================================ */
.tr-por-que {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.tr-por-que__texto p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tr-texto);
    margin: 0 0 16px;
}

.tr-por-que__texto strong {
    color: var(--tr-roxo);
    font-weight: 700;
}

.tr-por-que__caixa {
    background: linear-gradient(135deg, #FAF8FF 0%, #FFF0F5 100%);
    border: 1px solid var(--tr-borda);
    border-left: 4px solid var(--tr-roxo);
    border-radius: var(--tr-radius);
    padding: 28px;
    position: sticky;
    top: 100px;
}

.tr-por-que__caixa h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--tr-roxo);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 14px;
}

.tr-por-que__caixa ul {
    list-style: none;
    padding: 0; margin: 0;
}

.tr-por-que__caixa li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(130, 10, 209, 0.12);
    font-size: 14px;
    color: var(--tr-texto);
}

.tr-por-que__caixa li:last-child { border-bottom: 0; }

.tr-por-que__caixa li::before {
    content: "✓";
    color: var(--tr-rosa);
    font-weight: 800;
    flex-shrink: 0;
}

/* ============================================================
   Formatos - 8 cards
   ============================================================ */
.tr-formatos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tr-formato {
    background: #fff;
    border: 1px solid var(--tr-borda);
    border-radius: var(--tr-radius);
    padding: 26px 22px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.tr-formato::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--tr-grad-principal);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s ease;
}

.tr-formato:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--tr-sombra);
}

.tr-formato:hover::before { transform: scaleY(1); }

.tr-formato__icone {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(130, 10, 209, 0.10), rgba(249, 71, 119, 0.10));
    color: var(--tr-roxo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.tr-formato__icone svg { width: 20px; height: 20px; }

.tr-formato__titulo {
    font-size: 16px;
    font-weight: 800;
    color: var(--tr-texto);
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.tr-formato__desc {
    font-size: 13px;
    color: var(--tr-texto-suave);
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
   Para quem - chips de areas
   ============================================================ */
.tr-publico {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tr-publico__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--tr-borda);
    border-radius: var(--tr-radius-pill);
    padding: 14px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--tr-texto);
    transition: all .3s ease;
}

.tr-publico__chip:hover {
    border-color: var(--tr-roxo);
    color: var(--tr-roxo);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(130, 10, 209, 0.12);
}

.tr-publico__chip-icone {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--tr-grad-principal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-publico__chip-icone svg { width: 13px; height: 13px; }

/* ============================================================
   Diferenciais (6 cards) - Secao 10 do prompt
   ============================================================ */
.tr-diferenciais {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tr-diferencial {
    position: relative;
    background: #fff;
    border-radius: var(--tr-radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--tr-borda);
    transition: all .35s cubic-bezier(.2, .9, .25, 1);
    overflow: hidden;
}

.tr-diferencial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tr-grad-principal);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
}

.tr-diferencial:hover {
    transform: translateY(-8px);
    box-shadow: var(--tr-sombra-forte);
    border-color: transparent;
}

.tr-diferencial:hover::before { opacity: 1; }

.tr-diferencial > * { position: relative; z-index: 1; }

.tr-diferencial__num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(130, 10, 209, 0.10), rgba(249, 71, 119, 0.10));
    color: var(--tr-roxo);
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
    transition: all .35s ease;
}

.tr-diferencial:hover .tr-diferencial__num {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.tr-diferencial__titulo {
    font-size: 18px;
    font-weight: 800;
    color: var(--tr-texto);
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.2px;
    transition: color .35s ease;
}

.tr-diferencial:hover .tr-diferencial__titulo { color: #fff; }

.tr-diferencial__desc {
    font-size: 13.5px;
    color: var(--tr-texto-suave);
    margin: 0;
    line-height: 1.65;
    transition: color .35s ease;
}

.tr-diferencial:hover .tr-diferencial__desc { color: rgba(255, 255, 255, 0.92); }

/* ============================================================
   Como funciona - 4 etapas timeline horizontal
   ============================================================ */
.tr-passos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.tr-passos::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--tr-roxo) 0%, var(--tr-rosa) 100%);
    opacity: .25;
    z-index: 0;
}

.tr-passo {
    position: relative;
    text-align: center;
    z-index: 1;
}

.tr-passo__num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--tr-roxo);
    color: var(--tr-roxo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 800;
    transition: all .3s ease;
}

.tr-passo:hover .tr-passo__num {
    background: var(--tr-grad-principal);
    color: #fff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--tr-sombra-rosa);
}

.tr-passo__titulo {
    font-size: 17px;
    font-weight: 800;
    color: var(--tr-texto);
    margin: 0 0 8px;
}

.tr-passo__desc {
    font-size: 13.5px;
    color: var(--tr-texto-suave);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   CTA final
   ============================================================ */
.tr-cta-final {
    background: var(--tr-grad-hero);
    background-size: 200% 200%;
    animation: tr-grad-shift 16s ease infinite;
    color: #fff;
    padding: 80px 24px;
    border-radius: var(--tr-radius-lg);
    margin: 0 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tr-cta-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(249, 71, 119, 0.4) 0%, transparent 50%);
}

.tr-cta-final__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.tr-cta-final__titulo {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    line-height: 1.18;
}

.tr-cta-final__sub {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 32px;
}

.tr-cta-final__botoes {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.tr-footer {
    background: #0E0723;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.tr-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.tr-footer__logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
}

.tr-footer__tagline {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 0 20px;
}

.tr-footer__redes { display: flex; gap: 12px; }

.tr-footer__rede {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, transform .25s ease;
}

.tr-footer__rede:hover {
    background: var(--tr-grad-principal);
    transform: translateY(-3px);
}

.tr-footer__rede svg { width: 16px; height: 16px; }

.tr-footer__col h4 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.tr-footer__col ul {
    list-style: none;
    padding: 0; margin: 0;
}

.tr-footer__col li { margin-bottom: 10px; }

.tr-footer__col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: color .2s ease;
}

.tr-footer__col a:hover { color: #fff; }

.tr-footer__base {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

/* ============================================================
   Formulário
   ============================================================ */
.tr-form-card {
    background: #fff;
    border: 1px solid var(--tr-borda);
    border-radius: var(--tr-radius-lg);
    padding: 56px;
    box-shadow: var(--tr-sombra);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.tr-form-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--tr-grad-principal);
}

.tr-form-card__cabeca {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.tr-form-card__titulo {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.18;
    margin: 10px 0 14px;
    color: var(--tr-texto);
}

.tr-form-card__titulo span {
    background: var(--tr-grad-principal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tr-form-card__sub {
    font-size: 16px;
    color: var(--tr-texto-suave);
    margin: 0;
    line-height: 1.6;
}

.tr-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tr-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tr-form__campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tr-form__campo--full { grid-column: 1 / -1; }

.tr-form__campo label {
    font-size: 13px;
    font-weight: 700;
    color: var(--tr-texto);
    letter-spacing: 0.2px;
}

.tr-form__campo label span[aria-hidden] {
    color: var(--tr-rosa);
    margin-left: 2px;
}

.tr-form__campo input,
.tr-form__campo select,
.tr-form__campo textarea {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    font: inherit;
    font-size: 15px;
    color: var(--tr-texto);
    background: #fff;
    border: 1.5px solid var(--tr-borda);
    border-radius: var(--tr-radius);
    padding: 14px 16px;
    min-height: 52px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
}

.tr-form__campo textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
    padding-top: 14px;
}

.tr-form__campo select {
    padding-right: 44px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23820AD1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.tr-form__campo input::placeholder,
.tr-form__campo textarea::placeholder {
    color: #A69EB4;
}

.tr-form__campo input:hover,
.tr-form__campo select:hover,
.tr-form__campo textarea:hover {
    border-color: #D8CDE8;
}

.tr-form__campo input:focus,
.tr-form__campo select:focus,
.tr-form__campo textarea:focus {
    border-color: var(--tr-roxo);
    box-shadow: 0 0 0 4px rgba(130, 10, 209, 0.12);
    background: #fff;
}

.tr-form__campo.is-erro input,
.tr-form__campo.is-erro select,
.tr-form__campo.is-erro textarea {
    border-color: var(--tr-rosa);
    box-shadow: 0 0 0 4px rgba(249, 71, 119, 0.10);
}

.tr-form__radios {
    border: 1.5px dashed var(--tr-borda);
    border-radius: var(--tr-radius);
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin: 0;
}

.tr-form__radios legend {
    padding: 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tr-texto);
    letter-spacing: 0.2px;
}

.tr-form__radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1.5px solid var(--tr-borda);
    border-radius: var(--tr-radius-pill);
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--tr-texto-suave);
    transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

.tr-form__radio input {
    accent-color: var(--tr-roxo);
    width: 16px;
    height: 16px;
    margin: 0;
}

.tr-form__radio:hover {
    border-color: #D8CDE8;
    color: var(--tr-texto);
}

.tr-form__radio:has(input:checked) {
    border-color: var(--tr-roxo);
    background: rgba(130, 10, 209, 0.06);
    color: var(--tr-roxo);
    box-shadow: 0 4px 14px rgba(130, 10, 209, 0.10);
}

.tr-form__acoes {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.tr-form__acoes .tr-btn { min-width: 220px; }

.tr-form__aviso {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--tr-texto-suave);
    flex: 1;
    min-width: 220px;
}

.tr-form__aviso.is-sucesso { color: var(--tr-roxo); }
.tr-form__aviso.is-erro { color: var(--tr-rosa); }

.tr-form.is-enviando .tr-form__acoes .tr-btn {
    opacity: .7;
    pointer-events: none;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.tr-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2, .9, .25, 1), transform .8s cubic-bezier(.2, .9, .25, 1);
}

.tr-reveal.is-visivel {
    opacity: 1;
    transform: translateY(0);
}

.tr-reveal--delay-1 { transition-delay: .1s; }
.tr-reveal--delay-2 { transition-delay: .2s; }
.tr-reveal--delay-3 { transition-delay: .3s; }
.tr-reveal--delay-4 { transition-delay: .4s; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 960px) {
    .tr-header__nav, .tr-header__cta { display: none; }
    .tr-header__menu-mobile { display: block; }

    .tr-hero { padding: 110px 0 64px; min-height: auto; }

    .tr-section { padding: 72px 0; }

    .tr-por-que { grid-template-columns: 1fr; gap: 28px; }
    .tr-por-que__caixa { position: static; }

    .tr-formatos { grid-template-columns: 1fr 1fr; }

    .tr-diferenciais { grid-template-columns: 1fr 1fr; }

    .tr-passos { grid-template-columns: 1fr 1fr; gap: 32px; }
    .tr-passos::before { display: none; }

    .tr-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }

    .tr-form-card { padding: 40px 28px; }
}

@media (max-width: 540px) {
    .tr-hero__cta { flex-direction: column; }
    .tr-hero__cta .tr-btn { width: 100%; }
    .tr-hero__alcance { gap: 18px; }

    .tr-formatos, .tr-diferenciais, .tr-passos { grid-template-columns: 1fr; }
    .tr-passos { gap: 24px; }

    /* Para quem — 6 chips em 2 colunas x 3 linhas */
    .tr-publico {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        justify-content: initial;
    }
    .tr-publico__chip {
        justify-content: center;
        padding: 12px 10px;
        font-size: 13px;
        gap: 8px;
        text-align: center;
    }
    .tr-publico__chip-icone { flex-shrink: 0; }

    .tr-footer__grid { grid-template-columns: 1fr; }
    .tr-footer__base { flex-direction: column; align-items: flex-start; }

    .tr-form-card { padding: 32px 22px; border-radius: var(--tr-radius); }
    .tr-form__grid { grid-template-columns: 1fr; gap: 16px; }
    .tr-form__acoes .tr-btn { min-width: 0; width: 100%; }
    .tr-form__aviso { flex: initial; min-width: 0; text-align: center; width: 100%; }
}

/* ============================================================
   Areas impactadas (cards) - dentro de "Quando a vida financeira pesa"
   ============================================================ */
.tr-areas__titulo {
    font-size: 20px;
    font-weight: 800;
    color: var(--tr-texto);
    margin: 48px 0 24px;
    text-align: center;
    letter-spacing: -0.2px;
}

.tr-areas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tr-area {
    background: #fff;
    border: 1px solid var(--tr-borda);
    border-radius: var(--tr-radius);
    padding: 24px 22px;
    box-shadow: var(--tr-sombra);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tr-area:hover {
    transform: translateY(-4px);
    box-shadow: var(--tr-sombra-forte);
}

.tr-area__titulo {
    font-size: 16px;
    font-weight: 800;
    color: var(--tr-roxo);
    margin: 0 0 8px;
    letter-spacing: -0.1px;
}

.tr-area__desc {
    font-size: 14px;
    color: var(--tr-texto-suave);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 900px) {
    .tr-areas { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .tr-areas { grid-template-columns: 1fr; }
}

/* ============================================================
   Modalidades de realizacao - subsecao dentro de Formatos
   ============================================================ */
.tr-modalidades {
    margin-top: 64px;
}

.tr-modalidades__separador {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--tr-borda) 20%, var(--tr-borda) 80%, transparent 100%);
    margin: 0 auto 40px;
    max-width: 720px;
}

.tr-modalidades__titulo {
    font-size: 22px;
    font-weight: 800;
    color: var(--tr-texto);
    margin: 0 0 28px;
    text-align: center;
    letter-spacing: -0.2px;
}

.tr-modalidades__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tr-modalidade {
    background: #fff;
    border: 1px solid var(--tr-borda);
    border-radius: var(--tr-radius);
    padding: 28px 24px;
    box-shadow: var(--tr-sombra);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    text-align: left;
}

.tr-modalidade:hover {
    transform: translateY(-4px);
    box-shadow: var(--tr-sombra-forte);
    border-color: transparent;
}

.tr-modalidade__icone {
    width: 44px;
    height: 44px;
    border-radius: var(--tr-radius);
    background: linear-gradient(135deg, rgba(130, 10, 209, 0.10) 0%, rgba(249, 71, 119, 0.10) 100%);
    color: var(--tr-roxo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.tr-modalidade__icone svg { width: 22px; height: 22px; }

.tr-modalidade__titulo {
    font-size: 17px;
    font-weight: 800;
    color: var(--tr-roxo);
    margin: 0 0 8px;
    letter-spacing: -0.1px;
}

.tr-modalidade__desc {
    font-size: 14px;
    color: var(--tr-texto-suave);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .tr-modalidades__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA comercial centralizado
   ============================================================ */
.tr-cta-centro {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

/* ============================================================
   Label acessivel escondido (formulario com placeholders)
   ============================================================ */
.tr-form__label-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   Ajuste Hero mobile (grid 2 colunas -> 1 coluna)
   ============================================================ */
@media (max-width: 900px) {
    .tr-hero__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .tr-hero__texto { text-align: center; }
    .tr-hero__cta { justify-content: center; }
    .tr-hero__imagem { max-width: 480px; margin: 0 auto; }
}
