/* ==============================================================================
   Landing page (inicio.php) — tema Cooperado Forte
   ============================================================================== */

:root {
    --lp-verde-950: #021f15;
    --lp-verde-900: #033a27;
    --lp-verde-800: #04503a;
    --lp-verde-700: #017c50;
    --lp-verde-600: #179b69;
    --lp-verde-400: #3fd18f;
    --lp-verde-200: #b9f0d3;
    --lp-verde-100: #e6f7ee;
    --lp-verde-50: #f3fbf7;
    --lp-tinta: #10201a;
    --lp-texto: #44544d;
    --lp-borda: rgba(16, 32, 26, 0.08);
    --lp-raio: 22px;
    --lp-raio-grande: 32px;
    --lp-sombra: 0 1px 2px rgba(16, 32, 26, 0.04), 0 12px 32px -12px rgba(16, 32, 26, 0.18);
    --lp-sombra-forte: 0 30px 60px -20px rgba(2, 31, 21, 0.45);
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lp-nav-altura: 76px;
    --lp-respiro: 24px; /* margem lateral do conteúdo */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--lp-nav-altura);
}

body.landing {
    background: #fff;
    color: var(--lp-tinta);
    font-family: 'Poppins', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* :where() zera a especificidade, para as classes de cada componente poderem definir margens */
:where(.landing) h1,
:where(.landing) h2,
:where(.landing) h3 {
    color: inherit;
    letter-spacing: -0.03em;
    margin: 0;
}

:where(.landing) p {
    margin: 0;
}

.lp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lp-respiro);
}

.pular-conteudo {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: #fff;
    color: var(--lp-verde-700);
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
}

.pular-conteudo:focus {
    top: 16px;
}

.landing :focus-visible {
    outline: 3px solid var(--lp-verde-400);
    outline-offset: 3px;
    border-radius: 8px;
}

/* --- Botões ----------------------------------------------------------------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease), background-color 0.25s, color 0.25s;
    white-space: nowrap;
}

.lp-btn i {
    font-size: 1.15em;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn--claro {
    background: #fff;
    color: var(--lp-verde-800);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
}

.lp-btn--claro:hover {
    color: var(--lp-verde-900);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
}

.lp-btn--vidro {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.lp-btn--vidro:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.lp-btn--grande {
    padding: 1.05rem 1.9rem;
    font-size: 1rem;
}

/* --- Navegação -------------------------------------------------------------- */
.lp-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--lp-nav-altura);
    display: flex;
    align-items: center;
    transition: background-color 0.35s, box-shadow 0.35s, height 0.35s var(--lp-ease);
}

.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lp-nav__marca {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.lp-nav__marca:hover {
    color: #fff;
}

.lp-nav__marca strong {
    font-weight: 700;
}

.lp-nav__simbolo {
    width: 36px;
    height: auto;
}

.lp-nav__simbolo--cor {
    display: none;
}

.lp-nav__menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lp-nav__menu > a:not(.lp-btn) {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: background-color 0.25s, color 0.25s;
}

.lp-nav__menu > a:not(.lp-btn):hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lp-btn--nav {
    margin-left: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.lp-btn--nav:hover {
    background: #fff;
    color: var(--lp-verde-800);
}

/* Barra depois de rolar: vidro claro */
.lp-nav.rolou {
    height: 64px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(1.6) blur(16px);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    box-shadow: 0 1px 0 var(--lp-borda), 0 10px 30px -18px rgba(16, 32, 26, 0.35);
}

.lp-nav.rolou .lp-nav__marca {
    color: var(--lp-verde-800);
}

.lp-nav.rolou .lp-nav__simbolo--claro {
    display: none;
}

.lp-nav.rolou .lp-nav__simbolo--cor {
    display: block;
}

.lp-nav.rolou .lp-nav__menu > a:not(.lp-btn) {
    color: var(--lp-texto);
}

.lp-nav.rolou .lp-nav__menu > a:not(.lp-btn):hover {
    color: var(--lp-verde-700);
    background: var(--lp-verde-100);
}

.lp-nav.rolou .lp-btn--nav {
    background: var(--lp-verde-700);
    border-color: var(--lp-verde-700);
    color: #fff;
}

.lp-nav.rolou .lp-btn--nav:hover {
    background: var(--lp-verde-800);
}

.lp-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
}

.lp-nav__toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.35s var(--lp-ease), opacity 0.2s, background-color 0.3s;
}

.lp-nav__toggle span:nth-child(1) { top: 15px; }
.lp-nav__toggle span:nth-child(2) { top: 21px; }
.lp-nav__toggle span:nth-child(3) { top: 27px; }

.lp-nav.rolou .lp-nav__toggle,
.lp-nav.aberto .lp-nav__toggle {
    background: var(--lp-verde-100);
}

.lp-nav.rolou .lp-nav__toggle span,
.lp-nav.aberto .lp-nav__toggle span {
    background: var(--lp-verde-800);
}

.lp-nav.aberto .lp-nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav.aberto .lp-nav__toggle span:nth-child(2) { opacity: 0; }
.lp-nav.aberto .lp-nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ------------------------------------------------------------------- */
.lp-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--lp-nav-altura) + 48px) 0 96px;
    color: #fff;
    background: radial-gradient(120% 90% at 85% 10%, #0a6b47 0%, transparent 55%),
        linear-gradient(160deg, var(--lp-verde-900) 0%, var(--lp-verde-950) 100%);
    overflow: hidden;
    isolation: isolate;
}

.lp-hero__fundo {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.lp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: lp-flutuar 18s ease-in-out infinite alternate;
}

.lp-blob--1 {
    width: 520px;
    height: 520px;
    background: var(--lp-verde-600);
    top: -160px;
    right: -120px;
}

.lp-blob--2 {
    width: 420px;
    height: 420px;
    background: #0f8a5c;
    bottom: -180px;
    left: -140px;
    animation-duration: 22s;
}

.lp-blob--3 {
    width: 260px;
    height: 260px;
    background: var(--lp-verde-400);
    top: 45%;
    left: 45%;
    opacity: 0.22;
    animation-duration: 26s;
}

@keyframes lp-flutuar {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

.lp-hero__grade {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
    mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
}

.lp-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.lp-selo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--lp-verde-200);
    backdrop-filter: blur(8px);
}

.lp-selo__ponto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-verde-400);
    box-shadow: 0 0 0 0 rgba(63, 209, 143, 0.7);
    animation: lp-pulso 2.2s infinite;
}

@keyframes lp-pulso {
    0% { box-shadow: 0 0 0 0 rgba(63, 209, 143, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(63, 209, 143, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 209, 143, 0); }
}

.lp-hero h1 {
    margin-top: 1.5rem;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.lp-destaque {
    white-space: nowrap; /* "quem cuida" nunca se separa */
    background: linear-gradient(100deg, var(--lp-verde-400) 0%, var(--lp-verde-200) 60%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero__sub {
    margin-top: 1.5rem;
    max-width: 560px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.lp-hero__acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem;
}

.lp-hero__acoes .lp-btn {
    padding-inline: 1.3rem;
}

/* Visual com o símbolo em órbita */
.lp-hero__visual {
    display: flex;
    justify-content: center;
}

.lp-orbita {
    position: relative;
    width: min(440px, 80vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.lp-orbita__anel {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.lp-orbita__anel--1 { inset: 0; border-style: dashed; animation: lp-girar 60s linear infinite; }
.lp-orbita__anel--2 { inset: 12%; border-color: rgba(63, 209, 143, 0.3); }
.lp-orbita__anel--3 { inset: 24%; background: radial-gradient(circle, rgba(63, 209, 143, 0.18), transparent 70%); border: 0; }

.lp-orbita__nucleo {
    position: relative;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--lp-sombra-forte);
    backdrop-filter: blur(12px);
}

.lp-orbita__nucleo img {
    width: 66%;
    height: auto;
    animation: lp-girar 40s linear infinite;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

@keyframes lp-girar {
    to { transform: rotate(360deg); }
}

.lp-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lp-verde-900);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
    animation: lp-boiar 6s ease-in-out infinite;
}

.lp-chip i {
    color: var(--lp-verde-600);
    font-size: 1rem;
}

.lp-chip--1 { top: 10%; left: -2%; }
.lp-chip--2 { top: 46%; right: -8%; animation-delay: -2s; }
.lp-chip--3 { bottom: 8%; left: 8%; animation-delay: -4s; }

@keyframes lp-boiar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.lp-hero__rolar {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.lp-hero__rolar span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: lp-rolar 1.8s var(--lp-ease) infinite;
}

@keyframes lp-rolar {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* --- Faixa do slogan -------------------------------------------------------- */
.lp-faixa {
    background: var(--lp-verde-700);
    color: #fff;
    overflow: hidden;
    padding: 1.1rem 0;
    border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-faixa__trilho {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: lp-correr 32s linear infinite;
}

.lp-faixa__trilho span {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.lp-faixa__trilho i {
    color: var(--lp-verde-200);
    font-size: 1rem;
}

@keyframes lp-correr {
    to { transform: translateX(-50%); }
}

/* --- Seções ----------------------------------------------------------------- */
.lp-secao {
    padding: clamp(80px, 11vw, 140px) 0;
}

.lp-secao--suave {
    background: linear-gradient(180deg, var(--lp-verde-50) 0%, #fff 100%);
}

.lp-secao__cabecalho {
    max-width: 640px;
    margin-bottom: 56px;
}

.lp-secao__cabecalho h2 {
    margin-top: 0.85rem;
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--lp-tinta);
}

.lp-secao__cabecalho p {
    margin-top: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lp-texto);
}

.lp-rotulo {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-verde-700);
}

.lp-rotulo::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-right: 10px;
    vertical-align: middle;
    background: currentColor;
    border-radius: 2px;
}

.lp-rotulo--claro {
    color: var(--lp-verde-200);
}

.lp-icone {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(140deg, var(--lp-verde-600), var(--lp-verde-700));
    box-shadow: 0 12px 24px -10px rgba(1, 124, 80, 0.6);
}

.lp-icone--pequeno {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Pilares */
.lp-pilares {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-pilar {
    position: relative;
    padding: 36px 32px 40px;
    border-radius: var(--lp-raio-grande);
    background: #fff;
    border: 1px solid var(--lp-borda);
    box-shadow: var(--lp-sombra);
    overflow: hidden;
    transition: transform 0.5s var(--lp-ease), box-shadow 0.5s var(--lp-ease), border-color 0.3s;
}

.lp-pilar::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-verde-600), var(--lp-verde-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--lp-ease);
}

.lp-pilar:hover {
    transform: translateY(-6px);
    border-color: rgba(23, 155, 105, 0.25);
    box-shadow: 0 30px 60px -28px rgba(1, 124, 80, 0.45);
}

.lp-pilar:hover::after {
    transform: scaleX(1);
}

.lp-pilar__numero {
    position: absolute;
    top: 18px;
    right: 26px;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--lp-verde-100);
    transition: color 0.4s;
}

.lp-pilar:hover .lp-pilar__numero {
    color: var(--lp-verde-200);
}

.lp-pilar h3 {
    margin-top: 1.6rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.lp-pilar p {
    margin-top: 0.75rem;
    line-height: 1.7;
    color: var(--lp-texto);
}

/* Compromissos */
.lp-compromissos {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.lp-secao__cabecalho--lateral {
    position: sticky;
    top: calc(var(--lp-nav-altura) + 32px);
    margin-bottom: 0;
}

.lp-compromissos__marca {
    display: block;
    width: 140px;
    height: auto;
    margin-top: 40px;
    opacity: 0.9;
    animation: lp-girar 50s linear infinite;
}

.lp-grade {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.lp-cartao {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 28px;
    border-radius: var(--lp-raio);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--lp-borda);
    box-shadow: var(--lp-sombra);
    transition: transform 0.45s var(--lp-ease), box-shadow 0.45s var(--lp-ease), background-color 0.3s;
}

.lp-cartao:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 24px 48px -24px rgba(1, 124, 80, 0.4);
}

.lp-cartao h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.lp-cartao p {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--lp-texto);
}

/* CTA eleição */
.lp-cta {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr auto;
    align-items: center;
    gap: 40px;
    padding: clamp(40px, 6vw, 72px);
    border-radius: var(--lp-raio-grande);
    color: #fff;
    background: radial-gradient(90% 120% at 100% 0%, #0f8a5c 0%, transparent 60%),
        linear-gradient(135deg, var(--lp-verde-800) 0%, var(--lp-verde-950) 100%);
    box-shadow: var(--lp-sombra-forte);
    overflow: hidden;
    isolation: isolate;
}

.lp-cta__fundo {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 420px;
    z-index: -1;
    opacity: 0.07;
}

.lp-cta__fundo img {
    width: 100%;
    height: auto;
    animation: lp-girar 80s linear infinite;
}

.lp-cta h2 {
    margin-top: 0.85rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.lp-cta p {
    margin-top: 1rem;
    max-width: 560px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.lp-cta__aviso {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 300px;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.lp-cta__aviso i {
    font-size: 1.4rem;
    color: var(--lp-verde-400);
}

/* --- Rodapé ----------------------------------------------------------------- */
.lp-rodape {
    background: var(--lp-verde-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 28px;
}

.lp-rodape__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding-bottom: 36px;
}

.lp-rodape__marca {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-rodape__marca img {
    width: 44px;
    height: auto;
}

.lp-rodape__marca strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
}

.lp-rodape__marca span {
    font-size: 0.9rem;
}

.lp-rodape__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.lp-rodape__links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.lp-rodape__links a:hover {
    color: var(--lp-verde-400);
}

.lp-rodape__base {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    font-size: 0.85rem;
}

/* Linha divisória alinhada ao conteúdo (não à borda do container com padding) */
.lp-rodape__base::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--lp-respiro);
    right: var(--lp-respiro);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Voltar ao topo (fixo na lateral) --------------------------------------- */
.lp-topo {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    z-index: 40;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(140deg, var(--lp-verde-600), var(--lp-verde-700));
    box-shadow: 0 14px 30px -10px rgba(1, 124, 80, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s, visibility 0.3s, transform 0.4s var(--lp-ease), box-shadow 0.3s;
}

.lp-topo.visivel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.lp-topo:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px -12px rgba(1, 124, 80, 0.8);
}

/* Sobre o rodapé escuro, fica verde-claro para continuar visível */
.lp-topo.sobre-escuro {
    background: var(--lp-verde-400);
    color: var(--lp-verde-950);
}

/* --- Modal de ideias -------------------------------------------------------- */
.lp-btn--verde {
    position: relative;
    background: linear-gradient(140deg, var(--lp-verde-600), var(--lp-verde-700));
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(1, 124, 80, 0.8);
}

.lp-btn--verde:hover {
    color: #fff;
}

.lp-btn--verde:disabled {
    opacity: 0.8;
    transform: none;
    cursor: progress;
}

.lp-btn--fantasma {
    background: transparent;
    color: var(--lp-texto);
}

.lp-btn--fantasma:hover {
    background: var(--lp-verde-100);
    color: var(--lp-verde-800);
    transform: none;
}

.lp-btn__carregando {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: lp-girar 0.7s linear infinite;
}

.lp-btn.enviando .lp-btn__texto {
    visibility: hidden;
}

.lp-btn.enviando .lp-btn__carregando {
    display: block;
    position: absolute;
}

body:has(.lp-modal[open]) {
    overflow: hidden;
}

.lp-modal {
    width: min(680px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: var(--lp-raio-grande);
    background: #fff;
    color: var(--lp-tinta);
    box-shadow: 0 40px 100px -30px rgba(2, 31, 21, 0.6);
    overflow: auto;
    overscroll-behavior: contain;
}

.lp-modal::backdrop {
    background: rgba(2, 31, 21, 0.6);
    backdrop-filter: blur(6px);
}

.lp-modal[open] {
    animation: lp-modal-entrada 0.45s var(--lp-ease);
}

@keyframes lp-modal-entrada {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.lp-modal__caixa {
    position: relative;
    padding: clamp(24px, 4vw, 40px);
}

.lp-modal__fechar {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--lp-verde-50);
    color: var(--lp-texto);
    transition: background-color 0.2s, color 0.2s;
}

.lp-modal__fechar:hover {
    background: var(--lp-verde-100);
    color: var(--lp-verde-800);
}

.lp-modal__cabecalho {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-right: 40px;
    margin-bottom: 24px;
}

.lp-modal__cabecalho h2 {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
}

.lp-modal__cabecalho p {
    margin-top: 0.4rem;
    color: var(--lp-texto);
    font-size: 0.95rem;
    line-height: 1.6;
}

.lp-form__rotulo {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lp-tinta);
}

.lp-form__rotulo em {
    font-style: normal;
    font-weight: 400;
    color: #7a8a83;
}

.lp-form__alerta {
    margin-bottom: 20px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #fdecec;
    color: #9b1c1c;
    font-size: 0.92rem;
}

.lp-segmento {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.lp-segmento legend {
    width: 100%;
    float: none;
}

.lp-segmento label {
    flex: 1 1 140px;
    cursor: pointer;
}

.lp-segmento input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lp-segmento span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    border: 1.5px solid var(--lp-borda);
    font-weight: 600;
    color: var(--lp-texto);
    transition: all 0.2s;
}

.lp-segmento input:checked + span {
    border-color: var(--lp-verde-600);
    background: var(--lp-verde-50);
    color: var(--lp-verde-800);
    box-shadow: 0 0 0 3px rgba(23, 155, 105, 0.12);
}

.lp-segmento input:focus-visible + span {
    outline: 3px solid var(--lp-verde-400);
    outline-offset: 2px;
}

.lp-form__grade {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lp-campo {
    display: block;
    margin: 0;
}

.lp-campo--largo {
    grid-column: 1 / -1;
}

.lp-campo input,
.lp-campo textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #dfe7e3;
    border-radius: 14px;
    background: #fbfdfc;
    font: inherit;
    font-size: 0.95rem;
    color: var(--lp-tinta);
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.lp-campo textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.lp-campo input:focus,
.lp-campo textarea:focus {
    outline: none;
    border-color: var(--lp-verde-600);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23, 155, 105, 0.14);
}

.lp-campo.invalido input,
.lp-campo.invalido textarea {
    border-color: #d64545;
    box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.1);
}

.lp-campo__erro {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #c53030;
}

.lp-campo__erro:empty {
    display: none;
}

.lp-campo__rodape {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.lp-contador {
    margin-top: 0.35rem;
    margin-left: auto;
    font-size: 0.78rem;
    color: #7a8a83;
}

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

.lp-consentimento {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 20px 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--lp-texto);
    cursor: pointer;
}

.lp-consentimento input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--lp-verde-600);
}

.lp-form__acoes {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
}

.lp-sucesso {
    padding: 24px 0 8px;
    text-align: center;
}

.lp-sucesso__icone {
    display: inline-grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    font-size: 2.3rem;
    color: #fff;
    background: linear-gradient(140deg, var(--lp-verde-600), var(--lp-verde-700));
    box-shadow: 0 0 0 10px var(--lp-verde-100);
    animation: lp-modal-entrada 0.5s var(--lp-ease);
}

.lp-sucesso h2 {
    margin-top: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.lp-sucesso p {
    margin: 0.6rem auto 1.75rem;
    max-width: 420px;
    color: var(--lp-texto);
    line-height: 1.65;
}

/* --- Animação de entrada ---------------------------------------------------- */
.js .revelar {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--lp-ease), transform 0.9s var(--lp-ease);
    transition-delay: var(--atraso, 0ms);
}

.js .revelar.visivel {
    opacity: 1;
    transform: none;
}

/* --- Responsivo ------------------------------------------------------------- */
@media (max-width: 991px) {
    .lp-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 56px;
    }

    .lp-hero__sub {
        margin-inline: auto;
    }

    .lp-hero__acoes {
        justify-content: center;
    }

    .lp-orbita {
        width: min(340px, 78vw);
    }

    .lp-pilares {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }

    .lp-compromissos {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-secao__cabecalho--lateral {
        position: static;
    }

    .lp-compromissos__marca {
        display: none;
    }

    .lp-cta {
        grid-template-columns: 1fr;
    }

    /* Menu móvel */
    .lp-nav__toggle {
        display: block;
    }

    .lp-nav__menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 30px 60px -20px rgba(2, 31, 21, 0.45);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top;
        transition: opacity 0.25s, transform 0.35s var(--lp-ease), visibility 0.25s;
    }

    .lp-nav.aberto .lp-nav__menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .lp-nav__menu > a:not(.lp-btn),
    .lp-nav.rolou .lp-nav__menu > a:not(.lp-btn) {
        color: var(--lp-tinta);
        padding: 0.85rem 1rem;
        border-radius: 12px;
    }

    .lp-nav__menu > a:not(.lp-btn):hover {
        color: var(--lp-verde-700);
        background: var(--lp-verde-100);
    }

    .lp-btn--nav,
    .lp-nav.rolou .lp-btn--nav {
        margin: 6px 0 0;
        background: var(--lp-verde-700);
        border-color: var(--lp-verde-700);
        color: #fff;
    }

    .lp-nav.aberto:not(.rolou) {
        background: rgba(3, 58, 39, 0.92);
        backdrop-filter: blur(12px);
    }
}

@media (max-width: 575px) {
    :root {
        --lp-respiro: 16px;
    }

    .lp-hero__acoes .lp-btn {
        width: 100%;
    }

    .lp-chip {
        font-size: 0.75rem;
        padding: 0.45rem 0.75rem;
    }

    .lp-chip--2 {
        right: -2%;
    }

    .lp-grade {
        grid-template-columns: 1fr;
    }

    .lp-pilar {
        padding: 30px 24px 34px;
    }

    .lp-cta__acoes .lp-btn {
        width: 100%;
        white-space: normal;
    }

    .lp-rodape__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-form__grade {
        grid-template-columns: 1fr;
    }

    .lp-form__acoes {
        flex-direction: column-reverse;
    }

    .lp-form__acoes .lp-btn {
        width: 100%;
    }

    .lp-topo {
        width: 46px;
        height: 46px;
    }

    .lp-hero__rolar {
        display: none;
    }
}

/* ==============================================================================
   Celular (até 767px): layout próprio, mais compacto
   ============================================================================== */
.lp-hero__valores,
.lp-pontos {
    display: none;
}

@media (max-width: 767px) {
    /* Hero: cabe numa tela, com o símbolo pequeno no topo */
    .lp-hero {
        min-height: auto;
        padding: calc(var(--lp-nav-altura) + 20px) 0 56px;
    }

    .lp-hero__inner {
        gap: 20px;
    }

    .lp-hero__visual {
        order: -1;
    }

    .lp-orbita {
        width: 168px;
    }

    .lp-orbita__nucleo {
        width: 58%;
    }

    .lp-chip,
    .lp-orbita__anel--1 {
        display: none;
    }

    .lp-hero h1 {
        margin-top: 1.1rem;
        font-size: clamp(2.5rem, 12vw, 3.4rem);
    }

    .lp-hero__sub {
        margin-top: 1rem;
        font-size: 1rem;
        line-height: 1.65;
    }

    .lp-hero__texto {
        min-width: 0;
    }

    .lp-hero__acoes {
        margin-top: 1.75rem;
        flex-direction: column;
        align-items: stretch;
    }

    /* Em telas bem estreitas (320px) o texto do botão pode quebrar em vez de estourar */
    .lp-hero__acoes .lp-btn {
        white-space: normal;
        text-align: center;
    }

    .lp-hero__valores {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin: 1.5rem 0 0;
        padding: 0;
        list-style: none;
    }

    .lp-hero__valores li {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 0.35rem 0.6rem;
        border-radius: 999px;
        font-size: 0.72rem;
        white-space: nowrap;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.88);
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .lp-hero__valores i {
        color: var(--lp-verde-400);
    }

    /* Faixa do slogan mais discreta */
    .lp-faixa {
        padding: 0.8rem 0;
    }

    .lp-faixa__trilho {
        gap: 1.25rem;
    }

    /* Seções mais enxutas */
    .lp-secao {
        padding: 64px 0;
    }

    .lp-secao__cabecalho {
        margin-bottom: 28px;
    }

    .lp-secao__cabecalho h2 {
        font-size: clamp(1.85rem, 8.5vw, 2.3rem);
    }

    .lp-secao__cabecalho p {
        margin-top: 0.8rem;
        font-size: 0.98rem;
    }

    /* Pilares: carrossel deslizante com "espiadinha" do próximo cartão */
    .lp-pilares {
        display: flex;
        gap: 14px;
        max-width: none;
        margin: 0 calc(-1 * var(--lp-respiro));
        padding: 6px var(--lp-respiro) 22px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--lp-respiro);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .lp-pilares::-webkit-scrollbar {
        display: none;
    }

    .lp-pilar {
        flex: 0 0 84%;
        scroll-snap-align: start;
        padding: 28px 24px 30px;
    }

    .lp-pilar:hover {
        transform: none;
    }

    .lp-pilar__numero {
        font-size: 3.6rem;
    }

    .lp-pilar h3 {
        margin-top: 1.2rem;
        font-size: 1.25rem;
    }

    /* No carrossel os cartões entram de lado, então não usam a animação de subida */
    .js .lp-pilares .revelar {
        opacity: 1;
        transform: none;
    }

    .lp-pontos {
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .lp-pontos span {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #cfe0d8;
        transition: width 0.35s var(--lp-ease), background-color 0.35s;
    }

    .lp-pontos span.ativo {
        width: 24px;
        background: var(--lp-verde-600);
    }

    /* Compromissos: lista compacta com ícone ao lado */
    .lp-compromissos {
        gap: 28px;
    }

    .lp-grade {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lp-cartao {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
        border-radius: 18px;
    }

    .lp-cartao:hover {
        transform: none;
    }

    .lp-cartao .lp-icone--pequeno {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .lp-cartao h3 {
        font-size: 1rem;
    }

    .lp-cartao p {
        margin-top: 0.25rem;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    /* CTA da eleição */
    .lp-cta {
        gap: 24px;
        padding: 36px 24px;
        border-radius: 26px;
    }

    .lp-cta h2 {
        font-size: clamp(1.7rem, 7.5vw, 2.1rem);
    }

    .lp-cta p {
        font-size: 0.95rem;
    }

    .lp-cta__aviso {
        max-width: none;
        width: 100%;
    }

    .lp-cta__fundo {
        width: 300px;
        right: -110px;
        bottom: -90px;
    }

    /* Rodapé centralizado */
    .lp-rodape {
        padding: 48px 0 24px;
    }

    .lp-rodape__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding-bottom: 28px;
    }

    .lp-rodape__marca {
        flex-direction: column;
        gap: 10px;
    }

    .lp-rodape__links {
        justify-content: center;
        gap: 10px 24px;
    }

    .lp-rodape__base {
        justify-content: center;
        text-align: center;
        /* espaço para o botão de voltar ao topo não cobrir o texto */
        padding-bottom: 56px;
    }

    /* Formulário: painel que sobe da parte de baixo da tela */
    .lp-modal {
        width: 100%;
        max-width: 100%;
        max-height: 92dvh;
        margin: auto 0 0;
        border-radius: 28px 28px 0 0;
    }

    .lp-modal[open] {
        animation: lp-painel-sobe 0.45s var(--lp-ease);
    }

    @keyframes lp-painel-sobe {
        from { transform: translateY(100%); }
        to { transform: none; }
    }

    .lp-modal__caixa {
        padding: 30px 20px calc(24px + env(safe-area-inset-bottom));
    }

    /* "Alça" do painel */
    .lp-modal__caixa::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        width: 44px;
        height: 5px;
        margin-left: -22px;
        border-radius: 999px;
        background: #d9e3de;
    }

    .lp-modal__fechar {
        top: 18px;
        right: 14px;
    }

    .lp-modal__cabecalho {
        gap: 12px;
        margin-bottom: 20px;
    }

    .lp-modal__cabecalho p {
        font-size: 0.9rem;
    }

    /* 16px evita o zoom automático do iPhone ao tocar no campo */
    .lp-campo input,
    .lp-campo textarea {
        font-size: 16px;
    }

    .lp-segmento label {
        flex-basis: 0;
    }
}

/* Quem prefere menos movimento: sem animações contínuas nem rolagem suave */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .landing *,
    .landing *::before,
    .landing *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .js .revelar {
        opacity: 1;
        transform: none;
    }
}
