/* ===========================================================
   Florees — folha de estilo das páginas legais
   Compartilhada por politica-de-privacidade.html e termos-de-uso.html
   =========================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --roxo-900: #3a1a4f;
    --roxo-800: #4f2668;
    --roxo-700: #5d3079;
    --roxo-600: #6d3a8a;
    --roxo-500: #8a5fa5;
    --lavanda: #aea9d4;
    --lavanda-soft: #c7c4e2;
    --lavanda-veil: #efecf7;

    --terra: #c05a2a;
    --terra-deep: #a94a1f;
    --terra-veil: #f9efe8;

    --branco: #ffffff;
    --offwhite: #fbf9fb;
    --bege: #f7f2ee;

    --texto: #3f2c4b;
    --texto-2: #6d5c79;
    --linha: #e8e2ee;

    --wa: #128c7e;
    --wa-deep: #075e54;

    --sombra-s: 0 2px 10px rgba(79, 38, 104, .06);
    --sombra-m: 0 14px 38px rgba(79, 38, 104, .10);

    --raio: 18px;
    --fonte-h: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --fonte-b: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --header-h: 96px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

body {
    font-family: var(--fonte-b);
    color: var(--texto);
    background: var(--branco);
    line-height: 1.68;
    font-size: 1.0625rem;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--fonte-h);
    color: var(--roxo-800);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 800;
    text-wrap: balance;
}

p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
    outline: 3px solid var(--roxo-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--roxo-800);
    color: #fff;
    padding: .75rem 1.25rem;
    z-index: 999;
}

.skip:focus { left: 8px; top: 8px; }

/* ========== BOTÕES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-family: var(--fonte-h);
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.25;
    padding: .8rem 1.5rem;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-cta {
    background: linear-gradient(135deg, var(--terra) 0%, var(--terra-deep) 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(169, 74, 31, .28);
}

.btn-cta:hover { transform: translateY(-3px); }

.btn-ghost {
    background: transparent;
    color: var(--roxo-700);
    border-color: var(--lavanda-soft);
}

.btn-ghost:hover { background: var(--lavanda-veil); border-color: var(--roxo-500); }

/* ========== HEADER ========== */
header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--linha);
}

.header-in {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .85rem;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 76px; width: auto; }

.header-right { display: flex; align-items: center; gap: 1.35rem; }

.header-fone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    text-decoration: none;
}

.header-fone .rot {
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--texto-2);
}

.header-fone .fone-num {
    font-family: var(--fonte-h);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--roxo-700);
}

@media (max-width: 820px) {
    :root { --header-h: 78px; }
    .brand img { height: 58px; }
    .header-fone { display: none; }
}

@media (max-width: 400px) {
    .brand img { height: 46px; }
    .header-right .btn { padding: .68rem 1rem; font-size: .8rem; }
}

@media (max-width: 340px) {
    .brand img { height: 40px; }
    .header-right .btn { padding: .6rem .8rem; font-size: .74rem; }
}

/* ========== CAPA ========== */
.capa {
    background:
        radial-gradient(760px 420px at 88% 0%, rgba(199, 196, 226, .38), transparent 62%),
        var(--offwhite);
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--linha);
}

.migalha {
    font-size: .85rem;
    color: var(--texto-2);
    margin-bottom: 1rem;
}

.migalha a { color: var(--terra-deep); text-decoration: none; font-weight: 600; }
.migalha a:hover { text-decoration: underline; }

.capa h1 {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    margin-bottom: .8rem;
}

.capa .sub {
    color: var(--texto-2);
    max-width: 46rem;
    font-size: clamp(1rem, 1.5vw, 1.08rem);
}

.atualizado {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.4rem;
    background: #fff;
    border: 1px solid var(--linha);
    border-radius: 100px;
    padding: .5rem 1.1rem;
    font-size: .82rem;
    color: var(--texto-2);
    box-shadow: var(--sombra-s);
}

.atualizado svg { width: 15px; height: 15px; color: var(--terra); }

/* ========== CORPO ========== */
.doc {
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.indice {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    background: var(--offwhite);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    padding: 1.4rem 1.3rem;
}

.indice p {
    font-family: var(--fonte-h);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--terra-deep);
    margin-bottom: .9rem;
}

.indice ol {
    list-style: none;
    counter-reset: idx;
    display: grid;
    gap: .5rem;
}

.indice li { counter-increment: idx; }

.indice a {
    display: flex;
    gap: .5rem;
    font-size: .87rem;
    color: var(--texto-2);
    text-decoration: none;
    line-height: 1.4;
    transition: color .2s ease;
}

.indice a::before {
    content: counter(idx) ".";
    color: var(--lavanda);
    font-weight: 700;
    flex-shrink: 0;
}

.indice a:hover { color: var(--roxo-700); }

@media (max-width: 900px) {
    .doc { grid-template-columns: 1fr; }
    .indice { position: static; }
}

.conteudo {
    max-width: 46rem;
    min-width: 0;
    /* o e-mail de contato é uma palavra longa e estourava em telas estreitas */
    overflow-wrap: break-word;
}

/* sem isto o grid não encolhe abaixo da largura mínima da tabela */
.doc > * { min-width: 0; }

.conteudo section { scroll-margin-top: calc(var(--header-h) + 16px); }
.conteudo section + section { margin-top: 2.6rem; }

.conteudo h2 {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    margin-bottom: .9rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--linha);
}

.conteudo h3 {
    font-size: 1.02rem;
    margin: 1.5rem 0 .5rem;
}

.conteudo p { margin-bottom: 1rem; color: var(--texto-2); }
.conteudo strong { color: var(--texto); }

.conteudo ul {
    list-style: none;
    display: grid;
    gap: .6rem;
    margin: 0 0 1.2rem;
}

.conteudo ul li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--texto-2);
}

.conteudo ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .68em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lavanda);
}

.conteudo a { color: var(--terra-deep); font-weight: 600; }

.destaque {
    background: var(--lavanda-veil);
    border-left: 4px solid var(--roxo-500);
    border-radius: 0 14px 14px 0;
    padding: 1.15rem 1.35rem;
    margin: 1.3rem 0;
}

.destaque p { margin: 0; color: var(--roxo-800); font-size: .95rem; }

.aviso {
    background: var(--terra-veil);
    border-left: 4px solid var(--terra);
    border-radius: 0 14px 14px 0;
    padding: 1.15rem 1.35rem;
    margin: 1.3rem 0;
}

.aviso p { margin: 0; color: #7d3714; font-size: .95rem; }

.tabela {
    width: 100%;
    overflow-x: auto;
    margin: 0 0 1.3rem;
    border: 1px solid var(--linha);
    border-radius: 14px;
}

.tabela table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }

.tabela th,
.tabela td {
    text-align: left;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--linha);
    vertical-align: top;
}

.tabela th {
    font-family: var(--fonte-h);
    font-weight: 700;
    color: var(--roxo-800);
    background: var(--offwhite);
    font-size: .82rem;
}

.tabela td { color: var(--texto-2); }
.tabela tr:last-child td { border-bottom: none; }

.cartao-contato {
    background: var(--offwhite);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    padding: 1.5rem;
    margin-top: 1.2rem;
}

.cartao-contato p { margin-bottom: .4rem; }
.cartao-contato p:last-child { margin-bottom: 0; }

/* ========== RODAPÉ ========== */
footer {
    background: var(--roxo-900);
    color: rgba(255, 255, 255, .78);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.8rem;
    font-size: .9rem;
}

.foot-top {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 2.4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.foot-logo-card {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.4rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.foot-logo { height: 62px; width: auto; display: block; }

.foot-top strong.nome {
    display: block;
    font-family: var(--fonte-h);
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.foot-top p { max-width: 32rem; }

.foot-col-titulo {
    font-family: var(--fonte-h);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--lavanda);
    margin-bottom: 1rem;
}

.foot-contato { display: grid; gap: .8rem; align-content: start; }

.foot-contato a,
.foot-contato div {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
}

.foot-contato a:hover { color: #fff; }
.foot-contato svg { width: 17px; height: 17px; color: var(--lavanda); flex-shrink: 0; }

.foot-contato .fone {
    font-family: var(--fonte-h);
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
}

.foot-local address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, .86);
}

.foot-bottom {
    padding-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: rgba(255, 255, 255, .72);
}

.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.foot-links a,
.foot-links button {
    color: inherit;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding-block: .4rem;
}

.foot-links a:hover,
.foot-links button:hover { color: #fff; }

@media (max-width: 760px) {
    .foot-top { grid-template-columns: 1fr; }
    .foot-logo { height: 54px; }
}

/* ========== WHATSAPP FLUTUANTE ========== */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 600;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--wa);
    color: #fff;
    font-family: var(--fonte-h);
    font-weight: 700;
    font-size: .92rem;
    padding: .85rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(7, 94, 84, .38);
    transition: background .25s ease, transform .25s ease;
}

.wa-float:hover { background: var(--wa-deep); transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }

@media (max-width: 720px) {
    .wa-float { right: 14px; bottom: 14px; padding: .8rem 1.05rem; font-size: .85rem; }
}
