/* ============================================
   COPATEC EMPILHADEIRAS — Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --yellow: #F5A623;
  --yellow-dark: #D4911E;
  --yellow-light: #FFD56B;
  --black: #111111;
  --dark: #1a1a1a;
  --dark-2: #222222;
  --dark-3: #2a2a2a;
  --gray: #666666;
  --gray-dark-bg: #a0a0a0;
  --amber-text: #A35F00;
  --gray-light: #cccccc;
  --white: #ffffff;
  --off-white: #f4f4f0;
  --green-whatsapp: #25D366;
  --green-whatsapp-dark: #0E7A5F;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --radius: 6px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
address { font-style: normal; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-yellow { color: var(--amber-text); }
.hero .text-yellow, .section-marcas .text-yellow { color: var(--yellow); }
.container-narrow { max-width: 860px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--yellow); color: var(--black); padding: 10px 18px;
  font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 32px; border: 2px solid transparent;
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-sm { padding: 10px 20px; font-size: .8rem; }
.btn-whatsapp {
  background: var(--green-whatsapp-dark); color: var(--white); border-color: var(--green-whatsapp-dark);
  margin-top: 1rem; width: 100%; justify-content: center;
}
.btn-whatsapp:hover { background: #0a6550; border-color: #0a6550; }
.btn-mt { margin-top: 1.5rem; }

/* --- Header --- */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.header-top {
  background: var(--black);
  color: var(--gray-light);
  font-size: .8rem;
  padding: 6px 0;
}
.header-top-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.header-info { display: flex; gap: 20px; flex-wrap: wrap; }
.header-info-item { display: inline-flex; align-items: center; gap: 6px; }
.header-contact { display: flex; gap: 16px; }
.header-contact-item { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-light); }
.header-contact-item:hover { color: var(--yellow); }
.whatsapp-link:hover { color: var(--green-whatsapp); }

.main-nav {
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  padding: 0;
  transition: box-shadow var(--transition);
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  font-family: var(--font-display);
  font-weight: 500; font-size: .9rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 8px 16px; border-radius: var(--radius);
  color: var(--dark); position: relative;
  transition: all var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--yellow); transition: all var(--transition); transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active { color: var(--black); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-links { align-items: center; }
.nav-cta-item { margin-left: 12px; }
.nav-cta { color: var(--black); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  margin: 5px 0; transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 120px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(17,17,17,.85) 0%,
    rgba(26,26,26,.7) 40%,
    rgba(42,42,42,.5) 100%
  );
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(245,166,35,.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(245,166,35,.05) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.hero-text { color: var(--white); }
.hero-kicker {
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 3px; color: var(--yellow);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.1;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-subtitle {
  font-size: 1.25rem; color: var(--white);
  max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gray-dark-bg); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px; background: var(--yellow);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Features Bar --- */
.features-bar { background: var(--yellow); padding: 28px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item {
  display: flex; align-items: center; gap: 14px;
  color: var(--black);
}
.feature-item svg { flex-shrink: 0; }
.feature-item strong { display: block; font-family: var(--font-display); font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }
.feature-item span { font-size: .8rem; color: var(--dark-2); }

/* --- Sections --- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-display); font-size: .75rem;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--amber-text); background: rgba(245,166,35,.14);
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--dark);
  line-height: 1.2;
}
.section-desc {
  max-width: 640px; margin: 16px auto 0;
  color: var(--gray); font-size: 1.05rem;
}

/* --- Empresa --- */
.section-empresa { background: var(--off-white); }
.empresa-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: start; }
.empresa-lead {
  font-size: 1.2rem; font-weight: 500;
  color: var(--dark); margin-bottom: 1.2rem;
  border-left: 3px solid var(--yellow); padding-left: 20px;
}
.empresa-text p { margin-bottom: 1rem; color: #555; }
.empresa-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  background: var(--white); padding: 28px 24px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--yellow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-number {
  display: block;
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 700; color: var(--amber-text);
}
.stat-label { font-size: .9rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* --- Produtos --- */
.section-produtos { background: var(--white); }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.product-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-card { display: flex; flex-direction: column; cursor: pointer; }
.product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-cta {
  margin-top: auto; padding-top: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: 1px; color: var(--amber-text);
}
.product-cta:hover { color: var(--black); }
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 8px;
  color: var(--dark);
}
.product-info p { font-size: .95rem; color: var(--gray); line-height: 1.5; }

/* --- Marcas --- */
.section-marcas { background: var(--dark); color: var(--white); }
.section-marcas .section-title { color: var(--white); }
.section-marcas .section-desc { color: var(--gray-dark-bg); }
.section-marcas .section-tag { color: var(--yellow); }
.brands-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-bottom: 40px; list-style: none;
}
.brand-card {
  background: var(--dark-2); border: 1px solid var(--dark-3);
  border-radius: var(--radius); padding: 28px 16px;
  text-align: center;
  transition: all var(--transition);
}
.brand-card:hover {
  border-color: var(--yellow);
  background: var(--dark-3);
  transform: translateY(-4px);
}
.brand-card span {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gray-light);
}
.brand-card:hover span { color: var(--yellow); }
.marcas-info {
  background: var(--dark-2); border-radius: var(--radius);
  padding: 28px 32px; border-left: 3px solid var(--yellow);
}
.marcas-info p { color: var(--gray-light); margin-bottom: .8rem; font-size: .95rem; }
.marcas-info p:last-child { margin-bottom: 0; }
.marcas-info strong { color: var(--yellow); }

/* --- Depoimentos --- */
.section-depoimentos { background: var(--off-white); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  margin: 0; display: flex; flex-direction: column;
  background: var(--white); padding: 32px 28px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--yellow);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.stars { color: var(--yellow); font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-style: italic; color: #555;
  font-size: .95rem; line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-author > span:last-child > span { display: block; }
.author-avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span { font-size: .8rem; color: var(--gray); }

/* --- Contato --- */
.section-contato { background: var(--white); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contato-info { display: flex; flex-direction: column; gap: 28px; }
.contato-item { display: flex; gap: 16px; align-items: flex-start; }
.contato-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: rgba(245,166,35,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-text);
}
.contato-item h3 {
  font-family: var(--font-display);
  font-size: .9rem; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 6px;
}
.contato-item p, .contato-item address { color: #555; font-size: .95rem; }
.contato-route { display: inline-block; margin-top: 6px; font-weight: 600; font-size: .9rem; }
.contato-item a.contato-route { color: var(--amber-text); }
.contato-item a { color: var(--dark); }
.contato-item a:hover { color: var(--amber-text); text-decoration: underline; }
.contato-map { border-radius: var(--radius); overflow: hidden; min-height: 400px; background: #eee; }
.contato-map iframe { display: block; width: 100%; height: 100%; min-height: 400px; }

/* --- Footer --- */
.footer { background: var(--black); color: var(--gray-light); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 40px; }
.footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-col p { font-size: .9rem; line-height: 1.7; }
.footer-col h3 {
  font-family: var(--font-display); font-size: .85rem;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--yellow); margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: .9rem; color: var(--gray-light); }
.footer-col ul a:hover { color: var(--yellow); }
.footer-col a { color: var(--gray-light); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid var(--dark-3);
  padding: 20px 0; margin-top: 40px;
  text-align: center; font-size: .85rem; color: #FFF;
}
.footer-bottom a { color: #ffff00; }
.footer-bottom a:hover { color: #fff; }

/* --- FAQ --- */
.section-faq { background: var(--white); border-top: 1px solid #eee; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--off-white); border-radius: var(--radius);
  border-left: 3px solid var(--yellow);
}
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 52px 18px 22px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  letter-spacing: .3px; color: var(--dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--amber-text);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 22px 20px; color: #555; }
.faq-item a { color: var(--amber-text); font-weight: 600; }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,.6); }
}

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .empresa-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    align-items: stretch;
    background: var(--white); flex-direction: column;
    padding: 16px; border-bottom: 3px solid var(--yellow);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; display: block; }
  .nav-cta-item { margin: 8px 0 0; }
  .nav-link::after { left: 16px; transform: none; }
  .nav-link:hover::after, .nav-link.active::after { width: 32px; }
  .nav-cta { width: 100%; justify-content: center; }
  .main-nav { position: relative; }
  .whatsapp-float { bottom: 18px; right: 18px; }
  html { scroll-padding-top: 84px; }
  .hero { min-height: 80vh; min-height: 80svh; padding: 120px 0 80px; }
  .hero-scroll-indicator { display: none; }
  .section { padding: 60px 0; }
  .products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container { padding: 0 16px; }
}
.section-faq { padding-bottom: 40px; }
.section-faq + .section-contato { padding-top: 70px; }
