/* ============================================================
   ABENÇOADOS HORTIFRUTI: styles.css
   Design: Rústico-premium | Mobile-first
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  /* Brand Colors */
  --primary:          #1a5c2a;
  --primary-dark:     #124020;
  --primary-light:    rgba(26, 92, 42, 0.08);
  --secondary:        #1e2d4d;
  --secondary-dark:   #141e33;
  --accent:           #f0a500;
  --accent-dark:      #d4920a;
  --accent-light:     rgba(240, 165, 0, 0.15);

  /* Backgrounds */
  --bg:               #ffffff;
  --bg-cream:         #f7f3ed;
  --bg-navy:          #1e2d4d;
  --bg-green:         #1a5c2a;

  /* Text */
  --text:             #1a1a1a;
  --text-muted:       #6b6b6b;
  --text-light:       rgba(255, 255, 255, 0.72);
  --text-lighter:     rgba(255, 255, 255, 0.45);

  /* Status */
  --error:            #ef4444;
  --error-bg:         #fef2f2;
  --success:          #16a34a;
  --success-bg:       #f0fdf4;
  --warning-bg:       #fffbeb;
  --warning-border:   #f59e0b;

  /* Typography */
  --font-heading:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Text Scale */
  --text-xs:          0.75rem;    /* 12px */
  --text-sm:          0.875rem;   /* 14px */
  --text-base:        1rem;       /* 16px */
  --text-lg:          1.125rem;   /* 18px */
  --text-xl:          1.25rem;    /* 20px */
  --text-2xl:         1.5rem;     /* 24px */
  --text-3xl:         clamp(1.75rem, 3vw, 2.25rem);
  --text-4xl:         clamp(2rem, 4vw, 2.75rem);
  --text-hero:        clamp(2rem, 4.25vw, 3.25rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-section: clamp(4rem, 8vw, 6.5rem);

  /* Border Radius */
  --r-sm:   0.25rem;
  --r-md:   0.5rem;
  --r-lg:   0.875rem;
  --r-xl:   1.25rem;
  --r-2xl:  2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10), 0 3px 10px rgba(0,0,0,0.05);
  --shadow-form: 0 20px 60px rgba(0,0,0,0.18), 0 6px 20px rgba(0,0,0,0.08);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 280ms ease;
  --t-slow:   420ms ease;

  /* Layout */
  --max-w: 1200px;
  --navbar-h: 72px;
}

/* ── 2. RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── 3. LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

.container-md { max-width: 860px; }
.container-sm { max-width: 760px; }

/* ── 4. TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.18;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

p { line-height: 1.7; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-top: var(--sp-4);
  max-width: 600px;
}

.section-header { margin-bottom: var(--sp-10); }
.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header.center .section-subtitle { text-align: center; }

.section-cta {
  margin-top: var(--sp-12);
  display: flex;
  justify-content: center;
}

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-md);
  padding: 0.75rem 1.625rem;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), opacity var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-lg { padding: 1rem 2rem; font-size: var(--text-lg); }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 92, 42, 0.30);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 92, 42, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(240, 165, 0, 0.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(240, 165, 0, 0.40);
}
.btn-accent:active { transform: translateY(0); }
.btn-accent:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ── 6. BADGES ── */
.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
  border: 1.5px solid rgba(26, 92, 42, 0.35);
  border-radius: var(--r-full);
  padding: 0.375rem 1rem;
  background: rgba(26, 92, 42, 0.05);
  margin-bottom: var(--sp-5);
}

/* ── 7. NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-normal), box-shadow var(--t-normal);
}

.navbar.scrolled {
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.navbar-logo .logo-img {
  height: 50px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-body);
}
.logo-text strong {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--primary);
}
.logo-text span {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform var(--t-normal), opacity var(--t-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .navbar-links   { display: flex; }
  .navbar-cta     { display: inline-flex; }
  .hamburger      { display: none; }
}

/* ── 8. DRAWER ── */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--bg);
  z-index: 200;
  padding: var(--sp-16) var(--sp-6) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
  transition: right var(--t-normal);
  overflow-y: auto;
}

.drawer.open { right: 0; }

.drawer-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.drawer-close:hover { color: var(--text); background: var(--bg-cream); }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.drawer-link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.drawer-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.drawer-cta { margin-top: var(--sp-4); text-align: center; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-normal);
}
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── 9. HERO ── */
.hero {
  background: var(--bg-cream);
  padding-top: calc(var(--navbar-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.12;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.hero-title em {
  font-style: italic;
  color: var(--accent-dark);
  font-size: 25px;
  display: block;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-title em { font-size: 35px; }
  .hero-subtitle { font-size: var(--text-lg); }
}

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

.hero-actions {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}

.microcopy {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  padding-bottom: 2rem;
}

.hero-image-frame {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 60px rgba(26,92,42,0.20), 0 8px 24px rgba(0,0,0,0.12);
  border: 2px solid rgba(240, 165, 0, 0.15);
  position: relative;
}
.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,92,42,0.08) 0%, transparent 50%, rgba(240,165,0,0.06) 100%);
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Float Tags (glassmorphism) */
.float-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
  opacity: 0;
  animation: popIn 0.5s ease forwards;
}
.float-tag--top {
  top: var(--sp-4);
  left: var(--sp-3);
  animation-delay: 0.6s;
}
.float-tag-icon { font-size: 0.875rem; line-height: 1; }
.float-tag-text { letter-spacing: 0.01em; }

@media (max-width: 899px) {
  .float-tag { display: none; }
}

@media (max-width: 600px) {
  .section-title { font-size: clamp(1.5rem, 5vw, 1.75rem); line-height: 1.3; }
  .section-title br { display: none; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.delivery-card {
  position: absolute;
  bottom: 0;
  right: var(--sp-4);
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  width: max-content;
  max-width: calc(100% - 2 * var(--sp-4));
  z-index: 2;
}

.delivery-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--text-sm);
  line-height: 1.4;
}
.delivery-info strong {
  font-weight: 700;
  color: var(--secondary);
  font-size: var(--text-base);
}
.delivery-info span { color: var(--text-muted); }
.delivery-info > span:not(.delivery-time) {
  white-space: nowrap;
}
.delivery-time { color: var(--text); }
.delivery-time strong { color: var(--primary); }
.delivery-info em {
  font-style: italic;
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin-top: 2px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 55fr 45fr;
    gap: var(--sp-16);
  }
  .hero-subtitle { max-width: 100%; }
}

/* ── 10. CREDIBILITY ── */
.credibility {
  background: var(--bg-navy);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.credibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8) var(--sp-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .credibility-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── 11. CAROUSEL ── */
.carousel-section {
  background: var(--bg-navy);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.carousel-label-wrap {
  padding: 0 clamp(1.25rem, 5vw, 2rem);
  margin-bottom: var(--sp-5);
  text-align: center;
}

.carousel-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lighter);
}

.carousel-mask {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.carousel-track {
  display: flex;
  gap: var(--sp-4);
  width: max-content;
  animation: carousel-scroll 32s linear infinite;
}

.carousel-track.paused { animation-play-state: paused; }

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.carousel-item {
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-full);
  padding: 0.625rem 1.375rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.carousel-track:hover .carousel-item { color: rgba(255,255,255,0.9); }

/* ── 12. PROBLEM ── */
.problem {
  background: var(--bg);
  padding: var(--sp-section) 0;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
  max-width: 680px;
  margin-inline: auto;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-cream);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--error);
}

.pain-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--error);
  font-weight: 700;
  margin-top: 1px;
}

/* ── 13. BENEFITS ── */
.benefits {
  background: var(--bg-cream);
  padding: var(--sp-section) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.benefit-card {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--t-normal);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  box-shadow: 0 4px 14px rgba(26, 92, 42, 0.25);
}

.benefit-icon { font-size: 1.5rem; }

.benefit-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.benefit-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── 14. HOW IT WORKS ── */
.how-it-works {
  background: var(--bg);
  padding: var(--sp-section) 0;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-4);
}

.step-item {
  flex: 1;
  text-align: center;
  max-width: 300px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0 auto var(--sp-5);
  box-shadow: 0 4px 20px rgba(26, 92, 42, 0.3);
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--sp-3);
}

.step-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: var(--sp-4);
    position: relative;
  }
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    z-index: 0;
    opacity: 0.3;
  }
  .step-item {
    position: relative;
    z-index: 1;
    max-width: 260px;
  }
}

/* ── 15. CLIENTS ── */
.clients {
  background: var(--bg-cream);
  padding: var(--sp-section) 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.client-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.client-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.client-emoji { font-size: 1.75rem; }

.client-logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: contain;
  border: 1.5px solid rgba(0,0,0,0.06);
  background: #fff;
  padding: 4px;
}

.client-initial {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.client-icon-logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.06);
}
.client-name  { font-size: var(--text-sm); font-weight: 600; color: var(--secondary); line-height: 1.3; }
.client-location { font-size: var(--text-xs); color: var(--text-muted); }

@media (min-width: 640px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .clients-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ── 16. TESTIMONIALS ── */
.testimonials {
  background: var(--bg);
  padding: var(--sp-section) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.testimonial-card {
  background: var(--bg-cream);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: box-shadow var(--t-normal), transform var(--t-normal);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity var(--t-normal);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.stars {
  font-size: var(--text-base);
  letter-spacing: 0.02em;
}

.verified-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.testimonial-card blockquote p {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.72;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-info strong { font-size: var(--text-sm); font-weight: 700; color: var(--secondary); }
.author-info > span { font-size: var(--text-xs); color: var(--text-muted); }

.author-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: 2px;
}

.author-place {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.category-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 2px 7px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 17. COMPARISON ── */
.comparison {
  background: var(--bg-cream);
  padding: var(--sp-section) 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  margin-top: var(--sp-4);
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--bg);
  font-size: var(--text-sm);
}

.comparison-table thead tr {
  background: var(--secondary);
}

.comparison-table thead th {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
}

.comparison-table thead th.col-abencoados {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.comparison-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background var(--t-fast);
}
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: rgba(0,0,0,0.018); }

.comparison-table td {
  padding: var(--sp-4) var(--sp-5);
  color: var(--text-muted);
  line-height: 1.4;
}

.col-criteria {
  font-weight: 600;
  color: var(--secondary) !important;
  white-space: nowrap;
}

td.col-abencoados {
  background: rgba(26, 92, 42, 0.05);
  color: var(--primary) !important;
  font-weight: 600;
}

thead th.col-criteria { color: rgba(255,255,255,0.6) !important; }

/* ── 18. FORM SECTION ── */
.form-section {
  background: var(--bg-green);
  padding: var(--sp-section) 0;
  position: relative;
  overflow: hidden;
}

.form-deco-circle {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 480px;
  height: 480px;
  border-radius: var(--r-full);
  border: 60px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.form-header .section-eyebrow { color: var(--accent); }

.text-white   { color: #fff !important; }
.text-white-70 { color: rgba(255,255,255,0.72) !important; }

.form-card {
  background: var(--bg);
  border-radius: var(--r-2xl);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 540px;
  margin: var(--sp-8) auto 0;
  box-shadow: var(--shadow-form);
  position: relative;
  z-index: 1;
}

/* Form fields */
.lead-form { display: flex; flex-direction: column; gap: var(--sp-3); }

.form-group { display: flex; flex-direction: column; gap: var(--sp-1); }

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--secondary);
}

.req { color: var(--error); margin-left: 2px; }

.form-input {
  width: 100%;
  padding: 0.625rem var(--sp-4);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid #d5d5d5;
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: #aaa; }
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.12);
}
.form-input.is-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}
.form-input.is-valid {
  border-color: var(--success);
}

/* ── Phone country selector ── */
.phone-wrapper{position:relative;display:flex;align-items:center;border:1.5px solid #d5d5d5;border-radius:var(--r-md);background:var(--bg);transition:border-color var(--t-fast),box-shadow var(--t-fast)}
.phone-wrapper:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(26,92,42,.12)}
.phone-wrapper .form-input{border:none;background:transparent;border-radius:0 var(--r-md) var(--r-md) 0;padding-left:8px;flex:1;min-width:0}
.phone-wrapper .form-input:focus{box-shadow:none}
.country-btn{display:flex;align-items:center;gap:4px;padding:8px 8px 8px 14px;background:none;border:none;border-right:1px solid #d5d5d5;cursor:pointer;font-size:.9rem;color:var(--text);white-space:nowrap;transition:background .2s;border-radius:var(--r-md) 0 0 var(--r-md)}
.country-btn:hover{background:rgba(0,0,0,.03)}
.country-flag{font-size:1.2rem;line-height:1}
.country-code{font-weight:600;font-size:.85rem;color:var(--secondary)}
.country-arrow{font-size:.65rem;color:#aaa;margin-left:2px}
.country-dropdown{display:none;position:absolute;left:0;right:0;top:100%;margin-top:4px;background:var(--bg);border:1.5px solid #d5d5d5;border-radius:var(--r-md);box-shadow:0 12px 32px rgba(0,0,0,.15);z-index:10;overflow:hidden;max-height:240px;flex-direction:column}
.country-dropdown.open{display:flex}
.country-search{border:none!important;border-bottom:1px solid #e5e5e5!important;border-radius:var(--r-md) var(--r-md) 0 0!important;padding:12px 16px!important;font-size:.9rem!important;background:#f9f9f9!important;outline:none!important;box-shadow:none!important}
.country-list{overflow-y:auto;flex:1}
.country-opt{display:flex;align-items:center;gap:10px;padding:10px 16px;cursor:pointer;font-size:.9rem;transition:background .15s}
.country-opt:hover,.country-opt.active{background:rgba(26,92,42,.06)}
.country-opt .co-flag{font-size:1.1rem}
.country-opt .co-name{flex:1;color:var(--text)}
.country-opt .co-dial{color:#aaa;font-size:.8rem;font-weight:600}
.phone-error{display:none;position:absolute;bottom:-20px;left:0;font-size:.78rem;color:var(--error)}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.field-error {
  font-size: var(--text-xs);
  color: var(--error);
  font-weight: 500;
  min-height: 1em;
  display: block;
}

/* Deixe o layout mais compacto quando não houver erro exibido */
.field-error:empty { min-height: 0; }

/* Spinner (só visível com aria-busy / quando [hidden] é removido pelo JS) */
.spinner[hidden] {
  display: none !important;
}
.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: var(--r-full);
  animation: spin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-microcopy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--sp-2);
}

/* Form states: [hidden] deve prevalecer sobre display:flex do card */
.form-state-success[hidden],
.form-state-error[hidden],
.wa-open-fallback[hidden] {
  display: none !important;
}

/* Form states */
.form-state-success {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  animation: popIn 0.4s ease;
}
.success-icon { font-size: 3rem; }
.form-state-success h3 {
  font-size: var(--text-2xl);
  color: var(--secondary);
}
.form-state-success p { color: var(--text-muted); max-width: 380px; }
.success-note { font-size: var(--text-sm); }

.form-state-error {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--r-lg);
  margin-top: var(--sp-4);
}
.error-icon { font-size: 1.25rem; flex-shrink: 0; }
.form-state-error strong { font-size: var(--text-sm); color: var(--secondary); }
.form-state-error p { font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }
.form-error-wa { margin-top: var(--sp-2); margin-bottom: 0; }
.form-error-wa-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-error-wa-link:hover { color: var(--secondary); }
.wa-open-fallback a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wa-open-fallback a:hover { color: var(--secondary); }

/* ── 19. ABOUT ── */
.about {
  background: var(--bg-cream);
  padding: var(--sp-section) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.about-content { display: flex; flex-direction: column; gap: var(--sp-4); }

.about-title {
  font-size: var(--text-4xl);
  line-height: 1.15;
  margin-bottom: var(--sp-2);
}

.about-content p { color: var(--text-muted); font-size: var(--text-lg); }
.about-content p strong { color: var(--text); }

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  padding-left: var(--sp-4);
  border-left: 3px solid var(--primary);
}

.values-list li {
  font-size: var(--text-base);
  color: var(--text);
  font-weight: 500;
}

.about-visual {
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 60fr 40fr; }
}

/* ── 20. PRODUCTS ── */
.products {
  background: var(--bg);
  padding: var(--sp-section) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.product-card {
  background: var(--bg-cream);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  border: 1.5px solid transparent;
  transition: border-color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
  overflow: hidden;
}

.product-card--img {
  padding: 0;
}

.product-card--img .product-name,
.product-card--img .product-list {
  padding: 0 var(--sp-5);
}

.product-card--img .product-list {
  padding-bottom: var(--sp-5);
}

.product-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}
.product-card:hover {
  border-color: rgba(26, 92, 42, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-icon { font-size: 2rem; }

.product-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
}

.product-list {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 21. FAQ ── */
.faq {
  background: var(--bg-cream);
  padding: var(--sp-section) 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg);
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--secondary);
  list-style: none;
  transition: background var(--t-fast);
  user-select: none;
  -webkit-user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: rgba(0,0,0,0.02); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--t-normal), background var(--t-normal);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  padding: 0 var(--sp-6) var(--sp-5);
  animation: faq-open 200ms ease;
}
.faq-answer p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.72;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 22. FOOTER ── */
.footer {
  background: var(--bg-navy);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer-logo .logo-img {
  height: 60px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  opacity: 0.7;
}
.footer-logo .logo-text strong { color: rgba(255,255,255,0.9); }
.footer-logo .logo-text span   { color: rgba(255,255,255,0.45); }

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  margin-top: var(--sp-2);
}

.footer-links {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast);
}
.footer-link:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  padding: var(--sp-4) 0;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* ── 23. ANIMATIONS ── */
.animate-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-section.is-visible {
  opacity: 1;
  transform: none;
}

/* ── 24. UTILITIES ── */
.eyebrow-amber { color: var(--accent) !important; }

/* ── 25. LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-normal);
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox-close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  z-index: 1001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--r-full);
  font-size: var(--text-xl);
  transition: background var(--t-fast);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  animation: popIn 0.3s ease;
}
.product-img-wrap img { cursor: zoom-in; }

/* ── 26. DECORATIVE BLOBS ── */
.credibility {
  position: relative;
  overflow: hidden;
}
.credibility::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: var(--r-full);
  border: 50px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.footer {
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: var(--r-full);
  border: 55px solid rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

/* ── 27. WHATSAPP BUTTON ICON ── */
.btn-wa-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 4px;
}
.btn-lg .btn-wa-icon {
  width: 17px;
  height: 17px;
  margin-right: 5px;
}

/* ── 26. PRINT / REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-section { opacity: 1; transform: none; }
  .carousel-track { animation: none; }
}
