/* ========================================
   GREEN SERVICE - STATIC STYLES
   ======================================== */

/* CSS Variables - Design System */
:root {
  /* Colors */
  --color-primary: hsl(165, 54%, 47%);
  --color-secondary: hsl(197, 70%, 38%);
  --color-foreground: hsl(0, 0%, 33%);
  --color-background: hsl(0, 0%, 100%);
  --color-border: hsl(214, 32%, 91%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(165, 54%, 47%), hsl(197, 70%, 38%));
  --gradient-soft: linear-gradient(180deg, hsl(165, 54%, 47%, 0.05), hsl(197, 70%, 38%, 0.05));
  
  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px rgba(47, 179, 131, 0.2);
  --shadow-hover: 0 15px 40px -10px rgba(47, 179, 131, 0.3);
  
  /* Typography */
  --font-family: 'Montserrat', sans-serif;
  
  /* Spacing */
  --container-max-width: 1280px;
  --section-padding: 4rem 1rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  color: var(--color-foreground);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 1.875rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.875rem; }
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-semibold {
  font-weight: 600;
}

/* Buttons */
.btn-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--gradient-primary);
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-elegant);
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background: white;
  color: var(--color-primary);
  border: 2px solid white;
  border-radius: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-elegant);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(47, 179, 131, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: white;
}

.menu-mobile {
  display: block;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  
  .menu-mobile {
    display: none;
  }
  
  .desktop-only {
    display: inline-block;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  right: -100%;
  width: 288px;
  height: calc(100vh - 80px);
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.mobile-nav a {
  color: var(--color-foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  transition: color 0.2s;
}

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

.mobile-nav .btn-cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero-section {
  padding: 190px 1rem 95px;
  background: var(--color-background);
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo-home img {
  width: 180px;
  height: auto;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .logo-home img {
    width: 240px;
  }
}

@media (min-width: 1024px) {
  .logo-home img {
    width: 310px;
  }
}

.hero-text {
  font-size: 1.125rem;
  color: var(--color-foreground);
  opacity: 0.8;
  font-weight: 300;
}

@media (min-width: 768px) {
  .hero-text {
    font-size: 1.25rem;
  }
}

/* Problem Section */
.problem-section {
  position: relative;
  padding: 2rem 1rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .problem-section {
    padding: 2.5rem 1rem;
  }
}

.spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(47, 179, 131, 0.04) 0%, rgba(24, 119, 168, 0.03) 40%, rgba(255, 255, 255, 1) 70%);
  pointer-events: none;
}

.problem-card {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.card-gradient {
  width: 100%;
  max-width: 820px;
  padding: 1px;
  background: var(--gradient-primary);
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.card-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .card-content {
    padding: 3rem;
  }
}

.card-content p {
  font-size: 1.125rem;
  color: var(--color-foreground);
  opacity: 0.8;
  font-weight: 300;
}

@media (min-width: 768px) {
  .card-content p {
    font-size: 1.25rem;
  }
}

/* Autoridade Section */
.autoridade-section {
  padding: 2.5rem 1rem 4rem;
  background: var(--gradient-primary);
}

@media (min-width: 1024px) {
  .autoridade-section {
    padding: 3rem 1rem 4rem;
  }
}

.autoridade-content {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo-white img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .logo-white img {
    height: 64px;
  }
}

.autoridade-panel {
  width: 100%;
  padding: 2px;
  background: var(--gradient-primary);
  border-radius: 1rem;
  box-shadow: var(--shadow-elegant);
}

.panel-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .panel-content {
    padding: 3rem;
  }
}

.panel-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .panel-content p {
    font-size: 1.25rem;
  }
}

.panel-content .font-semibold {
  color: white;
}

/* Diferenciais Section */
.diferenciais-section {
  padding: 4rem 1rem;
  background: var(--gradient-soft);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.diferenciais-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .diferenciais-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.diferencial-card {
  position: relative;
  border-radius: 1rem;
}

.diferencial-card .card-gradient {
  padding: 2px;
  background: var(--gradient-primary);
  border-radius: 1rem;
  box-shadow: var(--shadow-elegant);
  height: 100%;
}

.card-inner {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box svg {
  color: white;
}

/* CTA Meio Section */
.cta-meio-section {
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background-image: url('./assets/cta-background.webp');
  background-size: cover;
  background-position: center;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-content h2 {
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.pulse {
  animation: pulse-soft 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Resultados Section */
.resultados-section {
  padding: 4rem 1rem;
  background: var(--color-background);
}

.resultados-header {
  max-width: 56rem;
  margin: 0 auto 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.resultados-header p {
  font-size: 1.125rem;
  color: #534f4f;
}

@media (min-width: 768px) {
  .resultados-header p {
    font-size: 1.25rem;
  }
}

.depoimentos-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.depoimento-card {
  background: white;
  border: 1px solid #534f4f;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.depoimento-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.depoimento-header h4 {
  font-size: 1rem;
  margin: 0;
}

.depoimento-header p {
  font-size: 0.875rem;
  color: var(--color-foreground);
  opacity: 0.7;
  margin: 0;
}

.depoimento-text {
  font-size: 0.875rem;
  color: var(--color-foreground);
  opacity: 0.8;
  line-height: 1.6;
}

/* Encerramento Section */
.encerramento-section {
  padding: 4rem 1rem;
  background: var(--color-background);
}

.encerramento-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .encerramento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.encerramento-image {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .encerramento-image {
    grid-column: span 5;
  }
}

@media (min-width: 1024px) {
  .encerramento-image {
    grid-column: span 4;
  }
}

.encerramento-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-elegant);
  object-fit: cover;
}

.encerramento-text {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .encerramento-text {
    grid-column: span 7;
  }
}

@media (min-width: 1024px) {
  .encerramento-text {
    grid-column: span 8;
  }
}

.encerramento-text h2 {
  color: var(--color-foreground);
}

.encerramento-text p {
  font-size: 1.125rem;
  color: var(--color-foreground);
  opacity: 0.8;
  font-weight: 300;
}

@media (min-width: 768px) {
  .encerramento-text p {
    font-size: 1.25rem;
  }
}

/* Footer */
.footer {
  padding: 4rem 1rem;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  max-width: 72rem;
  margin: 0 auto 3rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-icon {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-icon svg {
  stroke: var(--color-primary);
}

.footer-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.footer-item p,
.footer-item a {
  color: var(--color-foreground);
  opacity: 0.8;
  line-height: 1.75;
  text-decoration: none;
}

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

.footer-bottom {
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--color-foreground);
  opacity: 0.6;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--color-foreground);
  opacity: 0.6;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Animation Classes */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
}

.reveal-up.visible {
  animation: fadeUp 0.9s ease-out forwards;
}

.reveal-left.visible {
  animation: slideLeft 0.9s ease-out forwards;
}

.reveal-right.visible {
  animation: slideRight 0.9s ease-out forwards;
}

.reveal-scale.visible {
  animation: scaleIn 0.9s ease-out forwards;
}

/* Animation Delays */
.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(40px) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.02);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Floating WhatsApp button */
.float-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.float-whatsapp img.whatsapp-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: none;
  z-index: 1000;
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
@media (max-width:768px){
  .float-whatsapp img.whatsapp-icon-img {
    width: 56px;
    height: 56px;
  }
}
.float-whatsapp {
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.float-whatsapp:hover {
  transform: scale(1.06);
}

.float-whatsapp:active {
  transform: scale(0.92);
}
/* Botão flutuante WhatsApp - esquerda */
.whatsapp-float-left {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 1000;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;
  border-radius: 40px;

  background-color: #25D366;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float-left img {
  width: 22px;
  height: 22px;
}

.whatsapp-float-left:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}



/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
  font-family: 'Montserrat', sans-serif;
}

.cookie-banner p {
  font-size: 14px;
  color: #333333;
}

.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

#cookie-accept {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, hsl(165, 54%, 47%), hsl(197, 70%, 38%));
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions a {
  font-size: 14px;
  color: hsl(165, 54%, 47%);
  text-decoration: underline;
}
