@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Variáveis */
:root {
    --primary: #d946aa;
    --primary-dark: #be185d;
    --primary-light: #fdf2f8;
    --text: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --font-title: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

/* Classes de Background */
.bg-soft {
    background-color: #fdf2f8;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    scroll-behavior: smooth;
    background-color: var(--gray-50);
}

.txt-title,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    line-height: 1.3;
}

/* Navegação */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.menu {
    display: none;
}

.toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu {
        display: flex;
        gap: 2rem;
    }

    .toggle {
        display: none;
    }
}

.link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.link:hover::after {
    width: 100%;
}

.link:hover {
    color: var(--primary);
}

.mob {
    display: none;
    background: var(--white);
    padding: 1rem 0;
}

.mob.active {
    display: block;
}

.mob-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.mob .link {
    padding: 0.5rem 0;
}

/* Hero Section */
.banner {
    height: 100vh;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1560066984-138dadb4c035') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-desc {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
}

/* Botões */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Cards */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover .icon {
    background: var(--primary);
}

.card:hover .icon i {
    color: var(--white);
}

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

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--primary-dark);
}

/* Seções */
.sec {
    padding: 5rem 0;
}

.sec-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.sec-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 1rem;
}

.sec-desc {
    color: var(--text-light);
}

.desc {
    color: var(--text-light);
    max-width: 32rem;
    margin: 0 auto;
}

/* Voltar ao topo */
#backToTop {
    opacity: 0;
    visibility: hidden;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* Foto de perfil */
.profile {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
}

/* Cliente */
.client {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-weight: 500;
    color: var(--text);
}

.client-role {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* About Section */
.about-wrap {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

.img-box {
    border-radius: 1rem;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: auto;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feat-icon {
    color: var(--primary);
}

.feat-text {
    font-weight: 500;
}

/* Forms */
.form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.field {
    margin-bottom: 1rem;
}

.label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-100);
    border-radius: 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.input:hover {
    border-color: var(--primary-light);
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 6rem 0 2rem;
    color: var(--white);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.05) 1%, transparent 1%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1%, transparent 1%);
    background-size: 100px 100px;
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-grid {
    position: relative;
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-info .footer-title {
    font-size: 2rem;
    font-family: var(--font-title);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.social {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-links li {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact li i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.footer-bottom {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-legal a:hover {
    color: var(--white);
}

.separator {
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 4rem;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        padding: 2rem 0;
    }
    
    .footer-legal {
        margin-top: 0;
    }
}

/* Voltar ao topo */
.top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.top-btn:hover {
    background: var(--primary-dark);
}

/* Map Section */
.map-container {
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
}

.map-section {
    width: 100%;
    height: 500px;
    position: relative;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    border: none;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.menu-icon {
    font-family: "Font Awesome 6 Free";
    font-size: 1.5rem;
    color: var(--primary);
}

.menu-icon::before {
    content: "\f0c9";
}

/* Testimonials */
.testimonials .card {
    position: relative;
    padding-top: 3rem;
}

.testimonials .card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    font-family: var(--font-title);
    color: var(--primary-light);
    line-height: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}