/* Home Page - Estilos específicos da página inicial */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../img/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -120px;
  padding-top: 120px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 51, 87, 0.8), rgba(81, 131, 75, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  color: var(--secondary);
}

/* Floating Quote Form */
.floating-quote {
  position: fixed;
  right: 1.25rem;
  bottom: 6rem;
  width: min(360px, calc(100vw - 2rem));
  z-index: 999;
  color: var(--text);
}

.floating-quote-panel {
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(20, 51, 87, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(20, 51, 87, 0.24);
}

.floating-quote-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.floating-quote-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-quote-header h2 {
  margin: 0 0 0.25rem;
  color: white;
  font-size: 1.1rem;
  line-height: 1.2;
}

.floating-quote-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.4;
}

.floating-quote-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-quote-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.floating-quote-form {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem 1rem;
}

.floating-quote-field {
  display: grid;
  gap: 0.28rem;
}

.floating-quote-field label {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.floating-quote-field input {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-quote-field input::placeholder {
  color: #8a93a3;
}

.floating-quote-field input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(252, 205, 66, 0.28);
}

.floating-quote-submit,
.floating-quote-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-quote-submit {
  margin-top: 0.15rem;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 10px 18px rgba(252, 205, 66, 0.25);
}

.floating-quote-submit:hover {
  background: #fdd835;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(252, 205, 66, 0.32);
}

.floating-quote-submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.floating-quote-trigger {
  display: none;
  padding: 0.85rem 1rem;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 16px 30px rgba(20, 51, 87, 0.25);
}

.floating-quote-trigger:hover {
  background: #fdd835;
  transform: translateY(-1px);
}

.floating-quote-trigger-icon {
  display: inline-flex;
}

.floating-quote.is-collapsed .floating-quote-panel {
  display: none;
}

.floating-quote.is-collapsed .floating-quote-trigger {
  display: inline-flex;
}

@media (max-width: 768px) {
  .floating-quote {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 5rem;
    width: auto;
  }

  .floating-quote-panel {
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
  }

  .floating-quote-header {
    padding: 0.9rem;
  }

  .floating-quote-form {
    gap: 0.6rem;
    padding: 0.8rem 0.9rem 0.9rem;
  }

  .floating-quote-field input {
    min-height: 44px;
    font-size: 1rem;
  }
}

/* Features Grid */
.features {
  background-color: rgba(248, 250, 252, 0.5);
  position: relative;
  z-index: 1;
}

.feature-card {
  text-align: center;
  border: none;
  background-color: white;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(20, 51, 87, 0.9) 100%);
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.about-section .stat {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.about-section .stat-number {
  color: var(--secondary);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-section .stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  
  .about-content {
    text-align: center;
  }
  
  .about-image {
    margin-top: 2rem;
  }
  
  .about-stats {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  column-gap: 6rem;
  align-items: start;
}

.contact-info {
  padding-right: 2rem;
}

.contact-form {
  padding-left: 2rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info {
    padding-right: 0;
  }
  
  .contact-form {
    padding-left: 0;
  }
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.contact-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-section .contact-card p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-section .contact-card h4 {
  color: white;
}

/* Contact Form */
.contact-form {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.contact-form .card-content {
  padding: 2rem;
  background-color: transparent;
  color: white;
}

.contact-form .card-content h3 {
  color: white;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select option {
  background-color: var(--primary);
  color: white;
}

.form-submit {
  width: 100%;
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}

.form-submit:hover {
  background-color: #fdd835;
  transform: translateY(-2px);
}

/* Company Stats */
.stats-section {
  padding: 4rem 0;
  background-color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Testimonials */
.testimonials-section {
  background-color: #f8fafc;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.testimonial {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-bottom: 3rem;
}

.testimonial .stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial .star {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--secondary);
  stroke: none;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.author-avatar svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--primary);
}

.author-info .name {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.author-info .location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
