

:root {
  --green: #25a76b;
  --green-light: #3dbd73;
  --green-bright: #4dd99f;
  --green-dark: #1a7a52;
  --blue: #2ea3d4;
  --blue-light: #4db8e0;
  --blue-dark: #1f7fa8;
  --dark-bg: #0a0e12;
  --dark-secondary: #131820;
  --dark-tertiary: #1a2332;
  --dark-light: #2d3748;
  --text-white: #ffffff;
  --text: #e6ebf1;
  --text-light: #cbd5e0;
  --text-muted: #a0aec0;
  --accent: #f4c84a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Brand premium tokens */
  --bg: #0b0f14;
  --surface: #141b28;
  --surface-2: #1e2430;
  --text-brand: #e9eefc;
  --gradient: linear-gradient(135deg, var(--green), var(--blue));
  --radius: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-white);
  background: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
  /* Protecao contra copia */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

a {
  color: var(--green-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--green-bright);
}

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

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(37, 167, 107, 0.3); } 50% { box-shadow: 0 0 40px rgba(37, 167, 107, 0.6); } }

/* ============================================
   HEADER
   ============================================ */

/* Premium header look */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 18, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  animation: slideInDown 0.6s ease-out;
}

header.scrolled {
  background: rgba(10, 14, 18, 0.95);
  box-shadow: var(--shadow-md);
}

header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition);
}

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

.logo:hover {
  transform: scale(1.05);
}

header nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

header nav a {
  margin: 0 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-light);
  font-size: 14px;
  position: relative;
  transition: var(--transition);
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: var(--transition);
}

header nav a:hover {
  color: var(--green-light);
}

header nav a:hover::after {
  width: 100%;
}

.cta {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 167, 107, 0.4);
  white-space: nowrap;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 167, 107, 0.6);
}

/* ============================================
   TYPOGRAPHY POLICY
   Use Poppins for headings and Inter for body text to achieve premium feel
 ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}
/* Responsive type scale */
@media (min-width: 1024px) {
  h1 { font-size: clamp(34px, 4vw, 64px); }
  h2 { font-size: clamp(28px, 3.5vw, 42px); }
  h3 { font-size: clamp(20px, 2.5vw, 28px); }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* keep body default but headings override above */
}

/* ============================================
   HERO - DARK MODE COM IMPACTO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  animation: zoom 20s ease-in-out infinite;
}

@keyframes zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 18, 0.95) 0%, rgba(19, 24, 32, 0.9) 100%);
  z-index: 1;
}

.hero .content {
  position: relative;
  z-index: 2;
}

.hero-header {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  animation: slideInUp 0.8s ease-out;
}

.hero-logo-large {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 30px rgba(37, 167, 107, 0.4));
  animation: float 3s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 0;
  font-weight: 900;
  color: var(--text-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title {
  animation: slideInUp 0.8s ease-out 0.2s both;
  /* Premium text fill for the main hero title */
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Focus indication for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

.hero .lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 16px;
}

.hero-subtitle {
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero .lead strong {
  color: var(--green-bright);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.btn {
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  font-size: 15px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

/* Keyboard focus accessibility for primary actions */
.btn:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

.floatmenu a:focus {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-gradient, linear-gradient(135deg, var(--green), var(--green-light)));
  color: white;
  box-shadow: 0 6px 20px rgba(37, 167, 107, 0.5);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37, 167, 107, 0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--green-light);
  border: 2px solid var(--green-light);
  box-shadow: 0 4px 15px rgba(37, 167, 107, 0.2);
}

.btn-secondary:hover {
  background: rgba(37, 167, 107, 0.18);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 25px rgba(37, 167, 107, 0.4);
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.badge-dark {
  display: inline-block;
  background: rgba(37, 167, 107, 0.15);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--green-bright);
  font-size: 14px;
  border: 1px solid rgba(37, 167, 107, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.badge-dark:hover {
  background: rgba(37, 167, 107, 0.25);
  border-color: var(--green-bright);
  transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 80px 0;
  position: relative;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

section:nth-child(even) {
  background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 16px;
  color: var(--text-white);
  font-weight: 900;
  line-height: 1.2;
  animation: slideInUp 0.6s ease-out;
}

.section-title.text-center {
  text-align: center;
}

.section-title span {
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.feature-card {
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInUp 0.6s ease-out;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.1), rgba(46, 163, 212, 0.1));
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   COMPARISON SHOWCASE
   ============================================ */

.comparison-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.comparison-box {
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

.refurbished-box {
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.15), rgba(46, 163, 212, 0.15));
  border-color: var(--green-light);
}

.refurbished-box:hover {
  box-shadow: 0 10px 40px rgba(37, 167, 107, 0.3);
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.25), rgba(46, 163, 212, 0.25));
}

.used-box {
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.15), rgba(252, 129, 129, 0.15));
  border-color: #fc8181;
}

.used-box:hover {
  box-shadow: 0 10px 40px rgba(229, 62, 62, 0.3);
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.25), rgba(252, 129, 129, 0.25));
}

.comparison-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-white);
}

.comparison-box ul {
  list-style: none;
  padding: 0;
}

.comparison-box li {
  padding: 12px 0;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-box li:last-child {
  border-bottom: none;
}

/* ============================================
   PRODUTOS SHOWCASE
   ============================================ */

.products-showcase {
  display: grid;
  gap: 60px;
  margin-top: 40px;
}

.product-showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  animation: slideInUp 0.6s ease-out;
}

.product-showcase-item.reverse {
  direction: rtl;
}

.product-showcase-item.reverse > * {
  direction: ltr;
}

.product-showcase-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 400px;
  background: linear-gradient(135deg, var(--dark-secondary), var(--dark-tertiary));
}

.product-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-showcase-item:hover .product-showcase-image img {
  transform: scale(1.08);
}

.product-showcase-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.product-showcase-content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.specs-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.specs-list span {
  background: rgba(37, 167, 107, 0.2);
  color: var(--green-bright);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(37, 167, 107, 0.3);
}

/* ============================================
   SERVICES CARDS
   ============================================ */

.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.service-card-large {
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInUp 0.6s ease-out;
}

.service-card-large:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.1), rgba(46, 163, 212, 0.1));
}

.service-card-large .service-icon {
  font-size: 56px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.service-card-large h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.service-card-large p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   TIMELINE VISUAL
   ============================================ */

.timeline-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}

.timeline-5col {
  grid-template-columns: repeat(5, 1fr);
}

.timeline-item {
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.1), rgba(46, 163, 212, 0.1));
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(37, 167, 107, 0.3);
  transition: var(--transition);
  animation: slideInUp 0.6s ease-out;
  backdrop-filter: blur(10px);
}

.timeline-item:hover {
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.2), rgba(46, 163, 212, 0.2));
  border-color: var(--green-bright);
  transform: translateY(-8px);
}

.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 12px;
  box-shadow: 0 4px 15px rgba(37, 167, 107, 0.4);
}

.timeline-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 8px;
}

.timeline-item p {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.timeline-connector {
  text-align: center;
  color: var(--green-light);
  font-size: 20px;
  font-weight: 700;
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   VALUES & CERTIFICATIONS
   ============================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.value-card {
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInUp 0.6s ease-out;
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.1), rgba(46, 163, 212, 0.1));
}

.value-icon {
  font-size: 56px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.cert-card {
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.1), rgba(46, 163, 212, 0.1));
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(37, 167, 107, 0.2);
  animation: slideInUp 0.6s ease-out;
}

.cert-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-bright);
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.2), rgba(46, 163, 212, 0.2));
}

.cert-icon {
  font-size: 56px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.cert-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.cert-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   MODAL
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease-out;
}

.modal.open {
  display: flex;
}

.modal .box {
  background: rgba(12, 16, 24, 0.95);
  width: min(680px, 92vw);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: slideInUp 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.modal h3 {
  font-size: 24px;
  margin: 0 0 24px;
  color: var(--text-white);
  font-weight: 800;
}

.modal .close {
  float: right;
  border: none;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  margin-top: -8px;
}

.modal .close:hover {
  color: var(--green-light);
  transform: rotate(90deg);
}

/* ============================================
   FORMS
   ============================================ */

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

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--dark-tertiary);
  color: var(--text-white);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(37, 167, 107, 0.2);
  background: rgba(26, 35, 50, 0.8);
}

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

label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  display: block;
  margin-bottom: 8px;
}

label a {
  color: var(--green-light);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  padding: 40px 0 20px;
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}

.footer-section {
  animation: slideInUp 0.6s ease-out;
}

footer h4 {
  color: var(--text-white);
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 15px;
}

footer p {
  margin: 6px 0;
  line-height: 1.6;
  font-size: 13px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  margin: 6px 0;
}

footer a {
  color: var(--green-light);
  font-size: 13px;
  transition: var(--transition);
}

footer a:hover {
  color: var(--green-bright);
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 12px;
}

.credits {
  opacity: 0.7;
  font-size: 12px;
  margin: 4px 0;
}

.credits strong {
  color: var(--green-light);
  font-weight: 700;
}

/* ============================================
   FLOATING MENU - RETRÁTIL (Premium)
   ============================================ */

.floatmenu {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  animation: slideInRight 0.5s ease-out;
  background: transparent;
  border-radius: 18px;
  padding: 0;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.floatmenu-toggle {
  background: transparent;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  padding: 0;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floatmenu-toggle img {
  height: 40px;
  width: auto;
  display: block;
}

/* Halo around the logomark button when open */
.floatmenu-toggle::before {
  content: '';
  position: absolute;
  width: 68px;
  height: 68px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 0 0 0 rgba(37, 167, 107, 0);
}

.floatmenu.active .floatmenu-toggle::before {
  box-shadow: 0 0 0 6px rgba(37, 167, 107, 0.25), 0 0 20px rgba(46, 163, 212, 0.25);
}
.floatmenu-toggle img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
}

.floatmenu-toggle:hover {
  transform: translateY(-1px) rotate(-5deg);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.floatmenu-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  margin: 0;
}

.floatmenu.active .floatmenu-items {
  max-height: 500px;
}

/* Highlight halo for open premium floatmenu */
.floatmenu.active {
  max-height: 500px;
  border: none;
  background: transparent;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.04) 1px, transparent 1px),
                    radial-gradient(circle at 6px 6px, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  box-shadow: none;
  border-radius: 18px;
}

.floatmenu a {
  background: transparent;
  color: white;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  /* no background by default to keep transparent look */
}

.floatmenu a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  background: rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* ============================================
   LOCALIZAÇÃO & MAPS
   ============================================ */

.location-container {
  margin-top: 40px;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
  animation: slideInUp 0.6s ease-out;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 32px 0;
  animation: slideInUp 0.6s ease-out 0.1s both;
}

.info-item {
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.1), rgba(46, 163, 212, 0.1));
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(37, 167, 107, 0.2);
  transition: var(--transition);
}

.info-item:hover {
  border-color: var(--green-light);
  background: linear-gradient(135deg, rgba(37, 167, 107, 0.15), rgba(46, 163, 212, 0.15));
}

.info-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.info-item p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.info-item a {
  color: var(--green-bright);
  font-weight: 600;
}

.nav-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.6s ease-out 0.2s both;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  padding: 60px 0;
}

.newsletter-content {
  text-align: center;
  animation: slideInUp 0.6s ease-out;
}

.newsletter-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: white;
  margin-bottom: 12px;
  font-weight: 900;
}

.newsletter-content h2 span {
  color: var(--accent);
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  background: white;
  color: var(--text);
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
  min-width: 150px;
}

/* ============================================
   SPLASH LOADER
   ============================================ */

#splash {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
  display: grid;
  place-items: center;
  z-index: 9999;
}

#splash img {
  width: 140px;
  animation: spin 1.8s linear infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .product-showcase-item { grid-template-columns: 1fr; gap: 24px; }
  .comparison-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header nav { display: none; }
  .hero-header { gap: 16px; }
  .hero-logo-large { width: 100px; height: 100px; }
  .hero h1 { font-size: clamp(28px, 5vw, 42px); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .product-showcase-image { height: 250px; }
  .product-showcase-item.reverse { direction: ltr; }
  .timeline-visual { grid-template-columns: repeat(2, 1fr); }
  .timeline-5col { grid-template-columns: repeat(2, 1fr); }
  .timeline-connector { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-buttons { flex-direction: column; }
  .nav-buttons .btn { width: 100%; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 100%; }
  .newsletter-form .btn { min-width: 100%; }
  .footer-content { grid-template-columns: 1fr; gap: 20px; }
  .contact-info { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  section { padding: 48px 0; }
  .hero { min-height: 80vh; }
  .hero-header { gap: 12px; }
  .hero-logo-large { width: 80px; height: 80px; }
  .hero h1 { font-size: clamp(24px, 4vw, 32px); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; padding: 14px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .services-cards { grid-template-columns: 1fr; }
  .timeline-visual { grid-template-columns: 1fr; }
  .timeline-5col { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .certifications-grid { grid-template-columns: 1fr; }
  .comparison-showcase { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .floatmenu { right: 12px; bottom: 12px; }
  .floatmenu-toggle { width: 48px; height: 48px; font-size: 20px; }
  .floatmenu a { padding: 10px 12px; font-size: 11px; }
  .nav-buttons { flex-direction: column; }
  .nav-buttons .btn { width: 100%; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 100%; }
  .newsletter-form .btn { min-width: 100%; }
}
/* ============================================
   RECICLAGEM INDAIÁ - MAPA + IMAGEM (SEGURO)
   ============================================ */

.ri-mapa-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  isolation: isolate; /* evita herdar estilos globais perigosos */
}

.ri-mapa-container,
.ri-imagem-container {
  flex: 0 1 48%;
  max-width: 48%;
  box-sizing: border-box;
}

.ri-mapa-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: block;
  background: transparent;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ri-imagem-container img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

.ri-mapa-container iframe:hover,
.ri-imagem-container img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

/* FORÇA layout mobile: mapa acima, imagem abaixo */
@media (max-width: 768px) {
  .ri-mapa-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .ri-mapa-container {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  .ri-imagem-container {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  .ri-mapa-container iframe {
    width: 100% !important;
    height: 320px !important;   /* sua altura A */
    border-radius: 12px;
    display: block;
  }

  .ri-imagem-container img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px;          /* mantém a foto alinhada */
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }
}
