:root {
    --primary-color: #6f2f3d; /* Cor principal da paleta */
    --secondary-color: #cea9a8; /* Cor secundária da paleta */
    --tertiary-color: #ece1e0; /* Cor terciária da paleta */
    --text-dark: #3a1920;
    --text-light: #ece1e0;
    --shadow: 0 10px 30px rgba(111, 47, 61, 0.2);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@font-face {
    font-family: 'Century Gothic';
    src: url('https://db.onlinewebfonts.com/t/5752e42f1c2f21d3a0e65b3c2f1c65dd.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Trajan Pro';
    src: url('https://db.onlinewebfonts.com/t/052d8a5e8d4e1f8cc6b3a47e7face811.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

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

body {
    color: var(--text-dark);
    line-height: 1.6;
    font-family: 'Century Gothic', 'Montserrat', sans-serif;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #f9f5f5;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(111, 47, 61, 0.9) 0%, rgba(206, 169, 168, 0.8) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.95;
    z-index: -1;
}

.container {
    max-width: 450px;
    margin: 30px auto;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.95);
    min-height: calc(100vh - 60px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.elegant-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

header {
    text-align: center;
    padding: 40px 20px 20px;
    position: relative;
}

.monogram {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    position: relative;
}

.monogram svg {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.profile-info {
    position: relative;
    z-index: 2;
}

.profile-info h1 {
    font-family: 'Trajan Pro', serif;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    width: 80%;
}

.separator span {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    flex-grow: 1;
}

.separator i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin: 0 15px;
}

.profile-info p {
    color: var(--secondary-color);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.profile-image {
    padding: 0 30px 30px;
    text-align: center;
}

.image-frame {
    position: relative;
    display: inline-block;
    padding: 15px;
    background-color: var(--tertiary-color);
    box-shadow: var(--shadow);
}

.profile-pic {
    width: 100%;
    max-width: 250px;
    display: block;
    border: 2px solid var(--primary-color);
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary-color);
    border-style: solid;
}

.top-left {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.top-right {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.services {
    padding: 20px;
    text-align: center;
}

.services h2 {
    font-family: 'Trajan Pro', serif;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.6rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    width: 120px;
    height: 120px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.card-front {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.card-back {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    transform: rotateY(180deg);
    box-shadow: var(--shadow);
    font-size: 0.85rem;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--tertiary-color);
}

.service-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Century Gothic', sans-serif;
}

.cta-section {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-button {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease-out;
    opacity: 0;
}

.cta-button:hover .button-glow {
    opacity: 1;
    transform: rotate(45deg) translate(10%, 10%);
}

.button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: all 0.3s ease;
}

.cta-button:hover .button-content {
    transform: scale(1.05);
}

.button-content i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.primary {
    background: linear-gradient(135deg, var(--primary-color), #8a3a4c);
    color: var(--text-light);
}

.secondary {
    background: linear-gradient(135deg, var(--secondary-color), #b08f8e);
    color: var(--text-dark);
}

footer {
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 15px 25px rgba(111, 47, 61, 0.3);
}

.credential {
    margin: 20px auto;
    width: fit-content;
    position: relative;
}

.credential-inner {
    padding: 10px 25px;
    background-color: var(--tertiary-color);
    border-radius: 30px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.credential-inner span {
    font-family: 'Trajan Pro', serif;
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.credential::before, .credential::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--secondary-color);
}

.credential::before {
    left: -20px;
}

.credential::after {
    right: -20px;
}

.footer-design {
    margin-top: 20px;
    opacity: 0.7;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

header, .profile-image, .services, .cta-section, footer {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.profile-image {
    animation-delay: 0.2s;
}

.services {
    animation-delay: 0.4s;
}

.cta-section {
    animation-delay: 0.6s;
}

footer {
    animation-delay: 0.8s;
}

.monogram svg {
    animation: pulse 3s infinite;
}

/* Responsividade */
@media (max-width: 480px) {
    .container {
        margin: 15px auto;
        min-height: calc(100vh - 30px);
    }
    
    .profile-info h1 {
        font-size: 1.7rem;
    }
    
    .service-cards {
        gap: 15px;
    }
    
    .service-card {
        width: 100px;
        height: 100px;
    }
    
    .service-icon {
        font-size: 1.7rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}
