/* 
   Qualiclean CSS - Precisão em cada detalhe
   Color Scheme: Fresh, hygienic, and professional (whites, light teals, and slate text)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color System */
  --primary: #0d9488;          /* Teal representing hygiene/water/freshness */
  --primary-hover: #0f766e;    /* Darker teal */
  --primary-light: #ccfbf1;    /* Light teal tint for highlights */
  --secondary: #0284c7;        /* Clean sky blue */
  --secondary-hover: #0369a1;  
  --accent: #22d3ee;           /* Cyan highlight */
  
  --bg-primary: #ffffff;
  --bg-secondary: #f0fdfa;      /* Very soft teal/fresh background */
  --bg-accent: #f8fafc;         /* Light slate */
  
  --text-main: #0f172a;        /* Deep slate for high readability */
  --text-muted: #475569;       /* Slate-600 */
  --text-light: #94a3b8;       /* Slate-400 */
  --text-on-primary: #ffffff;
  
  --border-color: #e2e8f0;     /* Slate-200 */
  --border-light: #f1f5f9;     /* Slate-100 */
  
  /* Layout & Design tokens */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(13, 148, 136, 0.05), 0 4px 6px -4px rgba(13, 148, 136, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

/* Header & Sticky Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: var(--transition-normal);
}

header.scrolled {
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-normal);
}

header.scrolled .nav-container {
  height: 70px;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  fill: var(--primary);
  transition: var(--transition-normal);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.logo-subtitle {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-on-primary);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, rgba(255,255,255,0) 50%),
              linear-gradient(135deg, #ffffff 40%, var(--bg-secondary) 100%);
  padding-top: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid #ffffff;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  transition: var(--transition-normal);
}

.hero-image-wrapper:hover {
  transform: scale(1.02);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Clean badge in Hero */
.floating-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  animation: float 4s ease-in-out infinite;
}

.floating-badge-icon {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.floating-badge-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.floating-badge-text p {
  font-size: 12px;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Services section / Core values */
.services-highlight {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-size: 40px;
  color: var(--text-main);
  font-weight: 800;
}

.section-description {
  font-size: 16px;
  color: var(--text-muted);
}

/* Grid of Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary);
  color: white;
}

.service-card h3 {
  font-size: 22px;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  flex-grow: 1;
}

.service-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-top: 8px;
}

.service-card-link svg {
  transition: var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* Section "Nosso Foco" (About & Process) */
.about-section {
  background-color: var(--bg-primary);
}

.about-intro-text {
  text-align: center;
  font-size: 22px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto 80px;
  line-height: 1.5;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.step-info p {
  font-size: 15px;
  color: var(--text-muted);
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
  width: 100%;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solutions & Stats Section */
.solutions-section {
  background-color: var(--bg-secondary);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 70px;
}

.solutions-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.solutions-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Counter / Stats Section */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 50px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* WhatsApp Quote Form Section */
.quote-section {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.quote-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
}

.quote-description {
  font-size: 16px;
  color: var(--text-muted);
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-details p {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-details h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

/* Interactive Card Form */
.quote-form-card {
  background-color: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
}

.form-title {
  font-size: 22px;
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-title span {
  color: var(--primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-grid-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-grid-item.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-accent);
  transition: var(--transition-fast);
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

textarea.form-input {
  resize: none;
  min-height: 110px;
}

.whatsapp-submit-btn {
  width: 100%;
  background-color: #25d366; /* Official WhatsApp Green */
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 15px 32px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition-normal);
}

.whatsapp-submit-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-submit-btn svg {
  fill: white;
  width: 20px;
  height: 20px;
}

.form-notice {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 14px;
}

/* Footer Section */
footer {
  background-color: #0f172a; /* Slate 900 */
  color: #f8fafc;
  padding: 80px 0 40px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo .logo-title {
  color: #ffffff;
}

.footer-logo .logo-subtitle {
  color: #94a3b8;
}

.footer-logo .logo-icon {
  fill: var(--accent);
}

.footer-description {
  color: #94a3b8;
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94a3b8;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  color: #94a3b8;
  align-items: flex-start;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: var(--accent);
  margin-top: 3px;
}

.footer-contact-item span {
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #64748b;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link:hover {
  color: var(--accent);
}

/* Mobile Responsiveness Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  
  .hero-grid, .about-grid, .solutions-grid, .quote-grid {
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero {
    padding-top: 130px;
    min-height: auto;
    padding-bottom: 60px;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 380px;
  }
  
  .floating-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 250px;
    animation: float-mobile 4s ease-in-out infinite;
  }
  
  @keyframes float-mobile {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
  }

  .about-grid, .solutions-grid, .quote-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .solutions-grid {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
  }
  
  .quote-form-card {
    padding: 30px;
  }
  
  /* Menu Mobile Interaction */
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
  }
  
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .menu-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid-item.full-width {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
