/* ========================================
   PENSEBEM - CSS PERSONALIZADO
   ======================================== */

/* ===== VARIÁVEIS ===== */
:root {
    --color-cyan: #06b6d4;
    --color-fuchsia: #d946ef;
    --color-yellow: #facc15;
    --color-slate-900: #0f172a;
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ===== TIPOGRAFIA ===== */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* ===== GRADIENTES ===== */
.gradient-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.cta-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.text-gradient-brand {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-fuchsia));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cy {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BOTÕES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-fuchsia));
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-yellow {
    background: linear-gradient(135deg, #facc15, #fbbf24);
    transition: all 0.3s ease;
}

.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4);
}

/* ===== NAVBAR ===== */
.navbar-transparent {
    background: transparent;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-transparent .nav-text-color {
    color: white;
}

.navbar-scrolled .nav-text-color {
    color: #334155;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-fuchsia));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* ===== GLASS EFFECT ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== CARDS ===== */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ===== PRICING POPULAR BADGE ===== */
.pricing-popular {
    position: relative;
    border: 2px solid var(--color-fuchsia);
}

.pricing-popular::before {
    content: 'MAIS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-cyan), var(--color-fuchsia));
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ===== FORMULÁRIOS ===== */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* ===== MENSAGENS DE FEEDBACK ===== */
.mensagem-sucesso {
    display: none;
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    border: 1px solid #a7f3d0;
}

.mensagem-erro {
    display: none;
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    border: 1px solid #fecaca;
}

.mensagem-sucesso.mostrar,
.mensagem-erro.mostrar {
    display: block;
}

/* ===== ACCORDION FAQ ===== */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-icon.rotate-180 {
    transform: rotate(180deg);
}

/* ===== CAROUSEL ===== */
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.portfolio-card {
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: scale(1.05);
    border-color: var(--color-cyan);
}

/* ===== MODAL ===== */
.modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-up 0.8s ease-out forwards;
}

@keyframes fade-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-right {
    animation: fade-right 0.8s ease-out forwards;
}

/* ===== REVEAL ON SCROLL ===== */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ===== PARTICLES CANVAS ===== */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ========================================
   SEÇÕES - LARGURA E CENTRALIZAÇÃO
   ======================================== */

/* ===== HERO, RESULTADOS, CTA - LARGURA TOTAL ===== */
#home,
#resultados,
section.cta-gradient {
    width: 100%;
    max-width: 100%;
}

/* ===== DEMAIS SEÇÕES - CENTRALIZADAS ===== */
#sobre,
#servicos,
#packs,
#portfolio,
#depoimentos,
#faq {
    max-width: 100%;
}

#sobre .max-w-7xl,
#servicos .max-w-7xl,
#packs .max-w-7xl,
#portfolio .max-w-7xl,
#depoimentos .max-w-7xl,
#faq .max-w-3xl {
    margin-left: auto;
    margin-right: auto;
}

/* ===== TÍTULOS E SUBTÍTULOS CENTRALIZADOS ===== */
#servicos .text-center,
#packs .text-center,
#portfolio .text-center,
#depoimentos .text-center,
#faq .text-center {
    text-align: center;
}

#servicos h2,
#servicos .subtitulo,
#packs h2,
#packs .subtitulo,
#portfolio h2,
#portfolio .subtitulo,
#depoimentos h2,
#faq h2 {
    text-align: center;
}

/* Parágrafos descritivos centralizados */
#servicos p[align="center"],
#packs p[align="center"],
#portfolio p[align="center"] {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
}

/* ===== CTA - BOTÕES CENTRALIZADOS E ESPAÇADOS ===== */
section.cta-gradient .flex-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

section.cta-gradient button,
section.cta-gradient a {
    margin: 0;
}

/* Texto do CTA */
section.cta-gradient p[align="center"] {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* ===== SEÇÃO CONTATO - ALINHADA À ESQUERDA COM MARGENS ===== */
#contato {
    max-width: 100%;
}

#contato .max-w-7xl {
    margin-left: auto;
    margin-right: auto;
    padding-left: 50px;
    padding-right: 50px;
}

#contato .reveal-left h2,
#contato .reveal-left span,
#contato .reveal-left p {
    text-align: left;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    #contato .max-w-7xl {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    /* Ajuste de padding em mobile */
    #contato .max-w-7xl {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* CTA botões em coluna no mobile */
    section.cta-gradient .flex-wrap {
        flex-direction: column;
        gap: 15px;
    }
    
    section.cta-gradient button,
    section.cta-gradient a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Ajuste do hero */
    #home h1 {
        font-size: 2rem;
    }
    
    /* Esconder elementos decorativos */
    .animate-float {
        display: none;
    }
}

@media (max-width: 640px) {
    /* FAQ mais compacto */
    #faq .max-w-3xl {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Cards de preço */
    #packs .grid {
        gap: 20px;
    }
    
    /* Formulário de contato */
    #contactForm {
        padding: 1.5rem;
    }
}

/* ===== ESPAÇAMENTO ENTRE SEÇÕES ===== */
section {
    position: relative;
}

/* Separador visual sutil entre seções */
#sobre::before,
#servicos::before,
#packs::before,
#portfolio::before,
#depoimentos::before,
#faq::before,
#contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

/* ===== AJUSTES FINOS ===== */

/* Grid de serviços */
#servicos .grid {
    display: grid;
    gap: 2rem;
}

/* Grid de trabalhos/portfólio */
#portfolio .carousel-wrapper {
    margin-top: 2rem;
}

/* Cards de depoimentos */
#depoimentos .grid {
    gap: 1.5rem;
}

/* Botão desabilitado */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== SCROLLBAR CUSTOMIZADA ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-fuchsia));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0891b2, #c026d3);
}

/* ===== SELEÇÃO DE TEXTO ===== */
::selection {
    background: var(--color-cyan);
    color: white;
}

::-moz-selection {
    background: var(--color-cyan);
    color: white;
}

/* ===== LOADING STATE ===== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* ========================================
   ESPAÇAMENTO ENTRE SEÇÕES
   ======================================== */

/* Todas as seções - mais espaço interno */
section {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

/* Espaço entre seções (margem externa) */
#sobre,
#servicos,
#packs,
#portfolio,
#resultados,
#depoimentos,
#faq,
#cta,
#contato {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Hero não precisa de margem superior */
#home {
    margin-top: 0;
    margin-bottom: 50px;
}

/* Conteúdo interno com mais respiro */
section .max-w-7xl,
section .max-w-4xl,
section .max-w-3xl {
    padding-left: 50px;
    padding-right: 50px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    #sobre,
    #servicos,
    #packs,
    #portfolio,
    #resultados,
    #depoimentos,
    #faq,
    #cta,
    #contato {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    section .max-w-7xl,
    section .max-w-4xl,
    section .max-w-3xl {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* ========================================
   FUNDO CINZA CLARO - SEÇÕES ESPECÍFICAS
   ======================================== */

#servicos,
#portfolio,
#faq {
    background-color: #f1f5f9; /* slate-100 */
}

/* Alternativa: se quiser um cinza mais suave */
/*
#servicos,
#portfolio,
#faq {
    background-color: #f8fafc; /* slate-50 */
}
*/

/* ===== CTA - TOTALMENTE CENTRALIZADO ===== */
#cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cta > div {
    width: 100%;
}

#cta .max-w-4xl {
    margin-left: auto;
    margin-right: auto;
}

#cta h2,
#cta p {
    text-align: center;
}

#cta .flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================================
   MENU MOBILE - FUNDO SÓLIDO
   ======================================== */

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    background-color: #0f172a !important; /* slate-900 sólido */
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Overlay escuro atrás do menu */
.mobile-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-menu.active::before {
    opacity: 1;
}

/* Links do menu mobile */
.mobile-menu a {
    color: white !important;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover {
    color: #22d3ee !important; /* cyan-400 */
    padding-left: 10px;
}

/* Botão fechar */
.mobile-menu button {
    color: white;
}

.mobile-menu button:hover {
    color: #f87171; /* red-400 */
}

/* Botão CTA no menu mobile */
.mobile-menu .btn-primary {
    margin-top: 20px;
    text-align: center;
    border-radius: 9999px;
}