/* 
  AIOX_Template_Premium_2
  Theme: Minimalist / Quiet Luxury
  Colors: White, Titanium Gray, Deep Charcoal
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@200;300;400;500&display=swap');

:root {
  --color-bg: #FFFFFF;
  --color-surface: #F8F9FA;
  --color-text: #1A1A1A;
  --color-text-muted: #737373;
  --color-border: #E5E5E5;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.6;
}

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

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

/* =========================================
   HEADER
========================================= */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 40px 0;
  z-index: 100;
}

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

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

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

/* =========================================
   HERO
========================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
  padding: 60px 80px;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.btn-minimal {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-minimal:hover {
  background: var(--color-text);
  color: var(--color-bg);
  opacity: 1;
}

/* =========================================
   COLLECTION GRID
========================================= */
.section-padding {
  padding: 150px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 100px;
}

.collection-grid {
  display: flex;
  flex-direction: column;
  gap: 150px;
}

.collection-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.collection-item:nth-child(even) {
  direction: rtl;
}

.collection-item:nth-child(even) .item-info {
  direction: ltr;
}

.item-img-wrap {
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--color-surface);
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-item:hover .item-img-wrap img {
  transform: scale(1.05);
}

.item-info {
  max-width: 450px;
}

.item-brand {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  margin-bottom: 15px;
}

.item-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.2;
}

.item-specs {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.item-price {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 40px;
}

.link-minimal {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 5px;
  display: inline-block;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 80px 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 40px;
}

.footer-links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.copyright {
  font-size: 0.8rem;
  color: var(--color-border);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .collection-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .collection-item:nth-child(even) {
    direction: ltr;
  }
  .item-img-wrap {
    height: 400px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-content {
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .section-padding { padding: 80px 0; }
  .item-img-wrap { height: 300px; }
  .collection-grid { gap: 80px; }
  .hero-title { font-size: 2.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;
  }
}
