/* ============================================
   CNH Brasil - Estilos Completos
   Design: Minimalismo Moderno com Foco em Ação
   Paleta: Azul (#1B4B7E), Amarelo (#FFD700), Branco (#FFFFFF)
   ============================================ */

/* Reset e Estilos Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #FFFFFF;
  color: #001F3F;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
  color: #666666;
}

a {
  color: #1B4B7E;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FFD700;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   HEADER
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  margin-top: 10px;
  
  
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #1B4B7E, #001F3F);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #001F3F;
}

.btn-header {
  padding: 0.5rem 1.5rem;
  background-color: #FFD700;
  color: #001F3F;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-header:hover {
  background-color: #FFC700;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #1B4B7E 0%, #2E5FA3 50%, #001F3F 100%);
  color: #FFFFFF;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #FFD700, #FFC700, transparent);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  animation: fadeInLeft 0.7s ease-out;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-content h2 {
    font-size: 3rem;
  }
}

.hero-content h2 .highlight {
  color: #FFD700;
}

.hero-content p {
  color: #B3D9FF;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  white-space: normal;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  space: 1rem;
  white-space: normal;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #E8F0FF;
}

.features-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #FFD700;
  color: #001F3F;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: #FFD700;
  color: #001F3F;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background-color: #FFC700;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: scale(0.98);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  animation: fadeInRight 0.7s ease-out 0.2s both;
  float: left; margin-left:-40px 
}

@media (min-width: 768px) {
  .hero-visual {
    height: 400px;
  }
}

.phone-icon {
  width: 150px;
  height: 150px;
  border: 8px solid #FFD700;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .phone-icon {
    width: 200px;
    height: 200px;
  }
}

.phone-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #FFD700;
  border-radius: 50%;
  position: absolute;
  bottom: 20px;
}

.hero-visual-text {
  text-align: center;
  color: #B3D9FF;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */

.download-section {
  padding: 5rem 1rem;
  background-color: #F5F5F5;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h3 {
  color: #001F3F;
  margin-bottom: 1rem;
}

.section-header p {
  color: #666666;
  font-size: 1.1rem;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.download-card {
  background-color: #FFFFFF;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #E5E5E5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #1B4B7E;
  transform: translateY(-12px);
}

.download-card-logo {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #F5F5F5, #E8E8E8);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.download-card-logo img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.download-card h4 {
  color: #001F3F;
  margin-bottom: 1rem;
}

.download-card p {
  color: #666666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-download {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #1B4B7E, #2E5FA3);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 75, 126, 0.3);
  width: 100%;
}

.btn-download:hover {
  background: linear-gradient(135deg, #FFD700, #FFC700);
  color: #001F3F;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-section {
  padding: 5rem 1rem;
  background-color: #FFFFFF;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background-color: #F5F5F5;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid #E5E5E5;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  color: #001F3F;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, #1B4B7E 0%, #2E5FA3 50%, #001F3F 100%);
  color: #FFFFFF;
  padding: 4rem 1rem;
  text-align: center;
}

.cta-section h3 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: #B3D9FF;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta {
  padding: 0.75rem 2rem;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  font-size: 1rem;
}

.btn-cta-primary {
  background-color: #FFD700;
  color: #001F3F;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-cta-primary:hover {
  background-color: #FFC700;
  transform: scale(1.05);
}

.btn-cta-secondary {
  background-color: #FFFFFF;
  color: #001F3F;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
  background-color: #F5F5F5;
  transform: scale(1.05);
}

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

footer {
  background-color: #001F3F;
  color: #B3D9FF;
  padding: 3rem 1rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #B3D9FF;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #FFD700;
}

.footer-section p {
  color: #B3D9FF;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #8BA8C8;
  font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero-content h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .download-section,
  .benefits-section {
    padding: 3rem 1rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  .download-card {
    padding: 1.5rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .btn-primary,
  .btn-download,
  .btn-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  header .container {
    padding: 0.75rem 1rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .btn-header {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

/* Print Styles */
@media print {
  header,
  .cta-section,
  footer {
    display: none;
  }
}
