/* 
  AIOX_Template_Phase2_Model10
  Theme: Armored / Executive Security
  Colors: Navy Blue, Gunmetal Silver, Pure White
*/

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

:root {
  --color-bg: #FFFFFF;
  --color-surface: #F4F5F7;
  --color-text: #1C2331; /* Deep Navy / Charcoal */
  --color-text-muted: #5C677D;
  
  --color-primary: #0F1C2E; /* Very Dark Navy */
  --color-accent: #8FA1B3; /* Gunmetal / Silver */
  
  --font-display: 'Cinzel', serif;
  --font-body: 'Work Sans', sans-serif;
  
  --shadow-elegant: 0 10px 40px rgba(15, 28, 46, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}

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

/* =========================================
   HEADER
========================================= */
.site-header {
  background: var(--color-primary);
  color: #fff;
  padding: 25px 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.btn-vip {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 10px 25px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s;
}

.btn-vip:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* =========================================
   HERO
========================================= */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1556189250-72ba954cfc2b?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  color: #fff;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 40px;
  font-weight: 300;
}

/* =========================================
   SECURITY SPECS SECTION
========================================= */
.security-section {
  background: var(--color-surface);
  padding: 80px 0;
  border-bottom: 1px solid #E2E8F0;
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.sec-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.sec-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.sec-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* =========================================
   INVENTORY GRID
========================================= */
.inventory-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.card {
  background: #fff;
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--color-surface);
  display: flex;
  flex-direction: column;
}

.card-img {
  height: 350px;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shield-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 8px 15px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.card-body {
  padding: 40px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.spec-list {
  list-style: none;
  margin-bottom: 30px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-surface);
  padding: 10px 0;
  font-size: 0.95rem;
}

.spec-list li span:first-child {
  color: var(--color-text-muted);
}

.spec-list li span:last-child {
  font-weight: 600;
  color: var(--color-primary);
}

.card-price {
  font-size: 1.5rem;
  font-family: var(--font-display);
  margin-bottom: 30px;
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  padding: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.btn-full:hover {
  background: #1a2a42;
  opacity: 1;
}

/* =========================================
   VIP CONTACT
========================================= */
.vip-contact {
  background: var(--color-primary);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.vip-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.vip-desc {
  color: var(--color-accent);
  max-width: 600px;
  margin: 0 auto 40px;
}

.vip-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vip-input {
  padding: 15px;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
}

/* =========================================
   FOOTER (Longer as requested)
========================================= */
.site-footer {
  background: #0A121F;
  color: var(--color-accent);
  padding: 80px 0 30px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-brand p {
  line-height: 1.8;
}

.footer-links h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .sec-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .header-inner { flex-direction: column; gap: 15px; }
  .section-title { font-size: 2rem; }
}



/* =====================================================
   AIOX MOBILE GLOBAL FIX — Prevent horizontal scroll
   ===================================================== */

/* 1. Força contenção total de largura */
html, body, #root {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  width: 100% !important;
}

/* 2. Qualquer imagem não pode sair do container */
img {
  max-width: 100% !important;
  height: auto;
}

@media (max-width: 768px) {

  /* 3. Reset de padding lateral para todas as sections e containers */
  section, header, footer, nav {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 4. Qualquer div filho direto de section que tenha display:flex ou grid vira coluna */
  section > div,
  header > div,
  footer > div {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 5. Remove padding grande de sections inline-styled */
  section[style*="padding"],
  div[style*="padding: 6rem"],
  div[style*="padding: 8rem"],
  div[style*="padding: 10rem"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* 6. Flexbox nav wrapping */
  nav > div,
  nav[style] {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* 7. Grid — força 1 coluna */
  div[style*="grid-template-columns: repeat(4"],
  div[style*="grid-template-columns: repeat(3"],
  div[style*="grid-template-columns: repeat(2"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 8. Split sections flex -> coluna */
  section[style*="display: flex"] {
    flex-direction: column !important;
  }
  section[style*="display: flex"] > div {
    width: 100% !important;
    flex: unset !important;
    min-width: unset !important;
  }

  /* 9. Tipografia responsiva */
  h1, h2 { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; line-height: 1.2 !important; }
  h3 { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; }

  /* 10. Botões full-width */
  a[class*="btn"], button[class*="btn"] {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  /* 11. Altura hero mobile */
  section[style*="min-height: 100vh"],
  section[style*="min-height: 80vh"] {
    min-height: 70vh !important;
  }

  /* 12. Imagens em split sections */
  div[style*="flex: 1"] > img,
  div[style*="flex: 1"] {
    height: 300px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   AIOX MOBILE PROFESSIONAL FIX — Static v3.0
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; }

@media (max-width: 768px) {

  .container, .wrapper, .inner {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    max-width: 100% !important;
  }

  section, .section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    overflow: hidden !important;
  }

  .site-header, header {
    padding: 1rem 1.25rem !important;
  }

  .hero-section, .hero, [class*="hero"] {
    min-height: 65vh !important;
    height: auto !important;
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-title, h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    line-height: 1.15 !important;
  }

  h2, .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }

  h3 { font-size: 1.1rem !important; }
  p { font-size: 0.95rem !important; max-width: 100% !important; }

  .header-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
  }

  /* Ocultar nav links no mobile */
  .nav-links, .header-nav, nav ul { display: none !important; }

  /* Grids */
  .grid, .sec-grid, .fleet-grid, .about-grid, .testi-grid,
  [class*="grid-"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Cards de 2 colunas para mobile */
  .cards-grid, .inventory-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid, .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Split sections */
  .split-section, [class*="split"],
  .about-section > .container,
  .experience-section > .container {
    flex-direction: column !important;
  }

  /* Imagens de seção */
  .card-img, .about-img, [class*="-img"] {
    height: 220px !important;
    width: 100% !important;
  }

  /* Botões */
  .btn, .btn-vip, .btn-full, .btn-primary, .btn-secondary,
  [class*="btn-"], button {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    max-width: 100% !important;
  }

  /* Flex groups de botões */
  .btn-group, .hero-btns, .cta-btns,
  div:has(> .btn) {
    flex-direction: column !important;
    gap: 1rem !important;
  }
}


/* ════════════════════════════════════════════════════════
   AIOX MOBILE FIX v4.0 — Templates Estáticos
   Regra: 20px lateral | 40-60px vertical | sem overflow
   ════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }

@media (max-width: 768px) {

  /* ── Container padrão ── */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
  }

  /* ── Seções: vertical generoso, lateral 20px ── */
  .section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  /* ── Header: mantém flex-row com logo + hamburger ── */
  .site-header {
    padding: 0 20px !important;
  }
  /* NÃO mudar direction do header-inner — o hamburger já está implementado */
  .header-inner {
    padding: 0 !important;
  }

  /* ── Hero: altura adequada, mantém background ── */
  .hero {
    min-height: 70vh !important;
    height: auto !important;
  }
  .hero-content {
    padding: 0 20px !important;
  }
  /* Frame decorativo do vintage — reduz padding para não ficar enorme */
  .hero-frame {
    padding: 1.5rem !important;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
    line-height: 1.1 !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    max-width: 100% !important;
  }
  .hero-ctas, .cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  /* ── About / Split sections ── */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .about-image {
    width: 100% !important;
  }
  .about-image img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
  }
  /* Remove accent decorativo que sai da tela */
  .about-image-accent {
    display: none !important;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* ── Services grid ── */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .service-card {
    padding: 1.5rem !important;
  }

  /* ── Gallery ── */
  .gallery-grid, .gallery-mosaic {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 160px !important;
    gap: 8px !important;
  }
  .gallery-item--large,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* ── Testimonials ── */
  .testimonial-card {
    min-width: 100% !important;
    margin: 0 !important;
  }

  /* ── Contact ── */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 0.5rem !important;
    text-align: center !important;
  }

  /* ── Botões ── */
  .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-ctas .btn {
    min-width: 0 !important;
  }

  /* ── Tipografia ── */
  h2, .section-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }
  h3 {
    font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
  }
  p, .section-desc {
    font-size: 0.95rem !important;
    max-width: 100% !important;
  }

  /* ── Automóveis específico ── */
  .inventory-grid, .fleet-grid, .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .vip-contact, .contact-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ── Aviação específico ── */
  .fleet-card, .aircraft-card {
    width: 100% !important;
  }
  .stats-grid, .numbers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* ── Ornaments: manter mas não deixar criar overflow ── */
  .hero-ornament {
    overflow: hidden !important;
  }
}
