/* ================== Polish Layer v2 — Caltech Agro ==================
   Loaded AFTER menu.css + index.css + cookies.css.
   Pure overrides + extensions. No path changes, no routing changes.
   Safe to remove by deleting the <link> tag.
===================================================================== */

/* ===== 0. Fontes + reset leve ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1c2b1c;
  background-color: #ffffff;
}

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

:root {
  --pol-green: #2e7d32;
  --pol-green-deep: #1f5f23;
  --pol-green-soft: #8bc34a;
  --pol-green-tint: #f3f9f3;
  --pol-gold: #ffa000;
  --pol-gold-deep: #ff8f00;
  --pol-ink: #18231a;
  --pol-muted: #5a6b5a;
  --pol-dim: #8a998a;
  --pol-line: rgba(30, 70, 30, 0.08);
  --pol-shadow-soft: 0 10px 30px rgba(10, 40, 10, 0.08);
  --pol-shadow-lift: 0 20px 50px rgba(10, 40, 10, 0.12);
  --pol-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== 1. Hero refeito: BG + overlay + conteúdo sobreposto =====
   Escopado a .hero que tem .hero-bg filho (apenas a home polida).
   Outras páginas que usam .hero como nome genérico (soluciones/valente,
   nosotros antigo etc) mantêm seu CSS próprio sem conflito.
*/
.hero:has(.hero-bg) {
  position: relative;
  overflow: hidden;
  background-image: none !important;
  animation: none !important;
  background-color: #081d08;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero .hero-bg-1 {
  background-image: url('../imghome/Campanha-triple-shield-enfermedad-zero-2.png');
  animation: heroCrossfade 20s ease-in-out infinite;
}

.hero .hero-bg-2 {
  background-image: url('../imghome/fondo-caltech-es-biologico.jpg');
  animation: heroCrossfade 20s ease-in-out infinite;
  animation-delay: -10s;
}

@keyframes heroCrossfade {
  0%, 45%     { opacity: 1; }
  50%, 95%    { opacity: 0; }
  100%        { opacity: 1; }
}

/* Pausa a animação do hero quando sai do viewport (economiza frames) */
.hero:not(.is-inview) .hero-bg { animation-play-state: paused !important; }

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 8, 0) 0%, rgba(8, 24, 8, 0) 70%, rgba(8, 24, 8, 0.35) 100%);
  z-index: 1;
}

.hero .hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Grain é caro no mobile — remove pra ganhar FPS */
@media (max-width: 768px) {
  .hero .hero-grain { display: none; }
}

.hero::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.5), transparent);
  z-index: 4;
}

.hero .hero-content {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 140px 80px 120px;
  color: #f3fff3;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pol-green-soft);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(12px);
  animation: polFadeUp 0.9s var(--pol-ease) 0.2s forwards;
}

.hero-kicker::before {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--pol-green-soft);
}

.hero-title {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  color: #ffffff;
  max-width: 18ch;
  opacity: 0;
  transform: translateY(16px);
  animation: polFadeUp 0.9s var(--pol-ease) 0.35s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--pol-green-soft);
  position: relative;
  font-variation-settings: "SOFT" 100;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  line-height: 1.7;
  color: rgba(243, 255, 243, 0.78);
  max-width: 44ch;
  margin: 0 0 42px;
  opacity: 0;
  transform: translateY(16px);
  animation: polFadeUp 0.9s var(--pol-ease) 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: polFadeUp 0.9s var(--pol-ease) 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background-color: var(--pol-gold);
  color: #1c1300;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 160, 0, 0.35);
  transition: transform 0.25s var(--pol-ease), box-shadow 0.25s var(--pol-ease), background-color 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--pol-gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 143, 0, 0.45);
}

.btn-primary .arrow {
  transition: transform 0.25s var(--pol-ease);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  background-color: transparent;
  color: #f3fff3;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(243, 255, 243, 0.28);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--pol-green-soft);
  color: var(--pol-green-soft);
  background-color: rgba(139, 195, 74, 0.08);
}

/* Scroll indicator no hero */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 6;
  opacity: 0;
  animation: polFadeUp 0.9s var(--pol-ease) 1s forwards;
  text-decoration: none;
  color: inherit;
}

.hero-scroll span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243, 255, 243, 0.55);
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(139, 195, 74, 0.9), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.35); }
}

@keyframes polFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 2. Trust strip ===== */
.trust-strip {
  background-color: #ffffff;
  padding: 40px 60px;
  border-bottom: 1px solid var(--pol-line);
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  padding-left: 20px;
  border-left: 1px solid var(--pol-line);
}

.trust-item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pol-green);
  font-weight: 500;
}

.trust-label {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--pol-ink);
  line-height: 1.2;
}

.trust-sub {
  font-size: 0.82rem;
  color: var(--pol-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .trust-strip { padding: 32px 20px; }
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .trust-item:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 480px) {
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-left: none; padding-left: 0; border-top: 1px solid var(--pol-line); padding-top: 20px; }
  .trust-item:first-child { border-top: none; padding-top: 0; }
}

/* ===== 3. Section headers / kickers universais ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pol-green);
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--pol-green);
}

/* ===== 4. BioBox redesenhado ===== */
.bio-box {
  padding: 120px 60px;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.bio-box .image-container {
  filter: drop-shadow(0 30px 60px rgba(0, 60, 0, 0.2));
  position: relative;
}

.bio-box .image-container::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at 30% 30%, rgba(139, 195, 74, 0.2), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(20px);
}

.bio-box .text-container {
  text-align: left;
  max-width: 540px;
}

.bio-box .text-container h2 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pol-ink);
  margin: 0 0 22px;
}

.bio-box .text-container h2 em {
  font-style: italic;
  color: var(--pol-green);
}

.bio-box .text-container p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--pol-muted);
  max-width: 48ch;
  margin: 0 0 32px;
}

/* ===== 5. CTA button base (CTAs originais) ===== */
.cta-button,
.cta-button-inverted {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: var(--pol-gold);
  color: #1c1300;
  box-shadow: 0 10px 26px rgba(255, 160, 0, 0.3);
  transition: transform 0.25s var(--pol-ease), box-shadow 0.25s var(--pol-ease), background-color 0.25s ease;
  margin-top: 0;
}

.cta-button::after,
.cta-button-inverted::after {
  content: '→';
  font-size: 1.1em;
  transition: transform 0.25s var(--pol-ease);
}

.cta-button:hover,
.cta-button-inverted:hover {
  background-color: var(--pol-gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 143, 0, 0.4);
}

.cta-button:hover::after,
.cta-button-inverted:hover::after {
  transform: translateX(4px);
}

/* ===== 6. Inverted Section ===== */
.inverted-section {
  padding: 120px 60px;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  background: transparent;
  align-items: center;
}

.inverted-wrap {
  background: linear-gradient(180deg, #f8faf6 0%, #eef6ea 100%);
  border-top: 1px solid var(--pol-line);
  border-bottom: 1px solid var(--pol-line);
}

.inverted-section .text-container-inverted {
  text-align: left;
  max-width: 540px;
}

.inverted-section .text-container-inverted h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pol-ink);
  margin: 0 0 22px;
}

.inverted-section .text-container-inverted h2 em {
  font-style: italic;
  color: var(--pol-green);
}

.inverted-section .text-container-inverted p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--pol-muted);
  max-width: 48ch;
  margin: 0 0 32px;
}

.inverted-section .image-container-inverted {
  filter: drop-shadow(0 30px 60px rgba(0, 60, 0, 0.2));
  position: relative;
}

/* ===== 7. Drone XAG: cinema-grade ===== */
.drone-section {
  background: #ffffff;
  padding-top: 40px;
  overflow: visible;
}

.drone-top-area {
  min-height: 180px;
  padding: 0 40px;
}

/* Fix drone image cropping — cap height, keep position tight */
.drone-image {
  top: -200px !important;
  max-height: 580px !important;
  max-width: 95% !important;
}

.drone-top-right .xag-logo {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.drone-red-area {
  background:
    radial-gradient(ellipse at 75% 40%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, #d32f2f 0%, #B71C1C 55%, #7e0e0e 100%);
  position: relative;
}

.drone-red-area .drone-red-content {
  position: relative;
  z-index: 2;
  min-height: 360px;
  padding: 40px;
}

.drone-red-left {
  min-height: 360px;
}

.drone-image {
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.drone-model {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 900 !important;
  font-size: 180px !important;
  letter-spacing: -0.08em !important;
  color: rgba(255, 255, 255, 0.96) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.08) !important;
  bottom: 10px !important;
  z-index: 1 !important;
}

.drone-red-right .drone-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.drone-red-right .drone-kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.drone-description {
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.drone-description em {
  font-style: italic;
  color: #ffcfcf;
}

.drone-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #B71C1C;
  padding: 14px 36px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s var(--pol-ease), box-shadow 0.25s var(--pol-ease), background-color 0.25s ease;
}

.drone-button:hover {
  background-color: #1a0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.drone-button::after {
  content: '→';
  font-size: 1.1em;
  transition: transform 0.25s var(--pol-ease);
}

.drone-button:hover::after {
  transform: translateX(4px);
}

/* ===== 8. Contact Section com dual CTA ===== */
.contact-section {
  padding: 120px 20px;
  background-image:
    linear-gradient(180deg, rgba(8, 24, 8, 0.55), rgba(8, 24, 8, 0.8)),
    url('../imghome/Slide-inferior-2.jpg');
  background-size: cover;
  background-position: center;
  color: #f3fff3;
}

.contact-section .section-tag {
  color: var(--pol-green-soft);
  justify-content: center;
}

.contact-section .section-tag::before {
  background: var(--pol-green-soft);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-section .contact-container {
  background: transparent;
  box-shadow: none;
  padding: 0;
  max-width: 640px;
  backdrop-filter: none;
}

.contact-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 12px;
}

.contact-section h2 em {
  font-style: italic;
  color: var(--pol-green-soft);
}

.contact-section .contact-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(243, 255, 243, 0.75);
  max-width: 42ch;
  margin: 0 auto 36px;
}

.contact-section .divider { display: none; }

.contact-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-actions .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2ad16e 0%, #22c15f 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--pol-ease), box-shadow 0.25s var(--pol-ease);
}

.contact-actions .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.45);
}

.contact-actions .btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-actions .btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: transparent;
  color: #f3fff3;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(243, 255, 243, 0.32);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.contact-actions .btn-phone:hover {
  border-color: var(--pol-green-soft);
  color: var(--pol-green-soft);
  background-color: rgba(139, 195, 74, 0.1);
}

/* Esconde o whatsapp-button redondo antigo (substituímos pelas actions) */
.contact-section .whatsapp-button { display: none; }

/* ===== 9. Widget Câmbios ===== */
.exchange-block {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9f3 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exchange-block .section-tag { justify-content: center; }

.exchange-block h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 1.5vw + 1rem, 2.2rem);
  font-weight: 400;
  color: var(--pol-ink);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}

.exchange-block h3 em {
  font-style: italic;
  color: var(--pol-green);
}

.exchange-block .exchange-sub {
  font-size: 0.95rem;
  color: var(--pol-muted);
  margin: 0 0 34px;
}

.exchange-block .exchange-frame {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--pol-shadow-lift);
  max-width: 880px;
  width: 100%;
  border: 1px solid var(--pol-line);
}

.exchange-block iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  border-radius: 10px;
}

/* ===== 10. Menu polish (minimalista, sem icones PNG) ===== */
nav.main-menu {
  padding: 18px 48px !important;
  transition: background-color 0.4s var(--pol-ease), box-shadow 0.4s var(--pol-ease), backdrop-filter 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
  padding: 12px 48px !important;
  background-color: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* Logo menor e refinado */
nav .logo img {
  max-height: 64px !important;
  height: auto !important;
  transition: max-height 0.35s var(--pol-ease), filter 0.35s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

nav.scrolled .logo img {
  max-height: 54px !important;
}

/* Esconder ícones PNG poluídos */
ul.menu-items li a .menu-icon {
  display: none !important;
}

/* Items do menu — tipografia editorial */
ul.menu-items {
  gap: 36px !important;
  padding-right: 0 !important;
  align-items: center;
}

ul.menu-items li a {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #f3fff3 !important;
  padding: 10px 0 !important;
  gap: 0 !important;
  transition: color 0.3s var(--pol-ease), opacity 0.3s ease !important;
  position: relative;
  opacity: 0.82;
}

ul.menu-items li a:hover {
  opacity: 1;
  color: var(--pol-green-soft) !important;
}

nav.scrolled ul.menu-items li a {
  color: var(--pol-ink) !important;
  opacity: 0.72;
}

nav.scrolled ul.menu-items li a:hover {
  opacity: 1;
  color: var(--pol-green-deep) !important;
}

/* Underline refinado */
ul.menu-items li a::after {
  content: '';
  position: absolute;
  left: 0 !important;
  right: 0;
  bottom: 2px;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--pol-ease);
}

ul.menu-items li a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Destaque sutil para o item TecnoDay (opcional — gold accent) */
ul.menu-items li.tecnoday-item a {
  color: var(--pol-gold) !important;
  opacity: 0.95;
}

ul.menu-items li.tecnoday-item a:hover {
  color: var(--pol-gold-deep) !important;
}

nav.scrolled ul.menu-items li.tecnoday-item a {
  color: var(--pol-gold-deep) !important;
  opacity: 0.95;
}

/* Mobile (até 1024px) — menu antigo permanece, só tipografia polida */
@media (max-width: 1024px) {
  nav.main-menu {
    padding: 14px 22px !important;
  }
  nav.scrolled .logo img,
  nav .logo img {
    max-height: 36px !important;
  }
  ul.menu-items li a::after { display: none; }
  ul.menu-items li a {
    font-size: 0.85rem !important;
    letter-spacing: 0.1em !important;
    padding: 12px !important;
  }
  ul.menu-items li a .menu-icon {
    display: none !important;
  }
}

/* ===== 11. Footer refinado (wins over inline <style> via specificity) ===== */
body .site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f3f9f3 100%) !important;
  padding: 72px 40px 32px !important;
  border-top: 1px solid var(--pol-line) !important;
  text-align: left !important;
}

body .site-footer .footer-content {
  display: grid !important;
  grid-template-columns: 1.1fr 1.6fr 0.8fr;
  gap: 60px;
  align-items: flex-start !important;
  max-width: 1200px !important;
  margin: 0 auto;
  flex-wrap: nowrap !important;
}

body .site-footer .footer-logo {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body .site-footer .footer-logo img {
  width: 150px !important;
  height: auto !important;
  filter: drop-shadow(0 4px 12px rgba(0, 60, 0, 0.08));
}

body .site-footer .footer-contact {
  text-align: left !important;
  line-height: 1.85 !important;
  font-size: 0.92rem !important;
  color: var(--pol-muted) !important;
  font-family: 'Inter', sans-serif;
}

body .site-footer .footer-contact p {
  margin: 0 0 4px;
}

body .site-footer .footer-contact h3 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 500 !important;
  letter-spacing: 0.26em !important;
  font-size: 0.7rem !important;
  color: var(--pol-green) !important;
  margin-bottom: 16px !important;
  text-transform: uppercase !important;
}

body .site-footer .footer-contact strong {
  color: var(--pol-ink);
  font-weight: 600;
}

body .site-footer .footer-contact a {
  color: var(--pol-green-deep) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

body .site-footer .footer-contact a:hover {
  color: var(--pol-gold) !important;
  border-bottom-color: var(--pol-gold);
}

body .site-footer .footer-social {
  display: flex !important;
  gap: 12px !important;
  justify-content: flex-end;
  align-self: flex-start;
  padding-top: 8px;
}

body .site-footer .footer-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--pol-line);
  transition: transform 0.25s var(--pol-ease), border-color 0.25s ease, background-color 0.25s ease;
}

body .site-footer .footer-social .social-icon:hover {
  border-color: var(--pol-green);
  background-color: var(--pol-green-tint);
  transform: translateY(-3px);
}

body .site-footer .footer-social .social-icon img {
  width: 20px !important;
  height: 20px !important;
  opacity: 0.78 !important;
  transition: opacity 0.2s ease !important;
}

body .site-footer .footer-social .social-icon:hover img {
  opacity: 1 !important;
  transform: none !important;
}

body .site-footer .footer-bottom {
  margin-top: 48px !important;
  padding-top: 22px !important;
  border-top: 1px solid var(--pol-line) !important;
  color: var(--pol-dim) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.06em !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: left !important;
}

body .site-footer .footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  body .site-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }
  body .site-footer .footer-social {
    justify-content: flex-start;
  }
}

/* ===== 12. Reveal animations (IntersectionObserver) ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--pol-ease), transform 0.9s var(--pol-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 13. Responsividade ===== */
@media (max-width: 1024px) {
  .hero .hero-content { padding: 120px 40px 80px; }
  .bio-box, .inverted-section { padding: 80px 40px; gap: 48px; }
  .contact-section { padding: 100px 20px; }
}

@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .hero .hero-content { padding: 110px 24px 80px; }
  .hero-actions { gap: 10px; }
  .btn-primary, .btn-ghost { padding: 13px 22px; font-size: 0.82rem; }
  .hero-scroll { display: none; }

  .bio-box, .inverted-section {
    flex-direction: column;
    padding: 72px 24px;
    gap: 36px;
    text-align: center;
  }

  .bio-box .text-container,
  .inverted-section .text-container-inverted {
    text-align: center;
    max-width: none;
  }

  .bio-box .text-container p,
  .inverted-section .text-container-inverted p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-section { padding: 80px 20px; }
  .contact-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin: 0 auto; }
  .contact-actions .btn-whatsapp, .contact-actions .btn-phone { justify-content: center; }

  .exchange-block { padding: 72px 16px; }
  .exchange-block iframe { height: 500px; }

  /* Drone mobile — centralizar imagem P150 */
  .drone-section { padding-top: 0; }
  .drone-top-area { padding: 0 20px; }
  .drone-top-right { justify-content: center !important; transform: none !important; }
  .drone-image {
    top: -60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-height: 240px !important;
    max-width: 78% !important;
  }
  .drone-model { font-size: 68px !important; bottom: 14px !important; }
  .drone-red-left { min-height: 240px !important; justify-content: center !important; }
  .drone-red-area .drone-red-content { min-height: auto; padding: 30px 20px; }

  /* Trust strip centralizado no mobile */
  .trust-inner { grid-template-columns: 1fr !important; gap: 20px !important; }
  .trust-item {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--pol-line);
    padding-top: 18px !important;
    text-align: center;
    align-items: center;
  }
  .trust-item:first-child { border-top: none; padding-top: 0 !important; }
  .trust-item .trust-kicker,
  .trust-item .trust-label,
  .trust-item .trust-sub { text-align: center; }

  /* Padronizar ordem no mobile: imagem SEMPRE em cima, texto+CTA embaixo */
  .inverted-section .image-container-inverted { order: -1 !important; }
}

/* Respeito a prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero .hero-bg { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
