/* ============================================================
   SMART SERVICE — CSS
   Mobile-first · Premium Design · High Conversion
============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
============================================================ */
:root {
  /* Brand */
  --primary:       #C61B1F;
  --primary-dark:  #8F1114;
  --secondary:     #CFA24C;
  --accent:        #F0D38D;

  /* WhatsApp */
  --wa:            #25D366;
  --wa-dark:       #128C7E;
  --wa-light:      #DCFCE7;

  /* Status */
  --success:       #22C55E;
  --warning:       #CFA24C;
  --danger:        #EF4444;

  /* Dark palette */
  --dark:          #0B0808;
  --dark-2:        #141010;
  --dark-3:        #2A2020;

  /* Gray palette */
  --gray-100:      #F7F2EC;
  --gray-200:      #EADFD1;
  --gray-300:      #D6C3AF;
  --gray-400:      #AB9380;
  --gray-500:      #846C5F;
  --gray-600:      #5E4A42;

  /* Text */
  --text:          #1E1717;
  --text-2:        #382929;
  --text-3:        #6D5A5A;

  /* Background */
  --bg:            #FFFFFF;
  --bg-alt:        #FCF7F1;

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #C61B1F 0%, #CFA24C 100%);
  --grad-hero:     linear-gradient(135deg, #080606 0%, #1A1010 54%, #2A1010 100%);
  --grad-cta:      linear-gradient(135deg, #090707 0%, #241111 50%, #120B0B 100%);

  /* Radius */
  --r-sm:   8px;
  --r:      14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 20px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
  --shadow-xl:  0 32px 80px rgba(0,0,0,.18);
  --shadow-wa:  0 8px 32px rgba(37,211,102,.4);

  /* Type */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Transition */
  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .28s;
  --t-sm: .18s;

  /* Layout */
  --max-w:   1200px;
  --gutter:  20px;
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   3. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   4. LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 72px;
}

.section--white { background: var(--bg); }
.section--alt   { background: var(--bg-alt); }

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
    color: var(--primary);
  background: rgba(198,27,31,.08);
  border: 1px solid rgba(198,27,31,.15);
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
}

.section__tag--light {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 14px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-3);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: var(--r-full);
  transition: transform var(--t-sm) var(--ease),
              box-shadow var(--t-sm) var(--ease),
              background var(--t-sm) var(--ease),
              opacity var(--t-sm) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* WhatsApp */
.btn--wa {
  background: var(--wa);
  color: white;
  box-shadow: var(--shadow-wa);
}
.btn--wa:hover  { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37,211,102,.45); }
.btn--wa:active { transform: translateY(0); box-shadow: var(--shadow-wa); }

/* Ghost */
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover  { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.45); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0); }

/* Sizes */
.btn--sm  { font-size: .82rem; padding: 8px 18px; }
.btn--lg  { font-size: 1rem;   padding: 14px 28px; }
.btn--xl  { font-size: 1.05rem; padding: 16px 32px; }

/* ============================================================
   6. LOGO
============================================================ */
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }

.logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

.header__logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ============================================================
   7. HEADER
============================================================ */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 14px;
  transition: background var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              padding var(--t) var(--ease);
}

.header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
  padding-block: 10px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 6px 12px;
  border-radius: var(--r-full);
  transition: color var(--t-sm), background var(--t-sm);
}

.nav-link:hover { color: var(--primary); background: rgba(198,27,31,.06); }

/* ============================================================
   8. HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  padding-top: 80px;
  overflow: hidden;
}

/* Orbs background */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.hero__orb--1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(198,27,31,.38) 0%, rgba(198,27,31,0) 70%);
  top: -220px; right: -220px;
  animation: orb-float 9s ease-in-out infinite;
}

.hero__orb--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(207,162,76,.22) 0%, rgba(207,162,76,0) 70%);
  bottom: -130px; left: -110px;
  animation: orb-float 12s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(198,27,31,.15) 0%, rgba(198,27,31,0) 70%);
  top: 50%; left: 32%;
  animation: orb-float 15s ease-in-out infinite;
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Layout */
.hero__layout {
  width: 100%;
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
  padding-block: 48px;
}

/* Text side */
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 14px 5px 10px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Title */
.hero__title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

/* Subtitle */
.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__val {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat__val span:last-child {
  font-size: 1.1rem;
  color: var(--primary);
}

.stat__label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  letter-spacing: .01em;
}

.stat__sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero__layout {
    gap: 24px;
  }

  .hero__subtitle {
    margin-bottom: 28px;
  }

  .hero__ctas {
    margin-bottom: 32px;
  }

  .hero__stats {
    gap: 14px;
    row-gap: 12px;
  }

  .stat__sep {
    height: 28px;
  }
}

/* ============================================================
   10. STEPS / COMO FUNCIONA
============================================================ */
.steps-grid {
  display: grid;
  gap: 20px;
}

.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(198,27,31,.25);
}

.step__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  opacity: .5;
}

.step__icon {
  width: 48px; height: 48px;
    background: rgba(198,27,31,.07);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 14px;
  transition: background var(--t), transform var(--t);
}

.step:hover .step__icon { background: rgba(198,27,31,.13); transform: scale(1.08); }

.step__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

.step__desc {
  font-size: .9rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* ============================================================
   11. FEATURE CARDS
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(198,27,31,.1), 0 6px 15px rgba(0,0,0,.06);
  border-color: rgba(198,27,31,.2);
}

.fc-icon {
  width: 44px; height: 44px;
  background-color: var(--icon-bg, #EEF2FF);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.fc-title {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.fc-desc {
  font-size: .8rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* ============================================================
   12. REPAIR CARDS — Serviços principais (1 coluna mobile, horizontal)
============================================================ */
.repairs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Mobile: cartão horizontal — imagem à esquerda, texto à direita */
.repair-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.repair-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
}

.repair-card:hover::after,
.repair-card:focus-visible::after { transform: scaleX(1); }

.repair-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(198,27,31,.12), 0 6px 16px rgba(0,0,0,.08);
  border-color: rgba(198,27,31,.3);
}

.repair-card:active { transform: scale(.96); transition-duration: .1s; }

.rc-img-wrap {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: stretch;
  overflow: hidden;
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  background: var(--bg-alt);
  min-height: 100px;
}

.rc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.repair-card:hover .rc-img {
  transform: scale(1.07);
}

.rc-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--grad-primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(198,27,31,.32);
  transition: transform var(--t), box-shadow var(--t);
}

.repair-card:hover .rc-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 14px 30px rgba(198,27,31,.48);
}

.rc-title {
  grid-column: 2;
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -.01em;
  transition: color var(--t-sm);
  padding: 12px 14px 0;
}

.repair-card:hover .rc-title { color: var(--primary); }

.rc-desc {
  grid-column: 2;
  font-size: .75rem;
  color: var(--text-3);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 4px 14px 0;
}

.rc-cta {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  color: white;
  background: var(--wa);
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin: 8px 14px 12px;
  align-self: end;
  width: fit-content;
  transition: background var(--t-sm), transform var(--t-sm);
  white-space: nowrap;
}

.repair-card:hover .rc-cta {
  background: var(--wa-dark);
  transform: scale(1.05);
}

.repair-card--outros .rc-icon {
  background: linear-gradient(135deg, #3a2020 0%, #6a3a3a 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
}

/* ============================================================
   13. TRUST SECTION
============================================================ */
.trust-section {
  background: var(--dark);
  padding-block: 80px;
}

.trust-layout {
  display: grid;
  gap: 52px;
}

/* Text */
.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.trust-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: rgba(255,255,255,.8);
}

.trust-list li svg { flex-shrink: 0; }

/* Reviews */
.trust-reviews {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-xl);
  padding: 24px;
  backdrop-filter: blur(8px);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.15);
}

.review-stars {
  font-size: .95rem;
  color: var(--warning);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.review-card blockquote {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--av, #C61B1F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: white;
}

.review-author span {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   14. CTA FINAL
============================================================ */
.cta-final {
  position: relative;
  background: var(--grad-cta);
  padding-block: 96px;
  overflow: hidden;
  text-align: center;
}

.cta-final__bg { position: absolute; inset: 0; pointer-events: none; }

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb--1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(198,27,31,.25) 0%, transparent 70%); top: -140px; right: -100px; }
.cta-orb--2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(207,162,76,.18) 0%, transparent 70%); bottom: -100px; left: -80px; }

.cta-final__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cta-final__title {
  font-size: clamp(1.75rem, 4.5vw, 2.8rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.cta-final__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
}

.cta-final__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: 16px;
}

/* ============================================================
   15. NOSSA LOCALIZAÇÃO
============================================================ */
.section--localizacao {
  background: var(--bg-alt);
}

.map-wrap {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(207, 162, 76, .25);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .45);
  line-height: 0;
  width: 100%;
  box-sizing: border-box;
  /* impede qualquer estouro lateral */
  max-width: 100%;
}

.map-wrap iframe {
  width: 100%;
  max-width: 100%;
  height: 450px;
  border: 0;
  display: block;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .section--localizacao {
    padding-inline: 0; /* retira padding lateral para colar nas bordas */
  }

  .section--localizacao .container {
    padding-inline: 0;
    overflow: hidden;
  }

  .section--localizacao .section__header {
    padding-inline: var(--gutter);
  }

  .map-wrap {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-top: 28px;
  }

  .map-wrap iframe {
    height: 280px;
  }
}

/* ============================================================
   16. FOOTER
============================================================ */
.footer {
  background: var(--dark-2);
  color: rgba(255,255,255,.6);
  padding-block: 60px 20px;
  font-size: .9rem;
}

.footer__grid {
  display: grid;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand .header__logo-img {
  height: 44px;
  margin-bottom: 16px;
}

.footer__tagline {
  max-width: 300px;
  line-height: 1.6;
}

.footer__nav-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav a {
  color: rgba(255,255,255,.6);
  transition: color var(--t-sm);
}

.footer__nav a:hover { color: white; }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  transition: color var(--t-sm);
}

.footer__wa-link:hover { color: var(--wa); }

.footer__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__disclaimer {
  padding: 20px 0 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.footer__bottom {
  padding-top: 16px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer__bottom p { margin-bottom: 4px; }

/* ============================================================
   17. FLOATING WHATSAPP BUTTON
============================================================ */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  width: 60px;
  height: 60px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-wa);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,.5);
}

.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: pulse-wa 2s ease-out infinite;
  z-index: -1;
}

.wa-float__pulse--2 { animation-delay: .5s; }

.wa-float__label {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 12px;
  background: white;
  color: var(--text);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, transform .3s;
  transform-origin: right;
}

.wa-float:hover .wa-float__label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* ============================================================
   18. STICKY MOBILE BAR
============================================================ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 95;
  background: rgba(11,8,8,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px var(--gutter);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  display: none; /* Initially hidden, shown in media query */
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-bar__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sticky-bar__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  color: var(--success);
}

.sticky-bar__text {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  line-height: 1.3;
}

.sticky-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa);
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: var(--r-full);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   19. ANIMATIONS
============================================================ */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); }
  70%      { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

@keyframes pulse-wa {
  0%   { transform: scale(.95); opacity: .7; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(20px, -30px) rotate(30deg); }
  50%      { transform: translate(-10px, 15px) rotate(-10deg); }
  75%      { transform: translate(15px, 25px) rotate(20deg); }
}

.animate-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   20. MEDIA QUERIES (Desktop adjustments)
============================================================ */
@media (min-width: 768px) {
  /* Layout */
  .section { padding-block: 96px; }
  .section__header { margin-bottom: 64px; }

  /* Header */
  .header__nav { display: flex; }
  .header .btn--sm { display: none; } /* Hide mobile WA button */

  /* Hero */
  .hero { min-height: auto; padding-block: 120px 80px; }
  .hero__layout {
    grid-template-columns: 1fr; /* Mantém uma coluna, mas poderia ser alterado */
    text-align: center;
  }
  .hero__text {
    align-items: center;
  }
  .hero__subtitle { max-width: 580px; }
  .hero__stats {
    gap: 48px;
    margin-top: 24px;
  }
  .stat__val { font-size: 2rem; }
  .stat__label { font-size: .8rem; }
  .stat__sep { height: 48px; }

  /* Steps */
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
  }

  /* Repairs */
  .repairs-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
  }
  .repair-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    padding: 24px;
    text-align: center;
  }
  .rc-img-wrap {
    grid-column: 1;
    grid-row: 1;
    border-radius: var(--r-lg);
    margin-bottom: 20px;
    height: 180px;
  }
  .rc-title { padding: 0; margin-bottom: 8px; }
  .rc-desc { padding: 0; margin-bottom: 16px; }
  .rc-cta {
    margin: 0 auto;
    font-size: .8rem;
    padding: 8px 16px;
  }

  /* Trust */
  .trust-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
  }
  .trust-reviews {
    gap: 24px;
  }
  .rcard--1 { transform: rotate(-2deg); }
  .rcard--2 { transform: rotate(1.5deg); }
  .rcard--3 { transform: rotate(-1deg); }
  .review-card:hover { transform: translateY(-8px) scale(1.03) rotate(0) !important; z-index: 10; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
  }
  .footer__bottom {
    display: flex;
    justify-content: space-between;
  }

  /* Hide mobile-only elements */
  .sticky-bar { display: none; }
}

@media (min-width: 1024px) {
  /* Hero */
  .hero__layout {
    grid-template-columns: 1fr; /* Forçar uma coluna para centralizar */
  }
  .hero__text { max-width: 800px; margin-inline: auto; }
  .hero__title { font-size: 4.2rem; }
  .hero__subtitle { font-size: 1.25rem; max-width: 640px; }

  /* Floating WA */
  .wa-float {
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
  }
}

/* Show sticky bar only on mobile */
@media (max-width: 767px) {
  .sticky-bar { display: block; }
  .wa-float { display: none; } /* Hide floating button when bar is visible */
}

/* ============================================================
   16. FOOTER
============================================================ */
.footer {
  background: var(--dark-2);
  padding-block: 56px 32px;
}

.footer__grid {
  display: grid;
  gap: 40px;
  margin-bottom: 44px;
}

.footer__brand .logo-text { color: white; }

.footer__tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 280px;
}

.footer__nav-title {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}

.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }

.footer__nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t-sm);
}

.footer__nav a:hover { color: white; }

.footer__wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--wa);
  transition: opacity var(--t-sm);
  margin-bottom: 14px;
}

.footer__wa-link:hover { opacity: .8; }

.footer__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.footer__disclaimer {
  padding: 20px 0 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .72rem;
  color: rgba(255,255,255,.28);
  line-height: 1.6;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   16. STICKY MOBILE BAR
============================================================ */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--dark-2);
  border-top: 2px solid var(--primary);
  padding: 10px 20px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.sticky-bar__info { flex: 1; min-width: 0; }

.sticky-bar__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1px;
}

.sticky-bar__text {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: white;
  background: var(--wa);
  padding: 12px 22px;
  border-radius: var(--r-full);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: background var(--t-sm), transform var(--t-sm), box-shadow var(--t-sm);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.sticky-bar__btn:hover  { background: var(--wa-dark); box-shadow: 0 6px 24px rgba(37,211,102,.55); }
.sticky-bar__btn:active { transform: scale(.96); }

/* ============================================================
   16b. HERO GUARANTEES
============================================================ */
.hero__guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.guarantee-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  padding: 5px 11px;
  border-radius: var(--r-full);
  letter-spacing: .01em;
  backdrop-filter: blur(4px);
}

.guarantee-chip svg { flex-shrink: 0; color: var(--success); }

/* ============================================================
   16c. FLOATING WHATSAPP
============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: white;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  padding: 14px 20px 14px 16px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-wa);
  text-decoration: none;
  transition: transform var(--t-sm) var(--ease),
              box-shadow var(--t-sm) var(--ease),
              background var(--t-sm) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.wa-float:hover {
  background: var(--wa-dark);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,.5);
}

.wa-float:active { transform: scale(.97); }

.wa-float__label { display: none; }

.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: var(--wa);
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

.wa-float__pulse--2 { animation-delay: 1.2s; }

/* ============================================================
   17. SCROLL ANIMATIONS
============================================================ */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .6s var(--ease),
    transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   18. KEYFRAMES
============================================================ */
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%       { opacity: .8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

@keyframes pulse-icon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  70%       { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

@keyframes wa-pulse {
  0%   { opacity: .6; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.65); }
}

@keyframes progress-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   19. RESPONSIVE — TABLET (768px)
============================================================ */
@media (min-width: 768px) {

  :root { --gutter: 32px; }

  .header__nav { display: flex; }

  .hero__layout   { padding-block: 60px; }
  .hero__stats    { gap: 28px; }

  .steps-grid    { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .repairs-grid  { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  /* Tablet+: volta ao layout vertical (coluna) */
  .repair-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 0 14px 20px;
  }
  .rc-img-wrap {
    align-self: stretch;
    margin: 0 -14px 12px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    aspect-ratio: 4/3;
    min-height: auto;
  }
  .rc-title { padding: 0; font-size: 1.05rem; }
  .rc-desc  { padding: 0; }
  .rc-cta   { margin: auto 0 0; padding: 6px 13px; width: auto; }

  .trust-layout  { grid-template-columns: 1fr 1fr; align-items: start; }

  .footer__grid  { grid-template-columns: 2fr 1fr 1fr; }

  .wa-float      { bottom: 32px; right: 28px; }
  .wa-float__label { display: block; }
}

/* ============================================================
   20. RESPONSIVE — DESKTOP (1024px)
============================================================ */
@media (min-width: 1024px) {

  :root { --gutter: 40px; }

  .section { padding-block: 96px; }

  .hero__layout {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 36px;
    padding-block: 80px;
  }

  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .repairs-grid  { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .rc-title { font-size: 1rem; }
  .rc-desc  { font-size: .82rem; }

  .trust-reviews { gap: 20px; }

}

/* ============================================================
   21. RESPONSIVE — LARGE (1280px)
============================================================ */
@media (min-width: 1280px) {

  :root { --gutter: 48px; }

  .hero__title   { font-size: 3.8rem; }
  .hero__subtitle { font-size: 1.18rem; }

  .float-card--1 { right: -32px; }
  .float-card--2 { left:  -32px; }
}

/* ============================================================
   22. MOBILE — Sticky bar + ajustes finos
============================================================ */
@media (max-width: 767px) {
  /* Sticky bar aparece no mobile */
  .sticky-bar { display: block; }

  /* Empurra conteúdo para cima da barra fixa */
  body { padding-bottom: 76px; }

  /* Esconde o botão flutuante (substituído pela barra) */
  .wa-float { display: none !important; }

  /* Repair cards: ícone ligeiramente menor */
  .rc-icon { width: 54px; height: 54px; border-radius: 16px; }

  /* Hero: fonte maior em telas pequenas */
  .hero__title { font-size: clamp(2rem, 8.5vw, 3rem); }

  /* Steps: espaçamento mais apertado */
  .step { padding: 24px 20px; }

  /* Seção: padding menor no mobile */
  .section { padding-block: 56px; }

  /* Trust section */
  .trust-section { padding-block: 60px; }

  /* CTA final */
  .cta-final { padding-block: 72px; }
}

/* ============================================================
   23. LISTA DE SERVIÇOS (peças) — .servicos-lista
============================================================ */
.servicos-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin-inline: auto;
}

.servico-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.servico-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(198,27,31,.1);
  border-color: rgba(198,27,31,.3);
}

.servico-item:active { transform: scale(.97); transition-duration: .1s; }

.si-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(198,27,31,.07);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background var(--t), transform var(--t);
}

.servico-item:hover .si-icon {
  background: rgba(198,27,31,.13);
  transform: scale(1.08);
}

.si-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.si-nome {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--t-sm);
}

.servico-item:hover .si-nome { color: var(--primary); }

.si-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--wa);
}

.si-cta::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--wa);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (min-width: 540px) {
  .servicos-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .servicos-lista {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
    gap: 16px;
  }
}

/* ============================================================
   24. CONTATO GRID — .contato-grid
============================================================ */
.contato-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}

.contato-card--wa {
  background: var(--wa);
  border-color: var(--wa);
  color: white;
}

.contato-card--wa:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
}

.contato-card--info:hover {
  border-color: rgba(198,27,31,.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.contato-card__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  border-radius: var(--r-lg);
}

.contato-card--info .contato-card__icon {
  background: rgba(198,27,31,.07);
  color: var(--primary);
}

.contato-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contato-card__text strong {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
}

.contato-card--wa .contato-card__text strong,
.contato-card--wa .contato-card__text span { color: white; }

.contato-card__text span {
  font-size: .82rem;
  color: var(--text-3);
}

.contato-card__arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,.8);
  transition: transform var(--t-sm);
}

.contato-card--wa:hover .contato-card__arrow { transform: translateX(4px); }

@media (min-width: 640px) {
  .contato-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ============================================================
   25. ACCESSIBILITY & MISC
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Icon background set via inline --icon-bg custom property */
.fc-icon { background-color: var(--icon-bg, #EEF2FF); }
