/* ==========================================================================
   Vértice Digital — tema, componentes e animações (complementa o Tailwind)

   Cores ficam em variáveis RGB ("R G B") para funcionar com o Tailwind
   (ex.: bg-brand/20). Três escopos:
     :root       → tema claro (branco puro #FFFFFF)
     .dark       → tema escuro (azul-carvão #0B1120)
     .block-dark → bloco escuro fixo (#0F172A), mesmo no tema claro
   ========================================================================== */

:root {
    color-scheme: light;
    --c-paper: 255 255 255;      /* fundo da página */
    --c-surface: 255 255 255;    /* cards, campos */
    --c-soft: 248 250 252;       /* seções alternadas */
    --c-ink: 15 23 42;
    --c-muted: 71 85 105;
    --c-line: 226 232 240;
    --c-line-strong: 203 213 225;

    --c-brand: 37 99 235;        /* azul royal #2563EB */
    --c-brand-50: 239 246 255;   /* #EFF6FF */
    --c-brand-100: 219 234 254;
    --c-brand-700: 29 78 216;    /* hover #1D4ED8 */
    --c-accent: 234 88 12;       /* laranja coral (texto legível; fill = #F97316) */
    --c-accent-50: 255 247 237;  /* #FFF7ED */
    --c-accent-100: 255 237 213;
    --c-violet: 124 58 237;      /* índigo #7C3AED */
    --c-violet-50: 245 243 255;  /* #F5F3FF */
    --c-violet-100: 237 233 254;
    --c-danger: 185 28 28;

    --coral: #F97316;
    --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 10px -2px rgba(15, 23, 42, .05), 0 18px 36px -18px rgba(15, 23, 42, .14);
    --shadow-lift: 0 2px 4px rgba(15, 23, 42, .05), 0 10px 20px -4px rgba(37, 99, 235, .12), 0 28px 48px -20px rgba(15, 23, 42, .2);
    --header-bg: 255 255 255;
}

.dark {
    color-scheme: dark;
    --c-paper: 11 17 32;         /* #0B1120 */
    --c-surface: 17 24 39;
    --c-soft: 15 23 42;
    --c-ink: 241 245 249;
    --c-muted: 148 163 184;
    --c-line: 36 48 70;
    --c-line-strong: 58 72 98;

    --c-brand: 96 165 250;       /* azul mais claro p/ texto e ícones */
    --c-brand-50: 21 33 70;
    --c-brand-100: 30 48 98;
    --c-brand-700: 147 197 253;
    --c-accent: 251 146 60;
    --c-accent-50: 52 30 22;
    --c-accent-100: 86 42 20;
    --c-violet: 167 139 250;
    --c-violet-50: 36 28 68;
    --c-violet-100: 58 42 110;
    --c-danger: 252 165 165;

    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 20px -6px rgba(0, 0, 0, .4);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 30px -8px rgba(37, 99, 235, .25), 0 30px 50px -20px rgba(0, 0, 0, .5);
}

/* Bloco escuro de contraste: sempre escuro, em qualquer tema */
.block-dark {
    color-scheme: dark;
    --c-paper: 15 23 42;         /* #0F172A */
    --c-surface: 23 32 54;
    --c-soft: 20 30 52;
    --c-ink: 248 250 252;
    --c-muted: 160 174 196;
    --c-line: 44 58 84;
    --c-line-strong: 66 82 112;
    --c-brand: 96 165 250;
    --c-brand-50: 24 38 80;
    --c-brand-100: 30 48 98;
    --c-accent: 251 146 60;
    --c-accent-50: 52 30 22;
    --c-violet: 167 139 250;
    --c-violet-50: 36 28 68;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 20px -6px rgba(0, 0, 0, .4);
    background: rgb(var(--c-paper));
    color: rgb(var(--c-ink));
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
    background: rgb(var(--c-paper)); color: rgb(var(--c-ink));
    text-rendering: optimizeLegibility; transition: background-color .3s, color .3s;
}
h1, h2, h3, h4, .font-display { letter-spacing: -0.02em; }
::selection { background: #2563EB; color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid rgb(var(--c-brand)); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: #0F172A; color: #fff; padding: .6rem 1rem; border-radius: .375rem;
    font-size: .875rem; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
    background: rgb(var(--c-paper) / .8);
    -webkit-backdrop-filter: saturate(1.5) blur(12px);
    backdrop-filter: saturate(1.5) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgb(var(--c-line)); background: rgb(var(--c-paper) / .94); }

.nav-link { position: relative; transition: color .15s; }
.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #2563EB, #7C3AED);
    transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.nav-link:hover, .nav-link.is-active { color: rgb(var(--c-ink)); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.menu-toggle, .theme-toggle {
    display: inline-grid; place-content: center; gap: 5px;
    width: 2.5rem; height: 2.5rem; border: 1px solid rgb(var(--c-line)); border-radius: .5rem;
    background: rgb(var(--c-surface)); color: rgb(var(--c-ink)); cursor: pointer;
    transition: border-color .15s, background-color .3s, transform .2s;
}
.theme-toggle:hover { border-color: rgb(var(--c-brand)); color: rgb(var(--c-brand)); }
.theme-toggle:active { transform: rotate(-12deg) scale(.94); }
.theme-toggle .icon-sun { display: none; color: #FBBF24; }
.theme-toggle .icon-moon { color: #7C3AED; }
.dark .theme-toggle .icon-sun { display: block; }
.dark .theme-toggle .icon-moon { display: none; }
.menu-toggle__bar { display: block; width: 16px; height: 1.5px; background: rgb(var(--c-ink)); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-of-type { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    height: 2.5rem; padding: 0 1rem; border-radius: .5rem; border: 1px solid transparent;
    font-size: .875rem; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .2s;
}
.btn-lg { height: 3rem; padding: 0 1.4rem; font-size: .94rem; }
.btn-primary { background: #2563EB; color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .3), 0 6px 14px -4px rgba(37, 99, 235, .45); }
.btn-primary:hover { background: #1D4ED8; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(37, 99, 235, .3), 0 12px 22px -6px rgba(37, 99, 235, .55); }
.btn-secondary { background: rgb(var(--c-surface)); color: rgb(var(--c-ink)); border-color: rgb(var(--c-line-strong)); }
.btn-secondary:hover { border-color: rgb(var(--c-brand)); color: rgb(var(--c-brand)); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn__arrow { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Tipografia de apoio ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .38rem .85rem; border: 1px solid rgb(var(--c-brand-100)); border-radius: 999px;
    background: rgb(var(--c-brand-50));
    font-family: "JetBrains Mono", monospace; font-size: .7rem; letter-spacing: .06em;
    text-transform: uppercase; color: rgb(var(--c-brand));
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

.section-label {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: "JetBrains Mono", monospace; font-size: .72rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--c-accent));
}
.section-label::before { content: ""; width: 1.5rem; height: 2px; border-radius: 2px; background: currentColor; }

.gradient-text {
    background: linear-gradient(95deg, #2563EB 10%, #7C3AED 60%, #F97316 110%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.dark .gradient-text, .block-dark .gradient-text { background-image: linear-gradient(95deg, #60A5FA 10%, #A78BFA 60%, #FB923C 110%); }

.chip {
    display: inline-flex; align-items: center; height: 1.65rem; padding: 0 .65rem;
    border: 1px solid rgb(var(--c-violet-100)); border-radius: 999px; background: rgb(var(--c-violet-50));
    font-family: "JetBrains Mono", monospace; font-size: .7rem; color: rgb(var(--c-violet));
}
.chip:nth-child(2) { border-color: rgb(var(--c-brand-100)); background: rgb(var(--c-brand-50)); color: rgb(var(--c-brand)); }
.chip:nth-child(3) { border-color: rgb(var(--c-accent-100)); background: rgb(var(--c-accent-50)); color: rgb(var(--c-accent)); }

/* ---------- Fundo do hero ---------- */
.bg-grid {
    background-image:
        linear-gradient(to right, rgb(var(--c-ink) / .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(var(--c-ink) / .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.blob--blue { width: 26rem; height: 26rem; right: -6rem; top: 2rem; background: #93C5FD; }
.blob--violet { width: 20rem; height: 20rem; right: 22rem; top: -5rem; background: #C4B5FD; animation-delay: -4s; }
.blob--coral { width: 18rem; height: 18rem; right: 2rem; bottom: -4rem; background: #FDBA74; animation-delay: -8s; }
.dark .blob { opacity: .22; }
@keyframes drift { to { transform: translate(-30px, 24px) scale(1.08); } }

/* ---------- Mockups ---------- */
.mock-window {
    background: rgb(var(--c-surface)); border: 1px solid rgb(var(--c-line)); border-radius: .85rem; overflow: hidden;
    box-shadow: var(--shadow-lift);
}
.mock-bar {
    display: flex; align-items: center; gap: .75rem; height: 2.25rem; padding: 0 .875rem;
    border-bottom: 1px solid rgb(var(--c-line)); background: rgb(var(--c-soft));
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #FB7185; }
.mock-dots i:nth-child(2) { background: #FBBF24; }
.mock-dots i:nth-child(3) { background: #34D399; }
.mock-url {
    flex: 1; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: .15rem .6rem; border: 1px solid rgb(var(--c-line)); border-radius: .3rem; background: rgb(var(--c-surface));
    font-family: "JetBrains Mono", monospace; font-size: .66rem; color: rgb(var(--c-muted));
}
.tile { padding: .8rem; border: 1px solid rgb(var(--c-line)); border-radius: .6rem; background: rgb(var(--c-surface)); }
.tile--blue { background: rgb(var(--c-brand-50)); border-color: rgb(var(--c-brand-100)); }
.tile--violet { background: rgb(var(--c-violet-50)); border-color: rgb(var(--c-violet-100)); }
.tile--coral { background: rgb(var(--c-accent-50)); border-color: rgb(var(--c-accent-100)); }

.gauge__track { stroke: rgb(var(--c-brand-100)); }
.gauge__value {
    stroke: rgb(var(--c-brand)); stroke-dasharray: 163.36; stroke-dashoffset: 163.36;
    animation: gauge 1.6s .3s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes gauge { to { stroke-dashoffset: 1.63; } }

.bar { transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }

.status {
    flex-shrink: 0; padding: .15rem .45rem; border-radius: 999px;
    font-family: "JetBrains Mono", monospace; font-size: .58rem; font-weight: 600;
}
.status--ok  { background: rgb(var(--c-brand-50)); color: rgb(var(--c-brand)); }
.status--new { background: rgb(var(--c-accent-50)); color: rgb(var(--c-accent)); }
.status--src { background: rgb(var(--c-violet-50)); color: rgb(var(--c-violet)); }

.live-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; color: #22C55E; }
.live-dot--accent { background: var(--coral); color: var(--coral); }
.live-dot::after {
    content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid currentColor;
    animation: pulse 1.9s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

.float-card { animation: float 7s ease-in-out infinite; box-shadow: var(--shadow-lift); }
@keyframes float { 50% { transform: translateY(-6px); } }

.mock-photo {
    position: relative; min-height: 10rem; overflow: hidden; border-radius: .6rem; border: 1px solid rgb(var(--c-line));
    background: linear-gradient(145deg, rgb(var(--c-brand-50)), rgb(var(--c-violet-50)));
}
.mock-photo__shape {
    position: absolute; left: 50%; top: 18%; width: 58%; aspect-ratio: 1; transform: translateX(-50%);
    border-radius: 50% 50% 46% 46%; background: linear-gradient(180deg, #60A5FA, #7C3AED);
}

/* Agenda (mockup do sistema) */
.agenda {
    display: grid; grid-template-columns: 2.4rem repeat(3, minmax(0, 1fr)); grid-auto-rows: 1.65rem;
    border: 1px solid rgb(var(--c-line)); border-radius: .4rem; overflow: hidden; font-size: .6rem;
}
.agenda__head {
    display: flex; align-items: center; padding: 0 .4rem; border-bottom: 1px solid rgb(var(--c-line));
    background: rgb(var(--c-soft)); font-weight: 600; color: rgb(var(--c-ink));
}
.agenda__time { padding: .2rem .3rem; border-right: 1px solid rgb(var(--c-line)); font-family: "JetBrains Mono", monospace; color: rgb(var(--c-muted)); font-size: .55rem; }
.agenda__cell { border-bottom: 1px dashed rgb(var(--c-line) / .7); border-left: 1px solid rgb(var(--c-line) / .6); }
.agenda__event { z-index: 1; margin: 2px; padding: .2rem .35rem; border-radius: .25rem; overflow: hidden; line-height: 1.25; border-left: 3px solid; }
.agenda__event--brand  { background: rgb(var(--c-brand-50)); border-color: rgb(var(--c-brand)); color: rgb(var(--c-brand)); }
.agenda__event--accent { background: rgb(var(--c-accent-50)); border-color: var(--coral); color: rgb(var(--c-accent)); }
.agenda__event--new    { background: rgb(var(--c-violet-50)); border: 1px dashed rgb(var(--c-violet)); color: rgb(var(--c-violet)); }
.agenda__event--blocked {
    border-color: rgb(var(--c-line-strong)); color: rgb(var(--c-muted));
    background: repeating-linear-gradient(135deg, rgb(var(--c-soft)) 0 4px, rgb(var(--c-line)) 4px 8px);
}

/* ---------- Abas ---------- */
.tablist {
    display: inline-flex; gap: .3rem; padding: .35rem; min-width: max-content;
    border: 1px solid rgb(var(--c-line)); border-radius: .75rem; background: rgb(var(--c-surface)); box-shadow: var(--shadow-card);
}
.tab {
    display: inline-flex; align-items: center; gap: .6rem; height: 2.6rem; padding: 0 1.05rem;
    border: 1px solid transparent; border-radius: .5rem; cursor: pointer;
    font-size: .875rem; font-weight: 600; color: rgb(var(--c-muted)); transition: color .15s, background-color .2s, box-shadow .2s;
}
.tab:hover { color: rgb(var(--c-ink)); }
.tab[aria-selected="true"] { background: #2563EB; color: #fff; box-shadow: 0 6px 14px -4px rgba(37, 99, 235, .5); }
.tab[aria-selected="true"] .font-mono { color: #FDBA74; }

.tab-panel { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1); }
.tab-panel.is-active { opacity: 1; transform: none; }
.tab-panel:focus-visible { outline-offset: 8px; }

/* ---------- Bento ---------- */
.bento {
    position: relative; padding: 1.75rem; border: 1px solid rgb(var(--c-line)); border-radius: 1rem;
    background: rgb(var(--c-surface)); box-shadow: var(--shadow-card); overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .2s;
}
.bento:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.bento--blue   { background: rgb(var(--c-brand-50));  border-color: rgb(var(--c-brand) / .35); }
.bento--coral  { background: rgb(var(--c-accent-50)); border-color: rgb(var(--c-accent) / .35); }
.bento--violet { background: rgb(var(--c-violet-50)); border-color: rgb(var(--c-violet) / .35); }
.bento--plain  { border-color: rgb(var(--c-line-strong)); }
.bento::after {  /* brilho de canto */
    content: ""; position: absolute; right: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%;
    background: radial-gradient(circle, var(--glow, transparent) 0%, transparent 70%); opacity: .35; pointer-events: none;
}
.bento--blue { --glow: #2563EB; } .bento--coral { --glow: #F97316; } .bento--violet { --glow: #7C3AED; }

.badge-icon {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .75rem; color: #fff;
    box-shadow: 0 6px 14px -4px var(--bi, rgba(37, 99, 235, .5));
}
.badge-icon svg { width: 1.35rem; height: 1.35rem; }
.badge-icon--blue   { background: #2563EB; --bi: rgba(37, 99, 235, .55); }
.badge-icon--coral  { background: #F97316; --bi: rgba(249, 115, 22, .55); }
.badge-icon--violet { background: #7C3AED; --bi: rgba(124, 58, 237, .55); }
.badge-icon--navy   { background: #0F172A; --bi: rgba(15, 23, 42, .4); }
.dark .badge-icon--navy { background: #334155; }

.sitemap {
    min-width: 13rem; padding: .9rem 1rem; border: 1px solid rgb(var(--c-brand-100)); border-radius: .6rem; background: rgb(var(--c-surface));
    font-family: "JetBrains Mono", monospace; font-size: .74rem; color: rgb(var(--c-muted));
}
.sitemap li { position: relative; padding: .22rem 0 .22rem 1rem; }
.sitemap li::before { content: ""; position: absolute; left: .25rem; top: 0; bottom: 50%; width: .5rem; border-left: 1px solid rgb(var(--c-brand) / .4); border-bottom: 1px solid rgb(var(--c-brand) / .4); }
.sitemap li.is-root { padding-left: 0; color: rgb(var(--c-ink)); font-weight: 600; }
.sitemap li.is-root::before { display: none; }

/* ---------- Processo (bloco escuro) ---------- */
.process-bg {
    position: relative; overflow: hidden;
    background:
        radial-gradient(40rem 22rem at 90% -10%, rgba(124, 58, 237, .22), transparent 70%),
        radial-gradient(36rem 20rem at -5% 110%, rgba(37, 99, 235, .25), transparent 70%),
        rgb(var(--c-paper));
}
.step__number {
    display: inline-grid; place-items: center; width: 3rem; height: 3rem; flex-shrink: 0; border-radius: .75rem; color: #fff;
    font-family: "JetBrains Mono", monospace; font-size: .9rem; font-weight: 700;
    background: var(--sc, #2563EB); box-shadow: 0 8px 18px -6px var(--sc, #2563EB);
}
.step:nth-child(1) { --sc: #2563EB; --st: #60A5FA; }
.step:nth-child(2) { --sc: #7C3AED; --st: #A78BFA; }
.step:nth-child(3) { --sc: #F97316; --st: #FB923C; }
.step:nth-child(4) { --sc: #10B981; --st: #34D399; }
.step__when { color: var(--st); }
.step__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--sc), transparent); }
.step:last-child .step__line { display: none; }
@media (max-width: 1023px) { .step__line { display: none; } }

/* ---------- Planos ---------- */
.plan {
    position: relative; display: flex; flex-direction: column; padding: 2rem;
    border: 1px solid rgb(var(--c-line)); border-radius: 1rem; background: rgb(var(--c-surface)); box-shadow: var(--shadow-card);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .2s;
}
.plan:hover { transform: translateY(-3px); border-color: rgb(var(--c-line-strong)); }
.plan--featured {
    border: 2px solid #2563EB; background: rgb(var(--c-brand-50)); box-shadow: var(--shadow-lift);
}
.plan--featured:hover { border-color: #2563EB; }
.plan__badge {
    position: absolute; top: -.8rem; left: 2rem; padding: .28rem .7rem; border-radius: 999px;
    background: var(--coral); color: #fff; box-shadow: 0 6px 12px -4px rgba(249, 115, 22, .6);
    font-family: "JetBrains Mono", monospace; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Formulário ---------- */
.form-card { position: relative; padding: 1.75rem; border: 1px solid rgb(var(--c-line)); border-radius: 1rem; background: rgb(var(--c-soft)); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }

.field-label { display: block; margin-bottom: .45rem; font-size: .8rem; font-weight: 600; color: rgb(var(--c-ink)); }
.field {
    display: block; width: 100%; height: 2.85rem; padding: 0 .875rem;
    border: 1px solid rgb(var(--c-line-strong)); border-radius: .5rem; background: rgb(var(--c-surface));
    font-size: .93rem; color: rgb(var(--c-ink)); transition: border-color .15s, box-shadow .15s, background-color .3s;
}
.field::placeholder { color: rgb(var(--c-muted) / .7); }
.field:hover { border-color: rgb(var(--c-muted) / .6); }
.field:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
textarea.field { height: auto; min-height: 8.5rem; padding: .75rem .875rem; line-height: 1.55; resize: vertical; }
select.field {
    appearance: none; -webkit-appearance: none; padding-right: 2.25rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem;
}
select.field:invalid { color: rgb(var(--c-muted) / .8); }
select.field option { color: #0F172A; background: #fff; }
.field.has-error { border-color: rgb(var(--c-danger)); }
.field.has-error:focus { box-shadow: 0 0 0 3px rgb(var(--c-danger) / .2); }
.field-error { margin-top: .4rem; font-size: .76rem; color: rgb(var(--c-danger)); }
.field.is-flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0%, 30% { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(249, 115, 22, .25); } }

.form-alert {
    padding: .8rem 1rem; border: 1px solid rgb(var(--c-danger) / .35); border-radius: .5rem; background: rgb(var(--c-danger) / .08);
    font-size: .85rem; color: rgb(var(--c-danger));
}

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.spinner {
    width: 15px; height: 15px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.success { padding: .5rem 0; animation: fade-up .5s cubic-bezier(.2, .8, .2, 1); }
.success:focus { outline: none; }
.success__icon {
    display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: .85rem;
    background: #10B981; color: #fff; box-shadow: 0 10px 20px -6px rgba(16, 185, 129, .55);
}
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Reveal on scroll ----------
[data-reveal] kept in markup for backward compatibility; no longer hides content.
------------------------------------------------------------------ */

/* ---------- Planos coloridos + tons translúcidos no tema escuro ---------- */
.plan--blue   { background: rgb(var(--c-brand-50));  border-color: rgb(var(--c-brand) / .4); }
.plan--coral  { background: rgb(var(--c-accent-50)); border-color: rgb(var(--c-accent) / .4); }
.plan--violet { background: rgb(var(--c-violet-50)); border-color: rgb(var(--c-violet) / .4); }
.plan--featured { border-color: #2563EB; }
.dark .bento--blue,   .dark .plan--blue   { background: rgb(var(--c-brand) / .10); }
.dark .bento--coral,  .dark .plan--coral  { background: rgb(var(--c-accent) / .10); }
.dark .bento--violet, .dark .plan--violet { background: rgb(var(--c-violet) / .12); }
