/* ========================================
   STYLE.CSS — Especialista Marketing Digital
   Responsividade + Animações + Mobile
   ======================================== */

/* IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ROOT VARIABLES */
:root {
  --navy: #0A1628;
  --navy-alt: #0D1F38;
  --navy-deep: #111827;
  --orange: #E87722;
  --orange-light: #F09340;
  --blue: #1E90FF;
  --blue-dim: #1565C0;
  --white: #FFFFFF;
  --gray-light: #A0AABB;
  --gray-mid: #6B7280;
  --gray-dark: #374151;
  --success: #10B981;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* APLICAÇÕES DE ANIMAÇÃO */
section {
  animation: fadeInUp 0.8s ease-out both;
}

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }

/* CARDS E ELEMENTOS */
div[style*="background: #0D1F38"] {
  transition: all 0.3s ease;
}

div[style*="background: #0D1F38"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(232, 119, 34, 0.15);
  border-color: rgba(232, 119, 34, 0.3);
}

/* BUTTONS */
a[href*="wa.me"],
a[style*="background: #25D366"] {
  transition: all 0.25s ease;
}

a[href*="wa.me"]:hover,
a[style*="background: #25D366"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

a[style*="background: transparent"]:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ACCORDION */
.accordion-button {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: var(--navy-alt);
  color: var(--orange);
  box-shadow: none;
  border-color: rgba(232, 119, 34, 0.2);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(232, 119, 34, 0.3);
}

.accordion-button i.bi {
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) i.bi {
  transform: rotate(45deg);
  color: var(--orange);
}

.accordion-button:not(.collapsed) .accordion-icon::before {
  content: "\f2ea"; /* bi-dash-circle */
}

/* REDUÇÃO DE MOVIMENTO */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* PRINTS */
@media print {
  nav,
  footer,
  section:last-child {
    display: none;
  }
  
  body {
    background: white;
    color: #333;
  }
}

/* MOBILE RESPONSIVIDADE — 768PX BREAKPOINT */
@media (max-width: 768px) {
  :root {
    --scale: 0.65;
  }
  
  /* Hero Layout */
  section:first-of-type {
    min-height: auto;
    padding: 64px 0;
  }
  
  div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Foto dimensões */
  img[alt*="Jordan"] {
    max-width: 280px !important;
    margin: 0 auto;
  }
  
  /* Elemento decorativo — escala */
  div[style*="position: absolute; bottom: 40px"] {
    scale: 0.8;
    right: -30px !important;
  }
  
  /* Texto responsivo */
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.2rem !important;
  }
  
  p {
    font-size: 0.95rem !important;
  }
  
  /* Buttons — stack vertical */
  div[style*="display: flex; gap: 16px; flex-wrap: wrap"] {
    flex-direction: column;
  }
  
  a[href*="wa.me"],
  a[style*="background: transparent"] {
    width: 100%;
    text-align: center;
  }
  
  /* Cards — 1 coluna */
  div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Padding reduzido */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  section {
    padding: 64px 0 !important;
  }
  
  /* FAQ — espaçamento */
  .accordion-button {
    padding: 16px !important;
    font-size: 0.9rem !important;
  }
  
  .accordion-body {
    padding: 16px !important;
    font-size: 0.9rem !important;
  }
  
  /* Stats inline — stack */
  div[style*="display: flex; gap: 32px"] {
    flex-direction: column;
    gap: 16px !important;
  }
  
  /* Badges localização */
  span[style*="background: rgba(30, 144, 255"] {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
  }
  
  /* SVG map — hide no mobile */
  svg[viewBox="0 0 200 250"] {
    display: none;
  }
}

/* EXTRA SMALL — 480PX ABAIXO */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.2rem !important;
  }
  
  p {
    font-size: 0.9rem !important;
  }
  
  div[style*="display: grid; grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  section {
    padding: 48px 0 !important;
  }
  
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  img[alt*="Jordan"] {
    max-width: 200px !important;
  }
  
  div[style*="position: absolute; bottom: 40px"] {
    display: none;
  }
}

/* TABLET — 768PX A 1024PX */
@media (min-width: 768px) and (max-width: 1024px) {
  div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  section {
    padding: 80px 0;
  }
}

/* DESKTOP — ACIMA DE 1024PX */
@media (min-width: 1024px) {
  /* Hover effects only on desktop */
  div[style*="background: #0D1F38"] {
    cursor: pointer;
  }
  
  a[href*="wa.me"]:active {
    transform: translateY(0);
  }
}

/* ACCESSIBILITY */
button:focus,
a:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* DARK MODE (se necessário implementar) */
@media (prefers-color-scheme: dark) {
  /* Já em dark mode por padrão, então sem mudanças necessárias */
}

/* CONTRAST IMPROVEMENT */
@media (prefers-contrast: more) {
  div[style*="border: 1px solid rgba(255, 255, 255, 0.07)"] {
    border-color: rgba(255, 255, 255, 0.15) !important;
  }
  
  .accordion-button {
    border-bottom: 2px solid rgba(232, 119, 34, 0.3);
  }
}
