:root {
    /* === YAMUNA OFICIAL DESIGN SYSTEM === */
    --primary: #A31460;       /* Vinho/Bordô – cor de marca */
    --secondary: #238482;     /* Verde petróleo/Teal – botões, destaques */
    --bg-light: #f6f6f6;     /* Fundo geral */
    --text-dark: #000000;
    --text-muted: #555555;
    --white: #ffffff;
    --error: #d94040;

    /* Typography */
    --font-main: 'Raleway', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --section-v: 80px;
    --section-h: 20px;

    /* Shapes */
    --radius-card: 24px;
    --radius-btn: 24px;
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--section-h);
}

h1, h2, h3, h4 {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
}

/* ═══════════════════════════════════
   HEADER – barra vinho + nav branca
═══════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-top-bar {
    background: var(--primary);
    padding: 10px 0;
}

.header-top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-top-bar .top-badge {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-nav {
    background: var(--white);
    padding: 14px 0;
}

.header-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 86px;
    width: auto;
    display: block;
}

/* ═══════════════════════════════════
   BUTTONS
═══════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: var(--radius-btn);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.28s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn-primary:hover {
    background: #1d6e6c;
    border-color: #1d6e6c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35,132,130,0.35);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: #870f52;
    border-color: #870f52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163,20,96,0.35);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.8);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}
.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════
   HERO SECTION
═══════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh;
    background: #0a1a1a;
}

/* === MOBILE HERO FIXES === */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        align-items: flex-end;
        padding-bottom: 60px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0.65;
    z-index: 1;
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-bg {
        background-position: 60% center;
    }
}

/* Gradient overlay – left-heavy on desktop, bottom-heavy on mobile */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0.10) 100%
    );
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.85) 0%,
            rgba(0,0,0,0.55) 50%,
            rgba(0,0,0,0.15) 100%
        );
    }
}

.hero .container {
    position: relative;
    z-index: 10;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-inner {
    max-width: 620px;
}

@media (max-width: 768px) {
    .hero-inner {
        max-width: 100%;
        text-align: center;
    }
}

.hero-eyebrow {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--white);
    text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 36px;
    font-weight: 400;
    max-width: 500px;
}

@media (max-width: 768px) {
    .hero-subtitle { max-width: 100%; }
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-actions {
        justify-content: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Organic accent shape */
.hero-accent {
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.06;
    z-index: 3;
    pointer-events: none;
}

/* ═══════════════════════════════════
   ABOUT / PROGRAM SECTION
═══════════════════════════════════ */
.about {
    padding: var(--section-v) var(--section-h);
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-image { order: -1; }
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    display: block;
}

@media (max-width: 768px) {
    .about-image img {
        height: 280px;
        object-position: center center;
    }
}

.about-card {
    background: var(--white);
    padding: 44px 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.about-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 12px;
}

.about-header > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-body p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-muted);
}

.check-list {
    list-style: none;
    margin: 20px 0 28px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.97rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.check-list li::before {
    content: "✓";
    flex-shrink: 0;
    background: var(--secondary);
    color: white;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.small { font-size: 0.88rem; color: var(--text-muted); }

/* ═══════════════════════════════════
   FORM SECTION
═══════════════════════════════════ */
.form-section {
    padding: var(--section-v) var(--section-h);
    background: #eef4f4;
}

.form-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 10px;
}

.form-section-header p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.form-container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    padding: 44px 40px;
    border-radius: var(--radius-card);
    box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

@media (max-width: 600px) {
    .form-container { padding: 28px 20px; }
}

/* Progress */
.progress-container { margin-bottom: 32px; }

.progress-bar {
    height: 7px;
    background: #e0eded;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.progress-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
}

/* Steps */
.form-step { display: none; }
.form-step.active {
    display: block;
    animation: stepIn 0.4s ease both;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}

.form-step h3 {
    font-size: 1.25rem;
    margin-bottom: 22px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Inputs */
.input-group { margin-bottom: 18px; }

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 7px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #d8e4e4;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 0.97rem;
    color: var(--text-dark);
    background: #fafefe;
    transition: border 0.25s, box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(35,132,130,0.12);
    background: var(--white);
}

.input-group input.input-error,
.input-group select.input-error,
.input-group textarea.input-error {
    border-color: var(--error);
}

.helper-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Checkbox grid */
.label-heading {
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
    display: block;
    color: var(--text-dark);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 4px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 10px 14px;
    background: #f6fbfb;
    border: 1.5px solid #d8e4e4;
    border-radius: 12px;
    transition: all 0.2s ease;
    user-select: none;
}

.checkbox-item:hover {
    background: #e8f4f4;
    border-color: var(--secondary);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
    cursor: pointer;
    flex-shrink: 0;
}

/* Radio groups */
.radio-group { margin-bottom: 22px; }

.radio-group > label {
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.options, .options-vertical {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.options-vertical { flex-direction: column; gap: 8px; }

.options label, .options-vertical label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    cursor: pointer;
    padding: 9px 18px;
    border: 1.5px solid #d8e4e4;
    border-radius: 50px;
    background: #f6fbfb;
    transition: all 0.2s;
}

.options label:hover, .options-vertical label:hover {
    border-color: var(--secondary);
    background: #e8f4f4;
}

.options label input, .options-vertical label input {
    accent-color: var(--secondary);
}

/* Info box */
.info-box {
    background: #f0f9f9;
    border-left: 4px solid var(--secondary);
    padding: 18px 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.info-box p { font-weight: 700; margin-bottom: 8px; }
.info-box ul { list-style: none; }
.info-box li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.info-box li::before {
    content: "🌿";
    font-size: 0.9rem;
}

/* Checkbox single confirmation */
.checkbox-single {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.94rem;
    line-height: 1.5;
    padding: 16px;
    background: #f6fbfb;
    border: 1.5px solid #d8e4e4;
    border-radius: 12px;
    cursor: pointer;
}

.checkbox-single input {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--secondary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px !important;
}

/* Form Navigation */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    gap: 12px;
}

@media (max-width: 480px) {
    .form-nav {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .form-nav .btn { width: 100%; text-align: center; }
    #prev-btn { margin-top: 6px; }
}

/* Utilities */
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* ═══════════════════════════════════
   SUCCESS MESSAGE
═══════════════════════════════════ */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--primary);
}

.success-message p {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
    background: var(--white);
    border-top: 1px solid #e8e8e8;
    padding: 50px var(--section-h);
    text-align: center;
}

.footer p { color: var(--text-muted); font-size: 0.9rem; }
.footer .footer-brand {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-logo { height: 68px; width: auto; margin-bottom: 16px; }

/* Social links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 24px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f0f0;
    color: var(--primary);
    font-size: 1.05rem;
    text-decoration: none;
    border: 1.5px solid #e0e0e0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(163,20,96,0.30);
}

.social-link[aria-label="Instagram"]:hover  { background: #e1306c; border-color: #e1306c; box-shadow: 0 6px 18px rgba(225,48,108,0.35); }
.social-link[aria-label="TikTok"]:hover     { background: #010101; border-color: #010101; box-shadow: 0 6px 18px rgba(0,0,0,0.30); }
.social-link[aria-label="Facebook"]:hover   { background: #1877f2; border-color: #1877f2; box-shadow: 0 6px 18px rgba(24,119,242,0.35); }
.social-link[aria-label="YouTube"]:hover    { background: #ff0000; border-color: #ff0000; box-shadow: 0 6px 18px rgba(255,0,0,0.30); }
.social-link[aria-label="WhatsApp"]:hover   { background: #25d366; border-color: #25d366; box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
