/* VARIÁVEIS BASEADAS NA LOGO (ATUALIZADO PARA FOCO EM CONVERSÃO) */
:root {
    --primary-dark: #1E3A4C; /* Azul Escuro */
    --primary-teal: #22B2B0; /* Ciano/Verde Logo */
    --accent-orange: #FF7F50; /* Laranja Logo */
    --whatsapp-green: #25D366; /* Verde Foco Conversão */
    --whatsapp-dark: #128C7E;
    --bg-light: #F4F7F9;
    --white: #FFFFFF;
    --text-dark: #1e293b;
    --text-light: #475569;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* SISTEMA ANTI CÓPIA */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.privacy-text, .faq-answer { user-select: text; } /* Permite seleção em textos longos importantes */

.container { width: 100%; max-width: 1250px; margin: 0 auto; padding: 0 24px; }

/* ANIMAÇÕES GLOBAIS */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* BOTÕES PREMIUM OTIMIZADOS (VERDE WHATSAPP COMO PRIMÁRIO) */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; padding: 15px 30px; border-radius: 12px; font-weight: 800;
    text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-size: 1.05rem;
}
.btn-primary { 
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark)); 
    color: var(--white); 
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35); 
}
.btn-primary:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); 
}
.btn-large { font-size: 1.15rem; padding: 18px 40px; width: 100%; max-width: 450px; }
.btn-outline { border: 2px solid var(--primary-teal); color: var(--primary-teal); background: transparent; border-radius: 8px; }
.btn-outline:hover { background: var(--primary-teal); color: var(--white); }
.btn-link { color: var(--accent-orange); font-weight: 800; text-decoration: none; display: inline-block; margin-top: 15px; transition: 0.3s; }
.btn-link:hover { transform: translateX(8px); color: var(--primary-dark); }
.link-btn { background: none; border: none; color: var(--primary-teal); text-decoration: underline; cursor: pointer; font-family: inherit; font-size: inherit; }

/* HEADER */
.header { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); box-shadow: 0 4px 30px rgba(0,0,0,0.06); z-index: 1000; padding: 15px 0; transition: 0.4s; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; object-fit: contain; transition: 0.3s; }
.nav-desktop { display: none; gap: 35px; }
.nav-desktop a { text-decoration: none; color: var(--text-dark); font-weight: 700; font-size: 0.95rem; transition: 0.3s; }
.nav-desktop a:hover { color: var(--primary-teal); }

/* HERO SECTION */
.hero { position: relative; padding: 160px 0 100px; background: linear-gradient(135deg, var(--primary-dark) 0%, #12222d 100%); color: var(--white); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(34,178,176,0.1) 0%, transparent 60%); pointer-events: none; }
.hero-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 40px; position: relative; z-index: 2; }
.hero-content { flex: 1; min-width: 320px; max-width: 600px; }
.hero-image-wrapper { flex: 1; display: flex; justify-content: center; min-width: 300px; }
.hero-mascote { width: 100%; max-width: 450px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); }
.float-anim { animation: float 4s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0); } }
.badge { background: rgba(34, 178, 176, 0.15); border: 1px solid var(--primary-teal); color: var(--primary-teal); padding: 8px 22px; border-radius: 30px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; display: inline-block; margin-bottom: 25px; }
.hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 25px; font-weight: 900; letter-spacing: -1px; }
.hero p { font-size: 1.15rem; margin-bottom: 40px; color: #cbd5e1; }
.trust-indicators { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.95rem; font-weight: 700; color: var(--primary-teal); }

/* SEÇÃO: NOSSA EMPRESA */
.about { padding: 90px 0; background: var(--white); }
.about-container { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; }
.about-image { flex: 1; min-width: 300px; text-align: center; }
.about-image img { max-width: 100%; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.about-content { flex: 1; min-width: 320px; }
.about-content h2 { font-size: 2.2rem; color: var(--primary-dark); margin-bottom: 20px; font-weight: 900; }
.about-content p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 15px; }
.about-content strong { color: var(--primary-teal); }

/* SERVIÇOS */
.services { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 750px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 15px; font-weight: 900; }
.section-header p { font-size: 1.1rem; color: var(--text-light); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 35px; }
.service-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 15px 40px rgba(30, 58, 76, 0.06); border: 1px solid rgba(0,0,0,0.03); transition: var(--transition); position: relative; }
.service-card:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(30, 58, 76, 0.12); }
.card-img-wrapper { position: relative; height: 260px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s ease; }
.service-card:hover .card-img-wrapper img { transform: scale(1.1); filter: brightness(1.1); }
.card-badge { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.95); backdrop-filter: blur(5px); color: var(--primary-dark); padding: 8px 16px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.card-badge.bg-orange { background: var(--accent-orange); color: white; }
.service-content { padding: 35px; border-top: 4px solid var(--primary-teal); }
.service-content h3 { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 12px; font-weight: 800; }
.service-content p { color: var(--text-light); font-size: 1rem; }

/* COMO FUNCIONA / DIFERENCIAIS */
.how-it-works { padding: 100px 0; background: var(--white); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.step-card { background: var(--bg-light); padding: 40px 30px; border-radius: 24px; text-align: center; border: 1px solid rgba(0,0,0,0.04); transition: var(--transition); }
.step-card:hover { background: var(--white); box-shadow: 0 20px 40px rgba(30,58,76,0.08); transform: translateY(-8px); }
.icon-circle { width: 75px; height: 75px; background: rgba(34, 178, 176, 0.15); font-size: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 20px; }
.step-card h3 { color: var(--primary-dark); margin-bottom: 15px; font-size: 1.3rem; font-weight: 800;}
.step-card p { color: var(--text-light); }

/* SISTEMA DE AVALIAÇÕES */
.reviews { padding: 90px 0; background: linear-gradient(to bottom, var(--bg-light), #e2e8f0); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.review-card { background: var(--white); padding: 40px 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.stars { color: #f59e0b; font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 15px; }
.review-text { font-style: italic; color: var(--text-light); margin-bottom: 20px; font-size: 1.05rem; }
.review-author { display: block; color: var(--primary-dark); font-weight: 800; }

/* FAQ - ACORDEÃO */
.faq-section { padding: 90px 0; background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; transition: 0.3s; }
.faq-question { width: 100%; background: var(--bg-light); border: none; padding: 20px 25px; text-align: left; font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.faq-question:hover { background: #e2e8f0; }
.faq-question span { font-size: 1.5rem; color: var(--primary-teal); transition: 0.3s; }
.faq-item.active .faq-question span { transform: rotate(45deg); color: var(--accent-orange); }
.faq-answer { max-height: 0; overflow: hidden; background: var(--white); transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 200px; padding: 20px 25px; }

/* CTA EMERGÊNCIA */
.emergency-cta { padding: 80px 0; background: linear-gradient(135deg, var(--primary-dark) 0%, #12222d 100%); color: var(--white); text-align: center; border-radius: 30px; max-width: 95%; margin: 0 auto 60px; box-shadow: 0 20px 50px rgba(30, 58, 76, 0.4); }
.emergency-cta h2 { font-size: 2.5rem; margin-bottom: 20px; font-weight: 900; }
.emergency-cta p { margin-bottom: 40px; font-size: 1.2rem; max-width: 800px; margin-left: auto; margin-right: auto; color: #cbd5e1; }

/* FOOTER E REDES SOCIAIS */
.footer { background: var(--primary-dark); color: #cbd5e1; padding: 70px 0 25px; border-top: 5px solid var(--primary-teal); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 50px; margin-bottom: 50px; }
.footer h3 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; font-weight: 800; }
.footer p { margin-bottom: 15px; font-size: 0.95rem; }
.footer-link { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.footer-link:hover { color: var(--primary-teal); text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }

.social-links { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.social-link { display: flex; align-items: center; gap: 12px; color: #cbd5e1; text-decoration: none; transition: var(--transition); font-size: 1rem; font-weight: 600; }
.social-link:hover { color: var(--primary-teal); transform: translateX(8px); }

/* AJUSTE PARA AS IMAGENS PNG DOS ÍCONES SOCIAIS */
.social-link img { width: 26px; height: 26px; object-fit: contain; transition: var(--transition); }

/* MODAIS & BANNER DE COOKIES */
.modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: var(--transition); }
.modal.active { visibility: visible; opacity: 1; }
.modal-overlay { position: absolute; inset: 0; background: rgba(30, 58, 76, 0.85); backdrop-filter: blur(8px); }
.modal-content { position: relative; background: var(--white); width: 90%; max-width: 480px; border-radius: 24px; padding: 45px 35px; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,0.3); transform: scale(0.9); transition: 0.3s ease; }
.privacy-content { max-width: 600px; text-align: left; }
.modal.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem; color: var(--text-light); cursor: pointer; transition: 0.2s; }
.modal-close:hover { color: var(--accent-orange); }
.modal-icon { margin-bottom: 20px; display: inline-block; background: var(--bg-light); padding: 10px; border-radius: 50%; }
.modal-content h2 { color: var(--primary-dark); font-size: 1.8rem; margin-bottom: 15px; font-weight: 900; }
.modal-content p { color: var(--text-light); margin-bottom: 30px; font-size: 1.05rem; }
.privacy-text { max-height: 50vh; overflow-y: auto; padding-right: 10px; margin-bottom: 20px; }
.privacy-text p { margin-bottom: 15px; font-size: 0.95rem; }
.modal-actions { display: flex; flex-direction: column; gap: 15px; }
.modal-actions .btn { width: 100%; padding: 16px; }

.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: var(--white); padding: 25px; box-shadow: 0 -10px 40px rgba(0,0,0,0.1); z-index: 9998; display: flex; flex-direction: column; gap: 20px; align-items: center; transition: bottom 0.6s ease; border-top: 4px solid var(--primary-teal); }
.cookie-banner.show { bottom: 0; }
.cookie-text { text-align: center; max-width: 800px; }
.cookie-text strong { color: var(--primary-dark); font-size: 1.1rem; display: block; margin-bottom: 8px; }
.cookie-text p { color: var(--text-light); font-size: 0.95rem; }
.cookie-actions { display: flex; gap: 15px; width: 100%; justify-content: center; }

/* WHATSAPP FLUTUANTE */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp-green); border-radius: 50px; width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 9000; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1) rotate(-8deg); }
.pulse-anim { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------------------------------------------------
   REORGANIZAÇÃO MOBILE (ORDEM DO CONTEÚDO)
   --------------------------------------------------- */
@media (max-width: 767px) {
    main { display: flex; flex-direction: column; }
    
    /* Ordem exata solicitada para celular */
    .hero { order: 1; }
    .services { order: 2; } /* Especialidades sobe */
    .about { order: 3; }    /* História desce */
    .how-it-works { order: 4; }
    .reviews { order: 5; }
    .faq-section { order: 6; }
    .emergency-cta { order: 7; }
    
    /* Inverte a ordem da História e Logo na seção Sobre */
    .about-container { display: flex; flex-direction: column; }
    .about-content { order: 1; }
    .about-image { order: 2; margin-top: 20px; }
}

/* RESPONSIVIDADE EXTREMA (DESKTOP) */
@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .hero h1 { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .modal-actions { flex-direction: row; }
    .modal-actions .btn { flex: 1; }
    .cookie-banner { flex-direction: row; justify-content: space-between; padding: 20px 40px; }
    .cookie-text { text-align: left; }
    .cookie-actions { width: auto; }
}
@media (min-width: 1024px) {
    .hero { padding: 200px 0 120px; }
    .hero h1 { font-size: 4.2rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-mascote { transform: scale(1.1); }
}