* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f5f1e8;
    --secondary-color: #e8dfc8;
    --accent-color: #d4a574;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #e0d8c8;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    max-width: 800px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
    animation: scaleIn 0.6s ease-out 0.3s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 28px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 45px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.2px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background-color: #c49563;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* Form Section */
.form-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 1rem;
}

label:first-of-type {
    margin-top: 0;
}

input[type="text"],
textarea,
select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

textarea {
    resize: vertical;
    min-height: 130px;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 12px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.radio-label:hover,
.checkbox-label:hover {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.conditional-field {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    animation: fadeIn 0.4s ease-out;
}

.conditional-field.show {
    display: block;
}

/* Doubt Field */
.doubt-field {
    margin-top: 8px;
    margin-bottom: 4px;
}

.doubt-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: color 0.3s ease;
}

.doubt-label:hover {
    color: var(--accent-color);
}

.doubt-label input[type="checkbox"] {
    margin-right: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 50px;
}

.btn-submit {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-submit:hover {
    background-color: #c49563;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-text {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact:hover {
    background-color: #c49563;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
        min-height: auto;
    }

    .profile-image {
        width: 150px;
        height: 150px;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 16px 36px;
        font-size: 1rem;
    }

    .form-section {
        padding: 40px 15px;
    }

    .form-group {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    input[type="text"],
    select {
        padding: 12px 16px;
    }

    .btn-submit {
        padding: 16px 40px;
        font-size: 1.1rem;
        width: 100%;
    }

    .radio-label,
    .checkbox-label {
        font-size: 0.95rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading State */
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50;
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.5s ease-out;
    z-index: 1000;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
