/* ==========================================================================
   LAYOUT 1: SOLIDEZ & TRADIÇÃO INDUSTRIAL (Corporate Heritage)
   Brand Guidelines Oficiais da Itaúna:
   - Primária: Neon Navy #131936 (RGB 19, 25, 54)
   - Secundária: Cloud Dancer #F0EEE9 (RGB 240, 238, 233)
   - Tipografia: Syne/Blacker (Display), Cormorant Garamond (Serif), Didact Gothic (Sans)
   ========================================================================== */

:root {
  --color-navy: #131936;
  --color-navy-dark: #0b0f22;
  --color-navy-light: #202852;
  
  --color-cloud: #F0EEE9;
  --color-cloud-light: #f9f8f5;
  --color-cloud-dark: #e4dfd6;
  
  --color-kraft: #b87b38;
  --color-border: #ded8cd;
  --color-surface: #ffffff;
  
  --color-text-main: #131936;
  --color-text-muted: #4e5572;
  
  --font-display: 'Blacker Sans Display', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Didact Gothic', system-ui, sans-serif;

  --shadow-subtle: 0 4px 20px rgba(19, 25, 54, 0.06);
  --shadow-medium: 0 10px 30px rgba(19, 25, 54, 0.1);
  --shadow-heavy: 0 20px 40px rgba(19, 25, 54, 0.15);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cloud);
  color: var(--color-text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

.text-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-navy {
  background-color: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(19, 25, 54, 0.25);
}

.btn-navy:hover {
  background-color: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(19, 25, 54, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* BADGES & TÍTULOS */
.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-kraft);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.badge-light {
  color: #ffffff;
  border-bottom-color: var(--color-kraft);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 56px auto;
  line-height: 1.6;
}

/* 1. TOP ANNOUNCEMENT */
.top-announcement {
  background-color: var(--color-navy);
  color: #e2e5f0;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  opacity: 0.5;
}

.top-contact a:hover {
  color: #ffffff;
}

/* 2. HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(240, 238, 233, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

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

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  position: relative;
  padding: 6px 0;
}

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

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
}

/* 3. HERO */
.hero {
  padding: 70px 0 90px 0;
  background: radial-gradient(circle at 10% 10%, rgba(19, 25, 54, 0.03), transparent 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-kraft);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.hero-title .text-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08em;
  color: var(--color-kraft);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background-color: var(--color-border);
}

.hero-frame {
  position: relative;
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-heavy);
  border: 1px solid rgba(19, 25, 54, 0.1);
}

.frame-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(19, 25, 54, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-kraft);
}

.frame-tag-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}

.frame-tag p {
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0;
}

/* 4. HISTÓRIA & TIMELINE */
.history {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.timeline-card {
  background: var(--color-cloud);
  padding: 32px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-navy);
}

.timeline-step {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-kraft);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* 5. PARQUE FABRIL */
.plant-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.plant-visual {
  position: relative;
}

.plant-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
}

.plant-badge {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background-color: var(--color-navy);
  color: #ffffff;
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-heavy);
  max-width: 250px;
  border-left: 4px solid var(--color-kraft);
}

.plant-badge-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.plant-badge-text {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 6px;
  display: block;
}

.plant-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.plant-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plant-checklist li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
}

.plant-checklist strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.plant-checklist span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* 6. PRODUTOS */
.products {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.products-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-item {
  background: var(--color-cloud);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--color-navy);
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-kraft);
  display: block;
  margin-bottom: 8px;
}

.product-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.product-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-specs-list {
  background: var(--color-surface);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 28px;
  margin-top: auto;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
}

.spec-line:last-child {
  border-bottom: none;
}

.spec-line span {
  color: var(--color-text-muted);
}

.spec-line strong {
  color: var(--color-navy);
  font-weight: 600;
}

/* 7. PRESERVAÇÃO & MEIO AMBIENTE */
.preservation-box {
  background: var(--color-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-heavy);
}

.preservation-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #ffffff;
}

.preservation-text {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 32px;
}

.preservation-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.p-icon {
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.p-feature h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.p-feature p {
  font-size: 0.88rem;
  opacity: 0.8;
  margin: 0;
}

.preservation-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px 30px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.eco-seal {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-kraft);
  line-height: 1;
  margin-bottom: 8px;
}

.preservation-card h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.preservation-card p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.seal-caption {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-top: 16px;
}

/* 8. CONTATO */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-kraft);
  display: block;
  margin-bottom: 4px;
}

.detail-box strong, .detail-link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-navy);
  display: block;
}

.detail-box p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-medium);
}

.form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.form-field {
  margin-bottom: 18px;
}

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

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-cloud-light);
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(19, 25, 54, 0.1);
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.form-status.success {
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.hidden {
  display: none;
}

/* 9. RODAPÉ */
.footer {
  background-color: var(--color-navy);
  color: #c0c5d6;
  padding: 80px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a, .footer-links span {
  font-size: 0.88rem;
  color: #c0c5d6;
}

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

.footer-esg-badge {
  margin-top: 16px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--color-kraft);
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 0.82rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
  .hero-container, .plant-container, .contact-container, .preservation-box {
    grid-template-columns: 1fr;
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-table-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-announcement {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background-color: var(--color-cloud);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    display: none;
  }
  .nav.active {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .header-actions .btn {
    display: none;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   BOTÃO FLUTUANTE DE WHATSAPP B2B
   ========================================================= */
.wa-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1500;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wa-floating-btn:hover {
  transform: translateY(-4px) scale(1.02);
}

/* Balão de Atendimento */
.wa-chat-bubble {
  background: #ffffff;
  color: var(--color-navy);
  padding: 8px 14px;
  border-radius: 20px 20px 4px 20px;
  box-shadow: 0 4px 18px rgba(19, 25, 54, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(19, 25, 54, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}

.wa-floating-btn:hover .wa-chat-bubble {
  box-shadow: 0 6px 24px rgba(19, 25, 54, 0.22);
  border-color: rgba(37, 211, 102, 0.3);
}

.wa-badge-status {
  width: 9px;
  height: 9px;
  background-color: #25D366;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.wa-badge-status::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 1.8s infinite;
}

.wa-bubble-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.wa-bubble-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
}

.wa-bubble-text span {
  font-size: 0.72rem;
  color: #636b83;
}

/* Círculo do Botão com Ícone Oficial SVG */
.wa-btn-circle {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  position: relative;
  flex-shrink: 0;
}

.wa-pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waRing 2.2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes waRing {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 576px) {
  .wa-floating-btn {
    bottom: 20px;
    right: 20px;
    gap: 8px;
  }
  .wa-chat-bubble {
    padding: 6px 10px;
  }
  .wa-bubble-text strong {
    font-size: 0.75rem;
  }
  .wa-bubble-text span {
    display: none;
  }
  .wa-btn-circle {
    width: 50px;
    height: 50px;
  }
  .wa-btn-circle svg {
    width: 26px;
    height: 26px;
  }
}

