/* ==========================================================================
   W2 Hosting — folha de estilo única
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
    /* verde da marca (#265436) expandido em escala */
    --brand-50:  #f1f8f4;
    --brand-100: #dcefe3;
    --brand-200: #bbdec9;
    --brand-300: #8cc5a4;
    --brand-400: #58a578;
    --brand-500: #3a8659;
    --brand-600: #2d6b46;
    --brand-700: #265436; /* base — logo */
    --brand-800: #1e4229;
    --brand-900: #16321f;
    --brand-950: #0b1d12;

    /* neutros levemente esverdeados */
    --ink-50:  #f7f9f8;
    --ink-100: #eef2f0;
    --ink-200: #dfe5e2;
    --ink-300: #c3cec8;
    --ink-400: #93a29a;
    --ink-500: #6b7a72;
    --ink-600: #4d5a53;
    --ink-700: #3a453f;
    --ink-800: #252d29;
    --ink-900: #141a17;

    --amber:   #b25a12;
    --amber-bg:#fdf1e5;

    --bg:        #ffffff;
    --bg-soft:   var(--ink-50);
    --surface:   #ffffff;
    --border:    var(--ink-200);
    --text:      var(--ink-900);
    --text-soft: var(--ink-600);
    --text-mute: var(--ink-500);

    /* tipografia fluida */
    --fs-xs:  .8125rem;
    --fs-sm:  .875rem;
    --fs-md:  1rem;
    --fs-lg:  1.0625rem;
    --fs-xl:  clamp(1.125rem, .95rem + .5vw, 1.375rem);
    --fs-h4:  clamp(1.125rem, 1rem + .5vw, 1.375rem);
    --fs-h3:  clamp(1.375rem, 1.15rem + .9vw, 1.875rem);
    --fs-h2:  clamp(1.75rem, 1.3rem + 1.9vw, 2.875rem);
    --fs-h1:  clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);

    --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ff-head: "Sora", var(--ff-sans);

    /* espaço */
    --gap:      1.5rem;
    --pad-sec:  clamp(3.5rem, 2rem + 6vw, 7rem);
    --maxw:     1180px;

    /* forma */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 999px;

    --sh-xs: 0 1px 2px rgba(20, 26, 23, .05);
    --sh-sm: 0 2px 6px rgba(20, 26, 23, .06), 0 1px 2px rgba(20, 26, 23, .04);
    --sh-md: 0 10px 28px -8px rgba(20, 26, 23, .12), 0 2px 8px -2px rgba(20, 26, 23, .06);
    --sh-lg: 0 26px 60px -18px rgba(20, 26, 23, .22), 0 6px 18px -6px rgba(20, 26, 23, .08);
    --sh-brand: 0 14px 34px -12px rgba(38, 84, 54, .45);

    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: var(--fs-lg);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--ff-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
    color: var(--ink-900);
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-500); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--brand-200); color: var(--brand-900); }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- layout */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: clamp(1.125rem, .5rem + 2.5vw, 2rem);
}

.section { padding-block: var(--pad-sec); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }

.section-head {
    max-width: 46rem;
    margin: 0 auto clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
    text-align: center;
}
.section-head p {
    font-size: var(--fs-xl);
    color: var(--text-soft);
    margin-top: .75rem;
}
.section-head--left { margin-inline: 0; text-align: left; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* inline-block para que ícones dentro de texto não quebrem a linha
   (o reset deixa svg como display:block) */
.ico { width: 24px; height: 24px; flex: none; display: inline-block; vertical-align: -.18em; }
.ico-lg { width: 28px; height: 28px; }
.ico-sm { width: 18px; height: 18px; }

/* --------------------------------------------------------------- eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .875rem .375rem .625rem;
    border-radius: var(--r-full);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-700);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: .01em;
    margin-bottom: 1.25rem;
}
.eyebrow .ico { width: 16px; height: 16px; }

/* --------------------------------------------------------------- botões */
.btn {
    --btn-bg: var(--brand-700);
    --btn-fg: #fff;
    --btn-bd: var(--brand-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8125rem 1.5rem;
    border: 1px solid var(--btn-bd);
    border-radius: var(--r-full);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: var(--fs-md);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease),
                background-color .18s var(--ease), color .18s var(--ease),
                border-color .18s var(--ease);
}
.btn:hover {
    color: var(--btn-fg);
    transform: translateY(-2px);
    box-shadow: var(--sh-brand);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink-900);
    --btn-bd: var(--border);
}
.btn--ghost:hover {
    --btn-bd: var(--brand-300);
    --btn-bg: var(--brand-50);
    box-shadow: var(--sh-sm);
}

.btn--light {
    --btn-bg: #fff;
    --btn-fg: var(--brand-700);
    --btn-bd: #fff;
}
.btn--light:hover { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .35); }

.btn--outline-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, .35);
}
.btn--outline-light:hover {
    --btn-bg: rgba(255, 255, 255, .1);
    --btn-bd: rgba(255, 255, 255, .6);
    box-shadow: none;
}

.btn--sm { padding: .5625rem 1.125rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1rem 1.875rem; font-size: var(--fs-lg); }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: .875rem; }

/* --------------------------------------------------------------- header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
    border-bottom-color: var(--border);
    box-shadow: var(--sh-xs);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.75rem;
}

.brand { flex: none; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; margin-inline: auto; }
.nav a {
    display: block;
    padding: .5rem .875rem;
    border-radius: var(--r-full);
    color: var(--text-soft);
    font-size: var(--fs-md);
    font-weight: 500;
    transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--ink-900); background: var(--ink-100); }
.nav a[aria-current="page"] { color: var(--brand-700); font-weight: 600; }

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

.nav-toggle {
    display: none;
    padding: .5rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: #fff;
    cursor: pointer;
    color: var(--ink-800);
}

/* drawer mobile */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr min(20rem, 84vw);
    visibility: hidden;
    pointer-events: none;
}
.drawer[data-open="true"] { visibility: visible; pointer-events: auto; }

.drawer__scrim {
    background: rgba(20, 26, 23, .45);
    opacity: 0;
    transition: opacity .3s var(--ease);
    border: 0;
    cursor: pointer;
}
.drawer[data-open="true"] .drawer__scrim { opacity: 1; }

.drawer__panel {
    background: #fff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .375rem;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    overflow-y: auto;
}
.drawer[data-open="true"] .drawer__panel { transform: none; }

.drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.drawer__top img { height: 30px; }
.drawer__close {
    padding: .5rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: #fff;
    cursor: pointer;
    color: var(--ink-800);
}
.drawer__panel a.drawer__link {
    padding: .75rem .875rem;
    border-radius: var(--r-md);
    color: var(--ink-800);
    font-weight: 500;
}
.drawer__panel a.drawer__link:hover { background: var(--ink-100); }
.drawer__panel a.drawer__link[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.drawer__cta { margin-top: 1rem; display: grid; gap: .625rem; }

@media (max-width: 60rem) {
    .nav, .header-actions .btn { display: none; }
    .nav-toggle { display: block; }
    .header-actions { margin-left: auto; }
}

/* --------------------------------------------------------------- hero */
.hero {
    position: relative;
    padding-block: clamp(3.5rem, 2rem + 7vw, 6.5rem) clamp(3rem, 2rem + 5vw, 5.5rem);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 90%;
    z-index: -2;
    background:
        radial-gradient(48% 55% at 20% 20%, rgba(58, 134, 89, .16), transparent 62%),
        radial-gradient(42% 50% at 82% 8%, rgba(88, 165, 120, .18), transparent 60%);
    filter: blur(6px);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(to right, var(--ink-200) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ink-200) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(80% 60% at 50% 25%, #000 15%, transparent 78%);
            mask-image: radial-gradient(80% 60% at 50% 25%, #000 15%, transparent 78%);
    opacity: .5;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(2rem, 1rem + 3vw, 3.25rem);
    align-items: center;
}
@media (max-width: 62rem) {
    .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 span { color: var(--brand-700); }
.hero__lead {
    font-size: var(--fs-xl);
    color: var(--text-soft);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2.25rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.hero__proof div > strong {
    display: block;
    font-family: var(--ff-head);
    font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
/* filho direto: não afeta o <span> do contador dentro do <strong> */
.hero__proof div > span { font-size: var(--fs-sm); color: var(--text-mute); }

/* cartão flutuante do hero */
.hero__card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    padding: 1.5rem;
    animation: float 7s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__card { animation: none; }
}

.hero__card-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.hero__card-bar i {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--ink-200);
    display: block;
}
.hero__card-bar i:first-child { background: #e5695a; }
.hero__card-bar i:nth-child(2) { background: #e3b341; }
.hero__card-bar i:nth-child(3) { background: var(--brand-400); }
.hero__card-bar span {
    margin-left: auto;
    font-size: var(--fs-xs);
    color: var(--text-mute);
    font-variant-numeric: tabular-nums;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .8125rem 0;
    border-bottom: 1px dashed var(--ink-200);
}
.stat-row:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-row__ico {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    flex: none;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-700);
}
.stat-row__txt { min-width: 0; }
.stat-row__txt b { display: block; font-size: var(--fs-md); font-weight: 600; line-height: 1.3; }
.stat-row__txt span { font-size: var(--fs-sm); color: var(--text-mute); }
.stat-row__val {
    margin-left: auto;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: var(--fs-md);
    color: var(--brand-700);
    font-variant-numeric: tabular-nums;
}

.pill-live {
    display: inline-flex;
    align-items: center;
    gap: .4375rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--brand-600);
}
.pill-live::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 0 rgba(58, 134, 89, .55);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 8px rgba(58, 134, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(58, 134, 89, 0); }
}

/* --------------------------------------------------------------- page hero (internas) */
.page-hero {
    position: relative;
    padding-block: clamp(3rem, 2rem + 5vw, 5rem) clamp(2rem, 1.5rem + 3vw, 3.5rem);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: -50% -20% auto -20%;
    height: 150%;
    z-index: -1;
    background: radial-gradient(45% 50% at 50% 12%, rgba(58, 134, 89, .14), transparent 65%);
}
.page-hero p {
    font-size: var(--fs-xl);
    color: var(--text-soft);
    max-width: 42rem;
    margin-inline: auto;
}

/* --------------------------------------------------------------- busca de domínio */
.domain {
    background: linear-gradient(135deg, var(--brand-800), var(--brand-950) 65%);
    border-radius: var(--r-xl);
    padding: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.domain::before {
    content: "";
    position: absolute;
    inset: auto -10% -60% auto;
    width: 30rem; height: 30rem;
    z-index: -1;
    background: radial-gradient(circle, rgba(88, 165, 120, .35), transparent 65%);
}
.domain h2, .domain h3 { color: #fff; margin-bottom: .375rem; }
.domain p { color: rgba(255, 255, 255, .72); margin-bottom: 1.75rem; }

.domain__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .625rem;
    align-items: stretch;
}
@media (max-width: 46rem) {
    .domain__form { grid-template-columns: 1fr; }
}

.field {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    padding: .3125rem .375rem .3125rem 1.125rem;
    transition: box-shadow .2s var(--ease);
}
.field:focus-within { box-shadow: 0 0 0 3px rgba(139, 197, 164, .5); }
.field > .ico { color: var(--ink-400); }
.field input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    padding: .5rem 0;
    font-size: var(--fs-md);
    color: var(--ink-900);
}
.field input:focus { outline: none; }
.field input::placeholder { color: var(--ink-400); }

.select-wrap { position: relative; display: flex; }
.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: var(--r-full);
    padding: .8125rem 2.75rem .8125rem 1.25rem;
    font-size: var(--fs-md);
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}
.select-wrap select option { color: var(--ink-900); background: #fff; }
.select-wrap .ico {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, .7);
    width: 18px; height: 18px;
}

.domain__tlds {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .6);
    align-items: center;
}
.domain__tlds b {
    padding: .1875rem .625rem;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------- cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--brand-200);
}
.card__ico {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-700);
    margin-bottom: 1.125rem;
}
.card h3, .card h4 { margin-bottom: .5rem; }
.card p { color: var(--text-soft); font-size: var(--fs-md); }

/* card de serviço da home */
.svc {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--brand-200);
}
.svc__ico {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: linear-gradient(140deg, var(--brand-600), var(--brand-800));
    color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: var(--sh-brand);
}
.svc p { color: var(--text-soft); font-size: var(--fs-md); flex: 1; }
.svc__price {
    display: flex;
    align-items: baseline;
    margin: 1.25rem 0 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.svc__price small { font-size: var(--fs-sm); color: var(--text-mute); margin-right: .5rem; }
.svc__price b {
    font-family: var(--ff-head);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink-900);
}
.svc__price span { font-size: var(--fs-sm); color: var(--text-mute); }

/* --------------------------------------------------------------- planos */
/* 15.5rem permite 4 colunas (Cloud Backup) sem sobrar card órfão;
   com 3 planos o auto-fit colapsa a trilha vazia e eles ocupam a largura toda. */
.plans {
    display: grid;
    gap: clamp(1rem, .5rem + 1.5vw, 1.75rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
    align-items: start;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.875rem 1.625rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }

.plan--featured {
    background: linear-gradient(160deg, var(--brand-700), var(--brand-900));
    border-color: var(--brand-800);
    color: #fff;
    box-shadow: var(--sh-lg);
}
.plan--featured:hover { border-color: var(--brand-600); }
.plan--featured h3,
.plan--featured .plan__price b,
.plan--featured .plan__price i { color: #fff; }
.plan--featured .plan__resumo,
.plan--featured .plan__price span,
.plan--featured .plan__ciclo { color: rgba(255, 255, 255, .68); }
.plan--featured .plan__specs { border-color: rgba(255, 255, 255, .16); }
.plan--featured .plan__specs li b { color: #fff; }
.plan--featured .plan__specs li span { color: rgba(255, 255, 255, .68); }
.plan--featured .plan__list li { color: rgba(255, 255, 255, .88); }
.plan--featured .plan__list .ico { color: var(--brand-300); }

.plan__tag {
    position: absolute;
    top: -.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .3125rem .875rem;
    border-radius: var(--r-full);
    background: #fff;
    color: var(--brand-700);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: var(--sh-sm);
    white-space: nowrap;
}
.plan__tag .ico { width: 14px; height: 14px; }

.plan h3 { font-size: var(--fs-h4); margin-bottom: .375rem; }
/* 3.3em = duas linhas; mantém os cards alinhados quando um resumo ocupa só uma */
.plan__resumo { font-size: var(--fs-sm); color: var(--text-mute); min-height: 3.3em; margin-bottom: 1.25rem; }

.plan__price { display: flex; align-items: flex-start; gap: .1875rem; line-height: 1; }
.plan__price i {
    font-style: normal;
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--ink-700);
    margin-top: .35em;
}
.plan__price b {
    font-family: var(--ff-head);
    font-size: clamp(2.125rem, 1.7rem + 1.4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--ink-900);
    font-variant-numeric: tabular-nums;
}
.plan__price span {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text-mute);
    margin-top: .35em;
}
.plan__ciclo { font-size: var(--fs-sm); color: var(--text-mute); margin: .375rem 0 1.5rem; }

.plan__specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    padding: 1rem 0;
    margin-bottom: 1.25rem;
    border-block: 1px solid var(--border);
    text-align: center;
}
.plan__specs li b {
    display: block;
    font-family: var(--ff-head);
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -.02em;
}
.plan__specs li span { font-size: var(--fs-xs); color: var(--text-mute); }

.plan__list { display: grid; gap: .625rem; margin-bottom: 1.75rem; }
.plan__list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: var(--fs-md);
    color: var(--text-soft);
    line-height: 1.45;
}
.plan__list .ico { width: 18px; height: 18px; margin-top: .2em; color: var(--brand-500); stroke-width: 2.5; }

.plan .btn { margin-top: auto; }
.plan__nota { font-size: var(--fs-xs); color: var(--text-mute); text-align: center; margin-top: .875rem; }
.plan--featured .plan__nota { color: rgba(255, 255, 255, .55); }

/* plano único (nextcloud) */
.plan--solo {
    max-width: 26rem;
    margin-inline: auto;
}

/* --------------------------------------------------------------- tabela comparativa */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    -webkit-overflow-scrolling: touch;
}

table.compare {
    width: 100%;
    min-width: 40rem;
    border-collapse: collapse;
    font-size: var(--fs-md);
}
table.compare th, table.compare td {
    padding: .9375rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--ink-100);
}
table.compare thead th {
    position: sticky;
    top: 0;
    background: var(--ink-50);
    font-family: var(--ff-head);
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -.02em;
    border-bottom: 1px solid var(--border);
}
table.compare thead th:first-child,
table.compare tbody th { text-align: left; }
table.compare tbody th {
    font-weight: 500;
    color: var(--text-soft);
    font-family: var(--ff-sans);
    font-size: var(--fs-md);
}
table.compare tbody tr:hover td,
table.compare tbody tr:hover th { background: var(--brand-50); }
table.compare tbody tr:last-child td,
table.compare tbody tr:last-child th { border-bottom: 0; }
table.compare .col-hi { background: rgba(241, 248, 244, .7); }
table.compare .ico { color: var(--brand-600); margin-inline: auto; stroke-width: 2.5; }
table.compare .preco {
    font-family: var(--ff-head);
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -.02em;
    white-space: nowrap;
}

/* --------------------------------------------------------------- marcas */
/* Cards independentes: tolera qualquer quantidade de itens sem deixar buraco na grade. */
.brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
}
.brands li {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.brands li:hover {
    border-color: var(--brand-200);
    box-shadow: var(--sh-sm);
    transform: translateY(-2px);
}
.brands img {
    height: 30px;
    width: auto;
    margin: 0 auto 1rem;
    object-fit: contain;
    filter: grayscale(.4);
    transition: filter .25s var(--ease);
}
.brands li:hover img { filter: none; }
.brands p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.5; }
.brands p small { display: block; margin-top: .375rem; font-size: var(--fs-xs); color: var(--text-mute); }

/* --------------------------------------------------------------- faq */
.faq { display: grid; gap: .75rem; max-width: 52rem; margin-inline: auto; }

.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.faq details:hover { border-color: var(--brand-200); }

.faq summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.375rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--ff-head);
    font-size: var(--fs-lg);
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico {
    margin-left: auto;
    flex: none;
    color: var(--brand-600);
    transition: transform .25s var(--ease);
}
.faq details[open] summary .ico { transform: rotate(180deg); }

.faq__body {
    padding: 0 1.375rem 1.375rem;
    color: var(--text-soft);
    font-size: var(--fs-md);
}
.faq__body p + p { margin-top: .875rem; }

/* --------------------------------------------------------------- cta faixa */
.cta-band {
    position: relative;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-950));
    border-radius: var(--r-xl);
    padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
    text-align: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: -50% -20% auto -20%;
    height: 160%;
    z-index: -1;
    background: radial-gradient(40% 45% at 50% 0%, rgba(139, 197, 164, .3), transparent 65%);
}
.cta-band h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-band p {
    color: rgba(255, 255, 255, .74);
    font-size: var(--fs-xl);
    max-width: 42rem;
    margin: 0 auto 2rem;
}
.cta-band .btn-group { justify-content: center; }

/* --------------------------------------------------------------- contato */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
    align-items: start;
}
@media (max-width: 60rem) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-list { display: grid; gap: 1rem; }
.contact-list li {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-list li:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.contact-list__ico {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    flex: none;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-700);
}
.contact-list h4 { font-size: var(--fs-md); margin-bottom: .1875rem; }
.contact-list a, .contact-list span { color: var(--text-soft); font-size: var(--fs-md); }
.contact-list a:hover { color: var(--brand-600); }

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    box-shadow: var(--sh-sm);
}
.form-grid { display: grid; gap: 1.125rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 34rem) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: .375rem;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: .8125rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg-soft);
    font-size: var(--fs-md);
    transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 8.5rem; }
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand-400);
    box-shadow: 0 0 0 3px rgba(88, 165, 120, .18);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-400); }

.alert {
    display: flex;
    gap: .75rem;
    padding: .9375rem 1.125rem;
    border-radius: var(--r-md);
    font-size: var(--fs-md);
    margin-bottom: 1.5rem;
    border: 1px solid;
}
.alert--erro { background: #fdf2f0; border-color: #f3ceca; color: #8f3427; }
.alert--ok   { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-800); }
.alert .ico { flex: none; margin-top: .15em; }

/* página obrigado */
.thanks { text-align: center; max-width: 38rem; margin-inline: auto; }
.thanks__ico {
    display: grid;
    place-items: center;
    width: 76px; height: 76px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    background: var(--brand-50);
    border: 1px solid var(--brand-200);
    color: var(--brand-600);
}
.thanks__ico .ico { width: 34px; height: 34px; stroke-width: 2.5; }

/* --------------------------------------------------------------- footer */
.site-footer {
    background: var(--ink-900);
    color: rgba(255, 255, 255, .62);
    padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 2rem;
    font-size: var(--fs-md);
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 1rem + 3vw, 3.5rem);
    padding-bottom: 3rem;
}
@media (max-width: 60rem) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
    .footer-grid { grid-template-columns: 1fr; }
}

.site-footer h4 {
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 1.125rem;
}
.site-footer ul { display: grid; gap: .625rem; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: #fff; }

.footer-brand img {
    height: 34px;
    width: auto;           /* sem isso o width do atributo estica a logo */
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: .95;
}
.footer-brand p { max-width: 24rem; line-height: 1.6; }

/* precisa do .site-footer para vencer `.site-footer ul { display: grid }` */
.site-footer .social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
}
.social a {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .7);
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .45);
}

/* --------------------------------------------------------------- whatsapp flutuante */
.whats-fab {
    position: fixed;
    right: clamp(1rem, .5rem + 1.5vw, 1.75rem);
    bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem);
    z-index: 90;
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
    transition: transform .22s var(--ease);
}
.whats-fab:hover { transform: scale(1.08); color: #fff; }
.whats-fab .ico { width: 27px; height: 27px; }

/* --------------------------------------------------------------- reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
