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

:root {
    --primary-color: #D4AF37;
    --light-gray: #fdfdfd;
    --dark-gray: #1a1a1a;
    --white: #ffffff;
    --text-color: #333333;
    --beige: #F5F5DC;
}

/* Reset global para evitar overflow horizontal */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 140px; /* Increased from 80px to 140px */
}

/* Alinhar parágrafos à esquerda apenas onde necessário */
#faq p {
    text-align: left;
}

/* Centralizar todos os títulos */
h1, h2, h3 {
    text-align: center;
}

/* Seções que precisam de texto centralizado */
#a-tecnica p,
#como-funciona p,
.content-section-alt p {
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--dark-gray);
    padding: 0.57rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu com animações melhoradas */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--dark-gray);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

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

.mobile-menu-content {
    padding: 80px 0 20px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-content a {
    display: block;
    padding: 20px 30px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-20px);
    opacity: 0;
}

.mobile-menu.active .mobile-menu-content a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu-content a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-content a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-content a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-content a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-content a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-content a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-menu-content a:nth-child(7) { transition-delay: 0.4s; }

.mobile-menu-content a:hover,
.mobile-menu-content a:active {
    background: var(--primary-color);
    padding-left: 40px;
    transform: translateX(10px);
}

.mobile-menu-content a:last-child {
    border-bottom: none;
}

.logo {
    background: var(--dark-gray);
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

/* Hero Section */
#hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.3;
    z-index: 1;
}

.hero-video {
    flex: 1;
    min-width: 350px;
    position: relative;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 10;
    border-radius: 15px 15px 0 0;
    pointer-events: none;
}

.hero-video::after {
    content: 'Dr. Mirtho Metchko';
    position: absolute;
    top: 15px;
    left: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 11;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    pointer-events: none;
}

.hero-video iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

/* Esconder informações do YouTube */
.hero-video iframe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

#hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.2;
}

#hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 300;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animações variadas para Feature Cards */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.7);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
    70% {
        transform: translateY(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-wrap: break-word;
    overflow-wrap: break-word;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.feature-card:nth-child(1) {
    animation: slideInUp 0.7s ease-out 0.1s forwards;
}

.feature-card:nth-child(2) {
    animation: rotateIn 0.7s ease-out 0.2s forwards;
}

.feature-card:nth-child(3) {
    animation: bounceInUp 0.7s ease-out 0.3s forwards;
}

.feature-card:nth-child(4) {
    animation: slideInUp 0.7s ease-out 0.4s forwards;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s;
    opacity: 0;
}

.feature-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* Content Section Alt */
.content-section-alt {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--beige) 0%, #f8f5f0 100%);
}

.content-section-alt p {
    text-align: center !important; /* Added !important to override general p rule */
    max-width: 850px;
    margin: 0 auto; /* Added auto margin for centering */
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Specific rule for A Técnica section to ensure centering */
#a-tecnica p {
    text-align: center !important;
    max-width: 850px;
    margin: 0 auto !important;
}

/* Specialist Section */
#especialista {
    padding: 5rem 0;
    background-color: var(--white);
}

.specialist-section {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.specialist-text {
    flex: 1.2;
}

.specialist-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.specialist-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.specialist-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.specialist-skills {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.skills-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.skills-list li:last-child {
    border-bottom: none;
}

.skills-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.specialist-img {
    flex-basis: 400px;
}

.specialist-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Results Section */
#casos-de-sucesso {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--beige) 0%, #f8f5f0 100%);
}

.results-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
}

/* Remover posicionamento grid anterior */
.results-grid .result-item:nth-child(1) {
    /* removido */
}

.results-grid .result-item:nth-child(2) {
    /* removido */
}

.results-grid .result-item:nth-child(3) {
    /* removido */
}

.results-grid .result-item:nth-child(4) {
    /* removido */
}

.result-item {
    width: calc(50% - 20px) !important;
    flex: 0 0 calc(50% - 20px) !important;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: zoomIn 0.6s ease-out forwards;
    opacity: 0;
}

.result-item:nth-child(1) {
    animation-delay: 0.2s;
}

.result-item:nth-child(2) {
    animation-delay: 0.4s;
}

.result-item:nth-child(3) {
    animation-delay: 0.6s;
}

.result-item:nth-child(4) {
    animation-delay: 0.8s;
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-item img,
.result-item iframe {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    border: none;
}

/* Testimonials Section */
#depoimentos {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 15px 15px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.5s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* FAQ Section */
#faq {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--beige) 0%, #f8f5f0 100%);
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.faq-item h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Respostas do FAQ alinhadas à esquerda */
.faq-item p {
    text-align: left !important;
}

/* Location Section */
#localizacao {
    padding: 5rem 0;
    background-color: var(--white);
    text-align: left;
}

#localizacao p {
    max-width: 750px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

#localizacao iframe {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Form Styles */
form {
    margin-top: 2.5rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-color);
}

form h3 {
    margin-top: 0;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Animações para seções principais */
.specialist-section {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.instagram-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    animation: zoomIn 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

.instagram-button-footer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
    opacity: 0;
}

/* Animação de pulse mais suave para o botão principal */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

form button {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s;
    animation: pulse 2s infinite 2s;
}

form button:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    background: var(--dark-gray);
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 120px;
    width: auto;
}

footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Animação de shake para WhatsApp */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

@keyframes shakeLoop {
    0%, 10% {
        animation: shake 0.5s ease-in-out;
    }
    10%, 100% {
        animation: none;
    }
}

/* WhatsApp Button - versão sutil e elegante */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    animation: bounceIn 1s ease-out 1s forwards, shakePattern 6s infinite 2s;
    opacity: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    animation: none;
}

/* Shake pattern: treme por 3s, para por 3s */
@keyframes shakePattern {
    0% { transform: translateX(0); }
    2% { transform: translateX(-1px); }
    4% { transform: translateX(1px); }
    6% { transform: translateX(-1px); }
    8% { transform: translateX(1px); }
    10% { transform: translateX(-1px); }
    12% { transform: translateX(1px); }
    14% { transform: translateX(-1px); }
    16% { transform: translateX(1px); }
    18% { transform: translateX(-1px); }
    20% { transform: translateX(1px); }
    22% { transform: translateX(-1px); }
    24% { transform: translateX(1px); }
    26% { transform: translateX(-1px); }
    28% { transform: translateX(1px); }
    30% { transform: translateX(-1px); }
    32% { transform: translateX(1px); }
    34% { transform: translateX(-1px); }
    36% { transform: translateX(1px); }
    38% { transform: translateX(-1px); }
    40% { transform: translateX(1px); }
    42% { transform: translateX(-1px); }
    44% { transform: translateX(1px); }
    46% { transform: translateX(-1px); }
    48% { transform: translateX(1px); }
    50% { transform: translateX(0); }
    51%, 100% { transform: translateX(0); }
}

/* Instagram Section no Footer */
.instagram-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 4rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e1e1e1;
}

.instagram-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.instagram-title {
    font-size: 2.2rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 700;
}

.instagram-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
}

.instagram-embed {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #e1e1e1;
    margin-bottom: 2rem;
}

.instagram-feed {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
}

.instagram-button-footer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.instagram-button-footer:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 35px rgba(188, 24, 136, 0.4);
}

.instagram-button-footer svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.instagram-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.instagram-image-link:hover {
    transform: scale(1.02);
}

.instagram-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.instagram-image-link:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay-content {
    text-align: center;
    color: white;
}

.instagram-overlay-content svg {
    width: 48px;
    height: 48px;
    fill: white;
    margin-bottom: 1rem;
}

.instagram-overlay-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
} 

/* Hambúrguer Flutuante para Mobile - Simplified */
.floating-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    background: rgba(26, 26, 26, 0.8); /* Simplified background */
    border: none;
    border-radius: 8px; /* Less rounded, more simple */
    width: 45px; /* Slightly smaller */
    height: 45px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15); /* Simpler shadow */
    transition: all 0.2s ease; /* Faster transition */
    opacity: 0;
    transform: translateY(-10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.floating-menu-btn.visible {
    opacity: 0.8; /* More visible */
    transform: translateY(0);
}

.floating-menu-btn:hover {
    opacity: 1; /* Simple hover effect */
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.floating-menu-btn span {
    display: block;
    width: 18px; /* Slightly smaller */
    height: 2px;
    background: var(--white);
    margin: 3px auto; /* Closer together */
    border-radius: 1px; /* Less rounded */
    transition: all 0.2s ease; /* Faster transition */
    transform-origin: center;
}

/* Simple X transformation */
.floating-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px); /* Simpler transform */
}

.floating-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.floating-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px); /* Simpler transform */
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    #hero {
        padding: 4rem 0;
    }
    
    .hero-video {
        margin-top: 2rem;
        width: 100%;
        max-width: 400px;
    }
    
    .specialist-section {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .specialist-text h2 {
        text-align: center;
    }
}

/* Melhorias de animação para mobile */
/* Animações baseadas em scroll para mobile */
@media (max-width: 768px) {
    /* Garantir full screen no mobile */
    html, body {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    /* Garantir que hero não cause overflow */
    .hero-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-video iframe {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    /* Mostrar hambúrguer flutuante no mobile */
    .floating-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Remover animações automáticas no mobile */
    .feature-card,
    .faq-item,
    .result-item,
    .specialist-section,
    .testimonial-card {
        animation: none !important;
    }
    
    /* Estado inicial dos elementos animáveis */
    .animate-on-scroll {
        opacity: 0;
        transform: translateX(100px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Estado final quando entra na viewport */
    .animate-on-scroll.animate-in {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Delays escalonados para criar efeito em cascata */
    .feature-card:nth-child(1).animate-in { transition-delay: 0.1s; }
    .feature-card:nth-child(2).animate-in { transition-delay: 0.2s; }
    .feature-card:nth-child(3).animate-in { transition-delay: 0.3s; }
    .feature-card:nth-child(4).animate-in { transition-delay: 0.4s; }
    
    .faq-item:nth-child(1).animate-in { transition-delay: 0.1s; }
    .faq-item:nth-child(2).animate-in { transition-delay: 0.15s; }
    .faq-item:nth-child(3).animate-in { transition-delay: 0.2s; }
    .faq-item:nth-child(4).animate-in { transition-delay: 0.25s; }
    .faq-item:nth-child(5).animate-in { transition-delay: 0.3s; }
    .faq-item:nth-child(6).animate-in { transition-delay: 0.35s; }
    .faq-item:nth-child(7).animate-in { transition-delay: 0.4s; }
    
    .testimonial-card:nth-child(1).animate-in { transition-delay: 0.1s; }
    .testimonial-card:nth-child(2).animate-in { transition-delay: 0.2s; }
    .testimonial-card:nth-child(3).animate-in { transition-delay: 0.3s; }
    
    .result-item:nth-child(1).animate-in { transition-delay: 0.1s; }
    .result-item:nth-child(2).animate-in { transition-delay: 0.3s; }
    .result-item:nth-child(3).animate-in { transition-delay: 0.5s; }
    .result-item:nth-child(4).animate-in { transition-delay: 0.7s; }
    
    /* Specialist section com animação especial */
    .specialist-section.animate-on-scroll {
        transform: translateX(150px) scale(0.9);
    }
    
    .specialist-section.animate-in {
        transform: translateX(0) scale(1);
        transition-duration: 1s;
    }
    
    /* Hero elements mantêm animação inicial */
    .hero-content {
        animation: slideInFromBottom 1s ease-out 0.5s forwards;
        opacity: 0;
    }
    
    .hero-video {
        animation: slideInFromRight 1s ease-out 0.8s forwards;
        opacity: 0;
    }
    
    /* Section titles com animação especial */
    .section-title {
        opacity: 0;
        transform: translateX(80px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .section-title.animate-in {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Form com slide da direita */
    form {
        opacity: 0;
        transform: translateX(120px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    form.animate-in {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Garantir que o WhatsApp não seja afetado pelas animações mobile */
    .whatsapp-button {
        position: fixed !important;
        bottom: 20px !important;
        right: 15px !important;
        left: auto !important;
        z-index: 1001 !important;
        opacity: 1 !important;
        animation: bounceIn 1s ease-out 1s forwards, shakePattern 6s infinite 2s !important;
        max-width: calc(100vw - 30px) !important;
        box-sizing: border-box !important;
        width: auto !important;
    }
    
    .whatsapp-button:hover {
        transform: scale(1.05) translateY(-2px) !important;
        animation: none !important;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    .result-item iframe, .result-item img {
        height: 500px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    form {
        padding: 2rem;
        margin-top: 2rem;
    }
}

/* Novas animações mobile-friendly */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive para tablets - manter as 4 caixas até tablet grande */
@media (max-width: 1024px) and (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
}

/* Apenas quebrar em 2 colunas para tablets menores */
@media (max-width: 899px) and (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

/* 1 coluna apenas para mobile */
@media (max-width: 599px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
} 

/* Desktop - forçar 4 colunas sempre */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(4, minmax(200px, 1fr));
        gap: 12px;
    }
    
    .feature-card {
        padding: 1.3rem;
        font-size: 0.9rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
} 

/* Responsive para competências do especialista */
@media (max-width: 768px) {
    .specialist-skills {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skills-section h4 {
        font-size: 1.1rem;
    }
    
    .skills-list li {
        font-size: 0.9rem;
    }
} 

.instagram-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.instagram-image-link:hover {
    transform: scale(1.02);
}

.instagram-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.instagram-image-link:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay-content {
    text-align: center;
    color: white;
}

.instagram-overlay-content svg {
    width: 48px;
    height: 48px;
    fill: white;
    margin-bottom: 1rem;
}

.instagram-overlay-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
} 

/* Media query para tablets - manter 2x2 */
@media (max-width: 1024px) and (min-width: 769px) {
    .results-grid {
        gap: 30px;
        max-width: 800px;
    }
    
    .result-item {
        width: calc(50% - 15px) !important;
        flex: 0 0 calc(50% - 15px) !important;
    }
}

/* Media query para mobile - 1 coluna */
@media (max-width: 768px) {
    .results-grid {
        flex-direction: column !important;
        gap: 20px;
    }
    
    .result-item {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
} 