        :root {
            --nude-100: #F8F6F3;
            --nude-200: #EEEBE6;
            --nude-300: #DBD2C8;
            --nude-400: #C4B8AB;
            --nude-500: #8E7468;
            --nude-600: #553234;
            --nude-700: #462829;
            --nude-800: #371E20;
            --nude-900: #2A1618;
            --rose-400: #B08E88;
            --dark-100: #4A3F3A;
            --dark-200: #3D322E;
            --dark-300: #2C2420;
            --dark-400: #1E1814;
            --white: #FFFFFF;
            --danger: #dc2626;
            --danger-light: #fef2f2;
            --success: #059669;
            --success-light: #ecfdf5;
            --warning: #d97706;
            --warning-light: #fffbeb;
            --font-display: 'Cormorant Garamond', serif;
            --font-body: 'DM Sans', sans-serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

        body {
            font-family: var(--font-body);
            background: linear-gradient(180deg, var(--nude-100) 0%, var(--nude-200) 100%);
            color: var(--dark-200);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
        }

        /* HEADER */
        .header {
            background: linear-gradient(135deg, var(--dark-300) 0%, var(--dark-100) 100%);
            height: 80px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 12px rgba(0,0,0,0.15);
        }

        .header-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 1.5rem;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.25rem;
        }

        .header-logo { flex-shrink: 0; display: flex; align-items: center; }
        .header-logo img { height: 70px; filter: brightness(0) invert(1); }

        .header-divider {
            width: 1px;
            height: 30px;
            background: rgba(85, 50, 52, 0.3);
        }

        .header-title h1 {
            font-family: var(--font-display);
            font-size: 1.35rem;
            color: var(--nude-400);
            font-weight: 400;
            letter-spacing: 1px;
        }

        /* MAIN */
        .main-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 2rem 1rem 1.5rem;
        }

        /* PROGRESS */
        .progress-container {
            background: var(--white);
            border-radius: 14px;
            padding: 1rem 1.25rem;
            margin-bottom: 1.25rem;
            border: 1px solid var(--nude-300);
            box-shadow: 0 2px 8px rgba(85, 50, 52, 0.08);
        }

        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .progress-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--dark-100);
        }

        .progress-percentage {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--nude-600);
        }

        .progress-bar-container {
            width: 100%;
            height: 6px;
            background: var(--nude-200);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-bar-fill {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, var(--nude-500), var(--nude-600));
            border-radius: 3px;
            transition: width 0.5s ease;
        }

        /* FORM SECTIONS */
        .form-section {
            background: var(--white);
            border-radius: 14px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            border: 1px solid var(--nude-300);
            box-shadow: 0 2px 8px rgba(85, 50, 52, 0.06);
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--nude-200);
        }

        .section-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--nude-500), var(--nude-600));
            border-radius: 10px;
            color: var(--white);
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: 1.15rem;
            color: var(--dark-200);
            font-weight: 500;
        }

        /* FORM ELEMENTS */
        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--dark-200);
            margin-bottom: 0.375rem;
        }

        .required { color: var(--danger); margin-left: 3px; }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1.5px solid var(--nude-300);
            border-radius: 10px;
            font-family: var(--font-body);
            font-size: 0.9rem;
            color: var(--dark-200);
            background: var(--white);
            transition: all 0.2s ease;
            -webkit-appearance: none;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--nude-500);
            box-shadow: 0 0 0 3px rgba(85, 50, 52, 0.15);
            outline: none;
        }

        .form-group textarea { resize: vertical; min-height: 70px; }

        .form-group select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A68A6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            padding-right: 2.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .form-row-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .helper-text {
            font-size: 0.72rem;
            color: var(--nude-700);
            margin-top: 0.25rem;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* RADIO & CHECKBOX */
        .radio-group, .radio-group-3 {
            display: grid;
            gap: 0.5rem;
        }

        .radio-group { grid-template-columns: 1fr 1fr; }
        .radio-group-3 { grid-template-columns: repeat(3, 1fr); }

        .radio-option input, .checkbox-option input { display: none; }

        .radio-option label {
            display: block;
            padding: 0.7rem 1rem;
            border: 1.5px solid var(--nude-300);
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--dark-100);
            cursor: pointer;
            text-align: center;
            transition: all 0.2s ease;
            background: var(--white);
        }

        .radio-option input:checked + label {
            background: linear-gradient(135deg, var(--nude-500), var(--nude-600));
            color: var(--white);
            border-color: var(--nude-500);
            box-shadow: 0 2px 8px rgba(85, 50, 52, 0.25);
        }

        .checkbox-group { display: grid; gap: 0.5rem; }
        .checkbox-group-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

        .checkbox-option label {
            display: block;
            padding: 0.65rem 0.85rem 0.65rem 2.75rem;
            border: 1.5px solid var(--nude-300);
            border-radius: 10px;
            font-size: 0.82rem;
            font-weight: 500;
            color: var(--dark-100);
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            background: var(--white);
        }

        .checkbox-option label::before {
            content: '';
            position: absolute;
            left: 0.85rem;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            border: 2px solid var(--nude-400);
            border-radius: 5px;
            transition: all 0.2s ease;
        }

        .checkbox-option label::after {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 1.05rem;
            top: 50%;
            transform: translateY(-50%) scale(0);
            font-size: 0.6rem;
            color: var(--white);
            transition: transform 0.2s ease;
        }

        .checkbox-option input:checked + label {
            border-color: var(--nude-500);
            background: rgba(85, 50, 52, 0.08);
        }

        .checkbox-option input:checked + label::before {
            background: var(--nude-500);
            border-color: var(--nude-500);
        }

        .checkbox-option input:checked + label::after {
            transform: translateY(-50%) scale(1);
        }

        /* HIDDEN FIELDS */
        .hidden-field {
            display: none;
            margin-top: 0.75rem;
        }

        .hidden-field.show { display: block; }

        /* UPLOAD */
        .upload-area {
            border: 2px dashed var(--nude-400);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            background: var(--nude-100);
        }

        .upload-area:hover {
            border-color: var(--nude-500);
            background: var(--nude-200);
        }

        .upload-icon { font-size: 2rem; color: var(--nude-500); margin-bottom: 0.5rem; }
        .upload-text { font-size: 0.85rem; color: var(--dark-100); font-weight: 500; }
        .upload-hint { font-size: 0.72rem; color: var(--nude-700); margin-top: 0.25rem; }

        .file-preview {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--success-light);
            border: 1px solid #86efac;
            border-radius: 10px;
            padding: 0.75rem 1rem;
            margin-top: 0.75rem;
        }

        .file-info { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--success); font-weight: 600; }

        .file-remove {
            background: none;
            border: none;
            color: var(--danger);
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 4px 8px;
        }

        /* BUTTONS */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            letter-spacing: 0.3px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--nude-500), var(--nude-600));
            color: var(--white);
            box-shadow: 0 4px 15px rgba(85, 50, 52, 0.3);
        }

        .btn-primary:hover {
            box-shadow: 0 6px 20px rgba(85, 50, 52, 0.4);
            transform: translateY(-1px);
        }

        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .btn-spinner {
            display: inline-block;
            width: 18px; height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: var(--white);
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            vertical-align: middle;
        }

        /* LOADING OVERLAY */
        .loading-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(44, 36, 32, 0.75);
            backdrop-filter: blur(4px);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .loading-overlay.active { display: flex; }

        .loading-content {
            text-align: center;
            color: var(--white);
        }

        .spinner {
            width: 44px; height: 44px;
            border: 3px solid rgba(85, 50, 52, 0.3);
            border-top: 3px solid var(--nude-500);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 1rem;
        }

        @keyframes spin { to { transform: rotate(360deg); } }

        .loading-text {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--nude-300);
        }

        /* SUCCESS */
        .success-container {
            display: none;
            background: var(--white);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            margin: 0.75rem;
            text-align: center;
            border: 1px solid var(--nude-300);
            box-shadow: 0 4px 20px rgba(85, 50, 52, 0.1);
        }

        .success-icon {
            width: 72px; height: 72px;
            background: linear-gradient(135deg, var(--success), #047857);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1.5rem;
        }

        .success-icon i { font-size: 1.75rem; color: var(--white); }

        .success-header h2 {
            font-family: var(--font-display);
            font-size: 1.5rem;
            color: var(--dark-200);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .success-header p {
            font-size: 0.9rem;
            color: var(--dark-100);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .orientacoes-card {
            background: var(--nude-100);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: left;
            margin-bottom: 1.5rem;
        }

        .orientacoes-card h3 {
            font-family: var(--font-display);
            font-size: 1.1rem;
            color: var(--dark-200);
            margin-bottom: 0.75rem;
        }

        .orientacao-section li {
            padding: 0.375rem 0 0.375rem 1.25rem;
            position: relative;
            color: var(--dark-100);
            font-size: 0.82rem;
            line-height: 1.5;
            list-style: none;
        }

        .orientacao-section li::before {
            content: '';
            position: absolute;
            left: 0; top: 0.75rem;
            width: 6px; height: 6px;
            background: var(--nude-500);
            border-radius: 50%;
        }

        .success-actions {
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
        }

        .btn-whatsapp {
            background: #25D366;
            color: var(--white);
        }

        .btn-outline {
            background: none;
            border: 2px solid var(--nude-400);
            color: var(--nude-700);
        }

        /* ERROR */
        .error-message {
            color: var(--danger);
            font-size: 0.72rem;
            margin-top: 0.375rem;
            display: none;
            align-items: center;
            gap: 0.375rem;
            font-weight: 600;
        }

        .error-message.show { display: flex; }

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

        /* ALERTS */
        .alerts-container {
            position: fixed;
            top: 5rem; right: 1rem; left: 1rem;
            z-index: 9999;
            max-width: 400px;
            margin-left: auto;
        }

        .alert {
            padding: 0.875rem 1rem;
            border-radius: 10px;
            display: flex; align-items: center; gap: 0.625rem;
            margin-bottom: 0.625rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            font-size: 0.82rem; font-weight: 600;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

        .alert-success { background: linear-gradient(135deg, var(--success) 0%, #047857 100%); color: var(--white); }
        .alert-error { background: linear-gradient(135deg, var(--danger) 0%, #b91c1c 100%); color: var(--white); }

        /* INFO BOX */
        .info-box {
            background: rgba(85, 50, 52, 0.06);
            border: 1px solid var(--nude-300);
            border-radius: 10px;
            padding: 0.875rem 1rem;
            margin-bottom: 1rem;
        }

        .info-box p {
            margin: 0;
            color: var(--nude-800);
            font-weight: 500;
            font-size: 0.82rem;
            line-height: 1.5;
            display: flex; align-items: flex-start; gap: 0.625rem;
        }

        .info-box i { color: var(--nude-600); font-size: 1rem; flex-shrink: 0; margin-top: 0.125rem; }

        /* FOOTER */
        .footer { background: var(--dark-400); }

        .footer-top {
            padding: 3rem 2rem 2.5rem;
            border-bottom: 1px solid rgba(85, 50, 52, 0.12);
        }

        .footer-inner { max-width: 900px; margin: 0 auto; }

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

        .footer-brand { display: flex; flex-direction: column; }

        .footer-logo {
            height: 80px;
            filter: brightness(0) invert(1);
            opacity: 0.9;
            margin-bottom: 1rem;
            align-self: flex-start;
        }

        .footer-desc {
            font-family: var(--font-body);
            font-size: 0.88rem;
            color: var(--nude-500);
            font-weight: 300;
            line-height: 1.7;
            margin-bottom: 1.25rem;
            max-width: 320px;
        }

        .footer-social { display: flex; gap: 0.5rem; }

        .footer-social a {
            width: 36px; height: 36px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 10px;
            background: rgba(85, 50, 52, 0.1);
            border: 1px solid rgba(85, 50, 52, 0.15);
            color: var(--nude-400);
            font-size: 0.95rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .footer-social a:hover {
            background: rgba(85, 50, 52, 0.2);
            border-color: var(--nude-500);
            color: var(--nude-300);
            transform: translateY(-2px);
        }

        .footer-col-title {
            font-family: var(--font-display);
            font-size: 1.1rem;
            color: var(--white);
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .footer-links a {
            font-family: var(--font-body);
            font-size: 0.85rem;
            color: var(--nude-500);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover { color: var(--nude-300); }

        .footer-contact {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 1.25rem;
        }

        .footer-contact li,
        .footer-contact a {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-contact a:hover { transform: translateX(3px); }

        .footer-contact i {
            color: var(--nude-500);
            font-size: 0.85rem;
            width: 18px;
            text-align: center;
            flex-shrink: 0;
        }

        .footer-contact span {
            font-family: var(--font-body);
            font-size: 0.85rem;
            color: var(--nude-400);
        }

        .footer-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 20px;
            background: rgba(37, 211, 102, 0.12);
            border: 1px solid rgba(37, 211, 102, 0.25);
            border-radius: 50px;
            color: #25D366;
            font-family: var(--font-body);
            font-size: 0.82rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-cta:hover {
            background: rgba(37, 211, 102, 0.2);
            border-color: rgba(37, 211, 102, 0.4);
            transform: translateY(-2px);
        }

        .footer-bottom {
            padding: 1.25rem 2rem;
            background: rgba(85, 50, 52, 0.15);
            border-top: 1px solid rgba(85, 50, 52, 0.2);
        }

        .footer-bottom .footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .footer-copy {
            font-family: var(--font-body);
            font-size: 0.75rem;
            color: var(--nude-500);
            font-weight: 300;
        }

        .footer-powered {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-powered span {
            font-family: var(--font-body);
            font-size: 0.68rem;
            color: var(--nude-400);
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 500;
        }

        .footer-powered a { display: inline-flex; transition: all 0.3s ease; }
        .footer-powered a:hover { opacity: 0.9; transform: scale(1.05); }

        .footer-powered img {
            height: 34px;
            opacity: 0.85;
            filter: brightness(0) invert(1);
        }

        /* WHATSAPP FLOAT */
        .whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--nude-600);
            color: var(--white);
            padding: 12px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-family: var(--font-body);
            font-size: 0.85rem;
            font-weight: 500;
            box-shadow: 0 4px 20px rgba(85, 50, 52, 0.3);
            transition: all 0.3s ease;
            animation: floatPulse 3s infinite;
        }

        .whatsapp-float:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 25px rgba(85, 50, 52, 0.45);
        }

        .whatsapp-float i { font-size: 1.15rem; }

        @keyframes floatPulse {
            0%, 100% { box-shadow: 0 4px 20px rgba(85, 50, 52, 0.3); }
            50% { box-shadow: 0 4px 30px rgba(85, 50, 52, 0.5); }
        }

        /* SCROLL ANIMATIONS */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .header { height: 68px; }
            .header-content { gap: 0.875rem; padding: 0 1rem; }
            .header-logo img { height: 52px; }
            .header-divider { height: 24px; }
            .header-title h1 { font-size: 0.95rem; }
            .main-container { padding: 1.5rem 0.75rem 1rem; }
            .form-section { padding: 1rem; }
            .section-header { gap: 0.625rem; margin-bottom: 1rem; padding-bottom: 0.625rem; }
            .section-icon { width: 36px; height: 36px; font-size: 1rem; }
            .section-title { font-size: 0.95rem; }
            .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 1rem; }
            .radio-group, .radio-group-3 { grid-template-columns: 1fr; }
            .checkbox-group-2col { grid-template-columns: 1fr; }
            .btn { padding: 0.875rem 1.5rem; font-size: 0.95rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
            .footer-brand { grid-column: 1 / -1; align-items: center; text-align: center; }
            .footer-logo { align-self: center; }
            .footer-desc { max-width: 480px; margin-left: auto; margin-right: auto; }
            .footer-social { justify-content: center; }
            .footer-bottom .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
            .whatsapp-float span { display: none; }
            .whatsapp-float { padding: 14px; border-radius: 50%; }
            .whatsapp-float i { font-size: 1.3rem; }
        }

        @media (max-width: 480px) {
            .header { height: 60px; }
            .header-content { padding: 0 0.75rem; gap: 0.625rem; }
            .header-logo img { height: 45px; }
            .header-title h1 { font-size: 0.875rem; }
            .main-container { padding: 1rem 0.5rem 0.75rem; }
            .form-section { padding: 0.875rem; }
            .section-icon { width: 32px; height: 32px; font-size: 0.875rem; }
            .section-title { font-size: 0.875rem; }
            .form-group label { font-size: 0.75rem; }
            .form-group input, .form-group select, .form-group textarea { padding: 0.625rem 0.875rem; font-size: 16px; }
            .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            .footer-col { text-align: center; }
            .footer-links { align-items: center; }
            .footer-contact { align-items: center; }
            .footer-contact li, .footer-contact a { justify-content: center; }
            .footer-cta { display: flex; justify-content: center; width: 100%; }
            .footer-top { padding: 2rem 1rem 1.5rem; }
            .footer-bottom { padding: 1rem; }
            .footer-copy { font-size: 0.68rem; }
        }

        @supports (padding: max(0px)) {
            .header { padding-top: max(0px, env(safe-area-inset-top)); }
            .main-container {
                padding-left: max(0.625rem, env(safe-area-inset-left));
                padding-right: max(0.625rem, env(safe-area-inset-right));
                padding-bottom: max(1rem, env(safe-area-inset-bottom));
            }
        }