/* 
  DESENTUPIDORA JOINVILLE - ESTILOS PRINCIPAIS
  Paleta de Cores Original:
  - Azul Teal/Ciano: #1AAAB8
  - Laranja/Pêssego: #FF9D5C
  - Azul Marinho: #001F3F
  - Branco: #FFFFFF
*/

:root {
  --primary-teal: #1AAAB8;
  --secondary-orange: #FF9D5C;
  --dark-navy: #001F3F;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --text-dark: #333333;
  --border-light: #E0E0E0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-orange);
}

/* HEADER E NAVEGAÇÃO */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-navy);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--dark-navy);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-teal);
}

.cta-button {
  background-color: var(--secondary-orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: #FF8C3F;
  color: var(--white);
}

.cta-button-primary {
  background-color: var(--primary-teal);
}

.cta-button-primary:hover {
  background-color: #1589A0;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-navy) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 3rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero .cta-button {
  margin: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* SEÇÕES GERAIS */
section {
  padding: 3rem 2rem;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-navy);
}

.section-title h2 {
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(26, 170, 184, 0.15);
}

.card h3 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.card a {
  color: var(--secondary-orange);
  font-weight: 600;
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 99;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FOOTER */
footer {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--primary-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* FORMULÁRIO */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-navy);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(26, 170, 184, 0.1);
}

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

.mobile-menu-toggle {
  display: none;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header-container {
    padding: 1rem;
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
  }

  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-navy);
    border-radius: 10px;
    transition: all 0.3s linear;
  }

  /* Animação do X quando aberto */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  nav.active {
    max-height: 500px; /* Ajuste conforme necessário */
  }

  nav ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  nav ul li:last-child a {
    border-bottom: none;
  }

  .cta-button {
    margin: 1rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 1rem;
    right: 1rem;
  }
}

/* TELEFONE FIXO NO TOPO */
.phone-bar {
  background-color: var(--primary-teal);
  color: var(--white);
  padding: 0.5rem 2rem;
  text-align: center;
  font-weight: 600;
}

.phone-bar a {
  color: var(--white);
  text-decoration: none;
}

.phone-bar a:hover {
  text-decoration: underline;
}

/* BREADCRUMB */
.breadcrumb {
  background-color: var(--light-gray);
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-teal);
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--light-gray);
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #E8E8E8;
}

.faq-answer {
  padding: 1rem;
  display: none;
  background-color: var(--white);
}

.faq-answer.active {
  display: block;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-icon.active {
  transform: rotate(180deg);
}

/* TESTIMÔNIOS */
.testimonial {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-teal);
  margin-bottom: 1.5rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-navy);
}

/* MAPA */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin: 2rem 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* DIFERENCIAIS */
.differentials {
  background-color: var(--light-gray);
  padding: 3rem 2rem;
}

.differentials .cards-grid {
  margin-top: 2rem;
}

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

/* SERVIÇOS */
.services-section {
  background-color: var(--white);
}

.service-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-item img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.service-content {
  flex: 1;
}

.service-content h3 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* ÁREAS ATENDIDAS */
.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.area-item {
  background-color: var(--light-gray);
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  border-left: 4px solid var(--primary-teal);
}

/* BLOG */
.blog-post {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 8px 16px rgba(26, 170, 184, 0.15);
}

.blog-post img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--primary-teal);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-post h3 {
  margin-bottom: 1rem;
}

.blog-post p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.read-more {
  color: var(--secondary-orange);
  font-weight: 600;
}

/* ANIMAÇÕES */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: slideInUp 0.6s ease-out;
}

/* UTILITÁRIOS */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-teal);
}

.text-secondary {
  color: var(--secondary-orange);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
