/* ============================================
   JC Areia - Transportes
   Estilos CSS Puros para Apache
   ============================================ */

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

:root {
  --primary-blue: #0F3A7D;
  --bright-blue: #0066FF;
  --green-whatsapp: #25D366;
  --green-hover: #1da851;
  --gray-light: #F3F4F6;
  --gray-medium: #6B7280;
  --gray-dark: #1F2937;
  --white: #FFFFFF;
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--gray-light);
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */

.container-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card-wrapper {
  width: 100%;
  max-width: 1200px;
  background-color: var(--white);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  transition: box-shadow 0.3s ease;
}

.card-wrapper:hover {
  box-shadow: var(--shadow-hover);
}

/* ============================================
   LADO ESQUERDO - IMAGEM
   ============================================ */

.image-section {
  position: relative;
  overflow: hidden;
  background-color: #E5E7EB;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.05), transparent);
  pointer-events: none;
}

/* ============================================
   LADO DIREITO - CONTEÚDO
   ============================================ */

.content-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
}

/* Cabeçalho */
.header {
  space-y: 1.5rem;
}

.logo-text {
  margin-bottom: 0.5rem;
}

.logo-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--gray-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.logo-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--bright-blue);
  line-height: 1;
}

.accent-line {
  width: 4rem;
  height: 0.25rem;
  background-color: var(--bright-blue);
  border-radius: 9999px;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Descrição */
.description {
  margin-bottom: 2rem;
}

.description p {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.description strong {
  font-weight: 600;
  color: var(--gray-dark);
}

/* Diferenciais */
.features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--bright-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.feature-text {
  font-size: 1rem;
  color: var(--gray-dark);
}

.feature-text strong {
  font-weight: 600;
  color: var(--gray-dark);
}

/* CTA e Contato */
.cta-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  background-color: var(--green-whatsapp);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--green-hover);
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
  transform: scale(0.95);
}

.btn-whatsapp svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.btn-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-whatsapp:hover .btn-arrow {
  transform: translateX(0.25rem);
}

.contact-info {
  text-align: center;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--gray-medium);
}

.contact-info strong {
  font-weight: 600;
  color: var(--gray-dark);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--gray-medium);
  background-color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--gray-light);
}

/* ============================================
   RESPONSIVIDADE - TABLET
   ============================================ */

@media (max-width: 1024px) {
  .card-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .image-section {
    display: none;
  }

  .content-section {
    padding: 2.5rem;
  }

  .logo-text h1 {
    font-size: 2.5rem;
  }

  .logo-text h2 {
    font-size: 2rem;
  }
}

/* ============================================
   RESPONSIVIDADE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .container-main {
    padding: 1rem;
    padding-bottom: 8rem;
  }

  .card-wrapper {
    border-radius: 1.5rem;
    min-height: auto;
  }

  .content-section {
    padding: 1.5rem;
  }

  .logo-text h1 {
    font-size: 2rem;
  }

  .logo-text h2 {
    font-size: 1.5rem;
  }

  .description p {
    font-size: 0.95rem;
  }

  .btn-whatsapp {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.7rem;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container-main {
    padding: 0.75rem;
    padding-bottom: 7rem;
  }

  .card-wrapper {
    border-radius: 1rem;
  }

  .content-section {
    padding: 1.25rem;
  }

  .logo-text h1 {
    font-size: 1.75rem;
  }

  .logo-text h2 {
    font-size: 1.25rem;
  }

  .accent-line {
    width: 3rem;
  }

  .description p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .features {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .feature-item {
    gap: 0.5rem;
  }

  .feature-text {
    font-size: 0.9rem;
  }

  .btn-whatsapp {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .btn-whatsapp svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  animation: fadeIn 0.6s ease-out;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  body {
    background-color: var(--white);
  }

  .card-wrapper {
    box-shadow: none;
    border: 1px solid var(--gray-light);
  }

  .btn-whatsapp {
    border: 2px solid var(--green-whatsapp);
    color: var(--green-whatsapp);
    background-color: transparent;
  }

  footer {
    position: static;
    border: none;
  }
}
