/* ==== VARIÁVEIS DE COR E ESTILO ==== */
:root {
    /* Paleta Principal */
    --purple-dark: #4A154B;     
    --purple-dominant: #6B21A8;  
    --purple-light: #9D4EDD;    
    
    /* Paleta Suave / Detalhes */
    --lilac-soft: #F3E8FF;      
    --lilac-bg: #FAF5FF;        
    
    /* Neutros */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-500: #6B7280;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Fontes e Sombras */
    --font-main: 'Outfit', sans-serif;
    --shadow-soft: 0 10px 40px -10px rgba(107, 33, 168, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(107, 33, 168, 0.2);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==== RESET BÁSICO ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.center {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.w-100 {
    width: 100%;
}

/* ==== TIPOGRAFIA ==== */
.section-subtitle {
    color: var(--purple-dominant);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--purple-dark);
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==== BOTÕES ==== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--purple-dominant);
    color: var(--purple-dominant);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==== NAVBAR ==== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple-dark);
}

.logo i {
    font-size: 2rem;
    color: var(--purple-dominant);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-800);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--purple-dominant);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--purple-dominant);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--purple-dark);
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--purple-dark);
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* ==== HOME HOME ==== */
.home {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    background-color: var(--white);
}

.home-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: var(--lilac-bg);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.home-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
}

.home-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.home-text h1 span {
    color: var(--purple-dominant);
    position: relative;
    display: inline-block;
}

.home-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 16px;
    background: var(--lilac-soft);
    z-index: -1;
    border-radius: 8px;
}

.home-text p {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.home-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.home-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: var(--purple-dark);
}

.feature-tag i {
    color: var(--purple-dominant);
    font-size: 1.25rem;
}

.home-image {
    position: relative;
}

.home-image .image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.home-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.home-image:hover img {
    transform: scale(1.02);
}

.glass-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--gray-800);
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
}

.glass-badge i {
    color: #F59E0B;
    font-size: 1.5rem;
}

/* ==== SOBRE A DOUTORA ==== */
.sobre {
    padding: 6rem 0;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-image {
    position: relative;
}

.sobre-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

.blob-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: var(--lilac-soft);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

.sobre-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sobre-list li {
    display: flex;
    gap: 1.25rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--lilac-soft);
    color: var(--purple-dominant);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition);
}

.icon-box:hover {
    background: var(--purple-dominant);
    color: var(--white);
    transform: rotate(5deg) scale(1.05);
}

.sobre-list strong {
    display: block;
    color: var(--purple-dark);
    margin-bottom: 0.25rem;
}

.sobre-list span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ==== BACKGROUND UTILS ==== */
.bg-lilac {
    background-color: var(--lilac-bg);
}

/* ==== SERVIÇOS ==== */
.servicos {
    padding: 6rem 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    flex: 1 1 300px;
    max-width: 380px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--purple-dominant);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--lilac-soft);
    color: var(--purple-dominant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--purple-dominant);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--purple-dark);
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ==== ESTRUTURA ==== */
.estrutura {
    padding: 6rem 0;
}

.estrutura-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
}

.estrutura-gallery {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.estrutura-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--border-radius);
    transform: scale(1);
    transition: transform 0.5s ease;
}

.estrutura-gallery:hover img {
    transform: scale(1.05);
}

/* ==== INSTAGRAM ==== */
.instagram {
    padding: 6rem 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.ig-post-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    background: var(--white);
    display: block;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--purple-dominant) transparent;
}

.ig-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    transition: transform 0.5s ease;
}

.instagram-post:hover .ig-image {
    transform: scale(1.05);
}

.ig-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(107, 33, 168, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .ig-overlay {
    opacity: 1;
}

.ig-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.ig-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ig-stats i {
    font-size: 1.5rem;
    color: var(--white);
}

/* ==== CONTATO ==== */
.contato {
    padding: 6rem 0;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contato-map {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--white);
    border: 4px solid var(--white);
}

.contato-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: calc(var(--border-radius) - 4px);
    display: block;
}

.contato-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contato-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contato-list i {
    font-size: 1.75rem;
    color: var(--purple-dominant);
    background: var(--lilac-soft);
    padding: 0.75rem;
    border-radius: 12px;
}

.contato-list strong {
    display: block;
    color: var(--gray-900);
}

.contato-list span {
    color: var(--gray-500);
}

.contato-form {
    background: var(--lilac-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.form-title {
    margin-bottom: 2rem;
    color: var(--purple-dark);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-800);
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    background: var(--white);
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--purple-dominant);
    box-shadow: 0 0 0 4px var(--lilac-soft);
}

/* ==== FOOTER ==== */
.footer {
    background: var(--purple-dark);
    color: var(--white);
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--white);
}

.footer-logo i {
    color: var(--lilac-soft);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 1.5rem 0;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--purple-dominant);
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--lilac-soft);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ==== FAB WHATSAPP ==== */
.fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--purple-dominant);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.4);
    z-index: 1000;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--purple-dark);
}

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

/* ==== ANIMAÇÕES ==== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.left {
    transform: translateX(-50px);
}
.reveal.left.active {
    transform: translateX(0);
}

.reveal.right {
    transform: translateX(50px);
}
.reveal.right.active {
    transform: translateX(0);
}

.fade-up {
    transform: translateY(40px);
}
.fade-up.active {
    transform: translateY(0);
}

/* ==== RESPONSIVIDADE ==== */
@media (max-width: 992px) {
    .home-content, .sobre-content, .estrutura-grid, .contato-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .home-text h1 {
        font-size: 2.75rem;
    }
    
    .home-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-actions, .home-features {
        justify-content: center;
    }

    .sobre-image {
        grid-row: 1;
    }
    
    .sobre-list li, .contato-list li {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand p {
        margin: 1.5rem auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .home {
        padding: 8rem 0 4rem;
    }
    
    .home-text h1 {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
    }
    
    .home-actions {
        flex-direction: column;
    }
}
