/* ============================================================
   thalesmarketing.com.br
   Namespace unico do site: tm-  (registro em docs/css-namespaces.md)
   Tema escuro, display Manrope, corpo DM Sans, acento violeta,
   CTA ambar. Mobile first.
   ============================================================ */

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(../fonts/manrope-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url(../fonts/dmsans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url(../fonts/dmsans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --tm-bg: #08080e;
    --tm-bg-2: #0d0d16;
    --tm-surface: #13131f;
    --tm-surface-2: #191926;
    --tm-line: rgba(255, 255, 255, .09);
    --tm-line-strong: rgba(255, 255, 255, .18);
    --tm-text: #ececf5;
    --tm-soft: #a6a6bd;
    --tm-muted: #8383a0;
    --tm-accent: #8f79ff;
    --tm-accent-deep: #5b3ff0;
    --tm-accent-soft: rgba(143, 121, 255, .14);
    --tm-cta: #ffb020;
    --tm-cta-ink: #171106;

    --tm-font-display: 'Manrope', system-ui, sans-serif;
    --tm-font-body: 'DM Sans', system-ui, sans-serif;

    --tm-shell: 1280px;
    --tm-pad: 20px;
    --tm-radius: 16px;
    --tm-ease: .32s cubic-bezier(.2, .7, .3, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--tm-font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--tm-soft);
    background-color: var(--tm-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--tm-font-display);
    color: var(--tm-text);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(34px, 6.4vw, 62px);
}

h2 {
    font-size: clamp(27px, 4.4vw, 42px);
}

h3 {
    font-size: clamp(19px, 2.2vw, 23px);
    letter-spacing: -.01em;
}

strong {
    color: var(--tm-text);
    font-weight: 600;
}

:focus-visible {
    outline: 2px solid var(--tm-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--tm-accent-deep);
    color: #fff;
}

/* ------------------------------------------------------------
   tm-skip: atalho de teclado para o conteudo
   ------------------------------------------------------------ */
.tm-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--tm-accent-deep);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 10px 0;
}

.tm-skip:focus {
    left: 0;
}

/* ------------------------------------------------------------
   tm-container: grade unica do site
   ------------------------------------------------------------ */
.tm-container {
    width: 100%;
    max-width: var(--tm-shell);
    margin-inline: auto;
    padding-inline: var(--tm-pad);
}

/* ------------------------------------------------------------
   tm-section: ritmo vertical e cabecalho de secao
   ------------------------------------------------------------ */
.tm-section {
    padding-block: clamp(56px, 9vw, 108px);
    position: relative;
}

.tm-section.is-tinted {
    background: var(--tm-bg-2);
    border-block: 1px solid var(--tm-line);
}

/* primeira secao de pagina interna, precisa limpar o header fixo */
.tm-section.is-top {
    padding-top: 132px;
}

.tm-section__head {
    max-width: 720px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.tm-section__head p {
    margin-top: 16px;
    font-size: clamp(16px, 1.9vw, 18px);
}

/* ------------------------------------------------------------
   tm-eyebrow: rotulo curto acima do titulo
   ------------------------------------------------------------ */
.tm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--tm-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tm-accent);
    margin-bottom: 18px;
}

.tm-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

/* ------------------------------------------------------------
   tm-button: acao primaria (ambar) e secundaria (contorno)
   ------------------------------------------------------------ */
.tm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--tm-font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    padding: 17px 28px;
    border: 1px solid var(--tm-cta);
    border-radius: 999px;
    background: var(--tm-cta);
    color: var(--tm-cta-ink);
    cursor: pointer;
    transition: transform var(--tm-ease), box-shadow var(--tm-ease), background var(--tm-ease);
}

.tm-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(255, 176, 32, .22);
}

.tm-button svg {
    width: 18px;
    height: 18px;
}

.tm-button.is-ghost {
    background: transparent;
    color: var(--tm-text);
    border-color: var(--tm-line-strong);
}

.tm-button.is-ghost:hover {
    border-color: var(--tm-accent);
    box-shadow: none;
    color: var(--tm-accent);
}

.tm-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

/* link em meio a texto corrido */
.tm-link {
    color: var(--tm-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ------------------------------------------------------------
   tm-header: barra fixa e botao de menu
   ------------------------------------------------------------ */
.tm-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 90;
    backdrop-filter: blur(14px);
    background: rgba(8, 8, 14, .72);
    border-bottom: 1px solid transparent;
    transition: border-color var(--tm-ease), background var(--tm-ease);
}

.tm-header.is-stuck {
    border-bottom-color: var(--tm-line);
    background: rgba(8, 8, 14, .92);
}

.tm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.tm-header__cta {
    display: none;
}

@media (min-width: 900px) {
    .tm-header__cta {
        display: inline-flex;
        padding: 13px 22px;
        font-size: 15px;
    }
}

.tm-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--tm-font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.02em;
    color: var(--tm-text);
}

.tm-logo img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.tm-logo em {
    font-style: normal;
    font-weight: 300;
    color: var(--tm-soft);
}

.tm-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--tm-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tm-text);
    background: transparent;
    border: 1px solid var(--tm-line-strong);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    transition: border-color var(--tm-ease), color var(--tm-ease);
}

.tm-menu-btn:hover {
    border-color: var(--tm-accent);
    color: var(--tm-accent);
}

.tm-menu-btn span {
    display: block;
    width: 16px;
    height: 8px;
    border-block: 1.5px solid currentColor;
}

/* ------------------------------------------------------------
   tm-menu: painel de navegacao em tela cheia
   ------------------------------------------------------------ */
.tm-menu {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: var(--tm-bg-2);
    padding: 96px var(--tm-pad) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--tm-ease), visibility var(--tm-ease);
}

.tm-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.tm-menu__inner {
    width: 100%;
    max-width: var(--tm-shell);
    margin-inline: auto;
    display: grid;
    gap: 44px;
}

@media (min-width: 900px) {
    .tm-menu__inner {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
        gap: 64px;
    }
}

.tm-menu__nav li + li {
    margin-top: 6px;
}

.tm-menu__nav a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-family: var(--tm-font-display);
    font-size: clamp(28px, 5.6vw, 44px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--tm-text);
    padding-block: 8px;
    transition: color var(--tm-ease), transform var(--tm-ease);
}

.tm-menu__nav a:hover {
    color: var(--tm-accent);
    transform: translateX(8px);
}

.tm-menu__nav li.is-current a {
    color: var(--tm-accent);
}

.tm-menu__num {
    font-family: var(--tm-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--tm-muted);
}

.tm-menu__aside {
    padding-top: 6px;
}

.tm-menu__block + .tm-menu__block {
    margin-top: 32px;
}

.tm-menu__block a {
    display: block;
    padding-block: 6px;
    color: var(--tm-soft);
    transition: color var(--tm-ease);
}

.tm-menu__block a:hover {
    color: var(--tm-accent);
}

.tm-label {
    font-family: var(--tm-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tm-muted);
    margin-bottom: 12px;
}

/* ------------------------------------------------------------
   tm-hero: primeira dobra
   ------------------------------------------------------------ */
.tm-hero {
    position: relative;
    padding-block: 132px clamp(64px, 10vw, 116px);
    overflow: hidden;
    isolation: isolate;
}

.tm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.tm-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(103deg, var(--tm-bg) 3%, rgba(8, 8, 14, .9) 34%, rgba(8, 8, 14, .42) 66%, rgba(8, 8, 14, .62) 100%),
        linear-gradient(to top, var(--tm-bg) 1%, transparent 40%);
}

.tm-hero__inner {
    max-width: 760px;
}

.tm-hero h1 {
    margin-bottom: 22px;
}

.tm-hero h1 em {
    font-style: normal;
    color: var(--tm-accent);
}

.tm-hero__lead {
    font-size: clamp(17px, 2.3vw, 20px);
    max-width: 620px;
    margin-bottom: 32px;
}

.tm-hero__note {
    margin-top: 22px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-hero__strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.tm-hero__strip li {
    font-family: var(--tm-font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--tm-soft);
    border: 1px solid var(--tm-line);
    background: rgba(19, 19, 31, .66);
    border-radius: 999px;
    padding: 8px 15px;
}

/* ------------------------------------------------------------
   tm-fit: para quem e, e para quem nao e
   ------------------------------------------------------------ */
.tm-fit__grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 860px) {
    .tm-fit__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tm-fit__col {
    background: var(--tm-surface);
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    padding: clamp(24px, 3.4vw, 34px);
}

.tm-fit__col.is-negative {
    background: transparent;
}

.tm-fit__col h3 {
    margin-bottom: 18px;
}

.tm-fit__col li {
    position: relative;
    padding-left: 28px;
    padding-block: 7px;
}

.tm-fit__col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: var(--tm-accent-soft);
    border: 1px solid var(--tm-accent);
}

.tm-fit__col.is-negative li::before {
    background: transparent;
    border-color: var(--tm-line-strong);
}

/* ------------------------------------------------------------
   tm-pain: o custo de operar no braco
   ------------------------------------------------------------ */
.tm-pain__grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 760px) {
    .tm-pain__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1080px) {
    .tm-pain__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tm-pain__item {
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    padding: 26px 24px;
    background: linear-gradient(180deg, var(--tm-surface), var(--tm-bg-2));
}

.tm-pain__item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tm-pain__item p {
    font-size: 15px;
}

/* ------------------------------------------------------------
   tm-build: o que e construido
   ------------------------------------------------------------ */
.tm-build__grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 760px) {
    .tm-build__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1080px) {
    .tm-build__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tm-build__item {
    position: relative;
    background: var(--tm-surface);
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    padding: 30px 26px 32px;
    overflow: hidden;
    transition: border-color var(--tm-ease), transform var(--tm-ease);
}

.tm-build__item:hover {
    border-color: var(--tm-line-strong);
    transform: translateY(-3px);
}

.tm-build__item::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--tm-accent), transparent 72%);
    opacity: .5;
}

.tm-build__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--tm-accent-soft);
    color: var(--tm-accent);
    margin-bottom: 18px;
}

.tm-build__icon svg {
    width: 21px;
    height: 21px;
}

.tm-build__item h3 {
    margin-bottom: 10px;
}

.tm-build__item p {
    font-size: 15px;
}

.tm-build__foot {
    margin-top: 34px;
    font-size: 15px;
    color: var(--tm-muted);
    max-width: 720px;
}

/* ------------------------------------------------------------
   tm-method: as quatro etapas do trabalho
   ------------------------------------------------------------ */
.tm-method__list {
    display: grid;
    gap: 2px;
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    overflow: hidden;
    background: var(--tm-line);
}

@media (min-width: 1080px) {
    .tm-method__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tm-method__step {
    background: var(--tm-bg-2);
    padding: 30px 26px 34px;
}

.tm-method__num {
    font-family: var(--tm-font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--tm-accent);
    display: block;
    margin-bottom: 14px;
}

.tm-method__step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tm-method__step p {
    font-size: 15px;
}

/* ------------------------------------------------------------
   tm-diff: por que software em vez de mais uma amarracao
   ------------------------------------------------------------ */
.tm-diff__wrap {
    display: grid;
    gap: 28px;
    align-items: start;
}

@media (min-width: 980px) {
    .tm-diff__wrap {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.tm-diff__panel {
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    background: var(--tm-surface);
    padding: clamp(24px, 3.4vw, 34px);
}

.tm-diff__panel h3 {
    font-size: 19px;
    margin-bottom: 16px;
}

.tm-diff__panel li {
    padding-block: 9px;
    border-top: 1px solid var(--tm-line);
    font-size: 15px;
}

.tm-diff__panel li:first-of-type {
    border-top: 0;
}

.tm-diff__panel.is-highlight {
    background: linear-gradient(150deg, rgba(143, 121, 255, .12), var(--tm-surface) 58%);
    border-color: rgba(143, 121, 255, .32);
}

/* ------------------------------------------------------------
   tm-author: quem assina o trabalho
   ------------------------------------------------------------ */
.tm-author__wrap {
    display: grid;
    gap: 28px;
    align-items: center;
}

@media (min-width: 980px) {
    .tm-author__wrap {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
}

.tm-author__body p + p {
    margin-top: 16px;
}

.tm-author__facts {
    display: grid;
    gap: 2px;
    background: var(--tm-line);
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    overflow: hidden;
}

.tm-author__facts div {
    background: var(--tm-bg-2);
    padding: 22px 24px;
}

.tm-author__facts h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.tm-author__facts p {
    font-size: 15px;
}

/* ------------------------------------------------------------
   tm-faq: perguntas em details nativo
   ------------------------------------------------------------ */
.tm-faq__list {
    border-top: 1px solid var(--tm-line);
    max-width: 860px;
}

.tm-faq__item {
    border-bottom: 1px solid var(--tm-line);
}

.tm-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    padding-block: 22px;
    font-family: var(--tm-font-display);
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 600;
    color: var(--tm-text);
    transition: color var(--tm-ease);
}

.tm-faq__item summary::-webkit-details-marker {
    display: none;
}

.tm-faq__item summary:hover {
    color: var(--tm-accent);
}

.tm-faq__item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform var(--tm-ease);
}

.tm-faq__item[open] summary::after {
    transform: rotate(-135deg) translate(-3px, -3px);
}

.tm-faq__answer {
    padding-bottom: 24px;
    max-width: 720px;
    font-size: 16px;
}

/* ------------------------------------------------------------
   tm-final: chamada de fechamento
   ------------------------------------------------------------ */
.tm-final {
    padding-block: clamp(64px, 9vw, 112px);
    background:
        radial-gradient(120% 130% at 12% 0%, rgba(143, 121, 255, .16), transparent 58%),
        var(--tm-bg-2);
    border-top: 1px solid var(--tm-line);
}

.tm-final__inner {
    max-width: 760px;
}

.tm-final h2 {
    margin-bottom: 18px;
}

.tm-final p {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 30px;
}

/* ------------------------------------------------------------
   tm-form: briefing do diagnostico
   ------------------------------------------------------------ */
.tm-form {
    max-width: 640px;
    display: grid;
    gap: 18px;
}

.tm-form__field {
    display: grid;
    gap: 7px;
}

.tm-form__field label {
    font-family: var(--tm-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-text);
}

.tm-form__field input,
.tm-form__field select,
.tm-form__field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    color: var(--tm-text);
    background: var(--tm-surface);
    border: 1px solid var(--tm-line-strong);
    border-radius: 11px;
    padding: 13px 15px;
    transition: border-color var(--tm-ease);
}

.tm-form__field input:focus,
.tm-form__field select:focus,
.tm-form__field textarea:focus {
    border-color: var(--tm-accent);
    outline: none;
}

.tm-form__field textarea {
    min-height: 128px;
    resize: vertical;
}

.tm-form__check label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-family: var(--tm-font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--tm-soft);
    line-height: 1.5;
}

.tm-form__check input {
    width: auto;
    flex: 0 0 auto;
    margin-top: 4px;
    accent-color: var(--tm-accent-deep);
}

.tm-form__check a {
    color: var(--tm-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tm-form__hint {
    font-size: 13px;
    color: var(--tm-muted);
}

.tm-form__hint a {
    color: var(--tm-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tm-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tm-form__error {
    border: 1px solid rgba(255, 120, 120, .4);
    background: rgba(255, 120, 120, .08);
    color: #ffc7c7;
    border-radius: 11px;
    padding: 14px 16px;
    font-size: 15px;
}

.tm-form__error li {
    padding-block: 2px;
}

/* ------------------------------------------------------------
   tm-tx: paginas transacionais (404, obrigado)
   ------------------------------------------------------------ */
.tm-tx {
    min-height: 72vh;
    display: grid;
    align-items: center;
    padding-block: 148px 96px;
}

.tm-tx__inner {
    max-width: 680px;
}

.tm-tx h1 {
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 18px;
}

.tm-tx p {
    font-size: 17px;
    margin-bottom: 28px;
}

/* ------------------------------------------------------------
   tm-doc: corpo de texto longo (politica de privacidade)
   ------------------------------------------------------------ */
.tm-doc {
    padding-block: 132px 88px;
}

.tm-doc__body {
    max-width: 760px;
}

.tm-doc__body h2 {
    font-size: clamp(21px, 2.6vw, 26px);
    margin-top: 40px;
    margin-bottom: 12px;
}

.tm-doc__body p,
.tm-doc__body li {
    margin-top: 12px;
    font-size: 16px;
}

.tm-doc__body li {
    padding-left: 18px;
    position: relative;
}

.tm-doc__body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tm-accent);
}

.tm-doc__body a {
    color: var(--tm-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ------------------------------------------------------------
   tm-footer
   ------------------------------------------------------------ */
.tm-footer {
    background: var(--tm-bg);
    border-top: 1px solid var(--tm-line);
    padding-block: 56px 32px;
}

.tm-footer__grid {
    display: grid;
    gap: 36px;
}

@media (min-width: 860px) {
    .tm-footer__grid {
        grid-template-columns: 1.6fr 1fr 1fr;
        gap: 48px;
    }
}

.tm-footer__brand p {
    margin-top: 16px;
    font-size: 15px;
    max-width: 380px;
}

.tm-footer__col li {
    padding-block: 5px;
}

.tm-footer__col a {
    color: var(--tm-soft);
    transition: color var(--tm-ease);
}

.tm-footer__col a:hover {
    color: var(--tm-accent);
}

.tm-footer__bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--tm-line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-footer__bottom a:hover {
    color: var(--tm-accent);
}

.tm-footer__legal {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------
   tm-cookie: aviso de cookies, so aparece com analytics ligado
   ------------------------------------------------------------ */
.tm-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 120;
    max-width: 880px;
    margin-inline: auto;
    background: var(--tm-surface-2);
    border: 1px solid var(--tm-line-strong);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
    padding: 18px 20px;
    font-size: 14px;
    display: grid;
    gap: 14px;
}

@media (min-width: 760px) {
    .tm-cookie {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 22px;
    }
}

.tm-cookie[hidden] {
    display: none;
}

.tm-cookie a {
    color: var(--tm-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tm-cookie__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tm-cookie__btn {
    font-family: var(--tm-font-display);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 9px;
    padding: 10px 18px;
    border: 1px solid var(--tm-line-strong);
    background: transparent;
    color: var(--tm-text);
    transition: border-color var(--tm-ease), background var(--tm-ease);
}

.tm-cookie__btn:hover {
    border-color: var(--tm-accent);
}

.tm-cookie__btn.is-accept {
    background: var(--tm-accent-deep);
    border-color: var(--tm-accent-deep);
    color: #fff;
}

/* ------------------------------------------------------------
   tm-reveal: entrada suave no scroll, desligada por preferencia
   ------------------------------------------------------------ */
.tm-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.tm-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .tm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .tm-button:hover,
    .tm-build__item:hover,
    .tm-menu__nav a:hover {
        transform: none;
    }
}

/* ==========================================================================
   Botao flutuante de WhatsApp
   ========================================================================== */

.tm-wpp {
    position: fixed;
    right: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(37, 211, 102, .38);
    background: #1d2a22;
    color: #eafff1;
    font-family: var(--tm-font-display);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .42);
    transition: transform var(--tm-ease), background var(--tm-ease), border-color var(--tm-ease);
}

.tm-wpp:hover,
.tm-wpp:focus-visible {
    transform: translateY(-2px);
    background: #24352b;
    border-color: rgba(37, 211, 102, .68);
}

.tm-wpp__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: #25d366;
}

@media (max-width: 640px) {
    .tm-wpp {
        padding: 14px;
    }

    .tm-wpp__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tm-wpp:hover,
    .tm-wpp:focus-visible {
        transform: none;
    }
}

.tm-actions__alt {
    margin: 14px 0 0;
    color: var(--tm-soft);
    font-size: .93rem;
}

.tm-actions__alt a {
    color: var(--tm-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tm-actions__alt a:hover,
.tm-actions__alt a:focus-visible {
    color: var(--tm-cta);
}
