

:root {
  --primary-dark: #001b00;
  --primary-blue: #002b00; /* Darker green for depth */
  --accent-amber: #0c7c0c; /* ANCO's primary green */
  --accent-amber-hover: #095c09; /* Darker green for hover */
  --bg-surface: #f8fafc;
  --text-main: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  
  --border-radius: 1.5rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-surface);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header (Glassmorphism) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  transition: var(--transition);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-amber);
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.nav-links a:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-cta {
  background: var(--accent-amber);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta:hover {
  background: var(--accent-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 20px -3px rgba(245, 158, 11, 0.4);
}

/* Hero Section */
.hero {
  margin-top: 6rem;
  padding: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--primary-dark);
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  min-height: 600px;
}

.hero-logo {
  height: 125px;
  width: auto;
  object-fit: contain;
  object-position: left;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
}

.hero-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.badge {
  background: var(--primary-green);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Services Section */
.services {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-icon {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--accent-amber);
  transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why Us Section */
.why-us {
  background: var(--white);
  padding: 6rem 2rem;
}

.why-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.why-card:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.why-card:hover p {
  color: rgba(255,255,255,0.8);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.why-card:hover .icon-wrapper {
  background: var(--accent-amber);
  color: var(--white);
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* How to Contract */
.how-to-contract {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.steps-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.step-number {
  width: 80px;
  height: 80px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-blue);
  font-size: 2.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.step-card:hover .step-number {
  background: var(--primary-blue);
  color: var(--white);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-col p, .footer-col a {
  color: var(--white);
  margin-bottom: 0.8rem;
  display: block;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-amber);
}

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

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 9999;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

.phone-btn {
  background-color: var(--primary-blue);
}

.wa-btn {
  background-color: #25D366; /* Cor oficial do WhatsApp */
}

.whatsapp-container {
  position: relative;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px; /* Espaço para ficar à esquerda do botão */
  bottom: 10px;
  background-color: white;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 12px;
  border-bottom-right-radius: 0;
  width: 240px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 1;
  transform: translateX(0);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  border: 1px solid rgba(0,0,0,0.05);
}

.whatsapp-tooltip.hidden {
  opacity: 0;
  transform: translateX(20px);
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-image {
    min-height: 400px;
  }
  .why-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 1rem 1.5rem;
    height: 70px;
    gap: 0;
  }
  .logo {
    order: 1;
  }
  header .btn-cta {
    display: flex;
    order: 2;
    margin-left: auto;
    margin-right: 1rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    white-space: nowrap;
  }
  .logo img {
    height: 40px !important;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    order: 3;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99;
    display: flex !important;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    text-align: center;
    border-radius: 8px;
  }
  
  .badge {
    display: none;
  }
  
  /* Hero section app-like */
  .hero {
    margin-top: 90px;
    padding: 0;
  }
  .hero-container {
    border-radius: 0 0 1.5rem 1.5rem;
    min-height: auto;
  }
  .hero-content {
    padding: 2.5rem 1.5rem;
    align-items: center;
    text-align: center;
  }
  .hero-logo {
    height: 80px;
    margin-bottom: 1rem;
    align-self: center;
  }
  .hero-content h1 {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 0.8rem;
  }
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-content .btn-cta {
    margin: 0 auto;
    width: 100% !important;
    text-align: center;
  }
  .hero-image {
    min-height: 250px;
  }
  .hero-image img {
    border-radius: 0 0 1.5rem 1.5rem;
  }
  
  /* Services app-like list */
  .services {
    padding: 3rem 1rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .services-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  .service-card {
    display: flex !important;
    align-items: center;
    padding: 0.5rem;
    text-align: left;
  }
  .service-img {
    height: 80px;
    width: 80px;
    border-radius: 12px;
    flex-shrink: 0;
  }
  .service-icon {
    height: 80px;
    width: 80px;
    font-size: 2rem;
    flex-shrink: 0;
    margin-bottom: 0;
    border-radius: 12px;
  }
  .service-content {
    padding: 0.5rem 1rem;
    flex-grow: 1;
  }
  .service-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
  }
  .service-content p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  /* Other sections */
  .why-us, .how-it-works {
    padding: 3rem 1rem;
  }
  .why-grid, .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .why-card, .step-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: 
      "icon title"
      "icon desc";
    align-items: center;
    text-align: left;
    padding: 1rem;
    row-gap: 0.2rem;
    column-gap: 1rem;
  }
  .icon-wrapper, .step-number {
    grid-area: icon;
    margin: 0;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .step-number {
    font-size: 1.5rem;
  }
  .why-card h3, .step-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.05rem;
  }
  .why-card p, .step-card p {
    grid-area: desc;
    margin: 0;
    font-size: 0.85rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  footer {
    padding: 2rem 1.5rem 1.5rem;
  }
  footer img {
    height: 70px !important;
    margin-bottom: 0.5rem !important;
  }
  .footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
  }
  .footer-col p, .footer-col a {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  .footer-bottom {
    font-size: 0.75rem;
    padding-top: 1.5rem;
  }
}
