/* VARIÁVEIS E RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* CONTAINER (responsivo)  */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* HEADER E NAVEGAÇÃO */
header {
    background-color: #360966;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ecf0f1;
    margin-right: auto;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 15.84px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #3498db;
}

/* SEÇÕES */
.section {
    padding: 45px 0;
    position: relative;
    transition: all 0.6s ease;
    scroll-margin-top: 45px;
}

.section:nth-child(odd) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(54, 9, 102, 0.03) 100%);
}

.section:nth-child(even) {
    background: linear-gradient(180deg, rgba(54, 9, 102, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(54, 9, 102, 0.2) 50%, transparent 100%);
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(54, 9, 102, 0.2) 50%, transparent 100%);
}

.section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #360966 0%, #5a1f99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.section h3 {
    font-family: 'Raleway', sans-serif;
    color: #360966;
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.section p {
    font-size: 16px;
    margin-bottom: 22px;
    line-height: 1.9;
    color: #444;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.link-consultorio {
    color: #360966;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #360966;
    transition: all 0.3s ease;
}

.link-consultorio:hover {
    color: #5a1f99;
    border-bottom-color: #5a1f99;
    padding-bottom: 2px;
}

/* HERO (Seção do topo) */
.hero {
    background: linear-gradient(135deg, #360966 0%, #5a1f99 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex-shrink: 0;
}

.perfil-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-text {
    flex: 1;
    text-align: justify;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.hero p {
    font-size: 16px;
    line-height: 1.8;
    color: #f0f0f0;
}

/* BOTÕES */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #360966;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #5a1f99;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #20ba58;
}

.btn-instagram {
    background-color: #e1306c;
}

.btn-instagram:hover {
    background-color: #c41e56;
}

.btn-cta {
    padding: 15px 40px;
    font-size: 18px;
}

/* FOOTER */
footer {
    background-color: #360966;
    color: #ecf0f1;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

/* ÁREAS DE ATUAÇÃO */
.areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.area-item {
    background-color: #5a1f99;
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* CARDS GENÉRICOS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
    color: #667eea;
    margin-bottom: 10px;
}

/* VIDEOS GRID */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-item {
    border-radius: 10px;
    overflow: hidden;
}

/* INSTAGRAM WRAPPER */
.instagram-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 150%;
}

.instagram-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CONTATO LINKS */
.contato-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}



/* MUITO PEQUENO (Celulares muito pequenos) */
@media (max-width: 480px) {
    .logo {
        font-size: 12px;
    }

    .logo img {
        max-height: 20px;
    }

    .menu {
        gap: 4px;
        font-size: 7px;
        flex-wrap: wrap;
    }

    .menu a {
        font-size: 7px;
        padding: 1px 3px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section {
        padding: 30px 0;
    }
}

/* LINK ATIVO DO MENU */
.menu a.active {
    color: #3498db;
    font-weight: bold;
}

/* ESTILO DA SEÇÃO MÉTODO */
#metodo h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #360966;
    font-style: italic;
    margin-top: 20px;
    text-align: center;
}

#metodo strong {
    color: #360966;
}

#metodo p {
    line-height: 1.8;
}

.metodo-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.metodo-list li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.8;
    color: #333;
}

.metodo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #360966;
    border-radius: 50%;
}

.metodo-logo {
    max-width: 667px;
    margin: 20px auto;
    display: block;
}

/* ESTILO DA LOGO */

.logo-img {
    height: 130px;
    width: 130px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    image-rendering: crisp-edges;
}

/* EFEITO HOVER NOS CARDS DE DEPOIMENTOS */
.depoimento-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.depoimento-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 12px 24px rgba(54, 9, 102, 0.2) !important;
    border-left-width: 6px !important;
}

/* ANIMAÇÕES AO SCROLL */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TRANSIÇÕES SUAVES EM ELEMENTOS INTERATIVOS */
button, a, .btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button:hover, a:hover, .btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* DESTACAR PALAVRAS-CHAVE EM ROXO */
.highlight {
    color: #360966;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: linear-gradient(120deg, rgba(54, 9, 102, 0.1), rgba(90, 31, 153, 0.1));
    padding: 0 4px;
    border-radius: 3px;
}

/* CARROSSEL */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(54, 9, 102, 0.15);
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.6s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(54, 9, 102, 0.7);
    color: white;
    border: none;
    padding: 8px 4px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-button:hover {
    background-color: rgba(54, 9, 102, 1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
}

/* VÍDEOS */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.video-item {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 9/16;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(54, 9, 102, 0.15);
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* BOTÃO AGENDAR */
.button-container {
    text-align: center;
    margin-top: 40px;
}

.btn-agendar {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #360966 0%, #5a1f99 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(54, 9, 102, 0.3);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn-agendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(54, 9, 102, 0.4);
    background: linear-gradient(135deg, #5a1f99 0%, #360966 100%);
}

/* BOTÕES RESPONSIVOS */
.btn-desktop {
    display: inline-block;
}

.btn-mobile {
    display: none;
}

@media (max-width: 768px) {
    .btn-desktop {
        display: none;
    }
    
    .btn-mobile {
        display: inline-block;
    }
}

/* MENU RESPONSIVO - VERSÃO CORRIGIDA 2025 */
.menu-desktop {
    display: inline;
}

.menu-mobile {
    display: none;
}

@media (max-width: 480px) {
    .menu-desktop {
        display: none;
    }
    
    .menu-mobile {
        display: inline;
    }
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    /* CONTAINER */
    .container {
        width: 100%;
        padding: 0 20px;
        max-width: 100%;
    }

    /* HEADER E NAVEGAÇÃO */
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 10px;
    }

    .logo {
        font-size: 18px;
        margin-bottom: 5px;
        margin-right: 0;
    }

    .logo img {
        max-height: 120px;
    }

    /* Mostrar versão mobile do menu, ocultar desktop */
    .menu-desktop {
        display: none !important;
    }

    .menu-mobile {
        display: inline !important;
    }

    .menu {
        gap: 15px;
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* SEÇÕES */
    .section {
        padding: 30px 0;
        scroll-margin-top: 30px;
    }

    .section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .section h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .section p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    /* HERO */
    .hero {
        padding: 60px 15px;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-image {
        width: 303px;
        height: 303px;
        margin-bottom: 30px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    /* ÁREAS */
    .areas-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .area-item {
        padding: 15px;
        font-size: 14px;
    }

    /* CARROSSEL */
    .carousel {
        height: 350px;
    }

    .carousel-button {
        padding: 6px 3px;
        font-size: 14px;
    }

    .carousel-dots {
        bottom: 15px;
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* VÍDEOS */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .video-item {
        max-width: 100%;
        width: 100%;
    }

    /* MÉTODO */
    .metodo-logo {
        max-width: 100%;
        max-height: 455px;
    }

    /* DEPOIMENTOS */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 20px;
    }

    /* BOTÃO AGENDAR */
    .btn-agendar {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* FOOTER */
    footer {
        padding: 20px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* CONTAINER */
    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    /* HEADER */
    .navbar {
        padding: 8px 10px;
    }

    .logo {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .menu {
        gap: 4px;
        font-size: 7px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        font-size: 7px;
        padding: 1px 3px;
        white-space: nowrap;
    }

    /* SEÇÕES */
    .section {
        padding: 25px 0;
    }

    .section h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .section h3 {
        font-size: 16px;
        margin-top: 15px;
    }

    .section p {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    /* HERO */
    .hero {
        padding: 40px 10px;
    }

    .hero-image {
        width: 303px;
        height: 303px;
        margin-bottom: 80px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    /* ÁREAS */
    .areas-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .area-item {
        padding: 12px;
        font-size: 12px;
    }

    /* CARROSSEL */
    .carousel {
        height: 300px;
    }

    .carousel-button {
        padding: 5px 2px;
        font-size: 12px;
    }

    /* VÍDEOS */
    .video-item {
        aspect-ratio: auto;
        height: 400px;
    }

    /* BOTÃO */
    .btn-agendar {
        padding: 10px 25px;
        font-size: 13px;
        width: 100%;
        max-width: 300px;
    }

    /* FOOTER */
    footer {
        padding: 15px 10px;
        font-size: 11px;
    }
}

/* ÍCONE DE ESTRELA DOURADA */
.star-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('{{ url_for("static", filename="images/espiral.png") }}');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* ÍCONE DE FOLHA VERDE */
.leaf-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2327AE60"><path d="M17.92 7.02C17.45 4.18 14.97 2 12 2c-2.97 0-5.45 2.18-5.92 5.02C3.97 7.55 2 9.69 2 12.5 2 15.57 4.43 18 7.5 18h10c3.03 0 5.5-2.43 5.5-5.5 0-2.81-1.97-5.05-4.58-5.48z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* ÍCONE DE CORAÇÃO AZUL */
.heart-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066CC"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* ÍCONE DE BRILHO DOURADO */
.sparkle-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M7 11H1v2h6v-2zm13.5-1c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zM14.5 7c-.828 0-1.5.672-1.5 1.5S13.672 10 14.5 10s1.5-.672 1.5-1.5S15.328 7 14.5 7zM12 5.5c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm8 8l1.5-1.5-1.5-1.5 1.5-1.5-1.5-1.5-1.5 1.5-1.5-1.5-1.5 1.5 1.5 1.5-1.5 1.5 1.5 1.5 1.5-1.5 1.5 1.5zm-8 .5c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* ÍCONE DE GALÁXIA/CÓSMICO */
.galaxy-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236B46C1"><circle cx="12" cy="12" r="1" fill="%23D4AF37"/><circle cx="12" cy="8" r="0.8" fill="%23D4AF37" opacity="0.7"/><circle cx="12" cy="16" r="0.8" fill="%23D4AF37" opacity="0.7"/><circle cx="8" cy="12" r="0.8" fill="%23D4AF37" opacity="0.7"/><circle cx="16" cy="12" r="0.8" fill="%23D4AF37" opacity="0.7"/><circle cx="9" cy="9" r="0.6" fill="%23D4AF37" opacity="0.5"/><circle cx="15" cy="9" r="0.6" fill="%23D4AF37" opacity="0.5"/><circle cx="9" cy="15" r="0.6" fill="%23D4AF37" opacity="0.5"/><circle cx="15" cy="15" r="0.6" fill="%23D4AF37" opacity="0.5"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}