/* Reset e estilos base */
@font-face {
  font-family: 'Square721 BT Roman';
  src: url('../public/fonts/Square721BTRoman.woff2') format('woff2'),
       url('../public/fonts/Square721BTRoman.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #1484CD;
  --secondary-color: #0a4d7a;
  --text-color: #333;
  --white: #fff;
  --black: #000;
  --gray: #f5f5f5;
  --font-primary: 'Square721 BT Roman', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  padding-top: 0;
  margin: 0;
  width: 100%;
}

/* Header + Hero Section Unificada */
.header-hero-section {
  position: relative;
  height: auto;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background-image: url('../public/images/bg-header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 0;
  padding-bottom: 4rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* Header */
.header {
  background-color: transparent;
  padding: 1rem 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: none;
}

/* Header quando em scroll */
.header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  padding: 0.8rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 8rem;
}

.logo img {
  max-width: 300px;
  width: 100%;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.cta-button::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -2px;
  width: 98%;
  height: 98%;
  background: transparent;
  border-right: 3px solid rgba(255, 255, 255, 0.8);
  border-bottom: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  pointer-events: none;
}

.cta-button:hover {
  transform: scale(1.05);
  background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: auto;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--black);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-content {
  max-width: 12000px;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--white);
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  margin-top: 6rem;
  font-weight: 900;
  text-transform: uppercase;
  animation: fadeInDown 1s ease;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Vídeo adicional na seção hero */
.hero-video-container {
  max-width: 1200px;
  width: 95%;
  height: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-video-container iframe {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: unset !important;
}

.hero-content-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-content-video:hover {
  transform: scale(1.02);
}

/* Main Content */
.main-content {
  background: linear-gradient(135deg, var(--white) 50%, #f5f5f5 50%);
  padding: 6rem 0 4rem 0;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.text-content {
  padding-right: 0;
  color: #5a595f;
  font-weight: 300;
}

.text-content h2 {
  font-size: 2.5rem;
  color: #1484CD;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.text-content .bluevix {
  color: #1484CD;
  font-weight: bold;
  font-weight: 900;
}

.text-content p {
  font-size: 1.2rem;
  color: #5a595f;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 300;
}

.form-container {
    background: var(--white);
    border-radius: 3px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.form-container h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 700;
}

.revendedor-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input::placeholder {
    color: #999;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    padding: 0.5rem;
}

.radio-group p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.radio-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
}

.radio-options input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-button::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -2px;
    width: 98%;
    height: 98%;
    background: transparent;
    border-right: 3px solid rgba(255, 255, 255, 0.3);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    pointer-events: none;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 132, 205, 0.4);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-button:disabled::after {
    display: none;
}

/* Form validation styles */
.form-group input.invalid,
.form-group select.invalid {
    border-color: #e74c3c;
}

.form-group input.valid,
.form-group select.valid {
    border-color: #27ae60;
}

/* Success message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: 600;
}

/* Error message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
    text-align: center;
    font-weight: 600;
}

/* Loading state */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-container {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .submit-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 0.8rem;
    }
    
    .form-container h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .revendedor-form {
        gap: 0.8rem;
    }
}

/* Carrossel de Produtos */
.produtos-swiper {
  width: 100%;
  padding: 2rem 0 3rem 0;
  position: relative;
}

.produtos-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Parceria Section */
.parceria-section {
  padding: 6rem 0;
  background: #1484CD;
  color: var(--white);
}

.video-container {
  width: 1140px;
  height: 641px;
  margin: 0 auto 2rem;
  position: relative;
}

.video-container iframe {
  width: 1140px;
  height: 641px;
  border-radius: 0px;
}

/* Ajuste responsivo para o vídeo */
@media (max-width: 1200px) {
  .video-container {
    width: 100%;
    height: auto;
    padding-bottom: 56.25%;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.parceria-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.parceria-container h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 200;
  font-family: var(--font-primary);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.beneficio-item {
  background: transparent;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: none;
}

.beneficio-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.beneficio-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}

.beneficio-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
  font-weight: 200;
}

/* Quem Somos Section */
.quem-somos-section {
  padding: 6rem 0;
  background: var(--white);
}

.quem-somos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  grid-template-columns: 1fr;
}

.quem-somos-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.quem-somos-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: lighter;
}

.quem-somos-content p {
  font-size: 0.95rem;
  color: #7a7a7a;
  margin-bottom: 2rem;
}

.quem-somos-image {
  position: relative;
}

.quem-somos-image img {
  width: 100%;
  border-radius: 0px;
  position: relative;
  display: block;
}

.quem-somos-image::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 99%;
  height: 99%;
  background: transparent;
  border-right: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
  border-radius: 0px;
  pointer-events: none;
}

.produtos-section {
  text-align: center;
}

.produtos-section h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: lighter;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  justify-items: center;
}

.produto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.produto-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.produto-item h4 {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

/* CTA Final */
.cta-final {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-container h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 1rem 0;
  background: var(--primary-color);
  color: var(--white);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content {
  text-align: left;
}

.footer-logo img {
  height: 30px;
}

/* Animações */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsividade */
@media (max-width: 1200px) {
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .quem-somos-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .produtos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .form-container {
    margin: 0 auto;
  }
  
  .logo img {
    max-width: 180px;
  }
  
  .hero-video-container {
    max-width: 900px;
    width: 95%;
    height: 300px;
  }
  
  .main-content {
    padding: 6rem 0 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    margin-top: 8rem;
  }
  
  .header-hero-section {
    min-height: 50vh;
  }
  
  .header {
    padding: 0.8rem 0;
  }
  
  .header.scrolled {
    padding: 0.6rem 0;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
  }
  
  .header-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
  }
  
  .logo img {
    max-width: 150px;
  }
  
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hero-video-container {
    max-width: 95%;
    width: 95%;
    height: 400px;
  }
  
  .main-content {
    margin-top: -60px;
    padding: 6rem 0 4rem 0;
  }
  
  .hero-content {
    padding: 2rem 1rem 0;
  }
  
  .parceria-container {
    padding: 0 1rem;
  }
  
  .quem-somos-container {
    padding: 0 1rem;
  }
}

@media (max-width: 400px) {
  .main-content {
    margin-top: -70px;
    padding: 5rem 0 4rem 0;
  }
}

@media (max-height: 880px) {
  .main-content {
    margin-top: -80px;
    padding: 5rem 0 4rem 0;
  }

 .hero-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 6rem;
  font-weight: 800;
  text-transform: uppercase;
  animation: fadeInDown 1s ease;
 }

 .hero-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.3s;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
}

@media (min-width: 540px) and (max-width: 545px) {
  .main-content {
    margin-top: -60px;
    padding: 5rem 0 4rem 0;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 2rem;
    margin-top: 6rem;
  }

  .text-content {
    margin-top: 120px;
    padding-right: 0;
    color: #5a595f;
    font-size: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    padding: 0 1rem;
    font-weight: 300;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .header-hero-section {
    min-height: 45vh;
  }
  
  .header {
    padding: 0.6rem 0;
  }
  
  .header.scrolled {
    padding: 0.4rem 0;
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  .radio-options {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo img {
    max-width: 110px;
  }
  
  .hero-video-container {
    max-width: 95%;
    width: 95%;
    height: 300px;
  }
  
  .main-content {
    margin-top: -80px;
    padding: 5rem 0 4rem 0;
  }
  
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .parceria-container {
    padding: 0 1rem;
  }
  
  .quem-somos-container {
    padding: 0 1rem;
  }
  
  .revendedor-content {
    padding: 0 1rem;
  }
}

/* Seção Revendedor */
.revendedor-section {
  padding: 8rem 0;
  background-image: url('../public/images/curvespace.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  text-align: center;
  color: var(--white);
}

.revendedor-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(20, 132, 205, 0.3), rgba(20, 132, 205, 0.4));
  z-index: 1;
}

.revendedor-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.revendedor-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 200;
  line-height: 1.2;
}

.revendedor-content .bluecase {
  font-size: 4rem;
  font-weight: 700;
  display: block;
  margin-top: 0.5rem;
}

.quero-revender {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.quero-revender:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .revendedor-content h2 {
    font-size: 2.5rem;
  }
  
  .revendedor-content .bluecase {
    font-size: 3rem;
  }
  
  .quero-revender {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* Media query para resoluções 4K e maiores */
@media (min-width: 2560px) {
  .hero-title {
    margin-top: 12rem;
    font-size: 4rem;
  }
  
  .hero-description {
    font-size: 1.5rem;
    max-width: 1200px;
  }
  
  .hero-content {
    padding-top: 4rem;
  }
  
  .header-container {
    padding: 0 12rem;
  }
}

 