/* =========================================================
   PARAFUSILHA OFFSHORE — style.css
   ========================================================= */

/* ----- VARIÁVEIS ----- */
:root {
  --navy:       #0B2D59;
  --navy-dark:  #081f3f;
  --accent:     #F2B90C;
  --accent-dark:#c9970a;
  --white:      #ffffff;
  --light:      #F5F7FA;
  --gray:       #6B7280;
  --gray-light: #E5E8EE;
  --text:       #0D0D0D;
  --text-mid:   #374151;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 12px rgba(11,45,89,.10);
  --shadow-lg:  0 8px 32px rgba(11,45,89,.16);
  --transition: 220ms ease;

  --header-h:   72px;
  --container:  1200px;
}

/* Fallback de fonte com métricas ajustadas para minimizar CLS no font-swap */
@font-face {
  font-family: 'Montserrat-Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('sans-serif');
  size-adjust: 94.4%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: 'Montserrat', 'Montserrat-Fallback', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
textarea, input, select { font-family: inherit; }

/* ----- SKIP LINK ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ----- CONTAINER ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: .9rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(242,185,12,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

/* ----- SECTION UTILITIES ----- */
.section { padding-block: 5rem; }

/* Renderização adiada de seções fora da viewport */
.pain-section, .about-section, .products-section,
.diff-section, .howto-section, .clients-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.section-badge {
  display: inline-block;
  background: rgba(242,185,12,.15);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-badge--light {
  background: rgba(242,185,12,.2);
  color: var(--accent);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: .75rem;
}
.section-header p {
  color: var(--gray);
  font-size: .975rem;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,.75); }

/* ----- SCROLL REVEAL ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--header-h);
  transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header .container { height: 100%; }

.navbar { height: 100%; }

.navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar-logo img { height: 40px; width: auto; object-fit: contain; }
.logo-fallback {
  display: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Desktop nav links */
.nav-links {
  display: none;
  justify-content: center;
  gap: .25rem;
}
.nav-link {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 600;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(255,255,255,.07);
}

/* Mobile CTAs — col 3 on mobile */
.nav-mobile-ctas {
  display: flex;
  align-items: center;
  gap: 4px;
  grid-column: 3;
  grid-row: 1;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.nav-icon-btn:hover {
  background: rgba(255,255,255,.12);
  color: var(--accent);
}

/* Desktop CTA button */
.nav-cta {
  display: none;
  grid-column: 3;
  grid-row: 1;
  padding: .45rem 1rem;
  font-size: .8rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,31,63,.88) 0%,
    rgba(11,45,89,.75) 60%,
    rgba(11,45,89,.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 4rem 3rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(242,185,12,.2);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(242,185,12,.4);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}

/* =========================================================
   PAIN SECTION
   ========================================================= */
.pain-section { background: var(--light); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pain-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.pain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.pain-card p { font-size: .9rem; color: var(--gray); }

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  background: var(--accent);
  color: var(--navy);
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.about-badge strong { display: block; font-size: .9rem; font-weight: 800; }
.about-badge span  { font-size: .78rem; font-weight: 500; }

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.about-content p {
  color: var(--text-mid);
  margin-bottom: .9rem;
  font-size: .975rem;
}

.about-highlights {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.about-highlight {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
}
.about-highlight svg { color: var(--accent); flex-shrink: 0; }

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products-section { background: var(--light); }

.products-carousel-wrap {
  position: relative;
  margin-bottom: 2.5rem;
}

.products-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: .5rem;
}
.products-carousel::-webkit-scrollbar { display: none; }

.product-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent);
}

.product-img {
  height: 180px;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  padding: 1.25rem 1.5rem 0;
}
.product-card p {
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.6;
  padding: 0 1.5rem 1.5rem;
}

.carousel-btn {
  display: none;
  position: absolute;
  top: 90px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 50%;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition);
}
.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }


/* =========================================================
   DIFFERENTIALS SECTION
   ========================================================= */
.diff-section {
  background: var(--navy);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.diff-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.diff-card:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.diff-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.diff-card p { font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.howto-section { background: var(--white); }

.howto-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.howto-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(11,45,89,.08);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.step-content p { font-size: .9rem; color: var(--gray); }

.howto-connector {
  position: relative;
  width: 2px;
  height: 32px;
  background: var(--gray-light);
  margin-left: 27px;
}
.howto-connector::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  right: auto;
  top: auto;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gray-light);
  border-bottom: 0;
}

/* =========================================================
   CLIENTS SECTION
   ========================================================= */
.clients-section { background: var(--light); }

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.client-logo-wrap {
  opacity: .8;
  transition: opacity var(--transition), transform var(--transition), filter var(--transition);
  filter: grayscale(20%);
}
.client-logo-wrap:hover {
  opacity: 1;
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Form */
.contact-form-wrap {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mid);
}
.required { color: var(--accent-dark); }

.form-group input,
.form-group textarea {
  padding: .75rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,45,89,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-loading { display: none; }
.btn.loading .btn-text   { display: none; }
.btn.loading .btn-loading { display: inline; }

.form-feedback {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  margin-top: 1rem;
}
.form-feedback.show { display: flex; }
.form-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.form-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Contact Info */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-methods { display: flex; flex-direction: column; gap: .75rem; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: background var(--transition), box-shadow var(--transition);
}
a.contact-method:hover {
  background: var(--gray-light);
  box-shadow: var(--shadow);
}

.contact-icon { color: var(--accent); flex-shrink: 0; }

.contact-method div {
  display: flex;
  flex-direction: column;
}
.contact-method div span { font-size: .875rem; }
.contact-label {
  font-size: .75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray) !important;
}
.contact-value {
  font-weight: 600;
  color: var(--text) !important;
}
a.contact-whatsapp .contact-value { color: #075e54 !important; }
a.contact-phone   .contact-value  { color: var(--navy) !important; }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; border: 0; }
.contact-map .map-wrap iframe { height: 340px; }

/* Honeypot — oculto via CSS, sem inline style */
.botcheck { display: none !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: .5rem;
}
.footer-parent {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-parent a { color: var(--accent); font-weight: 600; }
.footer-parent a:hover { text-decoration: underline; }

.footer-col h3 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-col ul li,
.footer-col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }

.footer-col address p {
  font-size: .875rem;
  margin-bottom: .5rem;
  color: rgba(255,255,255,.65);
}
.footer-col address a { color: rgba(255,255,255,.65); }
.footer-col address a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-block: 1.25rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
}

/* =========================================================
   TABLET / DESKTOP — 768px+
   ========================================================= */
@media (min-width: 768px) {

  /* Header */
  .nav-mobile-ctas { display: none; }
  .nav-links        { display: flex; }
  .nav-cta          { display: inline-flex; }

  /* Disable tel/email links on desktop */
  .nav-phone,
  .nav-email {
    pointer-events: none;
    cursor: default;
  }
  .nav-phone:hover,
  .nav-email:hover {
    background: transparent;
    color: var(--white);
  }

  a.contact-phone,
  a.contact-email {
    pointer-events: none;
    cursor: default;
  }
  a.contact-phone:hover,
  a.contact-email:hover {
    background: var(--light);
    box-shadow: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  /* Products carousel — show nav buttons, 3 cards per view */
  .carousel-btn { display: flex; }
  .product-card { flex: 0 0 calc(33.333% - 1rem); }
  .contact-map .map-wrap iframe { height: 380px; }

  /* How it works — horizontal on desktop */
  .howto-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: flex-start;
    gap: 0;
  }
  .howto-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
  }
  .howto-connector {
    position: relative;
    width: 100%;
    height: 2px;
    margin: 28px 0 0 0;
    background: var(--gray-light);
  }
  .howto-connector::after {
    bottom: auto;
    left: auto;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 7px solid var(--gray-light);
    border-right: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }

  /* Form row */
  .form-row { grid-template-columns: 1fr 1fr; }

  /* Contact grid — form+contacts side by side, map full-width below */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-map {
    grid-column: 1 / -1;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* =========================================================
   LARGE DESKTOP — 1024px+
   ========================================================= */
@media (min-width: 640px) {
  .product-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (min-width: 1024px) {
  .product-card  { flex: 0 0 calc(33.333% - 1rem); }
  .diff-grid     { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   FOOTER MOBILE REORDER — max 767px
   ========================================================= */
@media (max-width: 767px) {
  .footer-brand        { order: 1; text-align: center; }
  .footer-contact-col  { order: 2; }
  .footer-col:nth-child(3) { order: 3; }
  .footer-col:nth-child(2) { order: 4; }

  .footer-brand img { margin-inline: auto; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
