/* ==========================================================================
   MÉTODO SEMANA FIT - ARQUITETURA DE DESIGN CSS
   Padrão de Qualidade Front-End: CSS Variável, Responsividade Mobile-First, 
   Acessibilidade WCAG e Prevenção Ativa de Erros de Layout.
   ========================================================================== */

:root {
    /* Paleta Semântica Base - Modo Claro */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #495057;
    --accent-color: #ff5722; /* Laranja de Alta Conversão Fitness */
    --accent-hover: #e64a19;
    --header-bg: rgba(255, 255, 255, 0.95);
    
    /* Configurações Gerais do Layout */
    --menu-height: 80px;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.08);
    --radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Redefinição Semântica - Modo Escuro Nível AA/AAA (WCAG) */
.dark-mode {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --text-primary: #f8f9fa;
    --text-secondary: #ced4da;
    --accent-color: #ff7043;
    --accent-hover: #ff8a65;
    --header-bg: rgba(18, 18, 18, 0.95);
    --card-bg: #222222;
    --border-color: #333333;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.5);
}

/* RESET GERAL DA PÁGINA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* ESTRATÉGIA STICKY FOOTER */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    margin-top: var(--menu-height); /* Compensação exata da barra de menu fixa */
}

/* PREVENÇÃO DE ZOOM AUTOMÁTICO INDESEJADO NO SAFARI/IOS MOBILE */
input, textarea, select {
    font-size: 16px;
    font-family: inherit;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* CONTÊINERES E SISTEMAS DE GRID */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* UTILITÁRIOS GERAIS DE ESTILO */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-white { color: #ffffff !important; }
.text-light { color: #aaaaaa !important; }
.text-accent { color: var(--accent-color); }
.text-small { font-size: 0.85rem; color: var(--text-secondary); }
.py-4 { padding: 3rem 0; }
.py-5 { padding: 5rem 0; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3.5rem; }
.w-100 { width: 100%; }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-dark { background-color: #111111; }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }

/* TIPOGRAFIA */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-primary);
}

p {
    line-height: 1.65;
    color: var(--text-secondary);
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* COMPONENTES DE INTERAÇÃO (BOTÕES E LABELS) */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-lg { font-size: 1.15rem; padding: 18px 44px; }
.btn-sm { font-size: 0.9rem; padding: 8px 16px; }
.btn-icon { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-primary); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
.btn-icon:hover { background-color: var(--bg-secondary); }

/* LAYOUT E COMPONENTES HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--menu-height);
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo span { color: var(--accent-color); }
.nav-list { display: flex; gap: 32px; }
.nav-link { font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); }
.nav-link:hover { color: var(--accent-color); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-toggle { display: none; }

/* DESIGN DA SEÇÃO HERO E CAIXA DE OFERTA EXCLUSIVA */
.swiper-container-wrapper { min-width: 0; }
.hero-section {
    position: relative;
    height: calc(115vh - var(--menu-height));
    width: 100%;
}

.hero-swiper { width: 100%; height: 100%; }
.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
}

.hero-content h1 { font-size: 3.25rem; color: #ffffff; margin-bottom: 15px; }
.hero-subtitle { font-size: 1.4rem; color: var(--accent-color); font-weight: 700; margin-bottom: 20px; }
.hero-description { color: #e9ecef; font-size: 1.1rem; margin-bottom: 35px; max-width: 750px; margin-left: auto; margin-right: auto; }

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 87, 34, 0.15);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

/* BLOCO DE PREÇO E OFERTA (MARKETING DE RESPOSTA DIRETA) */
.offer-box {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-md);
    padding: 30px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 2px solid var(--accent-color);
}

.dark-mode .offer-box {
    background-color: #1e1e1e;
}

.offer-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.dark-mode .offer-title { color: #ffffff; }
.offer-title i { color: var(--accent-color); }

.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-old {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #6c757d;
}

.price-new {
    font-size: 1.3rem;
    color: #212529;
}

.dark-mode .price-new { color: #ffffff; }
.price-new strong {
    font-size: 2.25rem;
    color: var(--accent-color);
    font-weight: 800;
}

.offer-guarantee {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
}

.dark-mode .offer-guarantee { color: #adb5bd; }
.offer-guarantee i { color: #28a745; }

/* SEÇÃO DE LOGOS PARCEIROS (EFEITO GRAYSCALE PARA COLOR) */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 0.9;
}

.dark-mode .client-logo {
    filter: grayscale(100%) brightness(2.5);
}

.dark-mode .client-logo:hover {
    filter: grayscale(0%) brightness(1);
}

/* CHECKLISTS E CARDS DE BENEFÍCIOS */
.benefit-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }
.benefit-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }
.benefit-card h3 { font-size: 1.35rem; margin-bottom: 12px; }

.check-list li {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list i { font-size: 1.3rem; }
.check-list-soft li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.check-list-soft i { margin-top: 4px; font-size: 0.9rem; }

/* SISTEMA AVANÇADO DE ABAS INTERATIVAS (TABS + IMAGEM STICKY) */
.tabs-container { display: flex; flex-direction: column; gap: 40px; }
.tabs-nav { display: flex; justify-content: center; gap: 16px; }

.tab-btn {
    padding: 16px 28px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.tab-btn i { font-size: 1.1rem; }
.tab-btn:hover, .tab-btn.active { background-color: var(--accent-color); color: #ffffff; border-color: var(--accent-color); }
.tab-pane { display: none; animation: tabFadeIn 0.5s ease-in-out; }
.tab-pane.active { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: start; }
.tab-text h3 { font-size: 1.85rem; margin-bottom: 10px; }
.tab-text .lead-text { margin-bottom: 20px; }

.tab-image {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--menu-height) + 40px); /* Alinhamento dinâmico sticky desktop */
    width: 100%;
    object-fit: cover;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CARDS DE TESTEMUNHOS (DEPOIMENTOS 6 ITENS) */
.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars { color: #ffca28; margin-bottom: 15px; font-size: 0.95rem; }
.testimonial-card p { font-style: italic; font-size: 0.98rem; margin-bottom: 20px; line-height: 1.6; }
.testimonial-author h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.testimonial-author span { font-size: 0.85rem; color: var(--text-secondary); display: block; margin-top: 2px; }

/* DESIGN DA GALERIA DE TRANSFORMAÇÕES */
.gallery-grid a {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: var(--radius-md);
}

.gallery-grid img { transition: transform 0.5s ease; width: 100%; height: 100%; object-fit: cover; }
.gallery-grid a:hover img { transform: scale(1.08); }

/* SISTEMA ACCORDION DE FAQ */
.faq-wrapper { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: var(--transition); }
.faq-question { width: 100%; padding: 20px 25px; text-align: left; background: none; border: none; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.faq-question i { font-size: 0.9rem; transition: transform 0.3s ease; color: var(--accent-color); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); padding: 0 25px; background-color: rgba(0,0,0,0.01); }
.dark-mode .faq-answer { background-color: rgba(255,255,255,0.01); }
.faq-answer p { padding-bottom: 20px; font-size: 1rem; line-height: 1.6; color: var(--text-secondary); }
.faq-item.active { border-color: var(--accent-color); box-shadow: var(--shadow-sm); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 1000px; transition: max-height 0.5s ease-in-out; }

/* CONFIGURAÇÕES DE CAMPOS DO FORMULÁRIO E CONTATO */
.contact-list li { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-weight: 600; font-size: 1.05rem; }
.contact-list i { font-size: 1.4rem; color: var(--accent-color); width: 24px; text-align: center; }
.map-wrapper { overflow: hidden; border: 1px solid var(--border-color); line-height: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; }

.form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15); background-color: var(--bg-primary); }

/* RODAPÉ EM COLUNAS */
.footer { border-top: 1px solid var(--border-color); }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 25px; position: relative; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 0.95rem; color: white; }
.footer-links a:hover { color: var(--accent-color); padding-left: 4px; }
.social-links { display: flex; gap: 12px; }

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222222;
    color: #ffffff;
    border-radius: 50%;
}

.social-links a:hover { background-color: var(--accent-color); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid #222222; padding: 25px 0; margin-top: 45px; font-size: 0.85rem; }

/* COMPONENTES FIXOS FLUTUANTES (WHATSAPP, TOP, COOKIES) */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover { transform: scale(1.08) rotate(8deg); color: #ffffff; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5); }

.back-to-top {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 998;
    transition: var(--transition);
}

.back-to-top:hover { background-color: var(--accent-color); color: #ffffff; border-color: var(--accent-color); transform: translateY(-3px); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 30px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
    z-index: 10000;
}

.cookie-banner p { font-size: 0.9rem; margin-bottom: 0; line-height: 1.5; }

/* ==========================================================================
   MEDIA QUERIES (SISTEMA DE RESPONSIVIDADE RIGOROSA)
   ========================================================================== */
@media (max-width: 991px) {
    main { margin-top: var(--menu-height); }
/*    .hero-section { height: auto; padding: 0rem 0; } */
    .hero-section { height: auto; padding: 0rem 0; }
    .hero-content h1 { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .section-grid { grid-template-columns: 1fr; gap: 40px; }

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

    
    /* UI do Menu de Navegação Mobile */
    .mobile-menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: var(--menu-height);
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        border-bottom: 1px solid var(--border-color);
        padding: 30px 24px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    
    .nav-menu.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-list { flex-direction: column; gap: 24px; text-align: center; }
    
    /* Adaptação Estrutural de Abas Móveis */
    .tabs-nav { flex-direction: column; width: 100%; gap: 10px; }
    .tab-btn { width: 100%; justify-content: center; }
    .tab-pane.active { grid-template-columns: 1fr; gap: 35px; }
    .tab-image { position: relative; top: 0; }
    
    .cookie-banner { flex-direction: column; text-align: center; padding: 20px; gap: 15px; }
    .floating-whatsapp { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.8rem; }
    .back-to-top { bottom: 85px; right: 24px; width: 42px; height: 42px; }
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* Linha pontilhada sob o nome */
  cursor: help; /* Muda o cursor para um ícone de interrogação */
  color: #007bff; /* Deixa o texto azul como um link */
}

.tooltip .tooltip-texto {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 28px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Aparece acima do texto */
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-texto {
  visibility: visible;
  opacity: 1;
}
