/* ═══════════════════════════════════════════════════════════════════════════════
   ARMANDO ANDAIMES — LANDING PAGE STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────────────────────────────── */
:root {
  --bg-primary:    #111111;
  --bg-secondary:  #111111;
  --bg-card:       #1e1e1e;
  --accent:        #f5a623;
  --accent-dark:   #d4891a;
  --accent-light:  #f7b84e;
  --text-primary:  #ffffff;
  --text-secondary:#aaaaaa;
  --border-subtle: rgba(255,255,255,0.06);
  --border-accent: rgba(245,166,35,0.4);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.55);
  --shadow-accent: 0 0 40px rgba(245,166,35,0.15);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    0.25s ease;
  --font-head:     'Barlow Condensed', Impact, sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --nav-h:         72px;
}

/* ── RESET & BASE ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
.text-accent { color: var(--accent); }

/* ── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  user-select: none;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: scale(1.03);
  box-shadow: 0 6px 28px rgba(245,166,35,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #111;
  transform: scale(1.03);
}

.btn-outline-amber {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline-amber:hover {
  background: var(--accent);
  color: #111;
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--text-primary);
  transform: scale(1.03);
  background: rgba(255,255,255,0.06);
}

.btn-lg  { padding: 14px 28px; font-size: 1rem; }
.btn-xl  { padding: 16px 36px; font-size: 1.1rem; }

/* ── NAVBAR ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(26,26,26,0.6);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.logo-sub {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.nav-logo-img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--text-primary); }
.nav-link.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Desktop: nav-collapse is just a transparent flex container */
.nav-collapse {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  min-width: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SECTION SHARED ─────────────────────────────────────────────────────────── */
.section { padding: 100px 0; }

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

.section-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.section-reversed { direction: rtl; }
.section-reversed > * { direction: ltr; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label.centered { text-align: center; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.section-title.centered { text-align: center; }

.section-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.section-text.centered { text-align: center; max-width: 560px; margin: 0 auto 32px; }
.section-text strong { color: var(--text-primary); font-weight: 600; }

/* ── HERO ────────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Background radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: -5%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at 20% 50%, rgba(245,166,35,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-content { display: flex; flex-direction: column; gap: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  width: fit-content;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.6s ease both;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  animation: fadeSlideDown 0.7s ease 0.1s both;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeSlideDown 0.7s ease 0.2s both;
}
.hero-sub strong { color: var(--text-primary); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeSlideDown 0.7s ease 0.3s both;
}

.hero-credentials {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.7s ease 0.4s both;
}
.credential {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.credential-icon { font-size: 1rem; }

/* Hero image */
.hero-image-wrap {
  position: relative;
  animation: fadeSlideUp 0.8s ease 0.2s both;
}
.hero-image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.12) 0%, transparent 70%);
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,166,35,0.12);
  transition: transform 0.1s ease-out;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-dot {
  width: 6px; height: 20px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  position: relative;
}
.scroll-dot::before {
  content: '';
  position: absolute;
  top: 3px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 4px;
  background: var(--accent);
  border-radius: 1px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ── ANDAIMES SECTION ─────────────────────────────────────────────────────── */
.andaimes-section { background: var(--bg-secondary); }

.andaimes-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.andaime-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  cursor: default;
}
.andaime-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.andaime-card-icon {
  width: 48px; height: 48px;
  background: rgba(245,166,35,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.andaime-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.andaime-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── SOBRE NÓS ──────────────────────────────────────────────────────────────── */
.sobre-section { background: var(--bg-primary); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.check-list li::before {
  content: '✔';
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Metrics grid */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
  cursor: default;
}
.metric-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.metric-card:focus-visible { outline: 2px solid var(--accent); }
.metric-icon {
  width: 44px; height: 44px;
  background: rgba(245,166,35,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.metric-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── FERRAMENTAS ─────────────────────────────────────────────────────────────── */
.ferramentas-section { background: var(--bg-secondary); }

.ferramentas-img-wrap { position: relative; }
.tools-glow {
  position: absolute;
  inset: -24px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.1) 0%, transparent 70%);
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.tools-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(245,166,35,0.1);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 0;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}
.bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.bullet-list li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 0;
}

/* ── CONTATO ─────────────────────────────────────────────────────────────────── */
.contato-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.contato-section::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contato-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
  width: 100%;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all var(--transition);
}
a.contact-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.contact-card-icon {
  width: 48px; height: 48px;
  background: rgba(245,166,35,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.contact-card-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
  overflow-wrap: break-word;
}

.btn-whatsapp-main {
  margin-top: 8px;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  height: 24px;
  width: auto;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: right;
  line-height: 1.5;
}

/* Floating WhatsApp button */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  color: white;
  transition: all var(--transition);
  animation: fabPulse 3s ease-in-out infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
  animation: none;
}

/* ── ANIMATIONS ──────────────────────────────────────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60%       { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,0.7); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── OVERLAY DESKTOP HIDING ──────────────────────────────────────────────────── */
.mobile-overlay { display: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 110px; }

  /* ── NAVBAR MOBILE ────────────────────────────────────────────────────────── */

  /* Hamburger visible */
  .hamburger { display: flex; margin: 0 auto; }

  /* nav-container: stacked logo and button */
  .nav-container {
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
  
  .nav-logo-img {
    height: 34px;
  }

  /* Hide desktop collapse on mobile */
  .nav-collapse { display: none; }

  /* ── MOBILE OVERLAY MENU ──────────────────────────────────────────────────── */
  .mobile-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Header inside overlay: Logo top-left, Close btn top-right */
  .overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
  }
  .overlay-logo-img {
    height: 32px;
    width: auto;
  }
  .overlay-close {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
  }
  .overlay-close:hover { color: var(--accent); }

  /* Navigation Links */
  .overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto; /* Pushes actions to the bottom */
  }
  .overlay-nav-link {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    transition: color 0.25s ease;
  }
  .overlay-nav-link:hover, .overlay-nav-link:active {
    color: var(--accent);
  }

  /* Action Buttons */
  .overlay-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
  }
  .overlay-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── HERO ─────────────────────────────────────────────────────────────────── */
  .hero-container {
    grid-template-columns: 1fr;
    padding: 48px 24px 64px;
    gap: 40px;
  }
  .hero-image { height: 280px; }
  .hero-credentials { gap: 16px; }

  /* ── SECTIONS ──────────────────────────────────────────────────────────────── */
  .section { padding: 64px 0; }
  .section-two-col { grid-template-columns: 1fr; gap: 40px; }
  .section-reversed { direction: ltr; }

  /* ── CARDS ─────────────────────────────────────────────────────────────────── */
  .metrics-grid      { grid-template-columns: 1fr 1fr; }
  .andaimes-card-grid{ grid-template-columns: 1fr 1fr; }
  .contact-cards     { grid-template-columns: 1fr 1fr; }

  /* ── FOOTER ─────────────────────────────────────────────────────────────────── */
  .footer-container { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .andaimes-card-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-credentials { flex-direction: column; gap: 10px; }
}
