/* ===========================
   Axus Fitness - Catálogo 2025
   Estilo Final (Mobile Optimized)
   =========================== */

:root {
  /* Cores e Variáveis */
  --ax-bg: #050509;
  --ax-bg-alt: #0b0b10;
  --ax-bg-gradient: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #050509 70%);
  
  --ax-primary: #ff2538;
  --ax-primary-dark: #cc1e2c;
  --ax-primary-glow: rgba(255, 37, 56, 0.4);
  
  --ax-text: #ffffff;
  --ax-text-secondary: #cbd5e1;
  --ax-text-muted: #94a3b8;
  
  --ax-border: rgba(255, 255, 255, 0.08);
  --ax-border-hover: rgba(255, 37, 56, 0.5);
  
  --ax-radius: 16px;
  --ax-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
  
  --font-title: "Oswald", sans-serif;
  --font-body: "Poppins", sans-serif;
}

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ax-bg);
  background-image: var(--ax-bg-gradient);
  background-attachment: fixed;
  color: var(--ax-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* CONTAINER */
.ax-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.ax-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 9, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ax-border);
}

.ax-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO */
.ax-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.ax-header-img {
  height: 90px; 
  width: auto;
  /* Efeito para destacar logo escura no fundo preto */
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ax-header-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

/* NAV DESKTOP */
.ax-nav { display: flex; gap: 25px; }
.ax-nav a {
  text-decoration: none;
  color: var(--ax-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ax-nav a:hover { color: var(--ax-primary); }

/* BOTÕES GERAIS */
.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.ax-btn-primary {
  background: linear-gradient(135deg, var(--ax-primary) 0%, var(--ax-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--ax-primary-glow);
}
.ax-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--ax-primary-glow);
}

.ax-btn-ghost {
  background: transparent;
  border-color: var(--ax-border);
  color: var(--ax-text-secondary);
}
.ax-btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* Botão WhatsApp Header (Desktop) */
.ax-btn-desktop {
  margin-left: 15px;
}
.ax-btn-whats {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.ax-btn-whats:hover {
  background: #25d366;
  color: #000;
}

.ax-btn-full { width: 100%; }

/* MENU MOBILE (Botão Hamburguer) */
.ax-menu-toggle {
    display: none; /* Escondido no desktop */
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}
.ax-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: 0.3s;
}
.ax-menu-open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.ax-menu-open span:nth-child(2) { opacity: 0; }
.ax-menu-open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

/* Nav Mobile (Gaveta) */
.ax-nav-mobile {
    display: none;
    background: var(--ax-bg-alt);
    padding: 20px;
    border-bottom: 1px solid var(--ax-border);
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.ax-nav-mobile-open { display: flex; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.ax-nav-mobile a { 
    color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* HERO SECTION */
.ax-hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.ax-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.ax-hero-kicker {
    display: inline-block;
    background: rgba(255, 37, 56, 0.15);
    color: var(--ax-primary);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.ax-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin: 0 0 20px;
    text-transform: uppercase;
}
.ax-hero h1 span { color: var(--ax-primary); }
.ax-hero p {
    font-size: 1.1rem;
    color: var(--ax-text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}
.ax-hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.ax-hero-badges {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--ax-border);
    padding-top: 25px;
}
.ax-badge-label { display: block; font-size: 0.75rem; color: var(--ax-text-muted); text-transform: uppercase; margin-bottom: 4px; }
.ax-hero-badges strong { font-family: var(--font-title); font-size: 1.1rem; letter-spacing: 0.5px; }

/* Hero Media & Glow */
.ax-hero-media { position: relative; display: flex; justify-content: center; }
.ax-hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--ax-primary);
    filter: blur(120px);
    opacity: 0.2;
    z-index: 0;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.ax-hero-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius);
    padding: 10px;
    transform: rotate(-2deg);
    transition: 0.5s;
}
.ax-hero-card:hover { transform: rotate(0) scale(1.02); border-color: var(--ax-primary); }
.ax-hero-cover {
    height: 300px;
    background-color: #222; 
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}
.ax-hero-caption { padding: 15px; text-align: center; }
.ax-hero-caption span { display: block; font-family: var(--font-title); letter-spacing: 3px; font-size: 0.9rem; color: var(--ax-text-muted); }
.ax-hero-caption strong { display: block; font-size: 1.5rem; font-family: var(--font-title); margin: 5px 0; }
.ax-hero-caption small { color: var(--ax-primary); text-transform: uppercase; font-size: 0.75rem; font-weight: 600; }

/* SEÇÕES GERAIS */
.ax-section { padding: 80px 0; }
.ax-section-dark { background: #020204; }
.ax-section-gradient { background: linear-gradient(180deg, var(--ax-bg) 0%, rgba(255, 37, 56, 0.03) 50%, var(--ax-bg) 100%); }

.ax-section-header { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.ax-section-kicker { color: var(--ax-primary); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; font-weight: 600; display: block; margin-bottom: 10px; }
.ax-section-title { font-family: var(--font-title); font-size: 2.5rem; text-transform: uppercase; margin: 0 0 15px; }
.ax-section-subtitle { color: var(--ax-text-muted); font-size: 1.1rem; }
.ax-divider { width: 60px; height: 3px; background: var(--ax-primary); margin: 20px 0; }

/* QUEM SOMOS */
.ax-highlight-text { border-left: 3px solid var(--ax-primary); padding-left: 15px; margin-top: 25px; font-style: italic; color: #fff; font-size: 1.1rem; }
.ax-quemsomos-media { display: flex; gap: 15px; height: 400px; }
.ax-quemsomos-col { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.ax-quemsomos-photo { flex: 1; background: #222; border-radius: 12px; background-size: cover; background-position: center; border: 1px solid var(--ax-border); transition: 0.3s; }
.ax-quemsomos-photo:hover { border-color: var(--ax-primary); filter: brightness(1.1); }

/* CARDS DE EQUIPAMENTOS */
.ax-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ax-feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ax-border);
    padding: 30px 20px;
    border-radius: var(--ax-radius);
    text-align: center;
    transition: 0.4s;
}
.ax-feature-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-5px);
    border-color: var(--ax-primary);
}
.ax-icon-box { font-size: 2rem; color: var(--ax-primary); margin-bottom: 20px; }
.ax-feature-card h3 { font-family: var(--font-title); font-size: 1.2rem; margin-bottom: 10px; text-transform: uppercase; }
.ax-feature-card p { font-size: 0.9rem; color: var(--ax-text-muted); }

/* LINHAS */
.ax-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ax-linhas-grid { row-gap: 40px; }
.ax-linha-card {
    background: #0f0f13;
    border-radius: var(--ax-radius);
    overflow: hidden;
    border: 1px solid var(--ax-border);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}
.ax-linha-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}
.ax-linha-media {
    height: 220px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ax-linha-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, #0f0f13 0%, transparent 80%);
}
.ax-linha-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.ax-linha-label { font-size: 0.7rem; text-transform: uppercase; color: var(--ax-primary); letter-spacing: 1px; font-weight: 700; }
.ax-linha-body h3 { font-family: var(--font-title); font-size: 1.5rem; margin: 5px 0 10px; text-transform: uppercase; }
.ax-linha-text { font-size: 0.9rem; color: var(--ax-text-muted); margin-bottom: 20px; }
.ax-linha-list { list-style: none; padding: 0; margin-top: auto; }
.ax-linha-list li { font-size: 0.85rem; margin-bottom: 8px; color: var(--ax-text-secondary); display: flex; gap: 10px; }
.ax-linha-list li i { color: var(--ax-primary); margin-top: 4px; }

/* CTA BANNER */
.ax-cta-banner {
    background: linear-gradient(90deg, #1a1a2e 0%, #2a2a40 100%);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--ax-border);
    border-bottom: 1px solid var(--ax-border);
    margin: 40px 0;
}
.ax-cta-banner h2 { font-family: var(--font-title); text-transform: uppercase; font-size: 2rem; margin: 0 0 10px; }
.ax-cta-banner p { color: var(--ax-text-secondary); margin-bottom: 25px; font-size: 1.1rem; }

/* CONTATO */
.ax-contact-list { list-style: none; padding: 0; margin-bottom: 30px; }
.ax-contact-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.ax-contact-icon {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ax-primary);
    border: 1px solid var(--ax-border);
}
.ax-contact-list span { font-size: 0.8rem; color: var(--ax-text-muted); text-transform: uppercase; display: block; }
.ax-contact-list strong { font-size: 1.1rem; color: #fff; }

/* Form */
.ax-form {
    background: rgba(255,255,255,0.02);
    padding: 30px;
    border-radius: var(--ax-radius);
    border: 1px solid var(--ax-border);
}
.ax-form-row { display: flex; gap: 15px; }
.ax-form-group { margin-bottom: 15px; width: 100%; }
.ax-form-group label { display: block; font-size: 0.85rem; margin-bottom: 5px; color: var(--ax-text-secondary); }
.ax-form-group input, .ax-form-group select, .ax-form-group textarea {
    width: 100%;
    background: #0b0b10;
    border: 1px solid var(--ax-border);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}
.ax-form-group input:focus, .ax-form-group select:focus, .ax-form-group textarea:focus {
    border-color: var(--ax-primary);
    box-shadow: 0 0 0 3px rgba(255, 37, 56, 0.1);
}

/* Alertas PHP */
.ax-alert {
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ax-alert-success {
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(22, 163, 74, 0.4);
    color: #bbf7d0;
}

/* Footer */
.ax-footer { background: #000; padding: 40px 0; text-align: center; border-top: 1px solid var(--ax-border); }
.ax-footer-brand { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: 2px; color: #fff; margin-bottom: 10px; }
.ax-footer p { color: var(--ax-text-muted); font-size: 0.85rem; margin: 0; }
.ax-footer-sub { margin-top: 5px; opacity: 0.6; }

/* Botão Flutuante WhatsApp */
.floating-wpp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}
.floating-wpp:hover { transform: scale(1.1); background-color: #1ebc57; }

/* ANIMAÇÕES (Scroll Reveal) */
.js-scroll { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.js-scroll.scrolled { opacity: 1; transform: translate(0, 0); }

.fade-up { transform: translateY(40px); }
.fade-right { transform: translateX(-40px); }
.fade-left { transform: translateX(40px); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }


/* =========================================
   RESPONSIVIDADE (MOBILE / TABLET)
   ========================================= */

/* Tablet (até 900px) */
@media (max-width: 900px) {
    /* Esconde nav desktop e mostra botão menu */
    .ax-nav, .ax-btn-desktop { display: none; }
    .ax-menu-toggle { display: flex; }
    
    /* Hero centralizado */
    .ax-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .ax-hero h1 { font-size: 3rem; }
    .ax-hero p { margin-left: auto; margin-right: auto; }
    .ax-hero-actions { justify-content: center; }
    .ax-hero-badges { justify-content: center; }
    
    /* Grids viram 2 colunas no tablet */
    .ax-grid-4 { grid-template-columns: 1fr 1fr; }
    
    /* Ajuste da logo no tablet/mobile */
    .ax-header-img { height: 45px; }
}

/* Mobile (até 650px) */
@media (max-width: 650px) {
    /* Container com menos padding */
    .ax-container { padding: 0 18px; }
    
    /* Seções mais compactas */
    .ax-section { padding: 50px 0; }
    .ax-section-title { font-size: 2rem; }
    
    /* Hero Adjust */
    .ax-hero h1 { font-size: 2.2rem; }
    .ax-hero-card { transform: rotate(0); margin: 0 auto; max-width: 100%; } /* Tira a rotação no mobile */
    .ax-hero-cover { height: 240px; }
    
    /* Grids viram 1 coluna (pilha) */
    .ax-grid-2, .ax-grid-4 { grid-template-columns: 1fr; }
    
    /* Quem Somos - Empilha as fotos */
    .ax-quemsomos-media { flex-direction: column; height: auto; gap: 10px; }
    .ax-quemsomos-photo { height: 200px; width: 100%; }
    
    /* Formulário - Inputs em linha */
    .ax-form-row { flex-direction: column; gap: 0; }
    
    /* Linhas Cards */
    .ax-linha-card { margin-bottom: 0; }
    .ax-linha-media { height: 180px; }
    
    /* Footer */
    .ax-footer { padding: 30px 0; }
}