/* =========== 1. RESET E TOKENS =========== */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            /* Paleta principal do portal (azul) */
            --color-primary: #1D4ED8;
            --color-primary-light: #3B82F6;
            --color-accent: #0EA5E9;

            /* Paleta de água — ciano refrescante */
            --color-water: #0891B2;
            --color-water-light: #06B6D4;
            --color-water-lighter: #22D3EE;
            --color-water-bg: #ECFEFF;
            --color-water-bg-deep: #CFFAFE;
            --color-water-vivid: #0E7490;

            /* Neutros */
            --color-bg: #F8FAFC;
            --color-surface: #FFFFFF;
            --color-border: #E2E8F0;
            --color-border-strong: #CBD5E1;
            --color-danger: #DC2626;

            --color-text: #0F172A;
            --color-text-muted: #475569;
            --color-text-light: #94A3B8;

            /* Sombras */
            --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
            --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.10), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

            /* Layout */
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --container-max: 900px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: var(--color-text);
            background-color: var(--color-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            min-height: 100vh;
        }

        a {
            color: var(--color-primary);
            text-decoration: none;
            transition: color var(--transition);
        }

        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* =========== 2. HEADER =========== */
        .header {
            position: sticky;
            top: 0;
            background-color: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            box-shadow: var(--shadow-sm);
            z-index: 50;
        }

        .header__inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--color-primary);
            letter-spacing: -0.02em;
        }

        .logo__icon {
            width: 34px;
            height: 34px;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
            border-radius: 10px;
            display: grid;
            place-items: center;
            color: #fff;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            border-radius: 999px;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--color-text-muted);
            background-color: var(--color-bg);
            transition: all var(--transition);
        }

        .back-btn:hover {
            background-color: var(--color-primary);
            color: #fff;
        }

        .back-btn__icon {
            transition: transform var(--transition);
        }

        .back-btn:hover .back-btn__icon {
            transform: translateX(-3px);
        }

        @media (max-width: 380px) {
            .back-btn__text { display: none; }
            .back-btn { padding: 8px 12px; }
        }

        /* =========== 3. HERO =========== */
        .hero {
            padding: 40px 0 32px;
            text-align: center;
            background: linear-gradient(180deg, #FFFFFF 0%, var(--color-water-bg) 100%);
            border-bottom: 1px solid var(--color-border);
            position: relative;
            overflow: hidden;
        }

        /* Padrão decorativo de ondas sutis */
        .hero::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 32px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0 20 Q150 0 300 20 T600 20 T900 20 T1200 20 V40 H0Z' fill='%23F8FAFC'/%3E%3C/svg%3E") repeat-x bottom;
            background-size: 600px 32px;
            pointer-events: none;
        }

        .hero__content {
            position: relative;
            z-index: 1;
        }

        .hero__breadcrumb {
            font-size: 0.8125rem;
            color: var(--color-text-muted);
            margin-bottom: 16px;
        }

        .hero__breadcrumb a {
            color: var(--color-text-muted);
            font-weight: 500;
        }

        .hero__breadcrumb a:hover {
            color: var(--color-water);
        }

        .hero__badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background-color: var(--color-water-bg);
            color: var(--color-water);
            font-size: 0.8125rem;
            font-weight: 600;
            border-radius: 999px;
            margin-bottom: 16px;
        }

        .hero__title {
            font-size: clamp(1.625rem, 5vw, 2.25rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin-bottom: 12px;
            color: var(--color-text);
        }

        .hero__subtitle {
            font-size: 1rem;
            color: var(--color-text-muted);
            max-width: 560px;
            margin: 0 auto;
        }

        /* =========== 4. CALCULADORA =========== */
        .calc-section {
            padding: 32px 0;
        }

        .calc-card {
            background-color: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: var(--shadow-md);
        }

        .calc-card__title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .calc-card__hint {
            font-size: 0.875rem;
            color: var(--color-text-muted);
            margin-bottom: 20px;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .form-field {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--color-text);
        }

        .form-label-hint {
            font-weight: 400;
            color: var(--color-text-light);
            font-size: 0.8125rem;
        }

        .form-input {
            width: 100%;
            padding: 12px 14px;
            font-family: inherit;
            font-size: 1rem;
            color: var(--color-text);
            background-color: var(--color-surface);
            border: 1.5px solid var(--color-border-strong);
            border-radius: var(--radius-sm);
            transition: border-color var(--transition), box-shadow var(--transition);
            -webkit-appearance: none;
            appearance: none;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--color-water);
            box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
        }

        /* Sufixo decorativo */
        .input-decorated {
            position: relative;
        }

        .input-decorated--suffix::after {
            content: attr(data-suffix);
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--color-text-muted);
            font-size: 0.875rem;
            font-weight: 600;
            pointer-events: none;
        }

        .input-decorated--suffix .form-input {
            padding-right: 52px;
        }

        /* Radio pills (Sim / Não) */
        .radio-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .radio-pill {
            position: relative;
        }

        .radio-pill input[type="radio"] {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .radio-pill label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 12px;
            background-color: var(--color-surface);
            border: 1.5px solid var(--color-border-strong);
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9375rem;
            color: var(--color-text-muted);
            transition: all var(--transition);
            user-select: none;
        }

        .radio-pill input[type="radio"]:checked + label {
            border-color: var(--color-water);
            background-color: var(--color-water-bg);
            color: var(--color-water);
            box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.08);
        }

        .radio-pill input[type="radio"]:focus-visible + label {
            outline: 3px solid var(--color-accent);
            outline-offset: 2px;
        }

        .radio-pill .radio-dot {
            width: 16px;
            height: 16px;
            border: 2px solid var(--color-border-strong);
            border-radius: 50%;
            transition: all var(--transition);
            flex-shrink: 0;
        }

        .radio-pill input[type="radio"]:checked + label .radio-dot {
            border-color: var(--color-water);
            background-color: var(--color-water);
            box-shadow: inset 0 0 0 3px #fff;
        }

        /* Erros */
        .form-error {
            font-size: 0.8125rem;
            color: var(--color-danger);
            margin-top: 4px;
            display: none;
        }
        .form-field.has-error .form-input {
            border-color: var(--color-danger);
        }
        .form-field.has-error .form-error {
            display: block;
        }

        /* Botão submit — ciano água */
        .submit-btn {
            width: 100%;
            padding: 16px 24px;
            margin-top: 8px;
            background: linear-gradient(135deg, var(--color-water) 0%, var(--color-water-light) 100%);
            color: #fff;
            border: none;
            border-radius: var(--radius-md);
            font-family: inherit;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: transform var(--transition), box-shadow var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .submit-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 30px -5px rgba(8, 145, 178, 0.4);
        }

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

        /* =========== 5. RESULTADO =========== */
        .result-card {
            margin-top: 24px;
            background-color: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: var(--shadow-md);
            display: none;
            animation: fadeInUp 0.4s ease-out;
        }

        .result-card.is-visible {
            display: block;
        }

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

        /* Bloco central — quantidade de água */
        .water-display {
            text-align: center;
            padding: 32px 20px;
            background: linear-gradient(180deg, var(--color-water-bg) 0%, var(--color-water-bg-deep) 100%);
            border-radius: var(--radius-md);
            margin-bottom: 20px;
        }

        .water-display__icon {
            font-size: 2.5rem;
            margin-bottom: 8px;
        }

        .water-display__kicker {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-water-vivid);
            margin-bottom: 4px;
        }

        .water-display__value {
            font-size: clamp(2.5rem, 10vw, 3.5rem);
            font-weight: 800;
            color: var(--color-water-vivid);
            letter-spacing: -0.03em;
            line-height: 1.1;
        }

        .water-display__unit {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--color-water);
            margin-bottom: 4px;
        }

        .water-display__ml {
            font-size: 0.9375rem;
            color: var(--color-text-muted);
        }

        /* Equivalência visual em copos */
        .cups-section {
            margin-bottom: 20px;
        }

        .cups-section__label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--color-text-muted);
            text-align: center;
            margin-bottom: 12px;
        }

        .cups-section__label strong {
            color: var(--color-water-vivid);
        }

        .cups-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
        }

        /* Copo individual — SVG com preenchimento animado */
        .cup {
            width: 32px;
            height: 44px;
            position: relative;
            opacity: 0;
            animation: cupAppear 0.3s ease-out forwards;
        }

        .cup svg {
            width: 100%;
            height: 100%;
        }

        @keyframes cupAppear {
            from { opacity: 0; transform: scale(0.6) translateY(6px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        /* Info extra */
        .info-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            background-color: var(--color-bg);
            border-radius: var(--radius-sm);
            margin-bottom: 16px;
        }

        .info-row__icon {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            display: grid;
            place-items: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .info-row__icon--water {
            background-color: var(--color-water-bg);
        }

        .info-row__icon--bottle {
            background-color: #FEF3C7;
        }

        .info-row__text {
            font-size: 0.9375rem;
            color: var(--color-text-muted);
        }

        .info-row__text strong {
            color: var(--color-text);
        }

        /* Aviso */
        .health-notice {
            padding: 16px;
            background-color: #FEF3C7;
            border-left: 4px solid #F59E0B;
            border-radius: var(--radius-sm);
            font-size: 0.875rem;
            line-height: 1.6;
            color: #92400E;
        }

        .health-notice strong {
            color: #78350F;
        }

        /* =========== 6. ARTIGO SEO =========== */
        .article {
            padding: 40px 0 60px;
        }

        .article__wrapper {
            background-color: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 28px 24px;
        }

        .article h2 {
            font-size: 1.375rem;
            font-weight: 800;
            color: var(--color-text);
            margin-top: 32px;
            margin-bottom: 12px;
            letter-spacing: -0.01em;
            line-height: 1.25;
        }

        .article h2:first-child {
            margin-top: 0;
        }

        .article h3 {
            font-size: 1.0625rem;
            font-weight: 700;
            color: var(--color-text);
            margin-top: 20px;
            margin-bottom: 8px;
        }

        .article p {
            color: var(--color-text-muted);
            margin-bottom: 14px;
            line-height: 1.75;
        }

        .article ul, .article ol {
            margin: 0 0 16px 0;
            padding-left: 22px;
            color: var(--color-text-muted);
        }

        .article li {
            margin-bottom: 8px;
            line-height: 1.65;
        }

        .article strong {
            color: var(--color-text);
            font-weight: 600;
        }

        .article .highlight-box {
            background-color: var(--color-water-bg);
            border-left: 4px solid var(--color-water);
            padding: 16px 18px;
            border-radius: var(--radius-sm);
            margin: 16px 0;
        }

        .article .highlight-box p {
            margin-bottom: 0;
            color: var(--color-text);
        }

        /* Tabela */
        .article .table-wrapper {
            overflow-x: auto;
            margin: 16px 0;
            border-radius: var(--radius-sm);
            border: 1px solid var(--color-border);
        }

        .article table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9375rem;
            min-width: 380px;
        }

        .article thead {
            background-color: var(--color-water);
            color: #fff;
        }

        .article th {
            padding: 12px 16px;
            font-weight: 700;
            text-align: left;
        }

        .article td {
            padding: 12px 16px;
            border-bottom: 1px solid var(--color-border);
            color: var(--color-text-muted);
        }

        .article tbody tr:last-child td {
            border-bottom: none;
        }

        .article tbody tr:nth-child(even) {
            background-color: var(--color-bg);
        }

        /* =========== 7. FOOTER =========== */
        .footer {
            background-color: #0F172A;
            color: #94A3B8;
            padding: 28px 0;
            text-align: center;
            font-size: 0.875rem;
        }

        .footer strong {
            color: #FFFFFF;
            font-weight: 600;
        }

        /* =========== 8. UTILS =========== */
        .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;
        }

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

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

        /* =========== 9. BREAKPOINTS =========== */
        @media (min-width: 640px) {
            .container { padding: 0 32px; }
            .hero { padding: 56px 0 48px; }
            .calc-card,
            .result-card,
            .article__wrapper { padding: 32px; }
            .form-grid--2col {
                grid-template-columns: 1fr 1fr;
            }
            .cup {
                width: 36px;
                height: 48px;
            }
        }

        @media (min-width: 900px) {
            .hero__title { line-height: 1.15; }
        }