:root {
    --primary: #009f88;
    --primary-dark: #007563;
    --primary-soft: #e7fbf7;
    --ink: #10201d;
    --muted: #64736f;
    --line: rgba(0, 159, 136, 0.16);
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(16, 32, 29, 0.12);
    --shadow-soft: 0 18px 45px rgba(0, 159, 136, 0.12);
    --radius-lg: 34px;
    --radius-md: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 159, 136, 0.13), transparent 28rem),
        radial-gradient(circle at 92% 4%, rgba(0, 159, 136, 0.1), transparent 22rem),
        linear-gradient(180deg, #ffffff 0%, #f7fffc 42%, #fbfbf7 100%);
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

/* ── AMBIENT GLOWS ── */
.page-glow {
    position: fixed;
    z-index: -1;
    width: 36rem;
    height: 36rem;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

.page-glow-one {
    top: 8%;
    left: -18rem;
    background: rgba(0, 159, 136, 0.38);
    animation: glow-drift 14s ease-in-out infinite;
}

.page-glow-two {
    right: -20rem;
    bottom: 10%;
    background: rgba(0, 159, 136, 0.22);
    animation: glow-drift 18s ease-in-out infinite reverse;
}

.section-shell {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 0;
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(0, 159, 136, 0.08);
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 32px rgba(16, 32, 29, 0.08);
}

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 49px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #02b99e);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover {
    transform: scale(1.05);
    box-shadow: 0 22px 52px rgba(0, 159, 136, 0.3);
}

.brand img {
    width: 128px;
}

.nav-menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(0, 159, 136, 0.12);
    border-radius: 999px;
    background: rgb(0, 159, 135);
    box-shadow: 0 8px 24px rgba(16, 32, 29, 0.192);
}

.nav-menu a {
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.87rem;
    font-weight: 700;
    transition: background 0.22s ease, color 0.22s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.nav-menu-actions,
.nav-menu-login {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-login,
.nav-cta,
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

/* shine sweep on primary buttons */
.nav-cta::after,
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.55s ease;
    pointer-events: none;
}

.nav-cta:hover::after,
.btn-primary:hover::after {
    left: 150%;
}

.nav-cta,
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #03b99d);
    color: var(--white);
    box-shadow: 0 14px 36px rgba(0, 159, 136, 0.26);
}

.nav-login {
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    border: 1px solid rgba(0, 159, 136, 0.24);
    box-shadow: 0 10px 28px rgba(16, 32, 29, 0.06);
}

.nav-login:hover {
    background: var(--primary-soft);
    border-color: rgba(0, 159, 136, 0.4);
    transform: translateY(-3px);
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 22px 52px rgba(0, 159, 136, 0.38);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.84);
    color: var(--primary-dark);
    border: 1px solid rgba(0, 159, 136, 0.22);
}

.btn-secondary:hover {
    background: var(--primary-soft);
    border-color: rgba(0, 159, 136, 0.4);
}

.btn-light {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 18px 42px rgba(0, 82, 70, 0.22);
}

.btn-light:hover {
    box-shadow: 0 26px 58px rgba(0, 82, 70, 0.32);
}

.menu-toggle {
    position: relative;
    z-index: 60;
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(0, 159, 136, 0.18);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: var(--primary-soft);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--primary-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* transforma em X quando aberto */
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 54px;
    min-height: calc(100vh - 74px);
    padding: 76px 0 92px;
}

.hero-intro {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.hero-tail {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

h1 {
    max-width: 760px;
    font-size: clamp(1.85rem, 3.6vw, 3.4rem);
}

h2 {
    font-size: clamp(2rem, 4.2vw, 4.15rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    color: var(--muted);
}

.hero-intro p {
    max-width: 670px;
    margin-top: 24px;
    font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 38px;
}

.hero-metrics div {
    padding: 18px;
    border: 1px solid rgba(0, 159, 136, 0.13);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 26px rgba(16, 32, 29, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-metrics div:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(0, 159, 136, 0.13);
    border-color: rgba(0, 159, 136, 0.3);
}

.hero-metrics strong {
    display: block;
    color: var(--primary);
    font-size: 1.65rem;
    line-height: 1;
}

.hero-metrics span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    padding-top: 18px;
}

.image-card {
    position: relative;
    overflow: visible;
    padding: 12px;
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: var(--shadow);
    animation: float-hero 7s ease-in-out infinite;
}

.image-card-inner {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
}

.image-card-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: linear-gradient(180deg, transparent 52%, rgba(0, 77, 66, 0.52));
    pointer-events: none;
}

.image-card img {
    width: 100%;
    aspect-ratio: 1 / 0.82;
    object-fit: cover;
    display: block;
    border-radius: 34px;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 18px 48px rgba(16, 32, 29, 0.12);
}

.floating-card-top {
    top: 28px;
    left: -28px;
    animation: float-a 5s ease-in-out infinite;
}

.floating-card-bottom {
    right: -22px;
    bottom: 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    animation: float-b 6.5s ease-in-out infinite;
}

.floating-card-bottom strong {
    color: var(--primary);
    font-size: 1.4rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    animation: pulse-ring 2.4s ease-out infinite;
}

/* ── SECTION GENERAL ── */
.section-heading {
    max-width: 850px;
    margin-bottom: 42px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading p {
    margin-top: 18px;
    font-size: 1.08rem;
}

.intro-section,
.benefits-section,
.process-section,
.partners-section,
.authority-section,
.plans-section,
.faq-section {
    padding: 96px 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
}

/* ── INFO CARDS (shared) ── */
.text-panel,
.feature-card,
.step-card,
.mini-card,
.plan-card,
.authority-card,
.faq-list details {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 42px rgba(16, 32, 29, 0.06);
}

.text-panel {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: var(--radius-lg);
}

/* watermark number */
.text-panel::before {
    content: "10+";
    position: absolute;
    bottom: -28px;
    right: -12px;
    font-size: 9.5rem;
    font-weight: 900;
    letter-spacing: -0.1em;
    line-height: 1;
    color: rgba(0, 159, 136, 0.06);
    pointer-events: none;
    user-select: none;
}

.tp-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #04bda0 60%, rgba(0, 159, 136, 0.3));
}

.tp-body {
    padding: 32px 34px 30px;
}

.tp-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0, 159, 136, 0.12);
}

.tp-number {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.06em;
    line-height: 1;
}

.tp-label {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tp-body p {
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.72;
}

.tp-body p + p {
    margin-top: 14px;
}

.tp-body p strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.tp-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tp-cities span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 159, 136, 0.2);
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.84rem;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.tp-cities span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    flex-shrink: 0;
}

.tp-cities span:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 159, 136, 0.22);
}

.tp-cities span:hover::before {
    background: var(--white);
}

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

/* ── FEATURE CARDS ── */
.feature-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: var(--radius-md);
    transition:
        transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
    will-change: transform;
}

.fc-header {
    position: relative;
    overflow: hidden;
    padding: 22px 24px 20px;
    background: linear-gradient(135deg, rgba(0, 159, 136, 0.09) 0%, rgba(0, 159, 136, 0.02) 100%);
    border-bottom: 1px solid rgba(0, 159, 136, 0.1);
}

.fc-header::after {
    content: "";
    position: absolute;
    top: -22px;
    right: -22px;
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: rgba(0, 159, 136, 0.1);
    pointer-events: none;
}

.fc-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #04bda0);
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(0, 159, 136, 0.34);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-body {
    padding: 20px 24px 26px;
}

.fc-body h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.fc-body p {
    font-size: 0.93rem;
    margin-top: 0;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 34px 72px rgba(0, 159, 136, 0.16);
    border-color: rgba(0, 159, 136, 0.32);
}

.feature-card:hover .fc-num {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 14px 34px rgba(0, 159, 136, 0.44);
}

/* ── STEP CARDS ── */
.step-card {
    position: relative;
    overflow: hidden;
    padding: 38px 28px 34px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition:
        transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
    will-change: transform;
}

.step-card:nth-child(1)::after { content: "1"; }
.step-card:nth-child(2)::after { content: "2"; }
.step-card:nth-child(3)::after { content: "3"; }

.step-card::after {
    position: absolute;
    bottom: -18px;
    right: -8px;
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 159, 136, 0.05);
    pointer-events: none;
    user-select: none;
}

/* shimmer */
.step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 159, 136, 0.07), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.step-card:hover::before { left: 150%; }

.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #04bda0);
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 22px;
    flex-shrink: 0;
    padding: 0;
    box-shadow: 0 12px 32px rgba(0, 159, 136, 0.36);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.93rem;
    margin-top: 0;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 34px 72px rgba(0, 159, 136, 0.15);
    border-color: rgba(0, 159, 136, 0.32);
}

.step-card:hover span {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 18px 42px rgba(0, 159, 136, 0.44);
}

/* ── MINI CARDS ── */
.mini-card {
    position: relative;
    overflow: hidden;
    padding: 26px 22px 26px 26px;
    border-radius: var(--radius-md);
    border-left-width: 4px;
    border-left-color: var(--primary);
    transition:
        transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
    will-change: transform;
}

/* shimmer */
.mini-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 159, 136, 0.07), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.mini-card:hover::before { left: 150%; }

.mini-card h3 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.mini-card p {
    margin-top: 0;
    font-size: 0.92rem;
}

.mini-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 34px 72px rgba(0, 159, 136, 0.15);
    border-color: rgba(0, 159, 136, 0.32);
    border-left-color: var(--primary);
}

/* ── CARD SHOWCASE (flip) ── */
.card-showcase {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 26rem),
        linear-gradient(135deg, #008d79, var(--primary) 52%, #04bda0);
}

.card-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
        linear-gradient(60deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    pointer-events: none;
}

.card-showcase-inner {
    position: relative;
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    align-items: center;
    gap: 54px;
}

.section-heading.light .eyebrow,
.section-heading.light h2,
.section-heading.light p {
    color: var(--white);
}

.section-heading.light .eyebrow::before {
    background: var(--white);
}

/* ── 3-D CARD FLIP ── */
.card-flip {
    perspective: 1600px;
    width: min(520px, 100%);
    margin: 0 auto;
    cursor: pointer;
}

.card-flip-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586 / 1;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(0.4, 0.2, 0.2, 1);
    will-change: transform;
}

.card-flip:hover .card-flip-inner,
.card-flip.is-flipped .card-flip-inner {
    transform: rotateY(var(--flip-rotation, 180deg));
}

.card-flip-front,
.card-flip-back {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 44px 64px rgba(0, 40, 34, 0.48);
}

.card-flip-back {
    transform: rotateY(180deg);
}

.card-flip-front img,
.card-flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-flip-hint {
    margin-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: hint-pulse 3s ease-in-out infinite;
}

.card-flip-hint::before {
    content: "↔";
    font-size: 1.1rem;
}

/* mostra/esconde conforme o dispositivo */
.hint-mobile { display: none; }

@media (hover: none), (max-width: 760px) {
    .hint-desktop { display: none; }
    .hint-mobile  { display: inline; }
}

/* ── BENEFITS ── */
.benefit-cloud-panel {
    position: relative;
    margin-top: 36px;
    padding: 28px;
    border: 1px solid rgba(0, 159, 136, 0.14);
    border-radius: 32px;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 159, 136, 0.14), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(6, 201, 170, 0.12), transparent 38%),
        rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 64px rgba(10, 28, 24, 0.08);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.benefit-cloud-glow {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(0, 159, 136, 0.16);
    filter: blur(40px);
    pointer-events: none;
}

.benefit-cloud {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

.benefit-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid rgba(0, 159, 136, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 10px 28px rgba(0, 159, 136, 0.08);
    cursor: default;
    transition:
        background 0.28s ease,
        color 0.28s ease,
        transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.benefit-chip::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
    flex-shrink: 0;
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.benefit-chip:nth-child(1)::before { content: "♡"; }
.benefit-chip:nth-child(2)::before { content: "◎"; }
.benefit-chip:nth-child(3)::before { content: "✦"; }
.benefit-chip:nth-child(4)::before { content: "⚙"; }
.benefit-chip:nth-child(5)::before { content: "☼"; }
.benefit-chip:nth-child(6)::before { content: "+"; }
.benefit-chip:nth-child(7)::before { content: "◉"; }
.benefit-chip:nth-child(8)::before { content: "◈"; }
.benefit-chip:nth-child(9)::before { content: "✓"; }

.benefit-cloud-panel.is-visible .benefit-chip {
    animation: benefit-chip-in 0.55s ease both;
}

.benefit-cloud-panel.is-visible .benefit-chip:nth-child(1) { animation-delay: 0.04s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(2) { animation-delay: 0.08s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(3) { animation-delay: 0.12s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(4) { animation-delay: 0.16s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(5) { animation-delay: 0.2s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(6) { animation-delay: 0.24s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(7) { animation-delay: 0.28s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(8) { animation-delay: 0.32s; }
.benefit-cloud-panel.is-visible .benefit-chip:nth-child(9) { animation-delay: 0.36s; }

.benefit-chip:hover {
    background: linear-gradient(135deg, var(--primary), #04bda0);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 159, 136, 0.28);
}

.benefit-chip:hover::before {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
    transform: scale(1.08);
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid rgba(0, 159, 136, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--primary-dark);
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(0, 159, 136, 0.08);
    white-space: nowrap;
}

/* ── STEPS ── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ── DIGITAL WALLET ── */
.digital-wallet {
    padding: 98px 0;
    background: linear-gradient(180deg, rgba(231, 251, 247, 0.44), rgba(255, 255, 255, 0.2));
}

.wallet-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 72px;
}

.phone-mockup {
    width: min(300px, 100%);
    margin: 0 auto;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-mockup:hover {
    transform: translateY(-14px) rotate(-1.5deg);
}

.phone-wrap {
    position: relative;
    width: 100%;
}

.phone-frame-img {
    position: relative;
    z-index: 3;
    width: 100%;
    display: block;
    filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.42));
    pointer-events: none;
}

.phone-screen-overlay {
    position: absolute;
    z-index: 2;
    inset: 4.2% 6.2% 5.2% 6.2%;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.98), transparent 22%),
        radial-gradient(circle at 86% 6%, rgba(0, 159, 136, 0.3), transparent 32%),
        linear-gradient(160deg, #f9fffd 0%, #e8fbf7 48%, #ffffff 100%);
}

.phone-screen-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.56) 46%, transparent 54%),
        radial-gradient(circle at 15% 86%, rgba(0, 159, 136, 0.16), transparent 28%);
    opacity: 0.78;
    pointer-events: none;
}

.phone-home-screen,
.phone-app-screen {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 18px 24px;
    transition: opacity 0.48s ease, transform 0.58s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-home-screen {
    justify-content: center;
    transform: scale(1);
}

.phone-home-screen:not(.is-active) {
    opacity: 0;
    transform: scale(1.18);
    pointer-events: none;
}

.phone-app-icon {
    position: relative;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    box-shadow: 0 20px 42px rgba(0, 82, 70, 0.24);
    cursor: pointer;
    animation: app-breathe 2.9s ease-in-out infinite;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.phone-app-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(0, 159, 136, 0.22);
    border-radius: 30px;
    opacity: 0;
    transform: scale(0.86);
    animation: app-ring 2.9s ease-in-out infinite;
}

.phone-app-icon:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 28px 56px rgba(0, 82, 70, 0.3);
}

.phone-app-icon img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

.phone-app-name {
    margin-top: 12px;
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.phone-app-screen {
    justify-content: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translateY(24px) scale(0.94);
    pointer-events: none;
}

.phone-screen-overlay.app-open .phone-app-screen {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.phone-app-topbar {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    width: 100%;
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.phone-app-topbar span {
    grid-column: 2;
    text-align: center;
}

.phone-app-back {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 159, 136, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(10, 28, 24, 0.08);
}

.phone-app-card {
    width: 100%;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
}

.phone-screen-overlay.app-open .phone-app-card {
    animation: app-copy-in 0.62s ease both;
    animation-delay: 0.12s;
}

.phone-app-card .card-flip-front,
.phone-app-card .card-flip-back {
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(0, 40, 34, 0.28);
}

.phone-app-copy {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(0, 159, 136, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 36px rgba(10, 28, 24, 0.08);
    opacity: 0;
    transform: translateY(14px);
}

.phone-screen-overlay.app-open .phone-app-copy {
    animation: app-copy-in 0.7s ease both;
    animation-delay: 0.2s;
}

.phone-app-copy strong {
    display: block;
    color: var(--ink);
    font-size: 0.82rem;
    line-height: 1.2;
}

.phone-app-copy p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.66rem;
    line-height: 1.48;
}

.wallet-content p {
    max-width: 660px;
    margin-top: 18px;
    font-size: 1.08rem;
}

.wallet-cta {
    margin-top: 20px;
}

/* ── PARTNERS ── */
.partners-section .promo-carousel {
    margin-top: 34px;
}

.promo-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.promo-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.promo-carousel-track {
    display: flex;
    gap: 16px;
}

.promo-carousel-slide {
    flex: 0 0 calc(100% - 52px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: none;
    padding: 0;
    overflow: hidden;
    cursor: default;
}

.promo-carousel.is-single .promo-carousel-slide {
    flex-basis: 100%;
}

.promo-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    min-height: 10px;
}

.promo-carousel-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(0, 159, 136, 0.22);
    cursor: pointer;
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.promo-carousel-dots button.is-active {
    width: 8px;
    height: 8px;
    background: var(--primary);
}

.promo-carousel-dots button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.partner-carousel .promo-carousel-viewport {
    overflow-y: visible;
}

.partner-carousel .promo-carousel-track {
    align-items: flex-start;
}

.partner-carousel .promo-carousel-slide {
    flex: 0 0 80%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 159, 136, 0.14);
    border-radius: 34px;
    background:
        radial-gradient(circle at 86% 12%, rgba(0, 159, 136, 0.16), transparent 34%),
        rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 76px rgba(10, 28, 24, 0.12);
    aspect-ratio: 1983 / 793;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.partner-carousel .promo-carousel-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 70px rgba(10, 28, 24, 0.18);
}

.partner-carousel .promo-carousel-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.partner-carousel .promo-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* ── PARTNER CTA ── */
.partner-cta {
    padding: 98px 0;
    background: var(--primary-soft);
}

.partner-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 42px;
}

.partner-grid h2,
.wallet-content h2 {
    max-width: 760px;
}

.partner-grid p {
    margin-top: 18px;
    font-size: 1.08rem;
}

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

/* ── AUTHORITY ── */
.authority-card {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 70px);
    border-radius: 40px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.authority-card::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: rgba(0, 159, 136, 0.1);
    pointer-events: none;
}

.authority-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 80px rgba(0, 159, 136, 0.12);
}

.authority-card p {
    max-width: 760px;
    margin-top: 16px;
}

/* ── PLANS ── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.plan-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    border-radius: var(--radius-lg);
    transition:
        transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
    will-change: transform;
}

/* shimmer */
.plan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 159, 136, 0.07), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.plan-card span {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    width: fit-content;
}

.plan-card h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    line-height: 1.25;
}

.plan-pricing {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.plan-pricing div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 159, 136, 0.11);
    border-radius: 14px;
    background: rgba(0, 159, 136, 0.04);
}

.plan-pricing small {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.plan-pricing strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
    line-height: 1;
    white-space: nowrap;
}

.plan-pricing em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

.plan-pricing-custom div {
    align-items: center;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.plan-features2 {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;

}
.plan-features2 li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.plan-features2 li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23007563' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--muted);
    font-weight: 500;
}

.plan-features li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23007563' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    border: 1px solid rgba(0, 159, 136, 0.22);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 159, 136, 0.1), rgba(6, 201, 170, 0.18));
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 14px 32px rgba(0, 159, 136, 0.12);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.plan-cta::after {
    content: "→";
    transition: transform 0.22s ease;
}

.plan-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 159, 136, 0.38);
    background: linear-gradient(135deg, var(--primary), #04bda0);
    color: var(--white);
    box-shadow: 0 20px 42px rgba(0, 159, 136, 0.22);
}

.plan-cta:hover::after {
    transform: translateX(4px);
}

.plan-card:not(.featured):hover {
    transform: translateY(-10px);
    box-shadow: 0 34px 76px rgba(0, 159, 136, 0.16);
    border-color: rgba(0, 159, 136, 0.35);
}

.plan-card:not(.featured):hover::before {
    left: 150%;
}

.plan-card.featured {
    background: linear-gradient(145deg, #008472, var(--primary) 55%, #04bda0);
    transform: translateY(-14px);
    box-shadow: 0 32px 76px rgba(0, 159, 136, 0.32);
    border-color: transparent;
}

.plan-card.featured:hover {
    transform: translateY(-24px);
    box-shadow: 0 50px 100px rgba(0, 159, 136, 0.42);
}

.plan-card.featured h3,
.plan-card.featured .plan-pricing strong {
    color: var(--white);
}

.plan-card.featured .plan-cta {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(0, 60, 51, 0.22);
}

.plan-card.featured .plan-cta:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 24px 54px rgba(0, 60, 51, 0.3);
}

.plan-card.featured span {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.plan-card.featured .plan-pricing div {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
}

.plan-card.featured .plan-pricing small,
.plan-card.featured .plan-pricing em {
    color: rgba(255, 255, 255, 0.82);
}

.plan-card.featured .plan-features li {
    color: rgba(255, 255, 255, 0.82);
}

.plan-card.featured .plan-features li::before {
    background-color: rgba(255, 255, 255, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23ffffff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── FAQ ── */
.faq-list {
    display: grid;
    gap: 12px;
    max-width: 920px;
}

.faq-list details {
    overflow: hidden;
    border-radius: 20px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-list details:hover {
    box-shadow: 0 20px 52px rgba(0, 159, 136, 0.1);
    border-color: rgba(0, 159, 136, 0.25);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
    user-select: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 900;
    transition: background 0.25s ease, color 0.25s ease, transform 0.35s ease;
}

.faq-list details[open] summary::after {
    content: "−";
    background: var(--primary);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-list details p {
    padding: 0 24px 24px;
    animation: faq-slide 0.32s ease;
}

/* ── FINAL CTA ── */
.final-cta {
    padding: 102px 0;
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.2), transparent 24rem),
        linear-gradient(135deg, #007c69, var(--primary));
}

.final-cta-inner {
    display: grid;
    justify-items: center;
    text-align: center;
}

.final-cta img {
    width: min(300px, 74vw);
    margin-bottom: 28px;
    animation: float-a 8s ease-in-out infinite;
}

.final-cta h2 {
    max-width: 900px;
    color: var(--white);
}

.final-cta p {
    max-width: 620px;
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

/* ── FOOTER ── */
.site-footer {
    padding: 28px 0;
    background: #071412;
    color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-inner a {
    color: var(--white);
    font-weight: 800;
    transition: color 0.2s ease;
}

.footer-inner a:hover {
    color: var(--primary);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 48;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--white);
    box-shadow:
        0 14px 36px rgba(10, 28, 24, 0.18),
        0 4px 12px rgba(0, 159, 136, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow:
        0 20px 48px rgba(10, 28, 24, 0.22),
        0 8px 20px rgba(0, 159, 136, 0.2);
}

.whatsapp-float img {
    width: 34px;
    height: auto;
    display: block;
}

body.menu-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 14px 36px rgba(10, 28, 24, 0.18), 0 0 0 0 rgba(0, 159, 136, 0.35); }
    50%      { box-shadow: 0 16px 40px rgba(10, 28, 24, 0.2), 0 0 0 10px rgba(0, 159, 136, 0); }
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── KEYFRAMES ── */
@keyframes float-hero {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes float-a {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-13px); }
}

@keyframes float-b {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-9px); }
}

@keyframes glow-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(44px, -34px) scale(1.1); }
    66%       { transform: translate(-22px, 22px) scale(0.92); }
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(0, 159, 136, 0.55); }
    65%  { box-shadow: 0 0 0 11px rgba(0, 159, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 159, 136, 0); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes faq-slide {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hint-pulse {
    0%, 100% { opacity: 0.68; }
    50%       { opacity: 1; }
}

@keyframes benefit-chip-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes app-breathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-7px) scale(1.025); }
}

@keyframes app-ring {
    0%   { opacity: 0; transform: scale(0.88); }
    42%  { opacity: 0.62; }
    100% { opacity: 0; transform: scale(1.16); }
}

@keyframes app-copy-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
/* ── SIDEBAR OVERLAY ── */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    background:
        radial-gradient(circle at 80% 18%, rgba(0, 159, 136, 0.22), transparent 32%),
        rgba(7, 24, 21, 0.52);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.sidebar-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 1080px) {
    .site-header {
        /* Avoid creating a containing block for the fixed sidebar on mobile. */
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.96);
    }

    .navbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding-top: 8px;
    }

    .nav-menu-actions .nav-menu-login,
    .nav-menu-actions .nav-menu-cta {
        margin-bottom: 0;
        text-align: center;
        transform: none;
    }

    .nav-menu-login {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        border: 1px solid rgba(0, 159, 136, 0.2);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.82);
        color: var(--primary-dark);
        font-weight: 800;
        font-size: 0.92rem;
        box-shadow: 0 10px 28px rgba(10, 28, 24, 0.06);
        flex-shrink: 0;
    }

    .nav-menu-actions .nav-menu-login:hover,
    .nav-menu-actions .nav-menu-cta:hover {
        transform: none;
    }

    .nav-menu-login:hover {
        background: var(--primary-soft);
        color: var(--primary-dark);
    }

    .menu-toggle {
        display: flex;
    }

    /* ── sidebar: sempre no DOM, escondida fora da tela ── */
    .nav-menu {
        /* reset do desktop */
        justify-self: unset;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        gap: 0;
        background: transparent;

        /* sidebar */
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        width: min(320px, 88vw);
        flex-direction: column;
        align-items: stretch;
        padding: 76px 14px 24px;
        background:
            radial-gradient(circle at 100% 0%, rgba(0, 159, 136, 0.16), transparent 34%),
            linear-gradient(180deg, #ffffff 0%, #f5fffd 100%);
        box-shadow: -18px 0 70px rgba(10, 28, 24, 0.22);

        /* off-screen por padrão */
        transform: translateX(100%);
        visibility: hidden;
        transition:
            transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s linear 0.38s;
        overflow-y: auto;
    }

    .nav-menu.is-open {
        transform: translateX(0);
        visibility: visible;
        transition:
            transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s linear 0s;
    }

    .nav-menu a {
        position: relative;
        z-index: 1;
        padding: 14px 16px;
        border: 1px solid rgba(0, 159, 136, 0.1);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.68);
        font-size: 1rem;
        font-weight: 700;
        color: var(--ink);
        text-align: left;
        margin-bottom: 7px;
        box-shadow: 0 10px 28px rgba(10, 28, 24, 0.04);
        transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        transform: translateX(-4px);
        border-color: rgba(0, 159, 136, 0.22);
        background: rgba(232, 250, 247, 0.94);
        color: var(--primary-dark);
    }

    /* Decorative glow inside the panel. */
    .nav-menu::before {
        content: "";
        position: absolute;
        top: -70px;
        right: -80px;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: rgba(0, 159, 136, 0.18);
        filter: blur(8px);
        pointer-events: none;
    }

    .nav-menu-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        margin-bottom: 0;
        min-height: 50px;
        border: none;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--primary), #03b99d);
        color: var(--white);
        font-weight: 800;
        font-size: 0.92rem;
        box-shadow: 0 12px 32px rgba(0, 159, 136, 0.28);
        flex-shrink: 0;
    }

    .nav-menu-cta:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        color: var(--white);
    }

    .hero,
    .split-grid,
    .card-showcase-inner,
    .wallet-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 54px;
        grid-template-rows: auto;
    }

    .hero-intro,
    .hero-tail,
    .hero-visual {
        grid-column: 1;
        grid-row: auto;
        align-self: auto;
    }

    .hero-visual {
        padding-top: 0;
    }

    .hero-tail .hero-actions {
        margin-top: 0;
    }

    .card-flip {
        width: min(460px, 92%);
    }

    .card-showcase-inner {
        gap: 32px;
    }

    .card-showcase .section-heading {
        margin-bottom: 0;
    }
}

@media (max-width: 760px) {
    .section-shell,
    .navbar {
        width: min(100% - 28px, var(--container));
    }

    .site-header {
        padding: 8px 0;
    }

    .brand {
        width: 140px;
        height: 40px;
    }

    .brand img {
        width: 116px;
    }

    .hero {
        gap: 22px;
        padding-bottom: 68px;
    }

    .hero-tail {
        margin-top: -4px;
    }

    .hero-intro h1 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .hero-intro p {
        margin-top: 16px;
        font-size: 0.98rem;
    }

    .hero-intro .eyebrow {
        margin-bottom: 14px;
        font-size: 0.72rem;
    }

    .hero-actions,
    .footer-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .nav-cta {
        width: 100%;
    }

    .hero-metrics,
    .pillar-grid,
    .steps,
    .partner-benefits,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .image-card,
    .image-card-inner,
    .image-card img {
        border-radius: 24px;
    }

    .partners-section .promo-carousel {
        margin-top: 24px;
    }

    .partner-carousel .promo-carousel-slide {
        border-radius: 22px;
        aspect-ratio: 1024 / 1536;
    }

    .wallet-grid {
        gap: 30px;
    }

    .wallet-content {
        display: contents;
    }

    .wallet-content .eyebrow {
        order: 1;
    }

    .wallet-content h2 {
        order: 2;
    }

    .phone-mockup {
        order: 3;
    }

    .wallet-content p {
        order: 4;
    }

    .wallet-cta {
        order: 5;
        margin-top: 2px;
    }

    .floating-card {
        position: relative;
        inset: auto;
        margin-top: 12px;
    }

    .floating-card-bottom {
        align-items: center;
    }

    .intro-section,
    .benefits-section,
    .process-section,
    .partners-section,
    .authority-section,
    .plans-section,
    .faq-section,
    .digital-wallet,
    .partner-cta,
    .final-cta,
    .card-showcase {
        padding: 52px 0 56px;
    }

    .card-showcase-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .card-showcase .section-heading {
        margin-bottom: 0;
    }

    .card-showcase .section-heading h2 {
        font-size: clamp(1.55rem, 7.2vw, 2rem);
        line-height: 1.08;
    }

    .card-showcase .section-heading p {
        margin-top: 14px;
        font-size: 0.98rem;
    }

    .card-showcase .card-flip {
        margin-top: 0;
        width: min(360px, 100%);
    }

    .card-flip-hint {
        margin-top: 14px;
    }

    .benefit-cloud-panel {
        margin-top: 24px;
        padding: 18px;
        border-radius: 24px;
    }

    .benefit-cloud {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 10px;
        max-width: none;
    }

    .benefit-chip {
        justify-content: center;
        min-height: 52px;
        padding: 0 12px;
        font-size: 0.82rem;
    }

    .benefit-chip::before {
        width: 24px;
        height: 24px;
        font-size: 0.72rem;
    }

    .benefit-chip-wide {
        grid-column: span 2;
    }

    .plan-card.featured {
        transform: none;
    }

    .footer-inner {
        text-align: center;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float img {
        width: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
