/*
  Versão: 1.00
  Data..: 2026-09-23
  Folha de estilos - Nassau Trading
*/

/* ============================================================
   Variáveis e base
   ============================================================ */
:root {
  --navy: #0c2746;
  --navy-2: #123a63;
  --ink: #152b41;
  --muted: #62717f;
  --line: #dfe5e9;
  --light: #f6f8f9;
  --white: #fff;
  --accent: #1f9e8f;      /* verde-petróleo: conexão / indústria */
  --accent-2: #3ba7d6;    /* azul de apoio para gradientes */
  --radius: 18px;
  --shadow-sm: 0 4px 18px rgba(12, 39, 70, .06);
  --shadow-md: 0 18px 50px rgba(12, 39, 70, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Manrope', Arial, sans-serif; }
p { line-height: 1.7; }
section[id] { scroll-margin-top: 100px; }

.wrap {
  width: min(1180px, calc(100% - 52px));
  margin-inline: auto;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  opacity: .6;
}

.section { padding: 116px 0; }

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.045em;
  margin: 18px 0 0;
}

.section-intro {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.03rem;
  margin: 20px 0 0;
}

.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Barra de progresso de rolagem
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
}

/* ============================================================
   Cabeçalho
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
header.scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo img { width: 200px; height: auto; transition: transform .3s var(--ease); }
.logo:hover img { transform: scale(1.03); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: .9rem;
  font-weight: 600;
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }
.nav .contact-link {
  color: var(--white);
  background: var(--navy);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav .contact-link::after { display: none; }
.nav .contact-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
}
.orb-a {
  width: 480px; height: 480px;
  top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(59,167,214,.45), transparent 70%);
  animation: float 14s ease-in-out infinite;
}
.orb-b {
  width: 420px; height: 420px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(31,158,143,.4), transparent 70%);
  animation: float 18s ease-in-out infinite reverse;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12,39,70,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,39,70,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 26px) scale(1.06); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 62px;
  align-items: center;
}
.hero-copy { padding: 12px 0; }
.hero h1 {
  font-weight: 600;
  max-width: 640px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 22px 0;
}
.hero p {
  max-width: 480px;
  color: #536675;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(12,39,70,.22);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(12,39,70,.3); background: var(--navy-2); }
.btn-primary:hover span { transform: translateX(5px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--navy);
  background: rgba(255,255,255,.6);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-3px); }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font: 700 1.75rem 'Space Grotesk', sans-serif;
  color: var(--navy);
  letter-spacing: -.02em;
}
.stat span {
  color: var(--muted);
  font-size: .84rem;
}

.hero-image {
  position: relative;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dbe4e9;
  box-shadow: var(--shadow-md);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 63% center;
  transition: transform 1.1s var(--ease);
}
.hero-image:hover img { transform: scale(1.05); }
.hero-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(31,158,143,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,158,143,.5); }
  70% { box-shadow: 0 0 0 10px rgba(31,158,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,158,143,0); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--navy);
  font-size: .94rem;
  font-weight: 700;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 8px;
  transition: gap .25s var(--ease);
}
.text-link span { font-size: 1.15rem; }
.text-link:hover { gap: 22px; }

/* ============================================================
   Faixa / Empresa
   ============================================================ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--light);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip-item {
  position: relative;
  padding: 40px 34px 40px 0;
}
.strip-item + .strip-item {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.strip-num {
  display: block;
  font: 700 .78rem 'Space Grotesk', sans-serif;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.strip-item strong {
  display: block;
  font: 600 1.02rem 'Space Grotesk', sans-serif;
  margin-bottom: 8px;
}
.strip-item span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* ============================================================
   Estrutura / Localização
   ============================================================ */
.location { background: var(--light); }
.location-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.location .section-title { max-width: 490px; }
.location-copy {
  border-top: 1px solid #cbd5dc;
  padding-top: 28px;
  margin-top: 10px;
}
.location-copy > p {
  color: #42586b;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 26px;
}
.benefit {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 25px;
  padding: 20px 0;
  border-top: 1px solid #d3dce2;
  transition: padding-left .3s var(--ease);
}
.benefit:hover { padding-left: 8px; }
.benefit strong { font: 600 .96rem 'Space Grotesk', sans-serif; }
.benefit span { color: var(--muted); font-size: .91rem; line-height: 1.55; }

/* ============================================================
   Resinas
   ============================================================ */
.products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 46px;
}
.products-head .section-intro { max-width: 365px; margin: 0 0 4px; }

.resin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.resin {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: default;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.resin::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.resin:hover, .resin:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  outline: none;
}
.resin:hover::before, .resin:focus-visible::before { transform: scaleY(1); }
.resin strong {
  font: 600 1.4rem 'Space Grotesk', sans-serif;
  letter-spacing: -.03em;
  color: var(--navy);
}
.resin .full { color: var(--muted); font-size: .92rem; }
.resin .plus {
  font-size: 1.2rem;
  color: #9aa8b2;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.resin:hover .plus, .resin:focus-visible .plus { transform: translateX(5px); color: var(--accent); }
.product-note { margin: 26px 0 0; color: var(--muted); font-size: .88rem; }

/* ============================================================
   Comércio exterior
   ============================================================ */
.trade {
  background: var(--navy);
  color: #dfe8f1;
  position: relative;
  overflow: hidden;
}
.trade::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,167,214,.25), transparent 70%);
  filter: blur(30px);
}
.trade .wrap { position: relative; z-index: 1; }
.trade .label { color: var(--accent-2); }
.trade .section-title { color: var(--white); max-width: 850px; }
.trade-head { max-width: 920px; margin-bottom: 62px; }
.trade-head p { max-width: 850px; color: #a9bccf; font-size: 1.06rem; margin: 23px 0 0; }
.trade .text-link { color: var(--white); border-color: rgba(255,255,255,.5); margin-top: 26px; }
.trade .text-link:hover { border-color: var(--accent-2); }
.trade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.trade-column { padding: 38px 60px 0 0; }
.trade-column + .trade-column {
  border-left: 1px solid rgba(255,255,255,.14);
  padding: 38px 0 0 60px;
}
.trade-column .label { margin-bottom: 18px; }
.trade-column h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.035em;
  margin-bottom: 19px;
  color: var(--white);
}
.trade-column p { color: #a9bccf; font-size: .96rem; margin-bottom: 14px; }
.trade-column p:last-child { margin-bottom: 0; }

/* ============================================================
   Outros materiais
   ============================================================ */
.alternatives { background: var(--white); border-top: 1px solid var(--line); }
.alt-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 85px;
  align-items: start;
}
.alt-layout .section-intro { max-width: 410px; }
.alt-list { border-top: 1px solid var(--line); }
.alt-item {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 22px;
  transition: padding-left .3s var(--ease);
}
.alt-item:hover { padding-left: 10px; }
.alt-item .index {
  color: var(--accent);
  font: 700 .84rem 'Space Grotesk', sans-serif;
  padding-top: 6px;
}
.alt-item h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 9px; }
.alt-item p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ============================================================
   Contato
   ============================================================ */
.contact {
  padding: 118px 0 128px;
  background: var(--light);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: start;
}
.contact .section-title { max-width: 550px; }
.contact .section-intro { max-width: 500px; }
.contact-details {
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.detail {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.detail:hover { padding-left: 8px; }
.detail span { color: var(--muted); font-size: .91rem; padding-top: 3px; }
.detail a, .detail address {
  font-size: 1.05rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.detail address { font-style: normal; line-height: 1.6; }
.detail a { transition: color .25s var(--ease); }
.detail a:hover { color: var(--accent); }

/* ============================================================
   Rodapé
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: #788793;
  font-size: .82rem;
  background: var(--white);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner img { width: 150px; height: auto; }
.back-top { font-weight: 600; transition: color .25s var(--ease); }
.back-top:hover { color: var(--navy); }

/* ============================================================
   Animações de entrada (reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 26px 22px;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform .4s var(--ease);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .contact-link {
    margin-top: 14px;
    justify-content: center;
    display: flex;
    border-bottom: none;
  }
  .nav-toggle { display: flex; }

  .hero-grid { gap: 40px; }
  .hero-image { height: 440px; }
  .section { padding: 88px 0; }
  .trade-grid, .location-grid, .contact-grid { gap: 50px; }
  .alt-layout { gap: 44px; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 1180px); }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .alt-layout, .trade-grid, .location-grid, .contact-grid { display: block; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.6rem); margin: 18px 0; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 26px; }
  .hero-image { height: 340px; margin-top: 40px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item, .strip-item + .strip-item { padding: 24px 0; border-left: 0; }
  .strip-item + .strip-item { border-top: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .products-head { display: block; margin-bottom: 32px; }
  .products-head .section-intro { margin: 18px 0 0; }
  .resin-grid { grid-template-columns: 1fr; }
  .alt-list, .contact-details { margin-top: 34px; }
  .location-copy { margin-top: 28px; }
  .contact { padding: 76px 0 88px; }
  .trade-head { margin-bottom: 44px; }
  .trade-column { padding: 30px 0 34px; }
  .trade-column + .trade-column {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    padding: 30px 0 0;
  }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .detail { grid-template-columns: 1fr; gap: 6px; }
  .detail span { padding-top: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* Acessibilidade: respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
