/* ===== ESTILOS ESPECÍFICOS PARA PÁGINA DE CONTATOS ===== */

/* Hero Section Específica para Contatos */
.hero {
  background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e8 100%);
  min-height: calc(100vh - 70px);
  padding: 0;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  min-height: 600px;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.hero-description {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 500px;
}

/* Hero Stats para Contatos */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d5a42;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* ===== SEÇÃO DE CONTATO ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.contact-info {
  padding-right: 40px;
}

.contact-info .features-title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: left;
}

.contact-info .features-subtitle {
  font-size: 1.3rem;
  text-align: left;
  margin: 0 0 40px 0;
  max-width: 100%;
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 25px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2d5a42, #4a7c5f);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-method:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-method:hover::before {
  transform: scaleX(1);
}

.method-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(45, 90, 66, 0.3);
}

.method-info {
  flex: 1;
}

.method-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.method-info p {
  font-size: 1rem;
  color: #2d5a42;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.method-info span {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  display: block;
}

/* ===== FORMULÁRIO DE CONTATO ===== */
.contact-form-container {
  position: sticky;
  top: 100px;
}

.contact-form {
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  padding: 50px 40px;
  border-radius: 24px;
  color: white;
  box-shadow: 0 25px 50px rgba(45, 90, 66, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e8f5e8, #ffffff, #e8f5e8);
}

.contact-form h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 35px;
  text-align: center;
  position: relative;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px 22px;
  border: none;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.submit-btn {
  width: 100%;
  padding: 18px 20px;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover {
  background: #2d2d2d;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* ===== SEÇÃO FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-top: 60px;
}

.faq-item {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2d5a42, #4a7c5f);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.faq-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.faq-item:hover::before {
  transform: scaleX(1);
}

.faq-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.4;
  position: relative;
  padding-left: 0;
}

.faq-item p {
  color: #666;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

/* ===== ANIMAÇÕES ESPECÍFICAS ===== */
.scroll-slide-in {
  opacity: 0;
  transition: all 0.8s ease;
}

.scroll-slide-in[data-direction="left"] {
  transform: translateX(-50px);
}

.scroll-slide-in[data-direction="right"] {
  transform: translateX(50px);
}

.scroll-slide-in[data-direction="up"] {
  transform: translateY(50px);
}

.scroll-slide-in.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .hero-content {
    gap: 60px;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .contact-section {
    gap: 60px;
  }
}

@media (max-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-info {
    padding-right: 0;
  }
  
  .contact-form-container {
    position: static;
  }
  
  .contact-info .features-title {
    text-align: center;
  }
  
  .contact-info .features-subtitle {
    text-align: center;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-methods-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
    min-height: auto;
    padding: 60px 20px;
  }
  
  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-image img {
    max-width: 400px;
  }
  
  .contact-section {
    padding: 40px 20px;
  }
  
  .contact-form {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 30px 15px;
    gap: 40px;
  }
  
  .contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-form {
    padding: 35px 25px;
    border-radius: 20px;
  }
  
  .contact-method {
    padding: 25px 20px;
  }
  
  .method-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 25px;
    flex-direction: column;
    align-items: center;
  }
  
  .stat {
    flex: none;
    width: 200px;
  }
  
  .faq-item {
    padding: 30px 25px;
  }
  
  .faq-item h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .hero-image img {
    max-width: 280px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 16px 18px;
  }
  
  .submit-btn {
    padding: 16px 18px;
    font-size: 1rem;
  }
  
  .faq-item {
    padding: 25px 20px;
  }
  
  .contact-method {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .method-icon {
    margin-top: 0;
  }
}

/* ===== ESTILOS PARA ESTADOS DE FORMULÁRIO ===== */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
  border-color: #2d5a42;
  background: rgba(45, 90, 66, 0.05);
}

/* ===== LOADING STATE PARA BOTÃO ===== */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.submit-btn.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== MENSAGEM DE SUCESSO ===== */
.form-success {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin-top: 20px;
  display: none;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success i {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.form-success h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.apple-footer {
  background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e8 100%);
  color: #1a1a1a;
  padding: 60px 0 30px;
  margin-top: auto;
  border-top: 1px solid rgba(45, 90, 66, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Seção Superior */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-logo .plant-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.footer-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
}

.footer-tagline {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(45, 90, 66, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d5a42;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(45, 90, 66, 0.2);
}

.social-link:hover {
  background: #2d5a42;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 90, 66, 0.3);
}

/* Grid de Links */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  gap: 40px;
}

.footer-column-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
  position: relative;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #2d5a42, #4a7c5f);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  line-height: 1.4;
  position: relative;
  padding-left: 0;
}

.footer-link:hover {
  color: #2d5a42;
  padding-left: 8px;
}

.footer-link:hover::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #2d5a42;
  font-weight: bold;
}

/* Download do App */
.app-download p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(45, 90, 66, 0.2);
  backdrop-filter: blur(10px);
}

.app-badge:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 90, 66, 0.15);
  border-color: #2d5a42;
}

.app-badge i {
  font-size: 1.5rem;
  color: #2d5a42;
}

.app-badge div {
  display: flex;
  flex-direction: column;
}

.app-badge span {
  font-size: 0.8rem;
  color: #666;
}

.app-badge strong {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 600;
}

/* Divisor */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(45, 90, 66, 0.2) 50%, 
    transparent 100%);
  margin: 30px 0;
}

/* Seção Inferior */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-copyright p {
  color: #666;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.legal-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #2d5a42;
}

.legal-separator {
  color: #ccc;
  font-size: 0.9rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-brand {
    text-align: center;
    align-items: center;
  }
  
  .footer-tagline {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .apple-footer {
    padding: 40px 0 20px;
  }
  
  .footer-container {
    padding: 0 20px;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .app-badges {
    flex-direction: row;
    justify-content: center;
  }
  
  .app-badge {
    flex: 1;
    max-width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-logo-text {
    font-size: 1.5rem;
  }
  
  .footer-tagline {
    font-size: 1rem;
  }
  
  .app-badges {
    flex-direction: column;
  }
  
  .app-badge {
    max-width: none;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.apple-footer {
  animation: fadeInUp 0.8s ease-out;
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
  .apple-footer {
    animation: none;
  }
  
  .social-link,
  .app-badge,
  .footer-link {
    transition: none;
  }
}

