/* ================================================
   YAFO FERTILIZANTES — Design System
   Princípio: tipografia como hierarquia, cor como
   estrutura, zero ornamento gratuito.
================================================ */

/* === TOKENS === */
:root {
  --green-950: #061a0d;
  --green-900: #0a3318;
  --green-800: #0d5c2e;
  --green-700: #1a7a3e;
  --green-600: #22943e;
  --green-200: #b4d8be;
  --green-100: #e6f2ea;
  --green-50:  #f3faf5;
  --teal-950:  #052728;
  --teal-900:  #093a3d;
  --teal-800:  #0d5256;
  --teal-700:  #117478;
  --teal-600:  #178a8c;
  --teal-500:  #1ea3a5;
  --teal-100:  #d0e8e9;
  --teal-50:   #eaf6f6;
  --gold:      #b06d12;
  --white:     #ffffff;
  --off-white: #f8f9f6;
  --gray-100:  #f0f2ee;
  --gray-200:  #dde3d8;
  --gray-400:  #96a890;
  --gray-600:  #586854;
  --text:      #111c12;
  --text-2:    #3d5040;
  --text-3:    #6b8070;
  --border:    #d2dece;
  --whatsapp:   #25d366;
  --whatsapp-d: #1da851;
  --whatsapp-h: #4be08b;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows: flat e funcionais, sem camadas */
  --shadow-border: 0 0 0 1px var(--border);
  --shadow-raise:  0 2px 8px rgba(0,0,0,.07);
  --shadow-card:   0 1px 3px rgba(0,0,0,.06), 0 0 0 1px var(--border);

  --transition: .22s ease;
  --navbar-h: 72px;
  --container: 1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 16px; color: var(--text); background: linear-gradient(180deg, #f7fbfb 0%, #e8f3f3 100%); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
em { font-style: normal; }

/* === LAYOUT === */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
section { padding-block: 96px; }

/* === TIPOGRAFIA === */
h1, h2, h3, h4 { font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.15; font-weight: 800; color: var(--text); letter-spacing: -.025em; }
h1 { line-height: 1.05; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p  { line-height: 1.72; }

/* === EYEBROW / TAG === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 24px;
}
.eyebrow--light { color: rgba(255,255,255,.78); }

/* === SECTION HEADER === */
.section-header { max-width: 640px; margin-bottom: 64px; }
.section-header.centered { text-align: center; margin-inline: auto; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-3); font-size: 1.05rem; }

/* === BOTÕES — clean, sem sombra decorativa === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  border-radius: var(--radius);
  padding: 13px 26px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn--whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-d); border-color: var(--whatsapp-d); }

.btn--primary { background: var(--teal-700); color: var(--white); border-color: var(--teal-700); }
.btn--primary:hover { background: var(--teal-800); border-color: var(--teal-800); }

.btn--outline { background: transparent; color: var(--teal-700); border-color: var(--teal-700); }
.btn--outline:hover { background: var(--teal-700); color: var(--white); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }

.btn--sm  { padding: 9px 18px; font-size: .8rem; }
.btn--lg  { padding: 15px 34px; font-size: .95rem; }
.btn--full { width: 100%; justify-content: center; }

/* ======================================================
   NAVBAR
====================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--navbar-h);
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: var(--white);
  border-bottom-color: var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 24px;
}
.navbar__logo img { height: 132px; width: auto; margin: -30px 0 -30px -14px; transition: filter var(--transition); filter: brightness(0) invert(1); }
.navbar.scrolled .navbar__logo img { filter: none; }
.navbar__nav { display: flex; align-items: center; gap: 2px; }
.navbar__link {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  transition: color var(--transition), background var(--transition);
}
.navbar__link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.navbar.scrolled .navbar__link { color: var(--text-2); }
.navbar.scrolled .navbar__link:hover { color: var(--teal-700); background: var(--teal-100); }
.navbar__actions { display: flex; align-items: center; gap: 12px; }
.navbar__actions .btn--whatsapp { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.navbar__actions .btn--whatsapp:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.navbar.scrolled .navbar__actions .btn--whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.navbar.scrolled .navbar__actions .btn--whatsapp:hover { background: var(--whatsapp-d); border-color: var(--whatsapp-d); }
.navbar__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-sm); }
.navbar__toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: var(--transition); }
.navbar.scrolled .navbar__toggle span { background: var(--text); }

/* ======================================================
   HERO  — editorial, sem glassmorphism
====================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
  background: linear-gradient(160deg, var(--teal-600) 0%, var(--teal-700) 45%, var(--teal-800) 80%, var(--teal-900) 100%);
}
.hero::after { display: none; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-block: 80px;
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.hero__title { color: var(--white); margin-bottom: 20px; }
.hero__title em { color: #e6a418; font-style: normal; font-weight: 800; }
.hero__lead { color: rgba(255,255,255,.75); font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 28px;
  width: 100%;
}
.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  line-height: 1.4;
}
.hero__proof-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Hero media — foto em pé, dentro do cartão */
.hero__media { position: relative; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ≤1024px: a foto deitada entra no lugar da vertical (ver <picture> no HTML) */
@media (max-width: 1024px) {
  .hero-photo { aspect-ratio: 3 / 2; }
}

/* Desktop: coluna de texto um pouco maior — o título de 2 linhas não cabe em 50% */
@media (min-width: 1025px) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .hero__title { font-size: clamp(2.1rem, 3.9vw, 3rem); }
}
.media-placeholder {
  position: relative;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.media-placeholder__body {
  text-align: center;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.media-placeholder__icon { opacity: .25; }
.media-placeholder figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(6,26,13,.8);
  padding: 12px 20px;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-style: italic;
  line-height: 1.5;
}
.media-placeholder__label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  letter-spacing: .05em;
  font-family: 'Montserrat', sans-serif;
}

/* ======================================================
   STATS  — faixa de dados, tipografia pesada
====================================================== */
.stats {
  background: var(--teal-900);
  background-image: linear-gradient(180deg, var(--teal-800) 0%, var(--teal-900) 100%);
  padding-block: 72px;
  border-block: 1px solid rgba(255,255,255,.06);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-num sup { font-size: 1.2rem; color: var(--gold); vertical-align: super; }
.stat-count { display: inline; }
.stat-item p { font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; }

/* ======================================================
   BENEFITS  — grade numerada, zero cards flutuantes
====================================================== */
.benefits { background: var(--off-white); }

.benefits__layout { display: block; }
.benefits__layout .section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13,82,86,.12);
  border-color: var(--teal-100);
}
.benefit__icon-bg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-800) 100%);
  color: var(--white);
  margin-bottom: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(13,82,86,.25);
}
.benefit__icon-bg svg { width: 26px; height: 26px; stroke-width: 2; }
.benefit__num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 10px;
}
.benefit h3 { margin-bottom: 12px; font-size: 1.2rem; }
.benefit p { color: var(--text-3); font-size: .92rem; line-height: 1.6; }

@media (max-width: 960px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .benefits__grid { grid-template-columns: 1fr; }
}

/* ======================================================
   HOW IT WORKS  — linha do tempo horizontal
====================================================== */
.how-it-works {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(17, 116, 120, 0.10), transparent 70%),
    radial-gradient(900px 500px at 90% 110%, var(--green-100), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, var(--teal-50), transparent 60%),
    linear-gradient(180deg, var(--green-50) 0%, var(--white) 45%, var(--green-50) 100%);
}
.how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(13, 92, 46, 0.18) 1.2px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.55;
}
.how-it-works::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, var(--teal-100), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.how-it-works > .container { position: relative; z-index: 1; }
.steps {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.step { position: relative; z-index: 1; }
.step__dot { box-shadow: 0 8px 24px rgba(17, 116, 120, 0.25), 0 0 0 6px rgba(17, 116, 120, 0.08); }
.step__arrow { animation: arrow-pulse 2.4s ease-in-out infinite; opacity: 0; }
.steps > .step__arrow:nth-child(2) { animation-delay: 0s; }
.steps > .step__arrow:nth-child(4) { animation-delay: 0.8s; }
.steps > .step__arrow:nth-child(6) { animation-delay: 1.6s; }
@keyframes arrow-pulse {
  0%, 50%, 100% { opacity: 0; transform: translateX(0); }
  20%           { opacity: 1; transform: translateX(4px); color: var(--teal-500); }
}
@media (prefers-reduced-motion: reduce) {
  .step__arrow { animation: none; opacity: 1; }
}
.step {
  flex: 1;
  min-width: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step > div:not(.step__dot) { width: 100%; }
.step:first-child { padding-left: 0; }
.step:last-child  { padding-right: 0; }
.step__dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 8px;
  flex-shrink: 0;
  color: var(--teal-700);
}
.step__arrow svg { width: 32px; height: 32px; stroke-width: 2.5; }
.step h3 { font-size: 1rem; margin-bottom: 10px; }
.step p { font-size: .875rem; color: var(--text-3); }
.section-cta { margin-top: 56px; }

/* ======================================================
   PRODUCTS  — catálogo limpo, sem card-stack
====================================================== */
.products { background: var(--off-white); }
.products__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-3);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text-2); }
.tab-btn.active { color: var(--teal-700); border-bottom-color: var(--teal-700); }

.products__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.product-card { flex: 0 0 calc(33.333% - 14px); min-width: 260px; max-width: calc(33.333% - 14px); }
.product-card {
  background: var(--white);
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.product-card__photo {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.product-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__photo--contain { background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%); aspect-ratio: 4 / 3; }
.product-card__photo--contain img { object-fit: contain; padding: 16px; }
.product-card[data-tab="nut"] { flex: 0 0 calc(50% - 10px); max-width: 520px; }
/* foto do PEC é uma cena (saco + boi): 3:2 evita cortar o topo do saco */
.product-card[data-tab="nut"] .product-card__photo { aspect-ratio: 3 / 2; }
.product-card[data-tab="nut"] .product-card__body { padding: 24px; }
.product-card[data-tab="nut"] h3 { font-size: 1.15rem; }
.product-card__photo figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 10px 14px;
  font-size: .65rem;
  font-style: italic;
  color: var(--text-3);
  line-height: 1.45;
  background: linear-gradient(to top, rgba(0,0,0,.06), transparent);
}
.product-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.product-card__category {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.product-card h3 { font-size: 1.1rem; }
.product-formula {
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-700);
  letter-spacing: .02em;
}
.product-card__body > p { font-size: .875rem; color: var(--text-3); flex: 1; }
.product-card__body .btn { margin-top: 12px; align-self: flex-start; }

/* Visuais de produto (enquanto sem foto autoral) */
.product-card__visual {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  overflow: hidden;
}
.product-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.product-card__visual[data-nutrient="N"]      { background: linear-gradient(135deg, #0d5c2e 0%, #1a7a3e 100%); }
.product-card__visual[data-nutrient="P"]      { background: linear-gradient(135deg, #7c4500 0%, #b06000 100%); }
.product-card__visual[data-nutrient="K"]      { background: linear-gradient(135deg, #7c1f1f 0%, #a83030 100%); }
.product-card__visual[data-nutrient="NS"]     { background: linear-gradient(135deg, #1a5c3a 0%, #2a8055 100%); }
.product-card__visual[data-nutrient="NPK"]    { background: linear-gradient(135deg, #061a0d 0%, #0d5c2e 100%); }
.product-card__visual[data-nutrient="custom"] { background: linear-gradient(135deg, #0a3318 0%, #22943e 100%); }
.product-card__visual[data-nutrient="kit"]    { background: linear-gradient(135deg, #1a3a0d 0%, #3a7020 100%); }
.product-card__formula-display {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: rgba(255,255,255,.95);
  letter-spacing: -.01em;
  text-align: center;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.product-card__formula-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ======================================================
   CLIENTS
====================================================== */
.clients {
  background:
    radial-gradient(1200px 500px at 50% -10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
}
.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.client-logo:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13,82,86,.1); }
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .85; mix-blend-mode: multiply; transition: filter .25s ease, opacity .25s ease; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-logo__fallback {
  display: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--teal-700);
  text-align: center;
  letter-spacing: -.01em;
}
@media (max-width: 900px) { .clients__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients__grid { grid-template-columns: repeat(2, 1fr); } .client-logo { height: 100px; } }

/* ======================================================
   TESTIMONIALS  — editorial, fundo escuro
====================================================== */
.testimonials {
  background: linear-gradient(160deg, var(--teal-600) 0%, var(--teal-700) 45%, var(--teal-800) 80%, var(--teal-900) 100%);
  padding-block: 96px;
}
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p   { color: rgba(255,255,255,.45); }
.testimonials__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 48px 0 0;
  border-right: 1px solid rgba(255,255,255,.1);
}
.testimonial:not(:first-child) { padding-left: 48px; }
.testimonial:last-child { border-right: none; padding-right: 0; }
.testimonial blockquote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 0;
  flex: 1;
}
.testimonial__stars {
  font-size: .95rem;
  color: var(--gold);
  letter-spacing: .08em;
  line-height: 1;
}
.testimonial__meta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.testimonial__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.testimonial__meta strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
}
.testimonial__meta span {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}
.testimonial__state {
  font-size: .65rem !important;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold) !important;
}
.testimonial__badge {
  display: inline-block;
  margin-top: 8px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,137,26,.35);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ======================================================
   SEALS  — faixa de credenciais, tipografia apenas
====================================================== */
.seals {
  background: var(--teal-50);
  padding-block: 40px;
  border-block: 1px solid var(--teal-100);
}
.seals__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
}
.seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-700);
  flex: 1;
  padding: 6px 12px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.seal:last-child { border-right: none; }
.seal svg { color: var(--teal-700); flex-shrink: 0; }

/* ======================================================
   ABOUT  — editorial bicolor
====================================================== */
.about { background: transparent; position: relative; overflow: hidden; }
.about__inner { position: relative; z-index: 1; }
.about::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -140px;
  width: 420px;
  height: 420px;
  background: url('assets/logo-yafo.png') left center / 230% auto no-repeat;
  opacity: .09;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}
.about::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--teal-100) 0%, transparent 70%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.about__inner {
  display: grid;
  display: block;
}
.about__intro { max-width: 1080px; margin: 0 auto 48px; display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.about__intro h2 { margin: 0; font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.15; }
.about__intro p { color: var(--text-2); margin-bottom: 14px; font-size: 1rem; line-height: 1.75; }
.about__intro p:last-child { margin-bottom: 0; }
.about__intro__head { padding-top: 0; }
.about__intro__head .about__metric {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.about__intro__head .about__metric strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--teal-700);
  letter-spacing: -.02em;
}
.about__intro__head .about__metric span {
  font-size: .78rem;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.about__intro__body { padding-top: 6px; }
@media (max-width: 800px) { .about__intro { grid-template-columns: 1fr; gap: 24px; } .about__intro__head { position: static; } }

.about__header {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.about__header h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.about__lead {
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}
.about__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto 72px;
}
.about__split .about__intro__body p { margin-bottom: 16px; color: var(--text-2); font-size: 1.02rem; line-height: 1.8; }
.about__split .about__intro__body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .about__split { grid-template-columns: 1fr; gap: 32px; }
}

.about__team {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(13,82,86,.22);
  aspect-ratio: 5 / 4;
  background: var(--gray-100);
}
.about__team::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(13,82,86,.18);
  pointer-events: none;
  border-radius: inherit;
}
.about__team img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.about__team figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 80px 28px 22px;
  background: linear-gradient(to top, rgba(5,39,40,.85) 0%, rgba(5,39,40,.35) 55%, transparent 100%);
  color: rgba(255,255,255,.95);
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about__metric--floating {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(255,255,255,.96);
  color: var(--teal-900);
  border-radius: 999px;
  padding: 14px 24px 14px 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  z-index: 2;
}
.about__metric--floating strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--teal-700);
}
.about__metric--floating span { font-size: .82rem; color: var(--text-2); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; max-width: 100px; line-height: 1.2; }

/* Missão/Visão/Valores — destaque editorial */
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 24px;
  counter-reset: pillar-num;
}
.pillar {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(13, 82, 86, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(13, 82, 86, 0.14);
  border-color: var(--teal-500);
}
.pillar::after {
  content: "";
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-700), var(--green-600));
  border-radius: 0 0 4px 4px;
}
.pillar::before {
  content: counter(pillar-num, decimal-leading-zero);
  counter-increment: pillar-num;
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  color: var(--teal-600);
  letter-spacing: .12em;
  opacity: .55;
}
.pillar__label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.015em;
  color: var(--teal-900);
  margin-bottom: 16px;
}
.pillar__text { font-size: 1rem; color: var(--text-2); line-height: 1.7; margin: 0; }
@media (max-width: 800px) { .about__pillars { grid-template-columns: 1fr; } }

/* ======================================================
   FAQ  — acordeão limpo
====================================================== */
.faq { background: var(--off-white); }
.faq__list { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  background: transparent;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--teal-700); }
.faq__question[aria-expanded="true"] { color: var(--teal-700); }
.faq__icon { flex-shrink: 0; transition: transform var(--transition); color: var(--gray-400); }
.faq__question[aria-expanded="true"] .faq__icon { transform: rotate(180deg); color: var(--teal-700); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__answer.open { max-height: 400px; }
.faq__answer p { padding-bottom: 22px; color: var(--text-3); font-size: .93rem; line-height: 1.75; }

/* ======================================================
   CONTACT / CTA FINAL
====================================================== */
.contact {
  background: linear-gradient(160deg, var(--teal-600) 0%, var(--teal-700) 45%, var(--teal-800) 80%, var(--teal-900) 100%);
  padding-block: 96px;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__headline { color: var(--white); }
.contact__headline h2 { color: var(--white); margin-block: 12px 16px; }
.contact__headline p  { color: rgba(255,255,255,.65); font-size: 1rem; line-height: 1.7; }
.contact__form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-2);
}
.form-group input,
.form-group select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2396a890' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(34,148,62,.1);
}
.form-group input::placeholder { color: var(--gray-400); }
.form-disclaimer { font-size: .72rem; color: var(--text-3); text-align: center; margin-top: 12px; }

/* ======================================================
   FOOTER
====================================================== */
.footer {
  background: linear-gradient(135deg, var(--teal-900) 0%, #062f2f 100%);
  color: rgba(255,255,255,.7);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand img { height: 110px; width: auto; filter: brightness(0) invert(1); margin: -16px 0 0 -12px; }
.footer__brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: border-color var(--transition), color var(--transition);
}
.footer__socials a:hover { border-color: rgba(255,255,255,.4); color: var(--white); }
.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .875rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__contact { display: flex; flex-direction: column; gap: 14px; }
.footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--whatsapp);
  font-weight: 700;
  font-size: .95rem;
  transition: color var(--transition);
}
.footer__wa:hover { color: var(--whatsapp-h); }
.footer__contact-line { font-size: .875rem; display: flex; align-items: center; gap: 6px; }
.footer__cnpj { font-size: .72rem; color: rgba(255,255,255,.25); margin-top: 4px; }
.footer__bottom {
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p { font-size: .78rem; }

/* ======================================================
   WHATSAPP FLUTUANTE  — simples, sem tooltip decorativo
====================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  z-index: 900;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.whatsapp-float:hover { background: var(--whatsapp-d); transform: scale(1.08); }
.whatsapp-float__tooltip {
  position: absolute;
  right: 64px;
  background: var(--text);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }
.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text);
}

/* ======================================================
   SCROLL ANIMATIONS  — entrada leve
====================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: .08s; }
.stagger-2 { transition-delay: .16s; }
.stagger-3 { transition-delay: .24s; }

/* ======================================================
   RESPONSIVE
====================================================== */

/* ≤ 1024px */
@media (max-width: 1024px) {
  section { padding-block: 72px; }
  .hero__inner    { grid-template-columns: 1fr; gap: 56px; padding-block: 72px 56px; }
  .media-placeholder { aspect-ratio: 16/7; }
  .stats__inner   { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item      { padding: 24px 24px; }
  .stat-item:nth-child(2) { border-right: none; }
  .benefits__layout { grid-template-columns: 1fr; gap: 40px; }
  .benefits__layout .section-header { position: static; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps          { flex-wrap: wrap; gap: 32px 0; }
  .step           { flex: 0 0 calc(50% - 28px); }
  .step__arrow    { display: none; }
  .about__inner   { grid-template-columns: 1fr; gap: 56px; }
  .about__metric  { bottom: -16px; right: 16px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .testimonials__list { grid-template-columns: 1fr; }
  .testimonial { padding: 40px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .testimonial:not(:first-child) { padding-left: 0; }
  .testimonial:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ≤ 768px */
@media (max-width: 768px) {
  :root { --navbar-h: 64px; }
  section { padding-block: 56px; }
  .container { padding-inline: 20px; }

  /* Navbar */
  .navbar__nav {
    position: fixed;
    inset: var(--navbar-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .navbar__nav.open { transform: translateX(0); }
  .navbar__nav .navbar__link { color: var(--text-2); padding: 13px 16px; font-size: .95rem; }
  .navbar__nav .navbar__link:hover { background: var(--teal-100); color: var(--teal-700); }
  .navbar__toggle { display: flex; }
  .navbar__actions .btn--sm { display: none; }

  /* Hero */
  .hero__title  { font-size: 2rem; }
  .hero__ctas   { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__proof  { gap: 10px 24px; }
  .hero__proof-item { font-size: .7rem; }
  .media-placeholder { aspect-ratio: 3/2; }

  /* Stats */
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat-item    { padding: 16px 16px; }
  .stat-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(3) { border-right: none; }
  .stat-num     { font-size: 2.2rem; }

  /* Benefits */
  .benefits__grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit { padding: 32px 24px; }

  /* Steps */
  .steps          { flex-direction: column; gap: 0; }
  .step           { flex: none; width: 100%; display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
  .step:first-child { border-top: 1px solid var(--border); }
  .step__arrow    { display: none; }
  .step__dot { margin-bottom: 0; flex-shrink: 0; }

  /* Products */
  .products__grid .product-card { flex: 0 1 100%; }
  .products__tabs { justify-content: flex-start; }

  /* Seals */
  .seal { padding: 10px 16px; font-size: .68rem; }

  /* About */
  .about__metric { right: 12px; bottom: -16px; width: 110px; padding: 16px 16px; }
  .about__metric strong { font-size: 1.6rem; }
  .pillar { flex-direction: column; gap: 6px; }
  .pillar__label { min-width: auto; }

  /* Contact */
  .contact__form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* WhatsApp */
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ≤ 480px */
@media (max-width: 480px) {
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .testimonials__list { grid-template-columns: 1fr; }
  .testimonial { padding: 40px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .testimonial:not(:first-child) { padding-left: 0; }
  .testimonial:last-child { border-bottom: none; padding-bottom: 0; }
  .seals__inner { flex-direction: column; align-items: flex-start; gap: 0; }
  .seal { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .seal:last-child { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE SAFETY PATCH — additive only, no destructive overrides
   ============================================================ */

/* Guard: prevent horizontal scroll across all devices */
html, body { overflow-x: hidden; }

/* Guard: media never overflows its container — scoped to images without explicit sizing */
.product-card img,
.client-logo img,
.footer img { max-width: 100%; }

/* Guard: form fields must respect container width on all screens */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.contact__form { box-sizing: border-box; max-width: 100%; }

/* Logo mobile: shrink so it doesn't touch top edge */
@media (max-width: 768px) {
  .navbar__logo img { height: 115px; margin: -16px 0 -16px -8px; }
}
@media (max-width: 480px) {
  .navbar__logo img { height: 104px; margin: -14px 0 -14px -6px; }
}

/* Form mobile collapse — force 1-col stack on phones */
@media (max-width: 768px) {
  .contact { padding-block: 56px; }
  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact__inner > * { min-width: 0; }
  .contact__form { padding: 24px 18px; border-radius: var(--radius-lg); width: 100%; max-width: 100%; }
  .form-row { display: block; }
  .form-group { margin-bottom: 14px; }
  .form-group input,
  .form-group select { padding: 12px 14px; font-size: 1rem; }
  .contact__form .btn { width: 100%; justify-content: center; padding-inline: 12px; font-size: .9rem; white-space: normal; text-align: center; line-height: 1.2; }
  .contact__form .btn svg { flex-shrink: 0; }
  .contact__headline h2 { font-size: 1.7rem; line-height: 1.15; }
  .contact__headline p { font-size: .95rem; }
}

/* ≤ 768px — tablet/large phone refinements for recent About rewrite */
@media (max-width: 768px) {
  .about__header { margin-bottom: 40px; }
  .about__header h2 { font-size: clamp(1.6rem, 5vw, 2rem); }
  .about__lead { font-size: 1rem; }
  .about__split { gap: 28px; margin-bottom: 56px; }
  .about__split .about__intro__body p { font-size: .98rem; line-height: 1.7; }

  /* Products: 2 per row on phones (override stacked 1-col + remove desktop min-width) */
  .products__grid { gap: 12px; }
  .products__grid .product-card {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    min-width: 0;
  }
  /* Nutrição Animal: full row, no horizontal swipe */
  .products__grid .product-card[data-tab="nut"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .product-card__body { padding: 16px; }
  .product-card h3 { font-size: 1rem; }
  .product-card__body > p { font-size: .8rem; }

  /* Tabs: fit all three without scroll on phones */
  .products__tabs { gap: 0; }
  .tab-btn { padding: 10px 12px; font-size: .72rem; letter-spacing: .03em; flex: 1; text-align: center; }
}

/* ≤ 600px — small phones: shrink floating metric + tighten pillars */
@media (max-width: 600px) {
  .about__metric--floating {
    top: 14px;
    left: 14px;
    padding: 10px 16px 10px 14px;
    gap: 10px;
  }
  .about__metric--floating strong { font-size: 1.4rem; }
  .about__metric--floating span { font-size: .68rem; max-width: 80px; }

  .pillar { padding: 28px 22px 24px; }
  .pillar__label { font-size: 1.2rem; margin-bottom: 12px; }
  .pillar__text { font-size: .95rem; }

  /* How-it-works decorative blob — keep contained on small screens */
  .how-it-works::after { width: 280px; height: 280px; right: -80px; top: -80px; }
}

/* ≤ 360px — very small phones (Galaxy Fold, older iPhones) */
@media (max-width: 360px) {
  .container { padding-inline: 16px; }
  .about__metric--floating { padding: 8px 14px 8px 12px; gap: 8px; }
  .about__metric--floating strong { font-size: 1.2rem; }
  .about__metric--floating span { font-size: .62rem; max-width: 70px; }
  .hero__title { font-size: 1.6rem; }
}

/* Touch target safety — only on small screens, only nav items (btn already large enough) */
@media (max-width: 768px) {
  .navbar__nav .navbar__link { min-height: 44px; }
  .footer__links a { display: inline-block; padding: 6px 0; }
}
