/* ============================================
   VITALLIS — Balança Inteligente
   Design System (PT-PT)
   ============================================ */

:root {
    --teal-900: #0b3d3a;
    --teal-800: #0f5250;
    --teal-700: #12706b;
    --teal-600: #148f86;
    --teal-500: #17a89c;
    --teal-400: #3cc2b4;
    --emerald-500: #10b981;
    --lime-400: #a3e635;
    --sand-50: #f7f5ef;
    --sand-100: #efece1;
    --ink-900: #12211f;
    --ink-700: #2b3a38;
    --ink-500: #536360;
    --ink-300: #8a9794;
    --line: #e2ded2;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(11, 61, 58, 0.08);
    --shadow-md: 0 12px 30px rgba(11, 61, 58, 0.10);
    --shadow-lg: 0 24px 60px rgba(11, 61, 58, 0.16);
    --radius: 18px;
    --radius-lg: 28px;
    --maxw: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

h1, h2, h3, h4 {
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    line-height: 1.12;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

.accent {
    color: var(--teal-600);
    font-style: italic;
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 245, 239, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: "Fraunces", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal-800);
    text-decoration: none;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(140deg, var(--teal-700), var(--teal-500));
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.logo-mark svg { width: 20px; height: 20px; color: #fff; }

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

.nav-link {
    color: var(--ink-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-link:hover { color: var(--teal-600); }

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 112, 107, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(18, 112, 107, 0.38);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--teal-400);
    color: var(--teal-700);
}

.btn-ghost:hover {
    background: rgba(60, 194, 180, 0.10);
}

.btn-large {
    padding: 1.05rem 2.2rem;
    font-size: 1.08rem;
}

.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
    padding: 4.5rem 0 4rem;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(60, 194, 180, 0.18), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(163, 230, 53, 0.12), transparent 55%),
        var(--sand-50);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--teal-700);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.4rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-desc {
    font-size: 1.14rem;
    color: var(--ink-500);
    max-width: 34rem;
    margin-bottom: 1.8rem;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-700);
    box-shadow: var(--shadow-sm);
}

.chip svg { width: 16px; height: 16px; color: var(--teal-600); }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: 0.82rem;
    color: var(--ink-300);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.hero-float {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--white);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid var(--line);
}

.hero-float .dot {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-500), var(--teal-500));
    display: grid; place-items: center;
    color: #fff; font-weight: 700;
}

.hero-float strong { display: block; font-size: 1.05rem; color: var(--ink-900); font-family: "Fraunces", serif; }
.hero-float span { font-size: 0.78rem; color: var(--ink-500); }

/* ---------- Trust strip ---------- */
.trust {
    background: var(--teal-900);
    padding: 1.6rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.trust-num {
    font-family: "Fraunces", serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--lime-400);
}

.trust-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    margin-top: 0.2rem;
}

/* ---------- Section base ---------- */
.section {
    padding: 4.5rem 0;
}

.section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.eyebrow {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: rgba(23, 168, 156, 0.10);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.8vw, 2.7rem);
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.section-sub {
    font-size: 1.08rem;
    color: var(--ink-500);
}

/* ---------- Feature blocks (image + description) ---------- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
    align-items: center;
    padding: 2.4rem 0;
}

.feature-block.reverse .feature-media { order: 2; }
.feature-block.reverse .feature-body { order: 1; }

.feature-media {
    position: relative;
}

.feature-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--white);
    display: block;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 0.9rem;
}

.feature-tag .num {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: #fff;
    display: grid; place-items: center;
    font-family: "Fraunces", serif;
    font-size: 0.85rem;
}

.feature-body h3 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-body > p {
    color: var(--ink-500);
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--ink-700);
    font-size: 0.98rem;
}

.feature-list .tick {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
    color: var(--emerald-500);
    display: grid; place-items: center;
    margin-top: 2px;
}

.feature-list .tick svg { width: 13px; height: 13px; }

.feature-block.alt {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

/* ---------- Metrics pills (13 biometrics) ---------- */
.metric-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.metric-pill {
    background: var(--sand-100);
    border: 1px solid var(--line);
    color: var(--ink-700);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
}

/* ---------- Divider band ---------- */
.band {
    background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
    padding: 3.4rem 0;
    color: #fff;
    text-align: center;
}

.band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.8rem; }
.band p { color: rgba(255,255,255,0.85); max-width: 40rem; margin: 0 auto 1.6rem; font-size: 1.05rem; }
.band .btn-primary { background: #fff; color: var(--teal-800); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.band .btn-primary:hover { background: var(--lime-400); color: var(--teal-900); }

/* ---------- Testimonials ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.stars { color: #f5a623; font-size: 1rem; margin-bottom: 0.8rem; letter-spacing: 2px; }
.testi-text { color: var(--ink-700); font-size: 0.98rem; margin-bottom: 1.1rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.7rem; }
.testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
    color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}
.testi-name { font-weight: 600; color: var(--ink-900); font-size: 0.92rem; }
.testi-loc { font-size: 0.8rem; color: var(--ink-300); }

/* ---------- Specs ---------- */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.spec-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.spec-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--line);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.95rem;
}

.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--ink-500); }
.spec-row span:last-child { color: var(--ink-900); font-weight: 600; }

.spec-check { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.spec-check li { display: flex; gap: 0.6rem; align-items: center; color: var(--ink-700); font-size: 0.95rem; }
.spec-check .tick {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(16,185,129,0.14); color: var(--emerald-500);
    display: grid; place-items: center; flex-shrink: 0;
}
.spec-check .tick svg { width: 12px; height: 12px; }

.compat {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 2px solid var(--line);
}
.compat h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--teal-700); }
.compat p { font-size: 0.9rem; color: var(--ink-500); }

/* ---------- Final CTA ---------- */
.final-cta {
    padding: 5rem 0;
    background:
        radial-gradient(700px 380px at 50% 0%, rgba(60,194,180,0.18), transparent 60%),
        var(--sand-50);
    text-align: center;
}

.cta-box {
    max-width: 44rem;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.cta-box p { color: var(--ink-500); font-size: 1.08rem; margin-bottom: 1.8rem; }

.price-note {
    display: inline-block;
    background: var(--sand-100);
    border: 1px dashed var(--teal-400);
    color: var(--teal-700);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.6rem;
}

.cta-disclosure { font-size: 0.82rem; color: var(--ink-300); margin-top: 1rem; }

/* ---------- Footer ---------- */
.footer {
    background: var(--teal-900);
    color: rgba(255,255,255,0.75);
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: "Fraunces", serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.9rem;
}

.footer-logo .logo-mark { width: 34px; height: 34px; }
.footer-logo .logo-mark svg { width: 18px; height: 18px; }

.footer-col h3 {
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col p { font-size: 0.9rem; line-height: 1.7; }

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--lime-400); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.8rem;
}

.disclaimer {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.9rem;
}

.disclaimer strong { color: rgba(255,255,255,0.85); }

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1rem;
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 3.5rem 0; background: var(--sand-50); }
.legal-content { max-width: 50rem; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-sm); }
.legal-content h1 { font-size: 2.4rem; margin-bottom: 0.6rem; }
.legal-content h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.9rem; color: var(--teal-700); }
.legal-content h3 { font-size: 1.15rem; margin-top: 1.4rem; margin-bottom: 0.6rem; color: var(--ink-900); font-family: "Space Grotesk", sans-serif; }
.legal-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--ink-500); }
.legal-content ul { margin: 0 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; color: var(--ink-500); line-height: 1.7; }
.legal-content a { color: var(--teal-600); }
.last-updated { color: var(--ink-300); font-style: italic; margin-bottom: 2rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--teal-600); text-decoration: none; font-weight: 600; margin-bottom: 1.5rem; font-size: 0.92rem; }
.back-link:hover { text-decoration: underline; }

/* ---------- Contact form ---------- */
.contact-form { max-width: 40rem; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--ink-900); font-size: 0.92rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 0.95rem; color: var(--ink-900); background: var(--sand-50); transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--teal-500); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-300); margin-top: 1rem; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.contact-info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; box-shadow: var(--shadow-sm); }
.contact-info-card .ci-icon { width: 46px; height: 46px; margin: 0 auto 0.8rem; border-radius: 12px; background: rgba(23,168,156,0.10); color: var(--teal-600); display: grid; place-items: center; }
.contact-info-card .ci-icon svg { width: 22px; height: 22px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 0.3rem; font-family: "Space Grotesk", sans-serif; }
.contact-info-card p { font-size: 0.9rem; color: var(--ink-500); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .hero-visual { order: -1; }
    .feature-block, .feature-block.reverse { grid-template-columns: 1fr; gap: 2rem; }
    .feature-block.reverse .feature-media, .feature-block.reverse .feature-body { order: initial; }
    .feature-media { order: -1; }
    .specs-grid { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
}

@media (max-width: 560px) {
    .hero { padding: 3rem 0; }
    .section { padding: 3.2rem 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .feature-block.alt { padding: 1.6rem; }
    .legal-content, .cta-box { padding: 1.8rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}
