/* ==========================================================
   Lumera Digital — tokens
   ========================================================== */
:root {
    --paper: #F7F5FB;
    --mint: #EDE6F7;
    --mint-2: #DDD0F0;
    --line: #D3C4E8;
    --petrol: #4C1D95;
    --petrol-2: #6D28D9;
    --petrol-deep: #2E1065;
    --ink: #221336;
    --muted: #6C5D82;
    --lume: #FFC93C;
    --lume-deep: #EDAE14;
    --white: #FFFFFF;
    --error: #B3261E;

    /* Cores fixas: usadas em elementos que devem permanecer com o mesmo
       contraste em qualquer tema (ex.: texto escuro sobre fundo dourado) */
    --petrol-fixed: #4C1D95;
    --paper-fixed: #F7F5FB;
    --header-bg: rgba(247, 245, 251, .94);

    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --gutter: clamp(20px, 4vw, 40px);
    --header-h: 72px;
}

/* ==========================================================
   Modo escuro
   ========================================================== */
:root[data-theme="dark"] {
    --paper: #170E24;
    --mint: #241531;
    --line: #3B2A52;
    --white: #211530;
    --ink: #F1EAFB;
    --muted: #B9A8D1;
    --petrol: #F1EAFB;
    --header-bg: rgba(23, 14, 36, .88);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #170E24;
        --mint: #241531;
        --line: #3B2A52;
        --white: #211530;
        --ink: #F1EAFB;
        --muted: #B9A8D1;
        --petrol: #F1EAFB;
        --header-bg: rgba(23, 14, 36, .88);
    }
}

body {
    transition: background-color .3s ease, color .3s ease;
}

/* ==========================================================
   Base
   ========================================================== */
*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

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

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure,
blockquote {
    margin: 0
}

ul {
    padding: 0;
    list-style: none
}

a {
    color: inherit
}

button {
    font: inherit
}

[hidden] {
    display: none !important
}

:focus-visible {
    outline: 3px solid var(--focus, var(--petrol));
    outline-offset: 3px;
    border-radius: 6px
}

h1,
h2 {
    font-family: var(--font-display);
    color: var(--petrol);
    letter-spacing: -.03em
}

h1 {
    font-size: clamp(2.6rem, 1.3rem + 4.7vw, 4.9rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.04em
}

h2 {
    font-size: clamp(1.95rem, 1.2rem + 2.6vw, 3.1rem);
    line-height: 1.08;
    font-weight: 700
}

h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--petrol)
}

.container {
    width: min(1180px, 100% - 2 * var(--gutter));
    margin-inline: auto
}

.section {
    padding-block: clamp(72px, 9vw, 120px)
}

.section-head {
    max-width: 44rem;
    margin-bottom: clamp(32px, 5vw, 56px)
}

.section-head p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.55
}

.bg-mint {
    background: var(--mint)
}

.on-dark {
    --focus: var(--lume);
    background: var(--petrol-fixed);
    color: var(--paper-fixed)
}

.on-dark h2,
.on-dark h3 {
    color: var(--paper-fixed)
}

.on-dark .muted,
.on-dark .section-head p {
    color: #B9D2CA
}

/* Portfólio: cartão de projeto sempre em modo escuro,
   independente do tema claro/escuro do site */
#portfolio {
    background:
        radial-gradient(120% 160% at 10% -15%, rgba(109, 40, 217, .38), transparent 55%),
        linear-gradient(165deg, #241040 0%, #170B29 55%, #110A1E 100%);
    overflow: hidden
}

#portfolio .section-head p {
    color: #B9A8D1
}

#portfolio .section-cta p {
    color: #F5F1FB
}

.portfolio-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 22px
}

.portfolio-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--petrol-2)
}

.portfolio-dots span:nth-child(2) {
    opacity: .6
}

.portfolio-dots span:nth-child(3) {
    opacity: .35
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--lume);
    color: var(--petrol-fixed);
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none
}

.skip:focus {
    top: 12px
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 54px;
    padding: 0 1.6rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.1;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease
}

.btn svg {
    width: 22px;
    height: 22px;
    flex: none
}

.btn-primary {
    background: var(--lume);
    color: var(--petrol-fixed)
}

.btn-primary:hover {
    background: #FFD45F;
    transform: translateY(-2px)
}

.btn-primary:active {
    transform: translateY(0)
}

.btn-outline {
    background: transparent;
    border-color: var(--petrol);
    color: var(--petrol)
}

.btn-outline:hover {
    background: var(--petrol);
    color: var(--paper)
}

.on-dark .btn-outline {
    border-color: rgba(246, 248, 245, .55);
    color: var(--paper)
}

.on-dark .btn-outline:hover {
    background: var(--paper);
    color: var(--petrol);
    border-color: var(--paper)
}

.btn-sm {
    min-height: 44px;
    padding: 0 1.15rem;
    font-size: .97rem
}

.btn-block {
    width: 100%
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line)
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: var(--header-h)
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--petrol)
}

.brand-mark {
    width: 34px;
    height: 34px;
    flex: none
}

.brand span {
    font-weight: 500
}

/* Telas bem estreitas: o cabeçalho (logo + botões de tema/WhatsApp/menu)
   não cabe todo e empurra o botão do menu para fora da tela. Escondemos
   a palavra "Digital" da logo só nesse recorte para abrir espaço. */
@media (max-width: 420px) {
    .brand span {
        display: none
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto
}

.nav a {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    font-size: .98rem;
    color: var(--petrol);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s ease
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--lume-deep);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--motion-ease, ease)
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--lume-deep)
}

.nav a:hover::after,
.nav a:focus-visible::after {
    transform: scaleX(1)
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .6rem
}

.theme-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--petrol);
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease
}

.theme-toggle:hover {
    border-color: var(--lume-deep);
    transform: translateY(-2px)
}

.theme-icon {
    grid-area: 1 / 1;
    width: 21px;
    height: 21px;
    transition: transform .4s var(--motion-ease, ease), opacity .3s ease
}

.theme-icon-moon {
    opacity: 0;
    transform: rotate(-40deg) scale(.4)
}

[data-theme="dark"] .theme-icon-sun {
    opacity: 0;
    transform: rotate(40deg) scale(.4)
}

[data-theme="dark"] .theme-icon-moon {
    opacity: 1;
    transform: none
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not([data-theme="dark"]) .theme-icon-sun {
        opacity: 0;
        transform: rotate(40deg) scale(.4)
    }

    :root:not([data-theme="light"]):not([data-theme="dark"]) .theme-icon-moon {
        opacity: 1;
        transform: none
    }
}

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: transparent;
    color: var(--petrol);
    cursor: pointer;
    place-items: center
}

.menu-btn svg {
    width: 22px;
    height: 22px
}

/* ==========================================================
   Trust strip
   ========================================================== */
.strip {
    background: var(--mint);
    border-block: 1px solid var(--line)
}

.strip-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.strip-list li {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 26px 22px;
    border-left: 1px solid var(--line)
}

.strip-list li:first-child {
    border-left: 0;
    padding-left: 0
}

.strip-icon {
    width: 26px;
    height: 26px;
    margin-top: 2px;
    flex: none;
    color: var(--petrol)
}

.strip-list b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.25;
    color: var(--petrol)
}

.strip-list span {
    display: block;
    margin-top: 2px;
    font-size: .93rem;
    line-height: 1.4;
    color: var(--muted)
}

/* ==========================================================
   Primeira impressão
   ========================================================== */
.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start
}

.split-copy p {
    margin-top: 1.2rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 32rem
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(24px, 4vw, 48px)
}

.benefit {
    padding: 22px 0 30px;
    border-top: 2px solid var(--petrol)
}

.benefit p {
    margin-top: .5rem;
    color: var(--muted)
}

/* ==========================================================
   Portfólio
   ========================================================== */
.projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 36px)
}

.project a {
    display: block;
    text-decoration: none;
    color: inherit
}

.project .browser {
    position: relative;
    transition: transform .25s ease
}

.project a:hover .browser {
    transform: translateY(-5px)
}

.project .browser>.chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45)
}

.project-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    margin-top: 16px
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--petrol)
}

.project-open {
    font-weight: 600;
    font-size: .95rem;
    color: var(--petrol);
    text-decoration: underline;
    text-decoration-color: var(--lume-deep);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px
}

.project a:hover .project-open {
    text-decoration-color: var(--petrol)
}

/* Cartões do portfólio: sempre com o mesmo visual escuro,
   em qualquer tema e em qualquer largura de tela */
#portfolio .browser,
#portfolio .browser-bar,
#portfolio .browser-shot {
    background: #150C26
}

#portfolio .browser {
    border-radius: 16px;
    box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .6),
        0 0 0 1px rgba(124, 58, 237, .28),
        0 0 46px -14px rgba(109, 40, 217, .45)
}

#portfolio .browser-bar i {
    background: rgba(255, 255, 255, .18)
}

#portfolio .project-title,
#portfolio .project-open {
    color: #F5F1FB
}

#portfolio .project-open {
    text-decoration-color: var(--lume-deep)
}

#portfolio .project a:hover .project-open {
    text-decoration-color: var(--lume)
}

.chip {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--mint-2);
    color: var(--petrol-fixed);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.5
}

.chip-pro {
    background: var(--lume)
}

.chip-custom {
    background: var(--petrol-fixed);
    color: var(--paper-fixed)
}

.section-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: clamp(36px, 5vw, 56px);
    text-align: center
}

.section-cta p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--petrol)
}

/* ==========================================================
   Sobre
   ========================================================== */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center
}

.about-photo {
    position: relative;
    isolation: isolate;
    max-width: 420px
}

.about-photo::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -14%;
    bottom: -9%;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--lume)
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
    background: var(--petrol-2)
}

.about-copy p {
    margin-top: 1.15rem;
    font-size: 1.12rem;
    line-height: 1.65;
    color: #D3E4DE;
    max-width: 38rem
}

.about-copy .fact {
    margin: 0;
    max-width: none;
    font-size: 1rem;
    line-height: 1.2
}

.about-copy .about-quote {
    margin-top: 2.2rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.015em;
    color: var(--paper-fixed)
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 2.6rem;
    margin-top: 2rem
}

.fact strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--lume)
}

.fact span {
    display: block;
    margin-top: 6px;
    font-size: .95rem;
    line-height: 1.35;
    color: #B9D2CA;
    max-width: 11rem
}

.facts .fact strong {
    display: block;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s var(--motion-ease), transform .65s var(--motion-ease)
}

.facts .fact.is-visible strong {
    opacity: 1;
    transform: translateY(0)
}

.why {
    margin-top: clamp(56px, 8vw, 96px);
    padding-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid rgba(246, 248, 245, .2)
}

.why-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px clamp(24px, 4vw, 56px);
    margin-top: 32px
}

.why-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0 14px
}

.why-list svg {
    width: 24px;
    height: 24px;
    margin-top: 1px;
    color: var(--lume)
}

.why-list h3 {
    font-size: 1.1rem
}

.why-list p {
    grid-column: 2;
    margin-top: .3rem;
    color: #B9D2CA;
    font-size: 1rem
}

/* ==========================================================
   Processo
   ========================================================== */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px
}

.steps::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 26px;
    right: calc((100% - 84px) / 4 - 26px);
    height: 2px;
    background: var(--line)
}

.step {
    position: relative
}

.step-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--lume);
    color: var(--petrol-fixed);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800
}

.step h3 {
    margin-top: 20px
}

.step p {
    margin-top: .5rem;
    color: var(--muted)
}

.steps>.step[data-reveal="left"] {
    transform: translate3d(-38px, 0, 0) scale(.985)
}

.steps>.step[data-reveal="left"].is-visible {
    transform: none
}

.steps-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 28px;
    border-top: 1px solid var(--line)
}

.steps-foot p {
    max-width: 40rem;
    font-size: 1.12rem;
    color: var(--muted)
}

/* ==========================================================
   Planos
   ========================================================== */
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    padding-block: 16px
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px
}

.plan--pro {
    --focus: var(--lume);
    margin-block: -16px;
    padding-block: 48px 40px;
    background: var(--petrol-fixed);
    border-color: var(--petrol-fixed);
    color: var(--paper-fixed)
}

.plan--pro h3 {
    color: var(--paper-fixed)
}

.plan-flag {
    position: absolute;
    top: -15px;
    left: 28px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--lume);
    color: var(--petrol-fixed);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.3
}

.plan-name {
    font-size: 1.6rem;
    letter-spacing: -.02em
}

.plan-tag {
    margin-top: .15rem;
    font-weight: 600;
    color: var(--muted)
}

.plan--pro .plan-tag {
    color: #B9D2CA
}

.price {
    margin-top: 22px
}

.price-old {
    display: block;
    font-size: .95rem;
    color: var(--muted);
    text-decoration: line-through
}

.plan--pro .price-old {
    color: #B9D2CA
}

.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .6rem;
    margin-top: 2px
}

.price-now {
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
    color: var(--petrol)
}

.plan--pro .price-now {
    color: var(--lume)
}

.price-note {
    font-weight: 600;
    color: var(--muted)
}

.plan--pro .price-note {
    color: #D3E4DE
}

.price-quote {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--petrol)
}

.chip-off {
    background: var(--lume);
    color: var(--petrol-fixed)
}

.promo {
    margin-top: 12px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--lume)
}

.plan-desc {
    margin-top: 16px;
    color: var(--muted)
}

.plan--pro .plan-desc {
    color: #D3E4DE
}

.plan-list {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.plan--pro .plan-list {
    border-top-color: rgba(246, 248, 245, .22)
}

.plan-list li {
    position: relative;
    display: flex;
    gap: .65rem;
    padding: 5px 0;
    font-size: 1rem;
    line-height: 1.4
}

.plan-list svg {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 2px;
    color: var(--petrol-2)
}

.plan--pro .plan-list svg {
    color: var(--lume)
}

.tip {
    position: static;
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 19px;
    height: 19px;
    margin: 1px 0 0 2px;
    padding: 0;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    cursor: help
}

.plan--pro .tip {
    color: #B9D2CA
}

.tip::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 6px);
    z-index: 5;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--petrol-deep);
    color: var(--paper-fixed);
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    box-shadow: 0 10px 24px -8px rgba(8, 43, 42, .6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease
}

.plan--pro .tip::after {
    background: var(--paper-fixed);
    color: var(--petrol-fixed)
}

.tip:hover::after,
.tip:focus-visible::after {
    opacity: 1;
    visibility: visible
}

.plan-meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 6px;
    font-size: .97rem
}

.plan--pro .plan-meta {
    border-top-color: rgba(246, 248, 245, .22)
}

.plan-meta div {
    display: flex;
    justify-content: space-between;
    gap: 1rem
}

.plan-meta dt {
    color: var(--muted)
}

.plan--pro .plan-meta dt {
    color: #B9D2CA
}

.plan-meta dd {
    font-weight: 700;
    text-align: right
}

.plan-not {
    margin-top: 14px;
    font-size: .9rem;
    color: var(--muted)
}

.plan--pro .plan-not {
    color: #B9D2CA
}

.plan-cta {
    margin-top: auto;
    padding-top: 26px
}

.plan-cta small {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: .88rem;
    color: var(--muted)
}

.plan--pro .plan-cta small {
    color: #B9D2CA
}

.fees-wrap {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 80px);
    margin-top: clamp(64px, 9vw, 112px);
    align-items: start
}

.fees-wrap h2 {
    font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.4rem)
}

.fees-intro p {
    margin-top: 1rem;
    color: var(--muted)
}

.fees {
    border-bottom: 1px solid var(--petrol)
}

.fee {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .3rem 1.5rem;
    padding: 20px 0;
    border-top: 1px solid var(--petrol)
}

.fee dt {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--petrol)
}

.fee dd.fee-desc {
    grid-column: 1;
    color: var(--muted);
    font-size: .98rem
}

.fee dd.fee-price {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    text-align: right;
    font-weight: 700;
    color: var(--petrol);
    max-width: 13rem
}

.domain-note {
    margin-top: 22px;
    padding: 14px 18px;
    border-left: 4px solid var(--lume-deep);
    background: rgba(255, 255, 255, .6);
    border-radius: 0 12px 12px 0;
    font-size: .98rem;
    color: var(--ink)
}

/* ==========================================================
   Depoimentos
   ========================================================== */
.quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px)
}

.quote {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 22px;
    border-top: 2px solid var(--petrol)
}

.stars {
    display: flex;
    gap: 3px;
    color: var(--lume-deep)
}

.stars svg {
    width: 20px;
    height: 20px
}

.quote blockquote {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.012em;
    color: var(--petrol)
}

.quote figcaption {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: auto
}

.avatar {
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mint-2);
    color: var(--petrol-fixed);
    object-fit: cover;
    font-family: var(--font-display);
    font-weight: 800
}

.quote figcaption strong {
    display: block;
    line-height: 1.2;
    color: var(--petrol)
}

.quote figcaption span {
    display: block;
    font-size: .93rem;
    color: var(--muted)
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start
}

.faq-side {
    position: sticky;
    top: calc(var(--header-h) + 32px)
}

.faq-side p {
    margin-top: 1rem;
    color: var(--muted);
    max-width: 26rem
}

.faq-side .btn {
    margin-top: 1.6rem
}

.faq-group+.faq-group {
    margin-top: 36px
}

.faq-group h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0
}

details {
    border-bottom: 1px solid var(--line)
}

summary {
    position: relative;
    display: block;
    padding: 18px 44px 18px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--petrol)
}

summary::-webkit-details-marker {
    display: none
}

summary::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    border-radius: 50%;
    background: linear-gradient(var(--petrol), var(--petrol)) center / 12px 2px no-repeat, linear-gradient(var(--petrol), var(--petrol)) center / 2px 12px no-repeat, var(--white);
    border: 1.5px solid var(--petrol);
    transition: transform .2s ease, background-color .2s ease
}

details[open]>summary::after {
    transform: rotate(45deg);
    background-color: var(--lume);
    border-color: var(--lume)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 44px 0 0;
    color: var(--muted);
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height .5s var(--motion-ease), padding .45s var(--motion-ease), opacity .35s ease, transform .45s var(--motion-ease)
}

details[open] .faq-a {
    max-height: 300px;
    padding-bottom: 22px;
    opacity: 1;
    transform: translateY(0)
}

@media (prefers-reduced-motion:reduce) {
    .faq-a {
        transition: none
    }
}

/* ==========================================================
   Contato
   ========================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start
}

.contact-copy p.lead-dark {
    margin-top: 1.2rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #D3E4DE;
    max-width: 30rem
}

.promise {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding: 20px 22px;
    border: 2px solid var(--lume);
    border-radius: 20px
}

.promise svg {
    width: 30px;
    height: 30px;
    flex: none;
    color: var(--lume)
}

.promise strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--lume)
}

.promise p {
    margin-top: .35rem;
    color: #D3E4DE
}

.direct {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem
}

.direct a.mail {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: var(--paper-fixed);
    text-underline-offset: 5px;
    text-decoration-color: var(--lume)
}

.direct a.mail svg {
    width: 20px;
    height: 20px
}

.form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 3vw, 38px);
    border-radius: 26px;
    background: var(--white);
    color: var(--ink)
}

.on-dark .form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--petrol)
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--petrol)
}

.field .opt {
    font-weight: 500;
    color: var(--muted)
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1.5px solid #6F8F86;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit
}

.field textarea {
    min-height: 120px;
    resize: vertical
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3B3A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 3px solid var(--lume);
    outline-offset: 0;
    border-color: var(--petrol)
}

.field [aria-invalid="true"] {
    border-color: var(--error)
}

.field-error {
    margin-top: 6px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--error)
}

.field-error:empty {
    display: none
}

.form-note {
    font-size: .9rem;
    color: var(--muted)
}

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

.form-success {
    padding: clamp(24px, 3vw, 38px);
    border-radius: 26px;
    background: var(--white);
    color: var(--ink)
}

.form-success[hidden] {
    display: none
}

.on-dark .form-success h3 {
    font-size: 1.6rem;
    font-family: var(--font-display);
    color: var(--petrol)
}

.form-success p {
    margin-top: .8rem;
    color: var(--muted)
}

.form-success .btn {
    margin-top: 1.4rem
}

/* ==========================================================
   Footer + botão flutuante
   ========================================================== */
.site-footer {
    --focus: var(--lume);
    padding-block: 56px 32px;
    background: var(--petrol-deep);
    color: #B9D2CA
}

.site-footer .brand {
    color: var(--paper-fixed)
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr);
    gap: 32px 48px
}

.footer-grid p {
    margin-top: 1rem;
    max-width: 22rem
}

.footer-grid h3 {
    margin-bottom: .8rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--paper-fixed)
}

.footer-grid li {
    padding: 3px 0
}

.footer-grid a {
    text-decoration: none
}

.footer-grid a:hover {
    color: var(--lume);
    text-decoration: underline
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(246, 248, 245, .16);
    font-size: .92rem
}

.wa-float {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s
}

/* A sombra fica no próprio botão (arredondado), não no wrapper,
   para não aparecer como um "quadrado" atrás do círculo/pílula */
.wa-float .btn {
    box-shadow: 0 14px 30px -10px rgba(8, 43, 42, .7)
}

.wa-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width:1040px) {
    .plans {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
        gap: 36px
    }

    .plan--pro {
        margin-block: 0;
        order: -1
    }

    .fees-wrap,
    .faq-grid {
        grid-template-columns: 1fr
    }

    .faq-side {
        position: static
    }

    .why-list {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:900px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 20px;
        background: var(--paper);
        border-bottom: 1px solid var(--line)
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem
    }

    .menu-btn {
        display: grid
    }

    .header-actions {
        margin-left: auto
    }

    .header-actions .btn-sm span {
        display: none
    }

    .header-actions .btn-sm {
        width: 44px;
        padding: 0;
        justify-content: center
    }

    .split,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .about-photo {
        max-width: 340px
    }

    .projects {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .quotes {
        grid-template-columns: 1fr;
        max-width: 640px
    }

    .strip-list {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .strip-list li:nth-child(odd) {
        border-left: 0;
        padding-left: 0
    }

    .strip-list li:nth-child(n+3) {
        border-top: 1px solid var(--line)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid>div:first-child {
        grid-column: 1 / -1
    }
}

@media (max-width:760px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 0
    }

    .steps::before {
        top: 26px;
        bottom: 26px;
        left: 25px;
        right: auto;
        width: 2px;
        height: auto
    }

    .step {
        padding: 0 0 32px 76px
    }

    .step:last-child {
        padding-bottom: 0
    }

    .step-num {
        position: absolute;
        left: 0;
        top: 0
    }

    .step h3 {
        margin-top: 0;
        padding-top: 12px
    }
}

@media (max-width:640px) {
    .hide-sm {
        display: none
    }

    .projects,
    .benefits,
    .why-list {
        grid-template-columns: 1fr
    }

    .strip-list {
        grid-template-columns: 1fr
    }

    .strip-list li {
        border-left: 0;
        padding-left: 0;
        padding-block: 18px
    }

    .strip-list li:nth-child(n+2) {
        border-top: 1px solid var(--line)
    }

    .fee {
        grid-template-columns: 1fr
    }

    .fee dd.fee-price {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
        max-width: none
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .wa-float {
        left: 16px;
        right: 16px
    }

    .wa-float .btn {
        width: 100%
    }

    .brand {
        font-size: 1.15rem
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important
    }
}

/* ==========================================================
   Animações modernas — entrada + microinterações
   ========================================================== */
:root {
    --motion-ease: cubic-bezier(.22, 1, .36, 1);
    --motion-duration: .72s;
}

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(.985);
    transition: opacity var(--motion-duration) var(--motion-ease),
        transform var(--motion-duration) var(--motion-ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal="left"] {
    transform: translate3d(-32px, 0, 0) scale(.985)
}

[data-reveal="right"] {
    transform: translate3d(32px, 0, 0) scale(.985)
}

[data-reveal="scale"] {
    transform: scale(.94);
    transform-origin: center
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.strip-list>li,
.split-copy>*,
.benefit,
.section-head>*,
.project,
.section-cta>*,
.about-photo,
.about-copy>*,
.why-list>li,
.step,
.steps-foot>*,
.plan,
.fees-intro>*,
.fee,
.quote,
.faq-side>*,
.faq-group,
.contact-copy>*,
.form>*,
.footer-grid>*,
.footer-bottom {
    position: relative;
}

.btn,
.project .browser,
.plan,
.quote,
.benefit,
.step-num,
.strip-list li,
.about-photo img,
.form,
.promise,
.browser,
.wa-float .btn {
    transition: transform .3s var(--motion-ease),
        box-shadow .3s var(--motion-ease),
        border-color .3s ease,
        background-color .3s ease;
}

.btn:hover {
    transform: translateY(-3px)
}

.btn:active {
    transform: translateY(-1px) scale(.98)
}

.project a:hover .browser {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 28px 55px -24px rgba(76, 29, 149, .42), 0 0 0 1px rgba(76, 29, 149, .12);
}

.project a:hover .project-title {
    transform: translateX(4px)
}

.project-title {
    transition: transform .3s var(--motion-ease)
}

.benefit:hover {
    transform: translateY(-5px);
    border-top-color: var(--lume-deep);
}

.benefit:hover h3 {
    transform: translateX(4px)
}

.benefit h3 {
    transition: transform .3s var(--motion-ease)
}

.strip-list li:hover .strip-icon {
    transform: translateY(-3px) scale(1.08)
}

.strip-icon {
    transition: transform .3s var(--motion-ease)
}

.plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -28px rgba(8, 43, 42, .45);
}

.plan--pro:hover {
    transform: translateY(-10px)
}

.quote:hover {
    transform: translateY(-5px)
}

.quote:hover .avatar {
    transform: scale(1.08)
}

.avatar {
    transition: transform .3s var(--motion-ease)
}

.step:hover .step-num {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 10px 22px -10px rgba(76, 29, 149, .45);
}

.about-photo:hover img {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .5);
}

.about-photo img {
    transition: transform .4s var(--motion-ease), box-shadow .4s var(--motion-ease)
}

.promise:hover {
    transform: translateY(-4px)
}

.form:hover {
    box-shadow: 0 24px 55px -32px rgba(8, 43, 42, .38)
}

@media (prefers-reduced-motion:reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none
    }

    .btn,
    .project .browser,
    .plan,
    .quote,
    .benefit,
    .step-num,
    .strip-list li,
    .about-photo img,
    .form,
    .promise,
    .browser,
    .wa-float .btn,
    .project-title,
    .benefit h3,
    .strip-icon,
    .avatar,
    .facts .fact strong {
        transition: none
    }

    .btn:hover,
    .project a:hover .browser,
    .plan:hover,
    .plan--pro:hover,
    .quote:hover,
    .benefit:hover,
    .about-photo:hover img,
    .promise:hover {
        transform: none
    }
}